Precalculus · F.TF.C.8

The Pythagorean identities

Sine and cosine are the two coordinates of a point on a circle of radius one. What does the circle itself force on them, and how much of the other five values does one value then decide?

Where you are 13 in Trigonometric identities

When you reach for it

The reciprocal and quotient identities write tangent, cotangent, secant and cosecant in terms of sine and cosine. They say nothing about how sine and cosine relate to each other. Yet the two are not free: they are the coordinates of one point, and that point lies on a circle. The equation of that circle, written in the new names, is the Pythagorean identity, and dividing it through gives two more.

Reach for these identities whenever one trigonometric value of an angle is known and another is wanted, especially when the angle itself is never found. Reach for them also whenever an expression contains a square such as \sin^2\theta or \sec^2\theta, since each identity lets one square be traded for another, and whenever you need to test whether two numbers could be the sine and cosine of the same angle.

The procedure

Where \sin^2\theta + \cos^2\theta = 1 comes from

Let the terminal side of \theta meet the unit circle at (x, y). Every point of that circle is at distance 1 from the origin, so by the distance formula, which is the Pythagorean theorem applied to the coordinates,

x^2 + y^2 = 1

On the unit circle x = \cos\theta and y = \sin\theta. Renaming the coordinates gives (\cos\theta)^2 + (\sin\theta)^2 = 1. The square of a sine is written \sin^2\theta, with the exponent after the name, so that it is not mistaken for \sin(\theta^2):

\sin^2\theta + \cos^2\theta = 1
x
y
\theta
\cos\theta
\sin\theta
1
(\cos\theta,\ \sin\theta)
Figure 1In Quadrant I the terminal point sits on a right triangle with legs \cos\theta and \sin\theta and hypotenuse 1.

In Quadrant I this is the Pythagorean theorem for the triangle in the figure, with legs \cos\theta and \sin\theta and hypotenuse 1. In the other quadrants a coordinate is negative, but squaring removes the sign, and on an axis the triangle flattens while the equation still holds: at \theta = \pi it reads 0^2 + (-1)^2 = 1. Sine and cosine are defined at every real number, so the identity has no exceptions. It is often used rearranged, as \sin^2\theta = 1 - \cos^2\theta or \cos^2\theta = 1 - \sin^2\theta.

Dividing by \cos^2\theta and by \sin^2\theta

At any angle where \cos\theta \neq 0, divide both sides by \cos^2\theta:

\frac{\sin^2\theta}{\cos^2\theta} + \frac{\cos^2\theta}{\cos^2\theta} = \frac{1}{\cos^2\theta}

The first fraction is \displaystyle \left(\frac{\sin\theta}{\cos\theta}\right)^2 = \tan^2\theta by the quotient identity, the second is 1, and the right side is \sec^2\theta by the reciprocal identity. So \tan^2\theta + 1 = \sec^2\theta. The division was allowed only where \cos\theta \neq 0, and those are exactly the angles where tangent and secant exist, so nothing is lost: the identity holds on its whole common domain, \displaystyle \theta \neq \frac{\pi}{2} + k\pi for every integer k.

Dividing instead by \sin^2\theta, where \sin\theta \neq 0, turns the three terms into 1, \cot^2\theta and \csc^2\theta, so 1 + \cot^2\theta = \csc^2\theta for \theta \neq k\pi.

The Pythagorean identities. For every integer k:

IdentityHolds forRearranged
\sin^2\theta + \cos^2\theta = 1every \theta\sin^2\theta = 1 - \cos^2\theta
1 + \tan^2\theta = \sec^2\theta\displaystyle \theta \neq \frac{\pi}{2} + k\pi\sec^2\theta - \tan^2\theta = 1
1 + \cot^2\theta = \csc^2\theta\theta \neq k\pi\csc^2\theta - \cot^2\theta = 1

From one value and a sign to the other five

Each identity links a pair: sine with cosine, tangent with secant, cotangent with cosecant. Given one value, pick the identity that contains it and its partner, and solve for the partner’s square. A square root then gives the partner’s size but not its sign, because two numbers have each positive square. The sign comes from the quadrant, which a second condition such as “\sin\theta > 0” decides, exactly as in finding a quadrant from two signs. Once two values are known, the reciprocal and quotient identities give the other four without any more square roots. For instance, multiplying \displaystyle \tan\theta = \frac{\sin\theta}{\cos\theta} by the nonzero \cos\theta gives \sin\theta = \tan\theta\cos\theta.

