Cos A Cos B : Product-to-Sum Formula, Proof, and Examples

#Trigonometry
TL;DR
The cos A cos B formula rewrites a product of two cosines as a sum: cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \frac{1}{2}\left[\cos(A - B) + \cos(A + B)\right]. This article proves it from the cosine addition and subtraction formulas, shows where it earns its keep, and works through six examples plus the mistakes students make.
BT
Bhanzu TeamLast updated on August 11, 20268 min read

The Product That Hides a Sum

An AM radio multiplies two cosine waves together, and the product secretly carries a sum inside it. That is not a metaphor: when a carrier wave cos⁡A\cos A meets an audio signal cos⁡B\cos B, the product cos⁡Acos⁡B\cos A \cos B splits into two separate frequencies, and pulling those frequencies apart is exactly how a receiver recovers the voice from the static.

That splitting is the whole point of the cos A cos B formula. A product of cosines is awkward to integrate and hard to read as a combination of frequencies; the formula trades it for a sum, which does both jobs cleanly.

What Is the Cos A Cos B Formula?

The cos A cos B formula is one of the product-to-sum identities. It states:

cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \frac{1}{2}\left[\cos(A - B) + \cos(A + B)\right]

Cleared of the fraction, the same identity reads 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A \cos B = \cos(A + B) + \cos(A - B), which is the form many textbooks list. Here AA and BB are any two angles, in degrees or radians, and the right side holds a sum of two cosines rather than a product.

A quick reader question worth settling now: is cos A cos B the same as cos(A + B)? No. cos⁡(A+B)\cos(A + B) is a single cosine of a combined angle, while cos⁡Acos⁡B\cos A \cos B is a product that expands into two cosines. This identity sits alongside the wider family of product-to-sum formulas and the broader trigonometric identities.

How Do You Derive the Cos A Cos B Formula?

The formula is not a rule to memorise; it falls straight out of the two cosine compound-angle identities. Start with them:

cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B\cos(A + B) = \cos A \cos B - \sin A \sin B

cos⁡(A−B)=cos⁡Acos⁡B+sin⁡Asin⁡B\cos(A - B) = \cos A \cos B + \sin A \sin B

Add the two equations. The sin⁡Asin⁡B\sin A \sin B terms have opposite signs, so they cancel:

cos⁡(A+B)+cos⁡(A−B)=2cos⁡Acos⁡B\cos(A + B) + \cos(A - B) = 2\cos A \cos B

Now divide both sides by 22:

cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \frac{1}{2}\left[\cos(A - B) + \cos(A + B)\right]

That is the whole derivation. If the compound-angle step is unfamiliar, the cos(A − B) formula page builds it from the unit circle, and both live inside the sum and difference identities.

Variable glossary. AA and BB are the two angles being multiplied; A−BA - B is their difference and A+BA + B is their sum. The 12\frac{1}{2} is not optional - it comes from dividing by the 22 that appears when the two identities combine.

Examples of Cos A Cos B

Example 1

Express cos⁡9xcos⁡7x\cos 9x \cos 7x as a sum.

Set A=9xA = 9x and B=7xB = 7x, so A−B=2xA - B = 2x and A+B=16xA + B = 16x.

cos⁡9xcos⁡7x=12[cos⁡2x+cos⁡16x]\cos 9x \cos 7x = \frac{1}{2}\left[\cos 2x + \cos 16x\right]

Example 2

Evaluate cos⁡75∘cos⁡15∘\cos 75^\circ \cos 15^\circ.

Wrong attempt. A tempting move is to treat the product as a single cosine: cos⁡75∘cos⁡15∘=cos⁡(75∘+15∘)=cos⁡90∘=0\cos 75^\circ \cos 15^\circ = \cos(75^\circ + 15^\circ) = \cos 90^\circ = 0.

Check that against the numbers: cos⁡75∘≈0.259\cos 75^\circ \approx 0.259 and cos⁡15∘≈0.966\cos 15^\circ \approx 0.966, so the product is about 0.250.25, not 00. Collapsing a product into the cosine of a sum is not a legal step.

Correct. Apply the formula with A=75∘A = 75^\circ, B=15∘B = 15^\circ, so A−B=60∘A - B = 60^\circ and A+B=90∘A + B = 90^\circ:

