The correct option is D f(f(x))=−1 has 4 real solutions
f(x)=x3−3x+1
⇒f′(x)=3(x−1)(x+1)
⇒f is increasing in (−∞,−1]∪[1,∞) and decreasing in [−1,1]
f(−2)=−1,f(−1)=3,f(1)=−1,f(2)=3
Clearly, by intermediate value theorem,
f(x)=0 has three distinct roots x1,x2,x3 i.e.,
−2<x1<−1<x2<1<x3<2
So f(x)=x1 has 1 solution
f(x)=x2 has 3 solutions
f(x)=x3 has 3 solutions
Similarly, f(f(x))=−1 has 4 real solutions