Trigonometry

Pythagorean Identities: The Three Formulas, Proof and Worked Examples

The Pythagorean identities are sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1, 1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta and 1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta. All three hold for every angle where the functions are defined.

sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1

They are one fact about circles written three ways, and they are the workhorses of the wider family of trigonometric identities. Learn the first, and the other two take five seconds to rebuild.

What are the three Pythagorean identities?

Wrong versus right comparison at 45 degrees: sin plus cos equals 1.41, sin squared plus cos squared equals 1
At 45° the plain sum of sine and cosine is about 1.41, but the squares add to exactly 1.

sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1

1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta

1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta

The notation sin⁡2θ\sin^2\theta means (sin⁡θ)2(\sin\theta)^2, the sine value squared. It does not mean the sine of θ2\theta^2. These are identities, not equations: an equation is true for some angles, but an identity is true for every angle where both sides exist.

Identity How it is made Useful rearrangements
sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1 unit circle sin⁡2θ=1−cos⁡2θ\sin^2\theta = 1 - \cos^2\theta, cos⁡2θ=1−sin⁡2θ\cos^2\theta = 1 - \sin^2\theta
1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta divide by cos⁡2θ\cos^2\theta tan⁡2θ=sec⁡2θ−1\tan^2\theta = \sec^2\theta - 1
1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta divide by sin⁡2θ\sin^2\theta cot⁡2θ=csc⁡2θ−1\cot^2\theta = \csc^2\theta - 1

The rearranged forms matter as much as the originals. Most simplifying and solving work uses 1−sin⁡2θ=cos⁡2θ1 - \sin^2\theta = \cos^2\theta rather than the formula in its standard order. The most common slip is to assume sin⁡θ+cos⁡θ=1\sin\theta + \cos\theta = 1. It is false: at 45∘45^\circ the sum is 2\sqrt{2}, about 1.4141.414. Only the squares combine to 11.

Why is sine squared plus cosine squared always 1?

On the unit circle, the point at angle θ\theta has coordinates (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta). Every point on that circle satisfies x2+y2=1x^2 + y^2 = 1, because the circle is defined as all points at distance 11 from the origin. Substitute the coordinates and the identity appears:

cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1

The same idea works in a right triangle. By SOH CAH TOA, sin⁡θ=ac\sin\theta = \frac{a}{c} and cos⁡θ=bc\cos\theta = \frac{b}{c}. Squaring and adding gives a2+b2c2\frac{a^2 + b^2}{c^2}, and the Pythagorean theorem says a2+b2=c2a^2 + b^2 = c^2, so the fraction is 11. The identity is the theorem divided by c2c^2.

Squaring is what makes the identity work for every angle, not only acute ones. Cosine can be negative in the second quadrant, but its square cannot, so the signs never interfere. Coterminal angles land on the same point of the circle, so adding or subtracting full turns changes nothing.

A useful consequence: sin⁡2θ\sin^2\theta and cos⁡2θ\cos^2\theta always share a total of exactly 11. If cos⁡2θ=0.64\cos^2\theta = 0.64, then sin⁡2θ=0.36\sin^2\theta = 0.36 with no further work. It also means sine and cosine can never exceed 11 in size.

Quick check

Could an angle have sin⁡θ=0.6\sin\theta = 0.6 and cos⁡θ=0.7\cos\theta = 0.7? Answer yes or no.

How do the tangent and cotangent identities follow?

Unit circle with tangent line showing triangle with sides 1, tan θ and hypotenuse sec θ
The legs 1 and tan θ and the hypotenuse sec θ give 1 + tan² θ = sec² θ by the Pythagorean theorem.

Start from sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1 and divide every term by cos⁡2θ\cos^2\theta:

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

The first fraction is tan⁡2θ\tan^2\theta, the second is 11, and the right side is sec⁡2θ\sec^2\theta. So tan⁡2θ+1=sec⁡2θ\tan^2\theta + 1 = \sec^2\theta. Dividing by sin⁡2θ\sin^2\theta instead gives 1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta in the same way.

Sorting the pairs

Tangent pairs with secant, and neither name has "co" in it. Cotangent pairs with cosecant, and both do. Mixing these pairs is the usual memory error.

Dividing has a catch. Dividing by cos⁡2θ\cos^2\theta is only allowed when cos⁡θ≠0\cos\theta \ne 0, so 1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta says nothing at 90∘90^\circ, where both sides are undefined. The same applies to the cotangent identity at 0∘0^\circ and 180∘180^\circ. The first identity has no such gaps, which is why it is the safest one to start from.

