Consider the general term cos3xsinx.
We can rewrite this by multiplying and dividing by 2cosx:
2cos3xcosx2sinxcosx=2cos3xcosxsin2x
Using sin2x=sin(3x−x)=sin3xcosx−cos3xsinx, we get:
2cos3xcosxsin3xcosx−cos3xsinx=21(cos3xsin3x−cosxsinx)=21(tan3x−tanx)
Applying this identity to each term of A:
cos9∘sin3∘=21(tan9∘−tan3∘)
cos27∘sin9∘=21(tan27∘−tan9∘)
cos81∘sin27∘=21(tan81∘−tan27∘)
Adding these terms, the series telescopes:
A=21(tan9∘−tan3∘+tan27∘−tan9∘+tan81∘−tan27∘)
A=21(tan81∘−tan3∘)
We are given B=tan81∘−tan3∘.
Substituting B into the equation for A:
A=21B
⇒AB=2
Answer: 2