The Pythagorean identity: one line
The unit circle has equation x2+y2=1. The point on the unit circle at angle θ is (cosθ,sinθ). Substitute:
cos2θ+sin2θ=1.
That's it. The Pythagorean identity is the Pythagorean theorem applied to the unit circle. The unit circle has radius 1; its points satisfy x2+y2=1; since x=cosθ and y=sinθ, we get cos2θ+sin2θ=1. One sentence, full proof. Anyone who made you memorize this without that sentence owes you an apology.
The identity works for every real θ — no angle excluded. From it, we get two companions by dividing through by cos2θ and sin2θ respectively:
1+tan2θ=sec2θ,cot2θ+1=csc2θ.
(Where secθ=1/cosθ and cscθ=1/sinθ and cotθ=1/tanθ. These reciprocal functions appear rarely but you should recognize them when they do.)
The sum formulas: derivation via rotation
We want to prove:
cos(α−β)=cosαcosβ+sinαsinβ.
Proof. Consider two points on the unit circle: A=(cosα,sinα) and B=(cosβ,sinβ). The distance ∣AB∣2 between them:
∣AB∣2=(cosα−cosβ)2+(sinα−sinβ)2.
Expand:
=cos2α−2cosαcosβ+cos2β+sin2α−2sinαsinβ+sin2β.
Using cos2θ+sin2θ=1 twice:
=1+1−2(cosαcosβ+sinαsinβ)=2−2(cosαcosβ+sinαsinβ).
Now rotate both points by −β: A goes to (cos(α−β),sin(α−β)) and B goes to (1,0). Rotation preserves distances (it's an isometry), so the distance is unchanged. But now:
∣AB∣2=(cos(α−β)−1)2+(sin(α−β)−0)2
=cos2(α−β)−2cos(α−β)+1+sin2(α−β)
=1−2cos(α−β)+1=2−2cos(α−β).
Setting the two expressions equal:
2−2cos(α−β)=2−2(cosαcosβ+sinαsinβ).
cos(α−β)=cosαcosβ+sinαsinβ.□
Two distances, one rotation, zero hand-waving. That is a proof, damn it.
Deriving the rest
From cos(α−β) we get everything else by substitution and symmetry:
cos(α+β): replace β with −β and use cos(−β)=cosβ, sin(−β)=−sinβ:
cos(α+β)=cosαcosβ−sinαsinβ.
sin(α+β): use the identity sinθ=cos(π/2−θ):
sin(α+β)=cos(2π−(α+β))=cos((2π−α)−β).
Apply the cos(⋅−β) formula:
=cos(2π−α)cosβ+sin(2π−α)sinβ=sinαcosβ+cosαsinβ.
sin(α−β): replace β with −β:
sin(α−β)=sinαcosβ−cosαsinβ.
The four sum/difference formulas:
cos(α±β)=cosαcosβ∓sinαsinβ
sin(α±β)=sinαcosβ±cosαsinβ
The ∓ in the cosine formula: the upper sign on the left goes with the lower sign on the right. Many students mix these up. The easiest fix: remember the cosine formula has mixed signs (+β on left gives − between terms on right), while the sine formula has same signs.
Drag the widget and watch the sum formula in action:
Double-angle formulas: just set α = β
Set α=β in the sum formulas:
sin(2α)=2sinαcosα.
cos(2α)=cos2α−sin2α.
The cosine double-angle has two equivalent alternate forms, obtained by substituting cos2α=1−sin2α or sin2α=1−cos2α:
cos(2α)=1−2sin2α=2cos2α−1.
The last two forms are the power-reduction formulas in disguise: sin2α=(1−cos2α)/2 and cos2α=(1+cos2α)/2. These appear constantly in calculus integrals — you don't need calculus to see the identity; you need calculus to care about it. But file it the hell away. It'll save your ass later.
Proving identities: the etiquette
An identity is a statement that two trig expressions are equal for all valid angles. Proving one means transforming one side into the other using known identities. The rules:
- Work one side only. Pick the more complicated side and manipulate it into the other. Never "cross" the equals sign. Writing "sin2θ+cos2θ=1, therefore LHS = RHS" is circular when the identity you're proving IS the substitution you're using.
- Never add the same thing to both sides (that's solving an equation, not proving an identity).
- Conjugates and 1=cos2+sin2 are your two main tricks. When stuck, try substituting 1 for cos2θ+sin2θ, or multiply by a clever form of 1.
The payoff: cos/sin sum formulas are the 2D rotation matrix
Here is the reason the Matrices stratum is collecting on a debt from this lesson. Consider the 2D rotation by angle θ: it sends
(1,0)↦(cosθ,sinθ)
(0,1)↦(−sinθ,cosθ).
(The second mapping: (0,1) is at angle π/2. Rotating by θ gives angle π/2+θ, with coordinates (cos(π/2+θ),sin(π/2+θ))=(−sinθ,cosθ).)
The matrix whose columns are the images of the basis vectors is:
Rθ=(cosθsinθ−sinθcosθ).
Now apply this to a general vector (x,y):
Rθ(xy)=(xcosθ−ysinθxsinθ+ycosθ).
The entries of the rotated vector are exactly the sum formulas for cos(θ−ϕ) and sin(θ+ϕ) (where x=cosϕ, y=sinϕ for a unit vector). The rotation matrix IS the sum formula, packaged in a grid.
In the Matrices stratum, we will see that RαRβ=Rα+β — multiplying two rotation matrices is the addition formula for angles. The trig and the linear algebra are the same thing, viewed from different windows. File this away. It detonates in the eigenvalue lesson.