Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 8

Finding Roots with the Intermediate Value Theorem

Recommended resources

Introduction

In our last lesson, we established a rigorous definition for continuity, formalizing the intuitive idea of a function whose graph can be drawn without lifting your pencil. We saw that for a function to be continuous on a closed interval , it must be continuous at every point inside the interval, as well as continuous from the right at and from the left at . Today, we'll explore a powerful and deeply intuitive consequence of this property: the Intermediate Value Theorem (IVT).

This theorem essentially states that a continuous function cannot get from one value to another without passing through all the values in between. While this might sound like common sense, it provides a formidable tool for proving the existence of solutions to equations, a frequent task in competitive exams like the JEE. Our goal is to understand the theorem's statement, its conditions, and most importantly, how to apply it to guarantee that an equation has a root within a specific interval.


The Intermediate Value Theorem: An Intuitive Look

At its heart, the Intermediate Value Theorem (IVT) is one of the most straightforward theorems in calculus. It formalizes an idea you likely already take for granted.

Suppose a function is continuous on a closed interval . Let be any number between and . The theorem guarantees that there must be at least one number in the interval such that .

Let's build a clear mental picture of this with the help of Khan Academy.

Intermediate value theorem | Existence theorems | AP Calculus AB | Khan Academy

Sal Khan provides an excellent, easy-to-follow graphical explanation of the IVT, which aligns perfectly with your preference for building intuition first.

Watch the introduction from the beginning to this point, where he sets up the conditions and illustrates what a continuous function on a closed interval looks like. Next, see how he explains the conclusion from this segment. Pay attention to how a continuous function must take on every value between its starting and ending points. Finally, watch his "intuitive proof" from the end, where he tries—and fails—to draw a continuous function that avoids an intermediate value. This powerfully demonstrates why the theorem must be true.

As you saw, the key is the unbroken nature of a continuous function's graph. If you start at height and have to reach height without lifting your pen, you cannot "teleport" over any intermediate height . You must pass through it.


The Crucial Condition: Continuity

The guarantee of the IVT only holds if its single, essential condition is met: the function must be continuous on the closed interval. If there's a break in the function (a discontinuity), all bets are off.

AP Calculus Review: Intermediate Value Theorem

This article from Magoosh provides a concise summary and highlights what happens when the continuity condition is not met.

Please read the section "What Could Go Wrong?". The example of f(x) = 1/x on the interval [-1, 1] is a classic illustration.

In the example of on , we have and . The value is clearly between -1 and 1. However, there is no in for which . The theorem doesn't apply because the function is not continuous at , which is inside the interval. The infinite discontinuity at allows the graph to "jump" over the x-axis, from negative infinity to positive infinity, without ever crossing it.


Application: Proving the Existence of Roots

The most common and important application of the IVT, especially for exams like the JEE, is to prove that an equation has a solution (or a "root").

Consider an equation of the form . A "root" of this equation is a value of that makes the equation true. Graphically, this is where the function crosses the x-axis.

The IVT gives us a simple and powerful test for this. If:

  1. is a continuous function on an interval .
  2. and have opposite signs (one is positive, the other is negative).

Then, by the IVT, there must be some value between and where , because 0 is an intermediate value between a positive number and a negative number.

This image poses a typical problem. To show that the equation has a solution in [1, 2], we can define f(x) = 4x³ - 6x² + 3x - 2, check for continuity, and then evaluate f(1) and f(2) to see if they have opposite signs.

Let's solve the problem in the image.

  • Let . Since this is a polynomial, it is continuous everywhere, so it's definitely continuous on .
  • Now, let's check the endpoints:
  • Since (negative) and (positive), and the function is continuous, the IVT guarantees that there must be at least one value between 1 and 2 where .

This specific application is so important that it's worth seeing it explained in the context of JEE preparation.

Continuity 08 | Intermediate Value Theorem | Class 12 | Race Series | Boards | JEE

This video from BHANNAT MATHS clearly explains this special case of the IVT for finding roots, which is a fundamental technique for your exams.

Watch the segment from this point. The instructor formalizes the idea we just used: if f(a) and f(b) have opposite signs (written mathematically as f(a) \cdot f(b) < 0), a root is guaranteed to exist in the open interval (a, b).


Advanced Application: Using Auxiliary Functions

For more complex JEE problems, you often won't be given a simple equation. Instead, you'll be asked to prove that an equation like has a solution. The trick is to transform this into a problem that the IVT can solve. This is done by creating an auxiliary function.

Let's say we want to prove that has a solution.

  1. Define a new function, let's call it , as the difference: .
  2. Now, the original problem is equivalent to proving that has a solution.
  3. You can then apply the IVT method to : check if it's continuous and if its values at the endpoints of an interval have opposite signs.

The following worked example from the same video demonstrates this powerful technique.

Continuity 08 | Intermediate Value Theorem | Class 12 | Race Series | Boards | JEE

This is a classic JEE-style problem that requires you to construct a new function before applying the IVT.

Please watch the detailed solution from this segment. Pay close attention to how the instructor takes the equation to be proved, f(x) = 1-x, and rearranges it to create a new function g(x) = f(x) + x - 1. The rest of the proof involves applying the standard IVT procedure to this new function g(x).

This method of creating an auxiliary function is a cornerstone of solving existence problems in calculus and will be invaluable for you.


From Existence to Approximation: The Bisection Method

It's important to remember that the IVT is an existence theorem. It tells you that a root exists, but it doesn't tell you how to find it. However, the logic of the IVT is the foundation for algorithms that can approximate the root to any desired accuracy. One such algorithm, which should appeal to your coding interests, is the Bisection Method.

AP Calculus Review: Intermediate Value Theorem

This part of the Magoosh article gives a quick, conceptual overview of how the IVT's logic is used to zero in on a root.

Read the part under the heading "Solving Equations (Bisection Method)". Notice how the method repeatedly applies the IVT to smaller and smaller intervals, halving the search area at each step, to narrow down the location of the root.

While you don't need to master the Bisection Method for the JEE calculus syllabus itself, understanding it deepens your appreciation for the IVT and connects calculus to the world of numerical algorithms, which is a powerful link to both computer science and computational physics.


Conclusion

This lesson wraps up our first module on the foundations of calculus. We've journeyed from the intuitive idea of a limit all the way to a formal understanding of continuity and its consequences. The Intermediate Value Theorem stands as a testament to the power of the continuity concept.

Key Takeaways:

  • The Intermediate Value Theorem (IVT) states that for a function continuous on , it must take on every value between and .
  • The theorem's guarantee is entirely dependent on the function being continuous over the entire closed interval.
  • The primary application is to prove the existence of roots. If a continuous function has values of opposite sign at the endpoints of an interval , it must have at least one root .
  • For complex equations like , create an auxiliary function and apply the IVT to .

With a solid grasp of limits and continuity, you are now fully prepared to tackle the central concept of differential calculus. In our next lesson, we will begin Module 2 by formally defining the derivative. We will use limits to transition from the average rate of change you know from physics to the instantaneous rate of change, unlocking the tools to analyze motion, optimization, and the geometry of curves in incredible detail.