That earlier lesson found the same six values by drawing a reference triangle, or a point on the terminal ray, and using its sides. The two methods always agree, because they are one equation. A right triangle with legs a, b and hypotenuse c has a^2 + b^2 = c^2; dividing by c^2 gives \displaystyle \left(\frac{a}{c}\right)^2 + \left(\frac{b}{c}\right)^2 = 1, which is the Pythagorean identity for the triangle shrunk to hypotenuse 1. Example 2 works one problem both ways. The identity saves drawing, and it still works when the given value is a letter rather than a number (Example 5).

Worked examples

Example 1

Starting from a secant

\displaystyle \sec\theta = -\frac{7}{3} and \sin\theta > 0. Find the other five values.

Solution

First the quadrant. A secant has the sign of the cosine, so \cos\theta < 0: Quadrant II or III. A positive sine allows I or II. So \theta is in Quadrant II. The cosine is the reciprocal of the secant, \displaystyle \cos\theta = -\frac{3}{7}.

The identity that pairs secant with tangent is 1 + \tan^2\theta = \sec^2\theta:

\begin{aligned} \tan^2\theta &= \frac{49}{9} - 1 = \frac{40}{9} \\ \tan\theta &= \pm\frac{\sqrt{40}}{3} = \pm\frac{2\sqrt{10}}{3} \end{aligned}

In Quadrant II the tangent is negative, so \displaystyle \tan\theta = -\frac{2\sqrt{10}}{3}. Then

\begin{aligned} \sin\theta &= \tan\theta\cos\theta \\ &= \left(-\frac{2\sqrt{10}}{3}\right)\left(-\frac{3}{7}\right) = \frac{2\sqrt{10}}{7} \end{aligned}

which is positive, as given. The last two are reciprocals, with the denominators made rational:

\begin{aligned} \csc\theta &= \frac{7}{2\sqrt{10}} = \frac{7\sqrt{10}}{20} \\ \cot\theta &= -\frac{3}{2\sqrt{10}} = -\frac{3\sqrt{10}}{20} \end{aligned}

Check. \displaystyle \sin^2\theta + \cos^2\theta = \frac{40}{49} + \frac{9}{49} = 1.

x
y
\theta
\tfrac{3}{7}
\displaystyle \tfrac{2\sqrt{10}}{7}
1
\displaystyle \left(-\tfrac{3}{7},\ \tfrac{2\sqrt{10}}{7}\right)
Figure 2The terminal point found in Example 1. Its legs have lengths \displaystyle \frac{3}{7} and \displaystyle \frac{2\sqrt{10}}{7}.
Example 2

Two routes, one equation

\displaystyle \sin\theta = -\frac{2}{5} and \tan\theta > 0. Bjarni finds \cos\theta with a reference triangle and Paulo with the identity. Do it both ways, explain why they must agree, and find the other values.

Solution

A negative sine allows III or IV and a positive tangent allows I or III, so \theta is in Quadrant III, where \cos\theta < 0.

Paulo: \displaystyle \cos^2\theta = 1 - \frac{4}{25} = \frac{21}{25}, so \displaystyle \cos\theta = -\frac{\sqrt{21}}{5}, negative for Quadrant III.

Bjarni: a reference triangle with opposite side 2 and hypotenuse 5 has adjacent side a with 2^2 + a^2 = 5^2, so \displaystyle a = \sqrt{21}. Placed in Quadrant III its corner is \displaystyle (-\sqrt{21}, -2), so \displaystyle \cos\theta = -\frac{\sqrt{21}}{5}.

Divide Bjarni’s equation 4 + a^2 = 25 by 25 and it becomes \displaystyle \left(\frac{2}{5}\right)^2 + \left(\frac{a}{5}\right)^2 = 1, which is Paulo’s. Only the scale differs. The rest follow from the quotient and reciprocal identities:

\begin{aligned} \tan\theta &= \frac{-2/5}{-\sqrt{21}/5} = \frac{2\sqrt{21}}{21} \\ \cot\theta &= \frac{\sqrt{21}}{2} \qquad \csc\theta = -\frac{5}{2} \\ \sec\theta &= -\frac{5\sqrt{21}}{21} \end{aligned}
Example 3

