I am self-studying through Mathematical Methods for Physics and Engineering and have come to a bit of a roadblock in chapter nine, on normal modes.
As pictured, the system is a uniform rod attached to a fixed point $P$ by way of a light string. The potential energy is given in the book as \begin{align} V &= Mlg\left[(1-\cos\theta_{1})+\frac{1}{2}(1-\cos\theta_{2})\right]\\ &\approx \frac{1}{4}Mlg\left(2\theta_{1}^{2}+\theta_{2}^{2}\right) \end{align}
My trouble is in transforming the first equation into the second; I have tried multiplying and dividing by the term in brackets but that didn't help. and I'm unsure of how to proceed.
Thank you!