We wish to find the number of solutions of sin2x+(2+2x−x2)sinx−3(x−1)2=0 for −π≤x≤π.
Letting s=sinx and observing that 2+2x−x2=3−(x−1)2 transforms the equation into
s2+(3−(x−1)2)s−3(x−1)2=0,
which can be rewritten as
s2+3s−(x−1)2(s+3)=0
and thus factors to
(s+3)(s−(x−1)2)=0.
It follows that sinx+3=0, giving sinx=−3, which is impossible since ∣sinx∣≤1. Therefore we must have sinx=(x−1)2, requiring 0≤(x−1)2≤1 and hence x∈[0,2].
On the interval [0,2], comparing y=sinx and y=(x−1)2 shows that at x=0, sin0=0 is below (0−1)2=1; at x=1, sin1≈0.841 is above (1−1)2=0; and at x=2, sin2≈0.909 is below (2−1)2=1. Thus the two curves intersect twice, once in (0,1) and once in (1,2).
Therefore there are 2 solutions, and the correct answer is 2.
