What Is the Cos A − Cos B Formula?
The cos A − cos B formula is one of the difference-to-product identities. It states:
The right side is a product of two sines, scaled by . The leading minus sign is part of the identity, not a slip - it is the single feature that separates a correct answer from a wrong one here. This identity belongs to the family of sum-to-product formulas and the wider trigonometric identities.
A reader question worth settling first: is cos A − cos B the same as cos(A − B)? No. is a single cosine of one combined angle; is the difference of two separate cosines, and it expands into a product of sines.
The Difference That Factors
Two cosine waves subtracted from each other should be messy, yet the result collapses into a single clean product. That is the move behind noise-cancelling headphones and behind almost every trigonometric equation you will be asked to solve: a difference of cosines cannot be factored or set to zero as it stands, but as a product it factors instantly.
The cos A − cos B formula is what performs that collapse. It trades an expression you cannot solve for one you can, and the price is remembering a single leading minus sign.
How Do You Derive the Cos A − Cos B Formula?
The formula is not memorised, it is built. Introduce two helper angles and so that
Now expand each cosine with the compound-angle identities:
Subtract the second from the first. The terms cancel:
Substitute and back:
That minus sign comes directly from the on top; it is structural, not decorative. The compound-angle step is the same one used in the cos(A − B) formula, and both sit inside the sum and difference identities.
Variable glossary. and are the two angles; is their average (half the sum) and is half their difference. The factor is fixed by the derivation.
Examples of Cos A − Cos B
Example 1
Express as a product.
Set , , so and .
Example 2
Evaluate .
Wrong attempt. A tempting shortcut is .
Check it: and , so the difference is about , which is negative - nowhere near . The difference of two cosines is not the cosine of the difference.
Correct. Apply the formula with and :
That is about , matching the numerical check.
Example 3
Evaluate .
Here and .
A direct check agrees: and , whose difference is .
Example 4
Solve .
Factor the left side with and :
A product is zero when a factor is zero, so or . Both are covered by
This is exactly why the product form matters: the original difference could not be set to zero, but the factored product can.
Example 5
Simplify .
Convert numerator and denominator separately, using to clear the negative half-differences.
The last step uses .
Example 6
Write as a product and state its sign.
With and :
Both sine factors end up positive, so the result is positive - sensible, since . The first-instinct error here is dropping the sign on ; carrying through is what flips the leading minus into a plus.
Where Is the Cos A − Cos B Formula Used? - "A difference you can finally solve"
The formula earns its place by turning an unsolvable-looking difference into a factorable product. Two settings make that concrete.
Solving trigonometric equations. An equation like has no obvious next step as a difference, but factored into it splits into two simple equations, as Example 4 showed. This is the standard technique whenever a trig equation pits one cosine against another.
Simplifying ratios and expressions. A quotient of two cosine differences, like the one in Example 5, cancels cleanly once each part is a product - the shared factor divides out and a page of algebra becomes .
What most explainers skip is why the cosine terms cancel while the sine terms survive: cosine is even, so is identical in both expansions and subtracts to zero, while the odd sine product keeps its sign and doubles. The product-to-sum companion, cos A cos B, runs the same idea in the opposite direction.
Common Mistakes With Cos A − Cos B
Mistake 1: Dropping the leading minus sign
Where it slips in: Recalling the bracket as without the in front.
Don't do this: .
The correct way: The identity is . The minus is what makes the sign of the answer come out right, as Example 2's negative result showed. The habit that fixes this is deriving from the two expansions, where the minus appears on its own.
Mistake 2: Treating cos A − cos B as cos(A − B)
Where it slips in: Collapsing the difference of two cosines into a single cosine of the difference.
Don't do this: .
The correct way: These are unrelated. , while . The rusher who reads "minus" as "combine the angles" gets the wrong value and the wrong sign at once.
Mistake 3: Mishandling the sign when A is less than B
Where it slips in: When comes out negative, as in Example 6.
Don't do this: Writing as positive and ignoring the negative argument.
The correct way: Use to rewrite the factor, then track the sign through.
Key Takeaways
The cos A − cos B formula is , a difference-to-product identity.
It comes from subtracting the two cosine compound-angle expansions, which cancels the cosine terms and leaves the minus sign.
The leading is essential; dropping it reverses the sign of the answer.
Its main job is factoring a difference of cosines so trigonometric equations can be solved and ratios simplified.
To take the cos A − cos B formula further with a teacher, explore Bhanzu's trigonometry tutor sessions, a high school math tutor for identity practice, or live math classes online with peers from 20+ countries.
A Practical Next Step
Practice these to solidify your understanding: express as a product, evaluate using the formula, and solve . If you get stuck on the sign, come back to the derivation and watch where the minus appears. Want a live Bhanzu trainer to work through these with you? Book a free demo class.
Read More
Sin A + sin B formula — the sum-to-product identity for sine, built the same way.
Cosine function — the even function whose symmetry makes the cosine terms cancel.
Trigonometry formulas — the full identity toolkit in one reference.
2 sin a cos a formula — the double-angle identity used to finish Example 5.
Cos 2x — the double-angle cosine identity that pairs with these.
Was this article helpful?
Your feedback helps us write better content