Starting from a cotangent

\displaystyle \cot\theta = -\frac{\sqrt{5}}{2} and \cos\theta > 0. Find the other five values.

Solution

A negative cotangent allows II or IV; a positive cosine allows I or IV. Quadrant IV, where \sin\theta < 0 and so \csc\theta < 0.

The identity that pairs cotangent with cosecant is 1 + \cot^2\theta = \csc^2\theta:

\csc^2\theta = 1 + \frac{5}{4} = \frac{9}{4}, \qquad \csc\theta = -\frac{3}{2}

taking the negative root for Quadrant IV. So \displaystyle \sin\theta = -\frac{2}{3}, and multiplying \displaystyle \cot\theta = \frac{\cos\theta}{\sin\theta} by \sin\theta,

\begin{aligned} \cos\theta &= \cot\theta\sin\theta \\ &= \left(-\frac{\sqrt{5}}{2}\right)\left(-\frac{2}{3}\right) = \frac{\sqrt{5}}{3} \end{aligned}

Then \displaystyle \tan\theta = -\frac{2}{\sqrt{5}} = -\frac{2\sqrt{5}}{5} and \displaystyle \sec\theta = \frac{3}{\sqrt{5}} = \frac{3\sqrt{5}}{5}.

Check. \displaystyle \frac{4}{9} + \frac{5}{9} = 1.

Example 4

Where a square root form is right

Makana writes \displaystyle \tan\theta = \sqrt{\sec^2\theta - 1}. For which \theta with 0 \le \theta < 2\pi is this true?

Solution

The right side needs \sec\theta, so \displaystyle \theta \neq \frac{\pi}{2} and \displaystyle \theta \neq \frac{3\pi}{2}. At every other angle \sec^2\theta - 1 = \tan^2\theta, so the right side is \displaystyle \sqrt{\tan^2\theta}. The symbol \displaystyle \sqrt{\ } means the non-negative root, so \displaystyle \sqrt{\tan^2\theta} = |\tan\theta|, and |\tan\theta| = \tan\theta exactly when \tan\theta \ge 0. That happens in Quadrants I and III and at 0 and \pi. Makana’s equation holds for

0 \le \theta < \frac{\pi}{2} \quad\text{and}\quad \pi \le \theta < \frac{3\pi}{2}

and fails in Quadrants II and IV. At \displaystyle \theta = \frac{3\pi}{4}, for example, \tan\theta = -1 while \displaystyle \sqrt{\sec^2\theta - 1} = \sqrt{2 - 1} = 1. A square root form of an identity is only true where the sign it assumes is the right one.

Example 5

Every value in terms of the sine

\theta is in Quadrant II. Write the other five functions of \theta in terms of s = \sin\theta.

Solution

From \cos^2\theta = 1 - s^2, and since the cosine is negative in Quadrant II, \displaystyle \cos\theta = -\sqrt{1 - s^2}. Here 0 < s < 1, so 1 - s^2 > 0 and the root is a nonzero real number. Then

\begin{aligned} \tan\theta &= -\frac{s}{\sqrt{1 - s^2}} \qquad \sec\theta = -\frac{1}{\sqrt{1 - s^2}} \\ \csc\theta &= \frac{1}{s} \qquad \cot\theta = -\frac{\sqrt{1 - s^2}}{s} \end{aligned}

Check with Example 1, where \displaystyle s = \frac{2\sqrt{10}}{7}: \displaystyle \cos\theta = -\sqrt{1 - \frac{40}{49}} = -\frac{3}{7}.

Example 6

A difference of sine and cosine

\displaystyle \sin\theta - \cos\theta = \frac{1}{5} and \theta is in Quadrant I. Find \sin\theta and \cos\theta.

Solution

Squaring the given equation brings in \sin^2\theta + \cos^2\theta, which is known:

\begin{aligned} \sin^2\theta - 2\sin\theta\cos\theta + \cos^2\theta &= \frac{1}{25} \\ 1 - 2\sin\theta\cos\theta &= \frac{1}{25} \end{aligned}

so \displaystyle \sin\theta\cos\theta = \frac{12}{25}. The same identity gives the square of the sum:

(\sin\theta + \cos\theta)^2 = 1 + 2 \cdot \frac{12}{25} = \frac{49}{25}

