The Identity That Builds Unfamiliar Angles From Familiar Ones
You know the cosine of and the cosine of cold — but the cosine of isn't on any memorized table, and the cos(A - B) formula is exactly the tool that turns the two angles you know into the one you don't.
The cos(A - B) formula — also called the cosine difference identity — says:
It is one of the sum and difference formulas of trigonometry, and the plus sign between the two products is its signature — the detail students most often get backwards.
What Is the Cos(A - B) Identity?
The cosine of a difference of two angles equals the product of their cosines plus the product of their sines. In symbols, . It holds for all real angles and , in degrees or radians.
The point of the identity is decomposition: when an angle can be written as the difference of two angles you already know — , or — the formula gives its exact cosine without a calculator. It is the companion of , and the sign flip between the two is the whole story.
How Is the Cos(A - B) Formula Proved?
The cleanest proof uses the unit circle and the fact that rotating two points together leaves the distance between them unchanged.
The unit-circle distance proof. Put two points on the unit circle: at angle , and at angle . The squared distance between them is:
Expand and use on each point:
Now rotate both points clockwise by . Distance is preserved, and the points become and :
Set the two squared distances equal and cancel:
A shortcut from cos(A + B). If you already trust the sum formula, write . Since and :
The minus inside flips the sign of the sine term, turning the sum formula's into the difference formula's .
Double-Anchoring — Right Triangle and Unit Circle
The formula reads two ways, and seeing both anchors it.
From the unit circle. is the cosine of the angle between the radii at and — the -component of one point projected onto the other's direction. The dot product of the two unit vectors and is exactly , and a dot product of unit vectors equals the cosine of the angle between them, . The algebra and the geometry are the same statement.
From the right triangle. For acute and with , build adjacent right triangles sharing a side. Project the legs and the formula's two products — and — appear as the horizontal pieces that recombine into the adjacent side of the angle . The triangle proof handles the intuitive acute case; the unit-circle proof handles the full real domain.
For a concrete anchor: at , , the formula gives , which matches the known .
Examples of the Cos(A - B) Formula
Example 1
Compute exactly using .
Apply the difference formula:
Substitute , , :
In radians, .
Final answer: .
Example 2
Compute .
Wrong attempt. A student copies the sign from the angle operation: the angle has a minus, so they write the expansion with a minus too — — and compute . They report .
The break. is , not . The result would mean is a right angle, which it plainly is not. What went wrong: that minus sign belongs to the sum formula, . The student accidentally computed , which really is .
Correct. The cosine difference formula carries a plus:
Final answer: .
Example 3
Find as a difference, using .
With and :
In radians, .
Final answer: .
Example 4
Given , , , , find .
Final answer: .
Example 5
Simplify .
This matches the sum pattern with and :
The two difference and sum identities are inverse moves — applying one and then the other returns the original angle.
Final answer: .
Example 6
Use the formula to derive from ... and explain why it gives for the wrong reason, then the right identity.
Setting in the difference formula gives ... but the formula expects a difference. Instead, treat it cleanly: . By the formula, . The identity recovers the Pythagorean relation as a special case.
Final answer: .
Where the Cosine Difference Identity Earns Its Keep
The formula is the algebra behind comparing two directions or two phases.
Angle between vectors. The cosine of the angle between two unit vectors is their dot product, — the foundation of lighting in 3D graphics, where the angle between a surface and a light source sets pixel brightness.
Wave interference and phase. When two waves of the same frequency but different phases and overlap, the cosine of their phase difference controls whether they reinforce or cancel — the core of interferometry and noise-cancelling audio.
GPS and signal correlation. Matched-filter detection multiplies a received signal against a reference and sums; the cosine difference identity is what turns that product into a phase-alignment measure.
Astronomy. The angular separation of two stars on the celestial sphere reduces to a cosine-difference expression in their coordinates.
Anywhere two angles need comparing rather than just measuring, this identity is the engine underneath.
The Mathematicians Behind the Cos(A - B) Formula
Claudius Ptolemy (c. 100–170 CE, Greco-Egyptian) encoded the angle-difference relationship geometrically in the Almagest through his chord theorem, which underlies every modern sum and difference identity. His chord tables powered astronomical prediction for over a millennium.
Bhaskara II (1114–1185, India) worked with the sine and cosine of angle sums and differences in the Siddhanta-Shiromani (1150), treating them as practical tools for the astronomical calculations of his era.
Where Cos(A - B) Goes Sideways
Mistake 1: Using a minus sign instead of a plus
Where it slips in: A reader copies the sign from the angle's subtraction into the expansion, writing for .
Don't do this: Match the formula's sign to the sign between the angles.
The correct way: For cosine, the sign is opposite: takes a plus, takes a minus.
Mistake 2: Swapping the cosine and sine pairings
Where it slips in: A reader writes — the sine difference pattern — for the cosine formula.
Don't do this: Mix the cosine-product and sine-product terms, or borrow the sine formula's cross structure.
The correct way: Cosine pairs like with like: (both cosines) plus (both sines). The cross-paired form belongs to — a different identity entirely.
Mistake 3: Mixing degrees and radians in one evaluation
Where it slips in: A reader sets up but plugs in calculator values read in degree mode.
Don't do this: Switch angle units between substitution and evaluation.
The correct way: Hold one unit throughout. — the same number in two notations — so state the unit beside the answer and match the calculator mode to it. The second-guesser who recomputes in the other unit "just to check" is the one who introduces the mismatch.
Key Takeaways
The cos(A - B) formula is — the cosine difference identity.
The sign is a plus, the opposite of the minus in — the detail most often reversed.
The unit-circle distance proof is the standard derivation; the dot-product reading anchors it geometrically.
It builds exact values for angles like and from familiar ones, and it measures the angle between two directions.
The most common mistake is copying the angle's minus into the expansion instead of using the plus.
Practice These Three
Compute using and confirm it matches .
Given , , , , find .
Show that .
If Problem 1 gives both ways, the two decompositions of agree — a built-in check. Want a live Bhanzu trainer to walk your child through the compound-angle identities and the Class 11 trigonometry chapter? Book a free demo class — online globally.
Was this article helpful?
Your feedback helps us write better content