How to Use the Bisection Method:
Practice Problems

Download this web page as a pdf with answer key

Find the 4th approximation of the positive root of the function $$f(x) = x^4 - 7$$ using the bisection method .

Show Answer

Since the function is continuous everywhere, find an appropriate starting interval.

Step 1 Answer

Then, notice that $$f(1) = -6 < 0$$, but $$f(2) = 9 >0$$. Let's use $$[1, 2]$$ as the starting interval.

Set up and use the table of values as in the examples above. The approximations are in blue, the new intervals are in red.

Step 2 Answer Show Answer

The positive root of $$f(x) = x^4 - 7$$ is at approximately $$x = 1.6875$$. This approximation is off by at most $$\pm 0.0625$$ units.

Problem 2

Find the third approximation of the root of the function $$f(x) = \frac 1 2 x-\sqrt[3]$$ using the bisection method .

Show Answer

Since the function is continuous everywhere, determine an appropriate starting interval.

Step 1 Answer

Set up a table of values to help us find an appropriate interval.

\begin x & \\ \hline 0 & f(0) = -1\\ 1 & f(1) \approx -0.8\\ 2 & f(2) \approx -0.4\\ 3 & f(3) \approx -0.1\\ 4 & f(4) \approx 0.3\\ \end

This table indicates the root is between $$x=3$$ and $$x = 4$$, so a good starting interval is $$[3,4]$$

Set up and use a table to track the appropriate values.

Step 2 Answer Show Answer

The function has a root at approximately $$x = \blue$$ with a maximum possible error of $$\pm0.125$$ units.

Problem 3

Approximate the negative root of the function $$f(x) = x^2-7$$ to within 0.1 of its actual value.

Show Answer

Since the function is continuous everywhere, determine an appropriate starting interval.

Step 1 Answer

At $$x = -2$$ the function value is $$f(-2) = -3$$, and at $$x = -3$$ the function value is $$f(-3) = 2$$. We'll use $$[-3,-2]$$ as the starting interval.

Determine the first approximation and the maximum possible error in using it.

Step 2 Answer

Determine the second interval, second approximation and the associated maximum error.

Step 3 Answer

Repeat Step 3 with the new interval. Continue to repeat until the maximum error is less than $$0.1$$.

Step 4 Answer Show Answer

The negative root of the function is at approximately $$x = -2.6875$$ with a maximum error of only $$\pm0.0625$$ units.

Advertisement
Problem 4

Approximate the value of the root of $$f(x) = -3x^3+5x^2+14x-16$$ near $$x = 3$$ to within 0.05 of its actual value.

Show Answer

Determine an appropriate starting interval, the first approximation and its associated maximum error value.

Step 1 Answer

First, notice that the function is continuous everywhere. Then, since we're told that the root is near $$x = 3$$ we can check that $$f(3) = -10$$.

Checking $$x = 4$$ we find that $$f(4) = -72$$, but at $$x = 2$$ the function value is $$f(2) = 8$$.

Determine the second interval, the second approximation and the associated maximum error.

Step 2 Answer

Repeat Step 2 until the maximum possible error is less than 0.05 units.

Step 3 Answer Show Answer

The root of the function is approximately $$x = 2.65625$$ and has an associated maximum error of only $$\pm0.03125$$ units.

Problem 5

Find the 4th approximation to the solution of the equation below using the bisection method .

Show Answer

Identify the function by getting the equation equal to zero.

Step 1 Answer

$$x^2 - 2x - 2 = 0$$
The function we'll use is $$f(x) = x^2 - 2x - 2$$.

Determine an appropriate starting interval, the first approximation and its associated maximum error.

Step 2 Answer

At $$x = 0$$ the function value is $$f(0) = -2$$, while at $$x = 3$$ the function value is $$f(3) = 1$$.

Determine the second interval, second approximation and its associated maximum error.

Step 3 Answer

Repeat Step 3 twice to complete the iterations of the bisection method for this question.

Step 4 Answer Show Answer

The solution to the equation is approximately $$x =2.8125$$ with a maximum error of 0.1875 units.

Problem 6

Find the 5th approximation to the solution to the equation below, using the bisection method .

Show Answer

Identify the function we will use by rewriting the equation so it is set equal to zero.

Step 1 Answer

$$x^4 - x -3 = 0$$
The function we will use is $$f(x) = x^4 - x - 3$$.

Identify the first interval, the first approximation and its associated maximum error.

Step 2 Answer

Notice that at $$x = 0$$ the function value is $$f(0) = -3$$.

Also, at $$x = 2$$ the function value is $$f(2) = 11$$.

Identify the 2nd interval, approximation and associated error.

Step 3 Answer

Repeat Step 3 until you've found the 5th approximation.

Step 4 Answer Show Answer

The solution to the equation is approximately $$x = 1.4375$$. This approximation has an maximum error of at most 0.0625 units.

Problem 7

The equation below should have a solution that is larger than 5. Use the bisection method to approximate this solution to within 0.1 of its actual value.

$$x^3 + 18x -6 = 9x^2-2x+7$$

Show Answer

Identify the function we'll use by rewriting the equation so it is equal to zero.

Step 1 Answer

$$x^3 -9x^2 + 20x -13 = 0$$
The function is $$f(x)= x^3 -9x^2 + 20x -13$$.

Determine the first interval, 1st approximation, and its associated error.

Step 2 Answer

We know the solution is larger than 5, but we don't know how much larger. We set up a small table of values to help us out.

$$ \begin x & f(x)\\ \hline 5 & -13\\ 6 & -1\\ 7 & 29 \end $$

From this table we can select the first interval and determine the first approximation.

Find the second interval, second approximation and the associated error.

Step 3 Answer

Repeat Step 3 until the maximum error is less than the given tolerance of 0.1.

Step 4 Answer Show Answer

The solution to the equation is approximately $$x = 6.0625$$ with a maximum error of $$0.0625$$ units.

Advertisement
Problem 8

The only real solution to the equation below is negative. Approximate the value of this solution to within 0.05 units of its actual value.

$$x^3 + 7x^2 - 2 = 2x^2 - 7x -7$$

Show Answer

Rewrite the equation so we can identify the function we are working with.

Step 1 Answer

$$x^3 + 5x^2 +7x +5 = 0$$
So, $$f(x) = x^3 + 5x^2 +7x +5$$

Identify the first interval, the first approximation, and the associated error.

Step 2 Answer

We know the solution is negative, but that is all. Let's set up a table of values to get an idea of where our first interval should be.

$$ \begin x & f(x)\\ \hline -1 & 2\\ -2 & 3\\ -3 & 2\\ -4 & -7\\ \end $$

Identify the 2nd interval, 2nd approximation and the associated maximum error.

Step 3 Answer

Repeat Step 3 until the maximum error is less 0.05 units.

Step 4 Answer Show Answer

The equation has a solution at approximately $$x = -3.34275$$ with a maximum error in the approximation of at most $$0.03125$$ units.

Problem 9

Use the bisection method to approximate the value of $$\sqrt$$. Find the 4th approximation.

Show Answer

Find a non-linear function whose root is at $$\sqrt 7$$

Step 1 Answer

We'll use $$f(x) = x^2 - 71$$

Find the first interval, first approximation and its associated maximum error.

Step 2 Answer

We know $$\sqrt$$ is larger than 8, but less than 9. We'll use $$[8,9]$$ as the first interval.

Find the second interval, second approximation and the associated maximum error.

Step 3 Answer

Repeat Step 3 until you've found the 4th approximation.

Step 4 Answer Show Answer

$$\sqrt\approx 8.4375$$ with a maximum error in this approximation of $$0.0625$$.

Problem 10

Use the bisection method to approximate the value of $$\frac 1 $$. Find the 3rd approximation.

Show Answer

Determine the nonlinear function we will use for the bisection method .

Step 1 Answer

$$ \\ \begin x & = \frac 1 \\ x^5 & = \frac 1 3\\ 3x^5 & = 1\\ 3x^5 - 1 & = 0 \end \\ $$

We will use $$f(x) = 3x^5 - 1$$.

Find the first interval, first approximation and the associated error.

Step 2 Answer

Determine the second interval, second approximation and the associated error.

Step 3 Answer

Find the third interval, third approximation and its associated error.

Step 4 Answer

Third Interval: $$[0.75,1]$$

Third Approximation: $$x = 0.875$$ with an error of 0.125 units.

Show Answer

$$\sqrt[5] 3\approx 0.875$$ with a maximum error of 0.125 units.

Problem 11

Use the bisection method to approximate the value of $$\sqrt$$ to within 0.125 units of the actual value.

Show Answer

Find a nonlinear function with a root at $$\sqrt$$.

Step 1 Answer

$$ \\ \begin x & = \sqrt\\ x^2 & = 125\\ x^2 - 125 & = 0\\ \end \\ $$

We'll use $$f(x) = x^2 - 125$$.

Determine an appropriate starting interval. It's midpoint will be the first approximation.

Step 2 Answer

Since $$11^2 = 121$$ and $$12^2 = 144$$ we know $$11 < \sqrt< 12$$.

Determine the second interval, the second approximation, and the associated error value.

Step 3 Answer

2nd Interval: $$[11,11.5]$$

2nd Approximation: $$x = 11.25$$ with a maximum error of 0.25 units.

Determine the third interval, the third approximation, and the associated error value.

Step 4 Answer

Third Interval: $$[11,11.25]$$

Third Approximation: $$x = 11.125$$ with a maximum error of $$0.125$$.

Show Answer

$$\sqrt \approx 11.125$$ with a maximum error of $$0.125$$ units.

Problem 12

Use the bisection method to approximate the value of $$\frac > 2$$ to within 0.1 units of the actual value.

Show Answer

Find a nonlinear function with a root at $$\frac > 2$$

Step 1 Answer

We'll use the function $$f(x) = 4x^4 - 3125$$

Determine the appropriate starting interval, the first approximation and the associated error.

Step 2 Answer

Since $$10^4 = 10000$$ is about the right size, we try $$f(10) = 36875$$

By comparison, $$f(5) = -625$$, so the best starting interval is somewhere between $$x = 5$$ and $$x = 10$$. Let's make a table of values to help us narrow things down.

$$ \\ \begin x & f(x)\\ \hline 5 & -625\\ 6 & 2059 \end \\ $$

Well, that was convenient.

Find the second interval, approximation, and associated error.

Step 3 Answer

Repeat Step 3 until the maximum error is smaller than the allowed tolerance.

Step 4 Answer Show Answer

$$\frac 1 2 \cdot \sqrt[4] \approx 5.3125$$ with a maximum error of 0.0625.