Could someone kindly explain to me why these two expressions are equal?
$$\begin{align} x(t)&=c_1e^{-\beta t}\sin(rt) + c_2e^{-\beta t}\cos(rt) \\[4pt] &= Ae^{-\beta t}\cos(rt+\phi) \end{align}$$
with $r := \sqrt{\omega_0^2-\beta^2 }$, where $c_1$, $c_2$ or $A$ and $\phi$ are the pair of arbitrary real constants, while $\beta$ and $\omega_0$ are the known quantities and $t$ represents the independent variable.