MathDB
2022 PUMaC Team #11

Source:

September 9, 2023
algebra

Problem Statement

For the function g(a)=maxxR{cosx+cos(x+π6)+cos(x+π4)+cos(x+a)}, g(a) = \underbrace{\max}_{x\in R} \left\{ \cos x + \cos \left(x + \frac{\pi}{6} \right)+ \cos \left(x + \frac{\pi}{4} \right) + cos(x + a) \right\}, let bRb \in R be the input that maximizes gg. If cos2b=m+n+pq24\cos^2 b = \frac{m+\sqrt{n}+\sqrt{p}-\sqrt{q}}{24} for positive integers m,n,p,qm, n, p, q, find m+n+p+qm + n + p + q.