cos⁡75∘cos⁡15∘=12[cos⁡60∘+cos⁡90∘]=12[12+0]=14\cos 75^\circ \cos 15^\circ = \frac{1}{2}\left[\cos 60^\circ + \cos 90^\circ\right] = \frac{1}{2}\left[\frac{1}{2} + 0\right] = \frac{1}{4}

That matches the 0.250.25 from the numerical check.

Example 3

Evaluate cos⁡5π12cos⁡π12\cos\frac{5\pi}{12} \cos\frac{\pi}{12}.

With A=5π12A = \frac{5\pi}{12} and B=π12B = \frac{\pi}{12}, the difference is 4π12=π3\frac{4\pi}{12} = \frac{\pi}{3} and the sum is 6π12=π2\frac{6\pi}{12} = \frac{\pi}{2}.

cos⁡5π12cos⁡π12=12[cos⁡π3+cos⁡π2]=12[12+0]=14\cos\frac{5\pi}{12} \cos\frac{\pi}{12} = \frac{1}{2}\left[\cos\frac{\pi}{3} + \cos\frac{\pi}{2}\right] = \frac{1}{2}\left[\frac{1}{2} + 0\right] = \frac{1}{4}

Example 4

Write 2cos⁡5θcos⁡3θ2\cos 5\theta \cos 3\theta as a sum.

Using the cleared form 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A \cos B = \cos(A + B) + \cos(A - B) with A=5θA = 5\theta, B=3θB = 3\theta:

2cos⁡5θcos⁡3θ=cos⁡8θ+cos⁡2θ2\cos 5\theta \cos 3\theta = \cos 8\theta + \cos 2\theta

Example 5

Integrate ∫cos⁡3xcos⁡x,dx\displaystyle\int \cos 3x \cos x ,dx.

Direct integration of the product is awkward, so convert first. With A=3xA = 3x, B=xB = x: cos⁡3xcos⁡x=12[cos⁡2x+cos⁡4x]\cos 3x \cos x = \frac{1}{2}\left[\cos 2x + \cos 4x\right].

∫cos⁡3xcos⁡x,dx=12∫(cos⁡2x+cos⁡4x)dx\int \cos 3x \cos x ,dx = \frac{1}{2}\int \left(\cos 2x + \cos 4x\right) dx

=12(sin⁡2x2+sin⁡4x4)+C=sin⁡2x4+sin⁡4x8+C= \frac{1}{2}\left(\frac{\sin 2x}{2} + \frac{\sin 4x}{4}\right) + C = \frac{\sin 2x}{4} + \frac{\sin 4x}{8} + C

Example 6

Show that cos⁡θcos⁡θ=12(1+cos⁡2θ)\cos\theta \cos\theta = \frac{1}{2}\left(1 + \cos 2\theta\right).

Set A=B=θA = B = \theta, so A−B=0A - B = 0 and A+B=2θA + B = 2\theta. Since cos⁡0=1\cos 0 = 1:

cos⁡2θ=12[cos⁡0+cos⁡2θ]=12(1+cos⁡2θ)\cos^2\theta = \frac{1}{2}\left[\cos 0 + \cos 2\theta\right] = \frac{1}{2}\left(1 + \cos 2\theta\right)

This is the power-reduction identity, and it drops out of the cos A cos B formula as the special case where the two angles are equal. The first-instinct error students make on this one is stopping at cos⁡0\cos 0 without writing its value, 11; carrying the known value through is what closes the identity.

Where Is the Cos A Cos B Formula Used? - "Products become readable sums"

The formula exists to solve one recurring problem: a product of cosines is hard to work with, and a sum is easy. Two places make that concrete.

  • Integration. A product like cos⁡3xcos⁡x\cos 3x \cos x has no clean antiderivative in product form, but rewritten as 12(cos⁡2x+cos⁡4x)\frac{1}{2}(\cos 2x + \cos 4x) it integrates term by term, as Example 5 showed. This is the standard first move for integrating products of trig functions.

  • Frequency analysis. When two cosine signals multiply - a carrier and a message in amplitude modulation - the product form hides the actual frequencies present. The formula expands it into a sum of a difference-frequency and a sum-frequency, the two sidebands a radio receiver tunes between.

