# 3.2.7: Trigonometric Equations Using the Quadratic Formula

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

The quadratic formula with a trigonometric function in place of the variable.

Solving equations is a fundamental part of mathematics. Being able to find which values of a variable fit an equation allows us to determine all sorts of interesting behavior, both in math and in the sciences. Solving trig equations for angles that satisfy the equation is one application of mathematical methods for solving equations. Suppose someone gave you the following equation:

$$3 \sin^2 \theta +8 \sin\theta −3=0$$

## Quadratic Functions with Trigonometric Equations

When solving quadratic equations that do not factor, the quadratic formula is often used.

Remember that the quadratic equation is:

$$ax^2+bx+c=0$$ (where $$a$$, $$b$$, and $$c$$ are constants)

In this situation, you can use the quadratic formula to find out what values of "x" satisfy the equation.

The same method can be applied when solving trigonometric equations that do not factor. The values for $$a$$ is the numerical coefficient of the function's squared term, $$b$$ is the numerical coefficient of the function term that is to the first power and $$c$$ is a constant. The formula will result in two answers and both will have to be evaluated within the designated interval.

#### Solving for Unknown Values

1. Solve $$3 \cot ^2 x−3 \cot x=1$$ for exact values of $$x$$ over the interval $$[0,2\pi ]$$.

\begin{aligned} 3\cot ^2 x−3\cot x &=1 \\ 3\cot ^2x−3\cot x−1&=0 \end{aligned}

The equation will not factor. Use the quadratic formula for $$\cot x$$, $$a=3$$, $$b=−3$$, $$c=−1$$.

\begin{aligned} \cot x&=\dfrac{-b \pm \sqrt{b^{2}-4 a c}}{2 a}\\ \cot x&=\dfrac{-(-3) \pm \sqrt{(-3)^{2}-4(3)(-1)}}{2(3)}\\ \cot x&=\dfrac{3 \pm \sqrt{9+12}}{6}\\ \cot x&=\dfrac{3+\sqrt{21}}{6} &\quad \text { or } \quad& \cot x=\dfrac{3-\sqrt{21}}{6}\\ \cot x&=\dfrac{3+4.5826}{6} &\quad& \cot x=\dfrac{3-4.5826}{6}\\ \cot x&=1.2638 &\quad &\cot x=-0.2638\\ \tan x&=\dfrac{1}{1.2638} &\quad &\tan x=\dfrac{1}{-0.2638}\\ x&=0.6694,3.81099 & &x=1.8287,4.9703 \end{aligned}

2. Solve $$−5 \cos ^2 x+9 \sin x+3=0$$ for values of x over the interval $$[0,2\pi ]$$.

Change $$\cos ^2 x$$ to $$1−\sin ^2 x$$ from the Pythagorean Identity.

\begin{aligned} −5\cos ^2 x +9\sin x+3 &=0 \\ −5(1−\sin ^2 x )+9\sin x+3 &=0 \\ −5+5\sin ^2 x +9\sin x+3 &=0 \\ 5\sin ^2 x +9\sin x−2 &=0 \end{aligned}

$$\begin{array}{l} \sin x=\dfrac{-9 \pm \sqrt{9^{2}-4(5)(-2)}}{2(5)} \\ \sin x=\dfrac{-9 \pm \sqrt{81+40}}{10} \\ \sin x=\dfrac{-9 \pm \sqrt{121}}{10} \\ \sin x=\dfrac{-9+11}{10} \text { and } \sin x=\dfrac{-9-11}{10} \\ \sin x=\dfrac{1}{5} \text { and }-2 \\ \sin ^{-1}(0.2) \text { and } \sin ^{-1}(-2) \end{array}$$

$$x\approx .201 \text{rad}$$ and $$\pi −.201\approx 2.941$$

This is the only solutions for $$x$$ since $$−2$$ is not in the range of values.

3. Solve $$3\sin ^2 x −6\sin x−2=0$$ for values of $$x$$ over the interval $$[0,2\pi ]$$.

$$\begin{array}{l} \quad 3 \sin ^{2} x-6 \sin x-2=0 \\ \sin x=\dfrac{6 \pm \sqrt{(-6)^{2}-4(3)(-2)}}{2(3)} \\ \sin x=\dfrac{6 \pm \sqrt{36-24}}{6} \\ \sin x=\dfrac{6 \pm \sqrt{12}}{6} \\ \sin x=\dfrac{6+3.46}{10} \text { and } \sin x=\dfrac{6-3.46}{10} \\ \sin x=.946 \text { and } .254 \\ \sin ^{-1}(0.946) \text { and } \sin ^{-1}(0.254) \end{array}$$

$$x\approx 71.08 \text{ deg}$$ and $$\approx 14.71 \text{ deg}$$

##### Example $$\PageIndex{1}$$

Earlier, you were asked to solve an equation.

The original equation to solve was:

3sin2\theta +8sin\theta −3=0

Solution

Using the quadratic formula, with a=3,b=8,c=−3, we get:

$$\sin\theta =\dfrac{−b \pm \sqrt{b^2−4ac}}{2a}=\dfrac{−8\pm \sqrt{64−(4)(3)(−3)}}{6}=\dfrac{−8\pm \sqrt{100}}{6}=\dfrac{−8\pm 10}{6}=\dfrac{1}{3} \text{or} −3$$

The solution of -3 is ignored because sine can't take that value, however:

$$\sin^{−1} \dfrac{1}{3}=19.471^{\circ}$$

##### Example $$\PageIndex{2}$$

Solve $$\sin ^2 x −2\sin x−3=0$$ for $$x$$ over $$[0,\pi ]$$.

Solution

You can factor this one like a quadratic.

\begin{aligned} \sin ^{2} x-2 \sin x-3 &=0 & & \\ (\sin x-3)(\sin x+1) &=0 & & \\ \sin x-3=0 & & & \\ \sin x=3 & & \text { or } & \sin x+1=0 \\ x=\sin ^{-1}(3) & & &x=\dfrac{3 \pi}{2} \end{aligned}

For this problem the only solution is $$\dfrac{3\pi}{2}$$ because sine cannot be $$3$$ (it is not in the range).

##### Example $$\PageIndex{3}$$

Solve $$\tan^2 x+\tan x−2=0$$ for values of $$x$$ over the interval $$\left[−\dfrac{\pi}{2},\; \dfrac{\pi}{2}\right]$$.

Solution

$$\tan^2 x+\tan x−2=0$$

\begin{aligned} -1 \pm \sqrt{1^{2}-4(1)(-2)} &=\tan x \\ 2 & \\ \dfrac{-1 \pm \sqrt{1+8}}{2} &=\tan x \\ \dfrac{-1 \pm 3}{2} &=\tan x \\ \tan x &=-2 \quad \text { or } \; 1 \end{aligned}

$$\tan x=1$$ when $$x=\dfrac{\pi}{4}$$, in the interval $$\left[−\dfrac{\pi}{2},\; \dfrac{\pi}{2}\right]$$

$$\tan x=−2$$ when $$x=−1.107 \text{rad}$$

##### Example $$\PageIndex{4}$$

Solve the trigonometric equation such that $$5 \cos^2 \theta −6 \sin\theta =0$$ over the interval $$[0,2\pi ]$$.

Solution

$$5\cos^2\theta −6\sin \theta =0$$ over the interval $$[0,2\pi ]$$.

\begin{aligned} 5\left(1-\sin ^{2} x\right)-6 \sin x &=0 \\ -5 \sin ^{2} x-6 \sin x+5 &=0 \\ 5 \sin ^{2} x+6 \sin x-5 &=0 \\ -6 \pm \sqrt{6^{2}-4(5)(-5)} &=\sin x \\ 2(5) & \\ \dfrac{-6 \pm \sqrt{36+100}}{10} &=\sin x \\ \dfrac{-6 \pm \sqrt{136}}{10} &=\sin x \\ \dfrac{-6 \pm 2 \sqrt{34}}{10} &=\sin x \\ \dfrac{-3 \pm \sqrt{34}}{5} &=\sin x \end{aligned}

$$x=\sin^{−1}\left(\dfrac{−3+\sqrt{34}}{5}\right)$$ or $$\sin^{−1}\left(\dfrac{−3−\sqrt{34}}{5}\right) x=0.6018 \text{ rad}$$ or $$2.5398 \text{ rad}$$ from the first expression, the second expression will not yield any answers because it is out the range of sine.

## Review

Solve each equation using the quadratic formula.

1. $$3x^2+10x+2=0$$
2. $$5x^2+10x+2=0$$
3. $$2x^2+6x−5=0$$

Use the quadratic formula to solve each quadratic equation over the interval $$[0,2\pi )$$.

1. $$3\cos^2(x)+10\cos(x)+2=0$$
2. $$5\sin^2(x)+10\sin(x) +2=0$$
3. $$2\sin^2(x)+6\sin(x) −5=0$$
4. $$6\cos^2(x)−5\cos(x)−21=0$$
5. $$9\tan^2(x)−42\tan(x) +49=0$$
6. $$\sin^2(x)+3\sin(x) =5$$
7. $$3\cos^2(x)−4\sin(x) =0$$
8. $$−2\cos^2(x)+4\sin(x) =0$$
9. $$\tan^2(x)+\tan(x) =3$$
10. $$\cot^2(x)+5\tan(x) +14=0$$
11. $$\sin^2(x)+\sin(x) =1$$
12. What type of sine or cosine equations have no solution?

Quadratic Equation A quadratic equation is an equation that can be written in the form $$=ax^2+bx+c=0$$, where $$a$$, $$b$$, and $$c$$ are real constants and $$a\neq 0$$.