Using continuity to prove that an equation has a root
Check the intermediate value theorem, choose disjoint intervals, and distinguish root existence from uniqueness.
Content updated: October 22, 2026
To prove that an equation has a root, find a closed interval on which the function is continuous and takes opposite signs at the endpoints. This establishes at least one root in the open interval; several distinct roots or uniqueness require further arguments.
Objectives: check all hypotheses of the intermediate value theorem, choose disjoint intervals, and distinguish existence from uniqueness.
Prerequisites: continuity on a closed interval (English lesson); polynomial signs and values.
On this page: Idea · Method · Examples · Practice · Further learning
1. A root-existence theorem
We use this consequence of the intermediate value theorem: if $a<b$, a real function $f$ is continuous on $[a;b]$, and $f(a)f(b)<0$, then there is at least one $c\in(a;b)$ such that $f(c)=0$. The strict sign condition excludes endpoint roots. If an endpoint already has value $0$, that is a known root, but does not ensure another root in the open interval.
The theorem applies to polynomials on every closed interval. For a rational, radical, or piecewise function, check its domain and continuity on the entire chosen interval. Opposite signs at the endpoints alone are insufficient if the function is discontinuous between them.
2. Choosing intervals and stating the conclusion
- Write the equation as $f(x)=0$ and state the domain.
- Choose convenient test points and calculate the function values exactly.
- For each pair of opposite-sign values, check continuity on the closed interval and apply the theorem.
- For several distinct roots, choose pairwise disjoint open intervals. For uniqueness, establish an additional property, such as strict increase or strict decrease.
Opposite signs are sufficient, rather than necessary. A graph may touch the axis at a root without changing sign, as with $f(x)=(x-1)^2$. Thus two values of the same sign do not prove the absence of roots.
3. Worked examples
Example 1. At least two distinct roots
Consider $2x^3-10x-7=0$ and set $f(x)=2x^3-10x-7$. This polynomial is continuous on $\mathbb R$. Using the test points $-1,0,3$, we calculate
Since $f(-1)f(0)=-7<0$, there is a root $x_1\in(-1;0)$. Since $f(0)f(3)=-119<0$, there is a root $x_2\in(0;3)$. The intervals are disjoint, so $x_1\ne x_2$; the equation has at least two distinct roots, as required. Explicit formulas for them are unnecessary.
As an extension, $f(-3)=-31<0$ and $f(-1)=1>0$, so there is another root in $(-3;-1)$. This interval is disjoint from the preceding two. The additional observation does not replace the proof using the two required intervals.
Example 2. An additional condition for uniqueness
Consider $p(x)=x^3+x-1$. The function is continuous on $[0;1]$, with $p(0)=-1$ and $p(1)=1$, so it has a root in $(0;1)$. To establish uniqueness, for $u<v$ we have
Indeed, $v^2+uv+u^2=(u+v/2)^2+3v^2/4\ge0$, so the second factor is positive. Thus $p$ is strictly increasing on $\mathbb R$ and cannot have two distinct roots. Combining existence and monotonicity, the equation has exactly one real root.
Example 3. Why continuity cannot be omitted
The function $g(x)=1/x$ has $g(-1)=-1$ and $g(1)=1$, but has no root. It is undefined at $0$, so it is not continuous on $[-1;1]$ and fails the theorem's hypotheses. A sign change across an undefined point does not prove the existence of a root.
4. Practice exercises
- Prove that $x^3-2=0$ has a root in $(1;2)$.
- Use two disjoint intervals to prove that $x^2-2=0$ has at least two distinct roots.
- The values of $(x-1)^2$ at $0,2$ are both positive. Can we conclude that there is no root in $(0;2)$?
Show answers and hints
- The polynomial is continuous; its value at $1$ is $-1$ and at $2$ is $6$, so it has a root in the open interval.
- At $-2,0,2$, its values are $2,-2,2$. Apply the theorem on $[-2;0]$ and $[0;2]$ to obtain distinct roots in $(-2;0)$ and $(0;2)$.
- No. The value $x=1$ is a root in the interval. Opposite signs are a sufficient condition, not a necessary one.
5. Common mistakes
- Omitting the continuity check, or choosing an interval through an undefined point.
- Recording the wrong test point when multiplying two function values.
- Using two overlapping intervals and concluding that the roots are distinct.
- Claiming uniqueness from a root-existence theorem alone.
Leave a Reply