The number of solutions of sin2x+(2+2x−x2)sinx−3(x−1)2=0, where −π≤x≤π, is ____ .
Answer: 2
Solution
Since 2+2x−x2=−(x2−2x−2), the equation is sin2x−(x2−2x−2)sinx−3(x−1)2=0. Writing A=(x−1)2: note x2−2x−2=(x−1)2−3=A−3, so the equation is sin2x−(A−3)sinx−3A=0, which factors as
(sinx−A)(sinx+3)=0
Since sinx+3=0 has no real solution, we need sinx=(x−1)2. As (x−1)2≥0 and sinx≤1, we need (x−1)2≤1, i.e. x∈[0,2] (which lies inside [−π,π]). Let g(x)=sinx−(x−1)2: g(0)=−1<0,g(1)=sin1>0,g(2)=sin2−1<0. g changes sign once on (0,1) and once on (1,2), giving exactly 2 real solutions.