Intermediate value theorem · Exercise-INTERMEDIATE-VALUE-THEOREM-020
Step-by-step solved exercise: Continuity
How many real roots does \(\displaystyle f(x)=x^3-3x\) have on \(\displaystyle [-2,2]\), where \(\displaystyle f(-2)=-2\) and \(\displaystyle f(2)=2\)?
Step by step with comments, a check and common mistakes.
Step-by-step solution
Factor the polynomial to find its exact zeros.
\[\displaystyle x^3-3x=x(x^2-3)\]
The roots are \(\displaystyle 0\) and \(\displaystyle \pm\sqrt{3}\).
\[\displaystyle x=0,\ x=\sqrt{3},\ x=-\sqrt{3}\]
Since \(\displaystyle \sqrt{3}\approx 1.73\in[-2,2]\), all three roots lie in the interval, so there are 3 real roots.