I am given the following equation and I am asked to find $m$, $n$ and $p$, so that the equation holds for all reals:
$$ \sin^4x + \cos^4x + m(\sin^6x + \cos^6x) + n(\sin^8x + \cos^8x) + p(\sin^{10}x + \cos^{10}x) = 1, \space \forall x \in \mathbb R $$
I have managed to solve it by, in advance, calculating the following power reduction formulas, and then applying them to the equation:
$$ \sin^4x + \cos^4x = 1 - \frac12\sin^2{2x} \\ \sin^6x + \cos^6x = 1 - \frac34\sin^2{2x} \\ \sin^8x + \cos^8x = 1 - \sin^2{2x} + \frac18\sin^4{2x} \\ \sin^{10}x + \cos^{10}x = 1 - \frac54\sin^2{2x} + \frac5{16}\sin^4{2x} $$
As a result, I managed to simplify it to the following, which is only in terms of powers of $\sin{2x}$:
$$ \left( 1+m+n+p \right) - \left( \frac12 + \frac{3m}4 + n + \frac{5p}4 \right) \sin^2{2x} + \left( \frac{n}8 + \frac{5p}{16} \right) \sin^4{2x} = 1, \space \forall x \in \mathbb R $$
I then came to the conclusion that the only possible way for which this can be true is if: $1+m+n+p=1$, $ \frac12 + \frac{3m}4 + n + \frac{5p}4 = 0 $ and $ \frac{n}8 + \frac{5p}{16} = 0 $.
By solving the system of equations below I arrive at the solutions $m=6$, $n=-10$, $p=4$.
$$ \left\{ \begin{aligned} 1 + m + n + p = 1 \\ \frac12 + \frac{3m}4 + n + \frac{5p}4 = 0 \\ \frac{n}8 + \frac{5p}{16} = 0 \end{aligned} \right. $$
My question is if my reasoning is correct and if there exists any simpler way to solve the problem.