In Quadrant I both are positive, so \displaystyle \sin\theta + \cos\theta = \frac{7}{5}. Adding and subtracting this and the given difference, \displaystyle \sin\theta = \frac{4}{5} and \displaystyle \cos\theta = \frac{3}{5}.

Check. \displaystyle \frac{4}{5} - \frac{3}{5} = \frac{1}{5} and \displaystyle \frac{16}{25} + \frac{9}{25} = 1.

Boundaries

The tangent and cotangent forms have gaps. 1 + \tan^2\theta = \sec^2\theta says nothing at \displaystyle \theta = \frac{\pi}{2} + k\pi, and 1 + \cot^2\theta = \csc^2\theta nothing at \theta = k\pi. Only \sin^2\theta + \cos^2\theta = 1 holds at every angle.

A square root gives a size, not a sign. \displaystyle \sqrt{1 - \cos^2\theta} = |\sin\theta|, not \sin\theta. The sign must come from the quadrant, and a given value with no second condition leaves two answers. When a value puts the terminal side on an axis, there is no quadrant, and some of the six may not exist: \sin\theta = 1 forces \cos\theta = 0, so tangent and secant are undefined.

Not every number is possible. Since squares are not negative, the identity forces -1 \le \sin\theta \le 1 and -1 \le \cos\theta \le 1, and then \sec^2\theta \ge 1 and \csc^2\theta \ge 1. A value such as \displaystyle \sec\theta = \frac{1}{2} belongs to no angle: it would need \displaystyle \tan^2\theta = -\frac{3}{4}. Tangent and cotangent may be any real number.

One angle throughout. \sin^2 A + \cos^2 B is not 1 unless the angles agree in the right way, and \sin^2\theta is (\sin\theta)^2, not \sin(\theta^2).

Where this goes next

With the reciprocal, quotient and Pythagorean identities in hand, the next move is to use them to rewrite: simplifying expressions trades 1 - \sin^2\theta for \cos^2\theta and \sec^2\theta - 1 for \tan^2\theta, and verifying identities proves new statements from these three. In trigonometric equations the identity turns an equation mixing \sin^2 x and \cos x into a quadratic in \cos x alone. The distance between two points on the unit circle, computed with \sin^2 + \cos^2 = 1, is how the cosine of a sum is derived, and the bound |\sin\theta| \le 1 that the identity forces is one ingredient of the squeeze argument for \displaystyle \frac{\sin x}{x}.

Exercises

Values the identities give at once

Find each exact value.

  1. 7\sin^2 20^\circ + 7\cos^2 20^\circ
  2. \displaystyle \tan^2\frac{\pi}{9} - \sec^2\frac{\pi}{9}
  3. \cot^2 2 - \csc^2 2, with 2 in radians

Can these belong to one angle?

  1. Is there an angle with \sin\theta = 0.6 and \cos\theta = -0.7?
  2. Is there an angle with \tan\theta = -4 and \displaystyle \sec\theta = \sqrt{17}? If so, name its quadrant.
  3. Find every number k for which some angle has \sin\theta = k and \cos\theta = 2k.

All six from one value and a sign

Find the other five values exactly, with rational denominators.

  1. \displaystyle \cos\theta = \frac{2}{7} and \sin\theta < 0
  2. \displaystyle \sin\theta = \frac{39}{89} and \cos\theta < 0
  3. \displaystyle \tan\theta = \frac{\sqrt{7}}{3} and \sin\theta < 0
  4. \csc\theta = -6 and \tan\theta < 0
  5. \displaystyle \sec\theta = \frac{9}{4} and \sin\theta < 0
  6. \displaystyle \cot\theta = \frac{1}{2} and \csc\theta < 0

One function in terms of another

  1. \theta is in Quadrant IV. Write \cos\theta and \tan\theta in terms of s = \sin\theta.
  2. \theta is in Quadrant I. Write \cos\theta and \sin\theta in terms of t = \tan\theta.
  3. \theta is in Quadrant III. Write \sin\theta and \tan\theta in terms of c = \cos\theta.

Sums and products

  1. \displaystyle \sin\theta + \cos\theta = \frac{17}{13} and \sin\theta > \cos\theta. Find \sin\theta and \cos\theta.
  2. \displaystyle \sin\theta - \cos\theta = \frac{1}{3}. Find \sin\theta\cos\theta.

Where a square root form holds