What competitor explainers usually skip is why the sine terms cancel and not the cosines: cosine is an even function, so cos⁡(A−B)\cos(A - B) and cos⁡(A+B)\cos(A + B) share the same cos⁡Acos⁡B\cos A \cos B term, while the odd sine product flips sign between them and drops out. The difference-to-product companion, cos A − cos B, runs the same machinery in reverse.

Common Mistakes With Cos A Cos B

Mistake 1: Confusing the product formula with the sum formula

Where it slips in: Meeting cos⁡Acos⁡B\cos A \cos B (a product) and reaching for the sum-to-product rule meant for cos⁡A+cos⁡B\cos A + \cos B.

Don't do this: Applying cos⁡A+cos⁡B=2cos⁡A+B2cos⁡A−B2\cos A + \cos B = 2\cos\frac{A+B}{2}\cos\frac{A-B}{2} to a product.

The correct way: A product cos⁡Acos⁡B\cos A \cos B uses the product-to-sum identity 12[cos⁡(A−B)+cos⁡(A+B)]\frac{1}{2}[\cos(A-B) + \cos(A+B)]; a sum cos⁡A+cos⁡B\cos A + \cos B uses the sum-to-product identity. Read whether the two cosines are multiplied or added before choosing.

Mistake 2: Using a minus sign inside the bracket

Where it slips in: Blurring cos A cos B with the sin A sin B identity, which does carry a subtraction.

Don't do this: Writing cos⁡Acos⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\cos A \cos B = \frac{1}{2}[\cos(A-B) - \cos(A+B)].

The correct way: Both terms are added: 12[cos⁡(A−B)+cos⁡(A+B)]\frac{1}{2}[\cos(A-B) + \cos(A+B)]. The minus sign belongs to sin⁡Asin⁡B=12[cos⁡(A−B)−cos⁡(A+B)]\sin A \sin B = \frac{1}{2}[\cos(A-B) - \cos(A+B)], not to the cosine product. The habit that fixes this is deriving the formula from the two compound-angle identities rather than recalling the bracket cold.

Mistake 3: Dropping the factor of ½

Where it slips in: Rushing straight from 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A \cos B = \cos(A+B) + \cos(A-B) to a value for cos⁡Acos⁡B\cos A \cos B without halving.

Don't do this: Writing cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)\cos A \cos B = \cos(A+B) + \cos(A-B).

The correct way: That right side equals 2cos⁡Acos⁡B2\cos A \cos B, so divide by 22. The rusher who skips the halving doubles every answer.

Key Takeaways

  • The cos A cos B formula is cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \frac{1}{2}[\cos(A - B) + \cos(A + B)], a product-to-sum identity.

  • It comes from adding the cosine sum and difference formulas, which cancels the sin⁡Asin⁡B\sin A \sin B terms.

  • Both cosines inside the bracket are added; the minus-sign version belongs to sin⁡Asin⁡B\sin A \sin B.

  • Its main jobs are integrating products of cosines and separating a product of signals into its component frequencies.

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 tutoring with peers from 20+ countries.

A Practical Next Step

Practice these to solidify your understanding: express cos⁡8xcos⁡2x\cos 8x \cos 2x as a sum, evaluate cos⁡105∘cos⁡15∘\cos 105^\circ \cos 15^\circ using the formula, and integrate ∫cos⁡5xcos⁡3x,dx\int \cos 5x \cos 3x ,dx. If you get stuck on which angle is A−BA - B and which is A+BA + B, come back to the derivation above. Want a live Bhanzu trainer to work through these with you? Book a free demo class.

Read More

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What is the cos A cos B formula?
cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A \cos B = \frac{1}{2}[\cos(A - B) + \cos(A + B)]. It converts a product of two cosines into a sum of two cosines.
What is 2 cos A cos B?
2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A \cos B = \cos(A + B) + \cos(A - B). It is the same identity with the 12\frac{1}{2} cleared, and it is the form most used inside integrals.
Why is the cos A cos B formula useful?
Because products of trig functions are hard to integrate and hard to read as frequencies, while sums are easy on both counts. The formula turns one into the other.
Is cos A cos B equal to cos(AB)?
No. cos⁡Acos⁡B\cos A \cos B is a product of two separate cosines; cos⁡(AB)\cos(AB) would be the cosine of the product of the angles, which is a different and generally unrelated value.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →