Ten trigonometric identities proved from the Pythagorean identity and the sum formulas: double and triple angles, power reduction, half-angle tangent, sum-to-product, tan of a sum, and writing a sin x + b cos x as a single sine, with worked solutions and the mistakes of working both sides and linearising sin(x + y).
Before you start
Two facts, the Pythagorean identity and the sum formulas, are enough to derive every identity on this page. The ten problems build the double-angle, power-reduction, half-angle and sum-to-product formulas from them, then use those to write 3sinx+4cosx as a single sine wave.
x and y are angles, in radians. sin2x means ;(sinx)2;tanx=sinx/cosx and ,secx=1/cosx, both defined where .cosx=0.
Pythagorean identity: sin2x+cos2x=1 for every .x.
Sum formulas: sin(x±y)=sinxcosy±cosxsiny and ,cos(x±y)=cosxcosy∓sinxsiny, for every x and ;y; take the upper signs together or the lower signs together.
Everything else on this page is derived from these. An identity with a denominator or a tan holds only where every term is defined, and each one states that domain.
To prove an identity, transform one side until it becomes the other; adding to or multiplying both sides of the identity being proved assumes what you are proving — that is mistake 1 below.
Problems
·
Prove tan2x+1=sec2x from .sin2x+cos2x=1.
·
Derive sin2x=2sinxcosx from the sum formula, and the three forms of .cos2x.
··
Prove cos2x=21+cos2x and .sin2x=21−cos2x.
··
Prove .sin(x+y)sin(x−y)=sin2x−sin2y.
··
Prove sinx1−cosx=tan2x for .sinx=0.
··
Prove .sinx+siny=2sin2x+ycos2x−y.
···
Prove ,1+cosxsinx+sinx1+cosx=sinx2, and say where it is valid.
···
Derive tan(x+y)=1−tanxtanytanx+tany from the sum formulas.
···
Prove .cos3x=4cos3x−3cosx.
···
Write 3sinx+4cosx as Rsin(x+φ) with ,R>0, giving R and φ exactly.
,sinx2, valid when sinx=0 (which also makes )1+cosx=0)
,tan(x+y)=1−tanxtanytanx+tany, for cosx,cosy=0 and tanxtany=1
cos3x=4cos3x−3cosx
,R=5,φ=arctan34 (first quadrant, since cosφ=53>0 and )sinφ=54>0)
Worked solutions
Problem 1
Prove tan2x+1=sec2x from .sin2x+cos2x=1.
Take any x with .cosx=0.tanx and secx are defined only where ,cosx=0, so the identity is a claim about those angles alone.
.cos2xsin2x+cos2xcos2x=cos2x1.Both terms of the Pythagorean identity have a factor cos2x to divide by, which is nonzero where tanx is defined, and dividing a true equation by a nonzero number gives a true equation. This starts from a known fact, not from the identity to be proved.
tan2x+1=sec2x,sin2x/cos2x=(sinx/cosx)2=tan2x,cos2x/cos2x=1 and ;1/cos2x=sec2x; valid wherever .cosx=0.
Problem 2
Derive sin2x=2sinxcosx from the sum formula, and the three forms of .cos2x.
.sin2x=sin(x+x)=sinxcosx+cosxsinx.The sine sum formula holds for every pair of angles, so it holds with ,y=x, and .x+x=2x.
.sin2x=2sinxcosx.The two terms are the same product written in a different order.
.cos2x=cos(x+x)=cosxcosx−sinxsinx=cos2x−sin2x.The cosine sum formula with .y=x.
.cos2x−sin2x=cos2x−(1−cos2x)=2cos2x−1.The Pythagorean identity gives ;sin2x=1−cos2x; substituting it leaves a form with cosines only.
.cos2x−sin2x=(1−sin2x)−sin2x=1−2sin2x.Likewise cos2x=1−sin2x leaves a form with sines only.
;sin2x=2sinxcosx;cos2x=cos2x−sin2x=2cos2x−1=1−2sin2xSteps 2 to 5. Which form of cos2x to use depends on which function the target keeps: Problems 3, 5 and 9 pick the form that suits their target.
Problem 3
Prove cos2x=21+cos2x and .sin2x=21−cos2x.
.cos2x=2cos2x−1.Problem 2's second form is the one whose only square is ,cos2x, so solving it for cos2x gives the first identity. It is already proved, so rearranging it is a deduction from a true equation, not an assumption.
,2cos2x=1+cos2x, so .cos2x=21+cos2x.Add 1 to both sides, then divide both by 2; each step keeps a true equation true.
.cos2x=1−2sin2x.Problem 2's third form is the one whose only square is .sin2x.
,2sin2x=1−cos2x, so .sin2x=21−cos2x.Add 2sin2x−cos2x to both sides, then divide both by 2.
,cos2x=21+cos2x,sin2x=21−cos2xSteps 2 and 4. Each trades a square for a first power of a cosine at twice the angle, which is how ∫cos2xdx and ∫sin2xdx are done.
Problem 4
Prove .sin(x+y)sin(x−y)=sin2x−sin2y.
sin(x+y)=sinxcosy+cosxsiny and .sin(x−y)=sinxcosy−cosxsiny.The sine sum formula with the upper and with the lower sign.
.sin(x+y)sin(x−y)=sin2xcos2y−cos2xsin2y.The two factors are the sum and the difference of the same two products, sinxcosy and ,cosxsiny, and a sum times a difference is the difference of the squares.
.=sin2x(1−sin2y)−(1−sin2x)sin2y.The target contains only sines, so replace each cos2 by 1−sin2 (Pythagorean identity).
.=sin2x−sin2xsin2y−sin2y+sin2xsin2y.Multiply out both products.
sin(x+y)sin(x−y)=sin2x−sin2yThe two sin2xsin2y terms cancel. The left side has been transformed into the right side.
Problem 5
Prove sinx1−cosx=tan2x for .sinx=0.
.x=2⋅2x.The right side is a function of the angle ,2x, so write x as twice that angle and use Problem 2, whose identities hold for every angle, at .2x.
.1−cosx=1−(1−2sin22x)=2sin22x.Problem 2's form ,cos2x=1−2sin2x, at the angle ,2x, gives ;cosx=1−2sin22x; this form is chosen because its 1 cancels the 1 in the numerator.
.sinx=2sin2xcos2x.Problem 2's sin2x=2sinxcosx at the angle .2x.
.sinx1−cosx=2sin2xcos2x2sin22x.Steps 2 and 3 in the numerator and denominator. The denominator is ,sinx, which is nonzero by hypothesis, so neither sin2x nor cos2x is 0.
tan2xCancel ,2sin2x, nonzero by step 4, leaving .sin2x/cos2x. Since ,cos2x=0,tan2x is defined, so both sides exist for every x with .sinx=0.
Problem 6
Prove .sinx+siny=2sin2x+ycos2x−y.
Let u=2x+y and ,v=2x−y, the half-sum and half-difference of x and .y.The right side is written in these two angles, so naming them lets the left side be expanded with the sum formulas.
u+v=x and .u−v=y.Adding the two definitions gives ;22x=x; subtracting them gives .22y=y. So every pair ,x,y is a sum and a difference of u and .v.
.sinx=sin(u+v)=sinucosv+cosusinv.Step 2, then the sine sum formula with the upper sign.
.siny=sin(u−v)=sinucosv−cosusinv.Step 2, then the sine sum formula with the lower sign.
.sinx+siny=2sinucosv.Add steps 3 and 4: the cosusinv terms cancel and the sinucosv terms double.
2sin2x+ycos2x−yPut back u=2x+y and v=2x−y from step 1.
Problem 7
Prove ,1+cosxsinx+sinx1+cosx=sinx2, and say where it is valid.
The identity needs sinx=0 and ;1+cosx=0; the first implies the second.Both are denominators. If cosx=−1 then sin2x=1−cos2x=0 by the Pythagorean identity, so excluding sinx=0 also excludes .cosx=−1.
.1+cosxsinx+sinx1+cosx=(1+cosx)sinxsin2x+(1+cosx)2.Common denominator: multiply the top and bottom of each fraction by the other's denominator, which is nonzero by step 1.
.sin2x+(1+cosx)2=sin2x+1+2cosx+cos2x=2+2cosx.Expand the square; sin2x+cos2x=1 collapses two of the terms to 1.
.(1+cosx)sinx2+2cosx=(1+cosx)sinx2(1+cosx).Factoring the 2 out of the numerator exposes the factor 1+cosx it shares with the denominator.
,sinx2, valid when sinx=0 (which also makes )1+cosx=0)Cancel ,1+cosx, nonzero by step 1. So the identity holds for every x except ,x=kπ,k an integer, where .sinx=0.
Problem 8
Derive tan(x+y)=1−tanxtanytanx+tany from the sum formulas.
.tan(x+y)=cos(x+y)sin(x+y)=cosxcosy−sinxsinysinxcosy+cosxsiny.The definition of ,tan, valid where ,cos(x+y)=0, then the two sum formulas with the upper sign.
Suppose cosx=0 and .cosy=0.These are the conditions for tanx and tany on the right side to be defined, and they make cosxcosy a nonzero number to divide by.
.tan(x+y)=1−tanxtanytanx+tany.Dividing the top and bottom of a fraction by the same nonzero number, ,cosxcosy, leaves it unchanged: ,cosxcosysinxcosy=tanx,,cosxcosycosxsiny=tany,cosxcosycosxcosy=1 and .cosxcosysinxsiny=tanxtany.
.1−tanxtany=cosxcosycos(x+y).Step 3 divided the denominator of step 1, which is ,cos(x+y), by .cosxcosy. So tanxtany=1 is the same condition as ,cos(x+y)=0, the one step 1 needed.
,tan(x+y)=1−tanxtanytanx+tany, for cosx,cosy=0 and tanxtany=1Steps 1 to 4: the first two conditions make the right side's tangents exist, and the third makes both sides' denominators nonzero.
Problem 9
Prove .cos3x=4cos3x−3cosx.
.cos3x=cos(2x+x)=cos2xcosx−sin2xsinx.,3x=2x+x, and the cosine sum formula with the angles 2x and x produces cos2x and ,sin2x, which Problem 2 already expresses in sinx and .cosx.
.=(2cos2x−1)cosx−(2sinxcosx)sinx.Problem 2. Of the three forms of ,cos2x, take ,2cos2x−1, because the target contains only cosines.
.=2cos3x−cosx−2sin2xcosx.Multiply out.
.=2cos3x−cosx−2(1−cos2x)cosx=2cos3x−cosx−2cosx+2cos3x.The Pythagorean identity sin2x=1−cos2x removes the last sine; then multiply out.
cos3x=4cos3x−3cosxCollect the cos3x terms and the cosx terms. A check at :x=0:cos0=1 and .4−3=1.
Problem 10
Write 3sinx+4cosx as Rsin(x+φ) with ,R>0, giving R and φ exactly.
.Rsin(x+φ)=Rsinxcosφ+Rcosxsinφ=(Rcosφ)sinx+(Rsinφ)cosx.The sine sum formula with the angles x and ;φ;R and φ are constants, so Rcosφ and Rsinφ are fixed coefficients.
Rcosφ=3 and .Rsinφ=4.Matching the coefficients of sinx and cosx with 3sinx+4cosx makes the two expressions equal for every ,x, and the match is forced: x=0 gives Rsinφ=4 and x=2π gives .Rcosφ=3.
,R2=R2cos2φ+R2sin2φ=32+42=25, so .R=5.Square the two equations of step 2 and add; the Pythagorean identity removes .φ.R>0 picks the positive root.
,cosφ=53,,sinφ=54, so .tanφ=34.Divide both equations of step 2 by ,R=5, then divide the second by the first.
,R=5,φ=arctan34 (first quadrant, since cosφ=53>0 and )sinφ=54>0)tanφ=34 alone has two solutions in a full turn: arctan34 in the first quadrant and arctan34+π in the third, where sine and cosine are both negative. Both are positive here, so φ is the first-quadrant one, which is the one arctan returns (about 0.927 rad; adding any multiple of 2π gives the same sine). So ,3sinx+4cosx=5sin(x+arctan34), a sine wave of amplitude 5.
Where this goes wrong
1. Working on both sides
Solving an equation means doing the same thing to both sides, and it is natural to treat an identity to be proved the same way.
To prove: sinx1−cosx=tan2x for sinx=0Right so far: the statement of Problem 5.
“Multiply both sides by the denominators and simplify until something obviously true appears.”The analogy that causes the mistake: solving an equation, where operating on both sides is exactly right.
,(1−cosx)cos2x=sinxsin2x, so ,2sin22xcos2x=2sin22xcos2x, so 0=0The first equation is the identity multiplied by ,sinxcos2x, so every line after it takes the identity as true to begin with. Reaching a true statement from a claim does not make the claim true: 1=2 multiplied by 0 also gives .0=0. The chain proves the identity only if every step reverses, so that it can be run backward from 0=0 to the claim. In this particular case the steps do reverse — the multiplier sinxcos2x is nonzero whenever ,sinx=0, so dividing by it undoes the first step — and the identity is true (Problem 5). The method is the error, not the conclusion: written this way, nothing was proved, and the same method “proves” false identities. Transform one side into the other instead.
2. Linearising the sine of a sum
Many operations split over a sum: ,2(x+y)=2x+2y, and any linear map does the same.
sin(x+y) for two angles x and yRight so far: the expression to expand.
“The sine of a sum is the sum of the sines.”The analogy that causes the mistake: treating sin as if it were linear.
sin(x+y)=sinx+sinysin is not linear. A check with :x=y=2π: the left side is ,sinπ=0, the right side is .1+1=2. The sum formula has cross terms, ,sin(x+y)=sinxcosy+cosxsiny, and Problem 6 shows what sinx+siny actually equals: .2sin2x+ycos2x−y.
3. Doubling the angle by doubling the cosine
The same habit, with a factor instead of a sum: doubling the input is expected to double the output.
cos2xRight so far: the cosine of twice the angle.
“Twice the angle, so twice the cosine.”The analogy that causes the mistake: cos(2x) read as if cos were multiplication by a constant.
cos2x=2cosxThe same linearity habit. A check with :x=0: the left side is ,cos0=1, the right side is 2. It fails wherever cosx>21 without any calculation, since there 2cosx>1 and no cosine exceeds 1. The double-angle forms are cos2x=cos2x−sin2x=2cos2x−1=1−2sin2x (Problem 2).
4. Dividing by something that can be zero
Once the algebra of a proof works, the conditions it needs are easy to leave off.
1+cosxsinx+sinx1+cosxRight so far: the left side of Problem 7.
“Common denominator, cancel, done; the domain is a technicality.”The attitude that causes the mistake: treating the division as always allowed.
1+cosxsinx+sinx1+cosx=(1+cosx)sinx2(1+cosx)=sinx2 for every xEvery fraction after the first divides by ,sinx, and sinx=0 at x=kπ for every integer ;k; at odd multiples of ,π,1+cosx=0 as well, so the first fraction is undefined too and the cancellation divides 0 by .0. At those angles neither side is defined, so the identity is false there as a claim “for every x”. The correct statement carries its domain: valid when sinx=0 (Problem 7). Every identity with a denominator does.
5. Losing the sign under a square root
Problem 3 gives ,sin2x, and taking a square root looks like the way to get sinx itself.
sin2x=21−cos2xRight so far: Problem 3.
“Take the square root of both sides; a square root undoes a square.”The analogy that causes the mistake: ,32=3, remembered without its condition that the number squared is not negative.
,sin2x=sinx, so sinx=21−cos2xA square root is never negative, so .sin2x=∣sinx∣. At x=−2π the line gives ,sinx=21−(−1)=1, but .sin(−2π)=−1. The correct result is ,∣sinx∣=21−cos2x, with the sign read off the quadrant of .x. The power-reduction identities are safe precisely because they never take the root.
Print this set: trig-identities.pdf (problems, answers, and worked solutions on separate pages).