Let
Then, if
This theorem can turn out to be very intuitive since if we have a continuous function that is negative in
Let's see an example of the application of the theorem:
Example
Let's take the function
We observe that:
As the interval is closed and the function is continuous, the hypotheses of Bolzano's theorem are satisfied and consequently it can be applied.
The theorem says that t a point
Consequently it will be satisfied that
Notice that we found the existence of a solution in the interval
Example
Let's see if the equation
We will consider the function
If we find two points
If
If
Therefore, in the interval
Application of the theorem
Now, using Bolzano’s theorem, we can define a method to bound a zero of a function or a solution in an equation:
- To find an interval where at least one solution exists by Bolzano.
- To divide the interval in
subintervals (dividing it by half, for example). - To evaluate the function at the median point and depending on the sign of the value, repeat the process in the new subinterval where the Bolzano conditions are satisfied (
).
This process can be done as many times as we want, until we eventually find a very small interval where it is known with certainty that a zero of our function exists.
Let's see an example of an application of the algorithm:
Example
Let's see if the equation
Before starting we will consider the function
- First, we will look for a closed interval where Bolzano’s theorem is satisfied, containing two values,
and , where the function is positive and negative respectively:
We will try with different values:
We have bound our solution, but of course we can improve the interval.
- We will divide our interval in two subintervals:
and we are going to evaluate the function at the median point:
Since we had
- Now we are going to repeat the same process until we find the bounds that we need.
We divide again the interval:
We divide again the interval:
We divide again the interval:
We divide the interval for the last time:
In conclusion, the equation
For example, we might bring the solution near the median point of the interval:
We would remind you that when doing more iterations a better approximation of the exact solution may be found.