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

  1. Factor the polynomial to find its exact zeros.

    \[\displaystyle x^3-3x=x(x^2-3)\]
  2. The roots are \(\displaystyle 0\) and \(\displaystyle \pm\sqrt{3}\).

    \[\displaystyle x=0,\ x=\sqrt{3},\ x=-\sqrt{3}\]
  3. Since \(\displaystyle \sqrt{3}\approx 1.73\in[-2,2]\), all three roots lie in the interval, so there are 3 real roots.

    \[\displaystyle \#\{x\in[-2,2]: f(x)=0\}=3\]

Answer

\(\displaystyle 3\)

🎯 Build my path to this exercise