Let A,B,C be angles of a triangle with A and C acute and B greater than a right angle satisfying cos2A+cos2B+2sinAsinBcosC=815 and cos2B+cos2C+2sinBsinCcosA=914. There are positive integers p,q,r, and s for which cos2C+cos2A+2sinCsinAcosB=sp−qr, where p+q and s are relatively prime and r is not divisible by the square of any prime. Find p+q+r+s.
Your answer
Integer from 0 to 999
Show solution
Solution
Replacing each cos2 by 1−sin2, the first equation becomes sin2A+sin2B−2sinAsinBcosC=81. By the law of sines, sinA=2Ra and so on, so the left side equals 4R2a2+b2−2abcosC=4R2c2=sin2C by the law of cosines. Hence sin2C=2−815=81. The same argument turns the second equation into sin2A=2−914=94, and shows the requested expression equals 2−sin2B.
Since A and C are acute, cosA=35 and cosC=414, with sinA=32 and sinC=42. Then sinB=sin(A+C)=32⋅414+35⋅42=12214+10, so sin2B=14466+835=7233+435.
Therefore 2−sin2B=72111−435, and p+q+r+s=111+4+35+72=222.