For which \theta with 0 \le \theta < 2\pi is each equation true?

  1. \displaystyle \cos\theta = -\sqrt{1 - \sin^2\theta}
  2. \displaystyle \csc\theta = \sqrt{1 + \cot^2\theta}

Reasoning

  1. Explain why \sin^2\theta + \cos^2\theta = 1 holds at \displaystyle \theta = \frac{\pi}{2} but 1 + \tan^2\theta = \sec^2\theta says nothing there.
  2. Show by one angle that \displaystyle \sin\theta = \sqrt{1 - \cos^2\theta} is not an identity, and say for which \theta it is true.
  3. Derive 1 + \cot^2\theta = \csc^2\theta directly from x^2 + y^2 = 1, saying where the step is allowed.
  4. Explain why the Pythagorean identities force |\cos\theta| \le 1 and |\sec\theta| \ge 1.
  5. In Example 1, a reference triangle with hypotenuse 7 and adjacent side 3 gives the same values. Explain, with the equation for that triangle, why it must.
Answers
  1. 7. The expression is 7(\sin^2 20^\circ + \cos^2 20^\circ) = 7 \cdot 1.
  2. -1. From 1 + \tan^2\theta = \sec^2\theta, \tan^2\theta - \sec^2\theta = -1; the tangent of \displaystyle \frac{\pi}{9} exists.
  3. -1. From 1 + \cot^2\theta = \csc^2\theta; \sin 2 \neq 0, so both functions exist.
  4. No. 0.6^2 + (-0.7)^2 = 0.36 + 0.49 = 0.85, not 1.
  5. Yes, in Quadrant IV. \displaystyle 1 + (-4)^2 = 17 = (\sqrt{17})^2; \sec\theta > 0 gives I or IV and \tan\theta < 0 gives II or IV.
  6. \displaystyle k = \frac{\sqrt{5}}{5} or \displaystyle k = -\frac{\sqrt{5}}{5}. k^2 + 4k^2 = 1, so \displaystyle k^2 = \frac{1}{5}; the positive k is in Quadrant I, the negative in Quadrant III.
  7. Quadrant IV. \displaystyle \sin\theta = -\frac{3\sqrt{5}}{7}, \displaystyle \tan\theta = -\frac{3\sqrt{5}}{2}, \displaystyle \csc\theta = -\frac{7\sqrt{5}}{15}, \displaystyle \sec\theta = \frac{7}{2}, \displaystyle \cot\theta = -\frac{2\sqrt{5}}{15}. \displaystyle \sin^2\theta = 1 - \frac{4}{49} = \frac{45}{49}.
  8. Quadrant II. \displaystyle \cos\theta = -\frac{80}{89}, \displaystyle \tan\theta = -\frac{39}{80}, \displaystyle \csc\theta = \frac{89}{39}, \displaystyle \sec\theta = -\frac{89}{80}, \displaystyle \cot\theta = -\frac{80}{39}. \displaystyle \cos^2\theta = 1 - \frac{1521}{7921} = \frac{6400}{7921}.
  9. Quadrant III. \displaystyle \sec\theta = -\frac{4}{3}, \displaystyle \cos\theta = -\frac{3}{4}, \displaystyle \sin\theta = -\frac{\sqrt{7}}{4}, \displaystyle \csc\theta = -\frac{4\sqrt{7}}{7}, \displaystyle \cot\theta = \frac{3\sqrt{7}}{7}. \displaystyle \sec^2\theta = 1 + \frac{7}{9} = \frac{16}{9}, and \sin\theta = \tan\theta\cos\theta.
  10. Quadrant IV. \displaystyle \sin\theta = -\frac{1}{6}, \displaystyle \cot\theta = -\sqrt{35}, \displaystyle \tan\theta = -\frac{\sqrt{35}}{35}, \displaystyle \cos\theta = \frac{\sqrt{35}}{6}, \displaystyle \sec\theta = \frac{6\sqrt{35}}{35}. \cot^2\theta = 36 - 1 = 35, and \cos\theta = \cot\theta\sin\theta.
  11. Quadrant IV. \displaystyle \cos\theta = \frac{4}{9}, \displaystyle \tan\theta = -\frac{\sqrt{65}}{4}, \displaystyle \sin\theta = -\frac{\sqrt{65}}{9}, \displaystyle \csc\theta = -\frac{9\sqrt{65}}{65}, \displaystyle \cot\theta = -\frac{4\sqrt{65}}{65}. \displaystyle \tan^2\theta = \frac{81}{16} - 1 = \frac{65}{16}.
  12. Quadrant III. \displaystyle \csc\theta = -\frac{\sqrt{5}}{2}, \displaystyle \sin\theta = -\frac{2\sqrt{5}}{5}, \displaystyle \cos\theta = -\frac{\sqrt{5}}{5}, \tan\theta = 2, \displaystyle \sec\theta = -\sqrt{5}. \displaystyle \csc^2\theta = 1 + \frac{1}{4} = \frac{5}{4}.
  13. \displaystyle \cos\theta = \sqrt{1 - s^2} and \displaystyle \tan\theta = \frac{s}{\sqrt{1 - s^2}}. The cosine is positive in Quadrant IV; the tangent comes out negative because s < 0.
  14. \displaystyle \cos\theta = \frac{1}{\sqrt{1 + t^2}} and \displaystyle \sin\theta = \frac{t}{\sqrt{1 + t^2}}. \sec^2\theta = 1 + t^2 with \sec\theta > 0 in Quadrant I, and \sin\theta = \tan\theta\cos\theta.
  15. \displaystyle \sin\theta = -\sqrt{1 - c^2} and \displaystyle \tan\theta = -\frac{\sqrt{1 - c^2}}{c}. The sine is negative in Quadrant III; the tangent is positive because c < 0.
  16. \displaystyle \sin\theta = \frac{12}{13}, \displaystyle \cos\theta = \frac{5}{13}. Squaring, \displaystyle 1 + 2\sin\theta\cos\theta = \frac{289}{169}, so \displaystyle \sin\theta\cos\theta = \frac{60}{169}; then \displaystyle (\sin\theta - \cos\theta)^2 = 1 - \frac{120}{169} = \frac{49}{169}, and \displaystyle \sin\theta - \cos\theta = \frac{7}{13} because the sine is the larger.
  17. \displaystyle \frac{4}{9}. Squaring, \displaystyle 1 - 2\sin\theta\cos\theta = \frac{1}{9}.
  18. \displaystyle \frac{\pi}{2} \le \theta \le \frac{3\pi}{2}. The right side is -|\cos\theta|, which equals \cos\theta exactly when \cos\theta \le 0.
  19. 0 < \theta < \pi. Both sides need \sin\theta \neq 0; there the right side is |\csc\theta|, which equals \csc\theta exactly when \sin\theta > 0.
  20. At \displaystyle \frac{\pi}{2} the terminal point is (0, 1) and 0^2 + 1^2 = 1. Tangent and secant both divide by \displaystyle \cos\frac{\pi}{2} = 0, so neither side of the second identity has a value, and an identity makes no claim outside its common domain.
  21. At \displaystyle \theta = \frac{3\pi}{2} the left side is -1 and the right side is \displaystyle \sqrt{1 - 0} = 1. The right side is |\sin\theta|, so the equation is true exactly when \sin\theta \ge 0: for 0 \le \theta \le \pi and every angle coterminal with one of those.
  22. Where y \neq 0, divide x^2 + y^2 = 1 by y^2: \displaystyle \left(\frac{x}{y}\right)^2 + 1 = \left(\frac{1}{y}\right)^2. On the unit circle \displaystyle \frac{x}{y} = \cot\theta and \displaystyle \frac{1}{y} = \csc\theta. The condition y \neq 0 is \theta \neq k\pi, where both functions exist.
  23. \cos^2\theta = 1 - \sin^2\theta \le 1 because \sin^2\theta \ge 0, so |\cos\theta| \le 1. Where the secant exists, \sec^2\theta = 1 + \tan^2\theta \ge 1, so |\sec\theta| \ge 1.
  24. The triangle’s sides satisfy 3^2 + b^2 = 7^2, so \displaystyle b = \sqrt{40} = 2\sqrt{10}. Dividing 9 + b^2 = 49 by 49 gives \displaystyle \left(\frac{3}{7}\right)^2 + \left(\frac{b}{7}\right)^2 = 1, which is \cos^2\theta + \sin^2\theta = 1 for the same angle. The quadrant then fixes the same signs, so the values are the same.
unattributed · CC-BY-SA-4.0