MathLabs

Problem 2

Let P1(x)=x2−2P_1(x) = x^2 - 2 and Pj(x)=P1(Pj−1(x))P_j(x) = P_1(P_{j-1}(x)) for j=2,3,…j = 2, 3, \ldots. Prove that, for any positive integer nn, the roots of the equation Pn(x)=xP_n(x) = x are all real and distinct.
Step 4 of 6: Solve the trigonometric equation
In plain words

The two sign choices ±\pm inside the general cosine-equality identity are exactly what produce two separate arithmetic-progression families of angles, which will be counted separately.

θ=2kπ2n−1  or  θ=2lπ2n+1\theta = \frac{2k\pi}{2^n-1} \ \text{ or } \ \theta = \frac{2l\pi}{2^n+1}
Detailed analysis

cos⁡A=cos⁡B\cos A=\cos B holds exactly when A=±B+2kπA=\pm B+2k\pi for some integer kk. Applying this with A=2nθA=2^n\theta, B=θB=\theta gives two families: (2n−1)θ=2kπ(2^n-1)\theta=2k\pi, i.e. θ=2kπ2n−1\theta=\dfrac{2k\pi}{2^n-1}; or (2n+1)θ=2lπ(2^n+1)\theta=2l\pi, i.e. θ=2lπ2n+1\theta=\dfrac{2l\pi}{2^n+1}, for integers k,lk,l.