There is also a picture. On the unit circle, draw the tangent line at (1,0)(1, 0). The segment from the center to that line has length sec⁡θ\sec\theta, the vertical leg has length tan⁡θ\tan\theta, and the horizontal leg has length 11. The Pythagorean theorem on that big triangle is the second identity.

How to find sine or cosine with a Pythagorean identity

When one trig value and the quadrant are known, the identity gives the rest. The size comes from the square root and the sign comes from the quadrant, which is the step that costs most students points. Sign rules by quadrant:

  • Quadrant I: sine, cosine and tangent are all positive.
  • Quadrant II: only sine (and cosecant) is positive.
  • Quadrant III: only tangent (and cotangent) is positive.
  • Quadrant IV: only cosine (and secant) is positive.

Example 1. Given cos⁡θ=−513\cos\theta = -\frac{5}{13} with θ\theta in quadrant III, find sin⁡θ\sin\theta and tan⁡θ\tan\theta.

sin⁡2θ=1−cos⁡2θ=1−25169=144169\sin^2\theta = 1 - \cos^2\theta = 1 - \frac{25}{169} = \frac{144}{169}

So sin⁡θ=±1213\sin\theta = \pm\frac{12}{13}. Sine is negative in quadrant III, so sin⁡θ=−1213\sin\theta = -\frac{12}{13}. Then:

tan⁡θ=sin⁡θcos⁡θ=−12/13−5/13=125\tan\theta = \frac{\sin\theta}{\cos\theta} = \frac{-12/13}{-5/13} = \frac{12}{5}

Check with the second identity: 1+tan⁡2θ=1+14425=169251 + \tan^2\theta = 1 + \frac{144}{25} = \frac{169}{25}, and sec⁡θ=−135\sec\theta = -\frac{13}{5} squares to 16925\frac{169}{25}. It matches.

A faster route is to spot the triple. A value like 513\frac{5}{13} signals the 55-1212-1313 right triangle, so the missing value has magnitude 1213\frac{12}{13} without any subtraction. A reference angle triangle with these sides then fixes the sign by quadrant. If no quadrant is given, there are two valid answers, and giving only one is a mistake.

Try this: Given sin⁡θ=−817\sin\theta = -\frac{8}{17} with cos⁡θ>0\cos\theta > 0, find cos⁡θ\cos\theta and tan⁡θ\tan\theta by spotting the 88-1515-1717 triple, then confirm with the identity. (Answers: 1517\frac{15}{17} and −815-\frac{8}{15}.)

When a problem gives tan⁡θ\tan\theta instead, skip the identity and draw the triangle: tan⁡θ=−34\tan\theta = -\frac{3}{4} means legs 33 and 44 and hypotenuse 55, and the quadrant assigns the signs.

How do you simplify expressions with Pythagorean identities?

Look for three patterns: a squared trig function next to a 11, a difference of squares such as 1−cos⁡2x1 - \cos^2 x, or a fraction with a squared sine or cosine on top. Each is a signal to swap in a rearranged identity. When nothing obvious appears, rewrite everything in sine and cosine and look again.

Example 2. Simplify sin⁡2x1−cos⁡x\dfrac{\sin^2 x}{1 - \cos x}.

Replace sin⁡2x\sin^2 x with 1−cos⁡2x1 - \cos^2 x, then factor the difference of squares:

1−cos⁡2x1−cos⁡x=(1−cos⁡x)(1+cos⁡x)1−cos⁡x=1+cos⁡x\frac{1 - \cos^2 x}{1 - \cos x} = \frac{(1 - \cos x)(1 + \cos x)}{1 - \cos x} = 1 + \cos x

The cancellation needs 1−cos⁡x≠01 - \cos x \ne 0. The original expression is undefined when cos⁡x=1\cos x = 1, that is, at x=0,2π,…x = 0, 2\pi, \dots, so the simplified form 1+cos⁡x1 + \cos x applies everywhere except those angles. Reporting that exclusion is what separates a complete answer from a nearly complete one.

Two patterns come up constantly and are worth recognizing on sight. sec⁡2x−tan⁡2x\sec^2 x - \tan^2 x is always 11, and csc⁡2x−cot⁡2x\csc^2 x - \cot^2 x is always 11. Another is (1−sin⁡x)(1+sin⁡x)(1 - \sin x)(1 + \sin x), which collapses to cos⁡2x\cos^2 x.

A common trap is the powers. sin⁡2x+cos⁡2y\sin^2 x + \cos^2 y is not 11 when x≠yx \ne y, and sin⁡2x+cos⁡2x\sin^2 x + \cos^2 x with different angle multiples inside, such as sin⁡2x+cos⁡22x\sin^2 x + \cos^2 2x, does not collapse either. The identity needs the same angle in both terms.

Quick check

Simplify (1−sin⁡x)(1+sin⁡x)(1 - \sin x)(1 + \sin x).

How do you solve trig equations with the identities?

The goal is to end up with a single trig function, so the equation becomes an ordinary quadratic in that function. If the equation mixes sin⁡x\sin x and cos⁡2x\cos^2 x, swap the squared one using cos⁡2x=1−sin⁡2x\cos^2 x = 1 - \sin^2 x.

Example 3. Solve 2sin⁡2x+cos⁡x−1=02\sin^2 x + \cos x - 1 = 0 for 0≤x<2π0 \le x < 2\pi.

Replace sin⁡2x\sin^2 x with 1−cos⁡2x1 - \cos^2 x:

2(1−cos⁡2x)+cos⁡x−1=0⇒−2cos⁡2x+cos⁡x+1=02(1 - \cos^2 x) + \cos x - 1 = 0 \quad\Rightarrow\quad -2\cos^2 x + \cos x + 1 = 0

Multiply by −1-1 and factor:

2cos⁡2x−cos⁡x−1=0⇒(2cos⁡x+1)(cos⁡x−1)=02\cos^2 x - \cos x - 1 = 0 \quad\Rightarrow\quad (2\cos x + 1)(\cos x - 1) = 0

So cos⁡x=−12\cos x = -\frac{1}{2} or cos⁡x=1\cos x = 1. On the interval, cos⁡x=−12\cos x = -\frac{1}{2} gives x=2π3x = \frac{2\pi}{3} and 4π3\frac{4\pi}{3} (that is 120∘120^\circ and 240∘240^\circ), and cos⁡x=1\cos x = 1 gives x=0x = 0. Check x=2π3x = \frac{2\pi}{3}: sin⁡2x=34\sin^2 x = \frac{3}{4}, so 2⋅34−12−1=02 \cdot \frac{3}{4} - \frac{1}{2} - 1 = 0. It works.

Never divide both sides by cos⁡x\cos x to “cancel” a factor. That throws away the solutions where cos⁡x=1\cos x = 1, here x=0x = 0. Factor instead. If the quadratic in sine or cosine does not factor, the same steps work with the quadratic formula, and quadratic formula practice is a good place to sharpen that skill. Always reject any value outside [−1,1][-1, 1], since sine and cosine cannot reach it.

Where are Pythagorean identities used in real life?

Any time a quantity is split between two perpendicular directions, the identity is quietly at work. A point moving on a circle of radius rr at (rcos⁡t,rsin⁡t)(r\cos t, r\sin t) never leaves the circle, which is why game engines, robotics and animation use it to rotate things without stretching them.

Exact points from triples

The triple 33-44-55 gives the point (35,45)\left(\frac{3}{5}, \frac{4}{5}\right) on the unit circle, since 925+1625=1\frac{9}{25} + \frac{16}{25} = 1. Triples are a source of clean, exact angles.

In physics, a mass on a spring with position x=Acos⁡ωtx = A\cos\omega t has potential energy 12kA2cos⁡2ωt\frac{1}{2}kA^2\cos^2\omega t and kinetic energy 12kA2sin⁡2ωt\frac{1}{2}kA^2\sin^2\omega t. Their sum is 12kA2\frac{1}{2}kA^2, constant, because sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1. Energy sloshes between the two forms without being lost.

In calculus, the substitution x=sin⁡θx = \sin\theta turns 1−x2\sqrt{1 - x^2} into cos⁡θ\cos\theta, which is how integrals involving circles get solved. The same thinking powers inverse trigonometric functions: if θ=arccos⁡x\theta = \arccos x, then sin⁡(arccos⁡x)=1−x2\sin(\arccos x) = \sqrt{1 - x^2}. On a graph of sine and cosine, the identity shows up as the squared curves mirroring each other and always adding to a flat line at height 11.

Pythagorean identities vs. the formulas they get mixed up with

The Pythagorean theorem relates side lengths of a right triangle: a2+b2=c2a^2 + b^2 = c^2. The identities relate ratios, so they hold on any scale, and they hold for angles of every size. The Law of Cosines is the theorem’s generalization to any triangle: c2=a2+b2−2abcos⁡Cc^2 = a^2 + b^2 - 2ab\cos C. When C=90∘C = 90^\circ, cos⁡C=0\cos C = 0 and the extra term vanishes, leaving the original theorem.

The closest look-alike is the double-angle formula:

cos⁡2θ=cos⁡2θ−sin⁡2θ\cos 2\theta = \cos^2\theta - \sin^2\theta

It has a minus sign and equals cos⁡2θ\cos 2\theta, not 11. Combined with the Pythagorean identity, it produces two other forms, cos⁡2θ=1−2sin⁡2θ\cos 2\theta = 1 - 2\sin^2\theta and cos⁡2θ=2cos⁡2θ−1\cos 2\theta = 2\cos^2\theta - 1, which are the standard tools for rewriting squared terms.

A further relative: hyperbolic functions satisfy cosh⁡2x−sinh⁡2x=1\cosh^2 x - \sinh^2 x = 1, with a minus sign, because their “circle” is a hyperbola. The sign flip is the whole difference. In trig, adding squares gives 11. In hyperbolic trig, subtracting does.

Quick check

Is cos⁡2x−sin⁡2x=1\cos^2 x - \sin^2 x = 1 true for every xx? Name a value of xx that settles it.

How can you check a Pythagorean identity answer quickly?

Testing with numbers catches most errors in under a minute. One test angle can disprove a claim but cannot prove it, so test two or three. Use angles with clean values such as 30∘30^\circ, 45∘45^\circ or π3\frac{\pi}{3}.

  1. Plug in a clean angle. For Example 2 at x=π3x = \frac{\pi}{3}, the left side is 3/41/2=32\frac{3/4}{1/2} = \frac{3}{2} and 1+cos⁡x=321 + \cos x = \frac{3}{2}. They agree.
  2. Check the sign against the quadrant before moving on.
  3. Check sizes: ∣sin⁡θ∣|\sin\theta| and ∣cos⁡θ∣|\cos\theta| are at most 11, while ∣sec⁡θ∣|\sec\theta| and ∣csc⁡θ∣|\csc\theta| are at least 11.
  4. Test a second angle, such as x=π2x = \frac{\pi}{2} in Example 2: both sides equal 11.

Calculator mode is a quiet trap. Because sin⁡2+cos⁡2=1\sin^2 + \cos^2 = 1 holds in any unit, the identity cannot reveal a wrong mode, but individual values will: sin⁡30\sin 30 is 0.50.5 in degrees and about −0.988-0.988 in radians. If a conversion is needed, see degrees to radians and radians to degrees.

Practice problems

0 of 5 solved

  1. If sin⁡θ=45\sin\theta = \frac{4}{5} and θ\theta is in quadrant II, find cos⁡θ\cos\theta.

  2. Simplify cos⁡2x (1+tan⁡2x)\cos^2 x\,(1 + \tan^2 x).

  3. Find tan⁡θ\tan\theta if sec⁡θ=−1312\sec\theta = -\frac{13}{12} and sin⁡θ<0\sin\theta < 0.

  4. Write sin⁡4x−cos⁡4x\sin^4 x - \cos^4 x using only cos⁡x\cos x.

  5. Solve 2cos⁡2x+3sin⁡x=32\cos^2 x + 3\sin x = 3 for 0≤x<2π0 \le x < 2\pi.

Common questions

What are the three Pythagorean identities?

They are sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1, 1+tan⁡2θ=sec⁡2θ1 + \tan^2\theta = \sec^2\theta and 1+cot⁡2θ=csc⁡2θ1 + \cot^2\theta = \csc^2\theta. The second and third come from dividing the first by cos⁡2θ\cos^2\theta and sin⁡2θ\sin^2\theta.

Why are they called Pythagorean identities?

Each one is the Pythagorean theorem a2+b2=c2a^2 + b^2 = c^2 divided by c2c^2 and rewritten with trig ratios. On the unit circle, the legs of the triangle are cos⁡θ\cos\theta and sin⁡θ\sin\theta and the hypotenuse is 11.

How do you choose the sign when taking the square root?

Use the quadrant of the angle. Sine is positive in quadrants I and II, cosine in I and IV, and tangent in I and III. The identity gives the size, and the quadrant gives the sign.

Do the identities work in both degrees and radians?

Yes. They hold for any angle measure as long as the calculator or formula uses the same unit throughout. A wrong calculator mode will not break sin⁡2θ+cos⁡2θ=1\sin^2\theta + \cos^2\theta = 1, but it will give wrong individual values.

Does sin θ + cos θ equal 1?

No. Only the squares add to 1. At 45∘45^\circ, sin⁡θ+cos⁡θ=2≈1.414\sin\theta + \cos\theta = \sqrt{2} \approx 1.414.

Do the identities work for negative angles or angles over 360 degrees?

Yes. A negative or large angle lands on the same unit circle, so its point still satisfies x2+y2=1x^2 + y^2 = 1. Coterminal angles give identical sine and cosine values.

Up next