Aimathic
Login | English | Deutsch

Calculus math worksheets

Build your own math worksheets from 35,000+ problems for grades 3 to 12, from fractions to AP Calculus. Every problem comes with step-by-step solutions.

Bisection method

Learning goals

  • Identifies an interval where a continuous function changes sign.
  • Bisects the interval and retains a sign-changing half, or stops if the midpoint is a root.
  • Repeats the process to a stated tolerance.
  • Tracks an error bound from the interval width.

Click problems to add them to your worksheet.

Bisection method 1
A continuous function \(F\) has the values shown. <table><tr><th>\(x\)</th><th>\(F(x)\)</th></tr><tr><td>\(2\)</td><td>\(-5\)</td></tr><tr><td>\(3\)</td><td>\(1\)</td></tr></table> The first bisection midpoint is \(2.5\), and \(F(2.5)=-2\). What interval should be used for the next bisection step? Explain the sign logic.

Hints

- Compare the midpoint's sign with each endpoint sign. - Keep the half-interval that still has opposite signs at its ends. - The magnitude of the function values is not what decides the next bracket.

Solution

1. The initial bracket \([2,3]\) has opposite endpoint signs. 2. At the midpoint, \(F(2.5)=-2<0\), which has the same sign as \(F(2)\). 3. The sign change therefore remains between \(2.5\) and \(3\), so the next interval is \([2.5,3]\).

Answer

Use \([2.5,3]\) for the next step.
Bisection method 2
The three panels show successive bisection brackets for the same zero. Explain what changes from one panel to the next and identify the midpoint tested at each step.
Figure for problem 550325

Hints

- Compare the endpoints of consecutive panels. - The midpoint of one bracket becomes an endpoint of the next retained bracket. - Track how the interval width changes.

Solution

1. Panel a) shows the initial bracket \([0,4]\), whose midpoint is \(2\). 2. Panel b) shows the retained bracket \([2,4]\), so the midpoint test at \(2\) showed that the sign change was in the right half. Its midpoint is \(3\). 3. Panel c) shows the retained bracket \([2,3]\), so the midpoint test at \(3\) showed that the sign change was in the left half. 4. Each step keeps one half of the previous bracket, so the interval width is halved.

Answer

The tested midpoints are \(2\) and then \(3\). The brackets shrink from \([0,4]\) to \([2,4]\) to \([2,3]\), halving the width at each step.
Bisection method 3
A function \(f\) is continuous between the marked points \(A\) and \(B\). Suppose \(f(A)<0\) and \(f(B)>0\). Which interval is guaranteed to contain a zero of \(f\)?
Figure for problem 562410

Hints

- Read the two marked x-values. - What is special about having opposite signs at the endpoints of a continuous function? - State the entire bracket, not only its midpoint.

Solution

1. The number line gives \(A=1\) and \(B=3\). 2. Continuity and opposite signs at the endpoints guarantee at least one zero between them. 3. Hence \([1,3]\) is a valid bisection starting bracket.

Answer

\([1,3]\).
Bisection method 4
The highlighted interval is the current bracket in a bisection search. Which x-value should be tested next?
Figure for problem 562411

Hints

- Identify both ends of the highlighted interval. - Bisection divides the current bracket into two equal lengths. - Use the average of the endpoints.

Solution

1. Read the endpoints of the highlighted bracket as \(2\) and \(6\). 2. Bisection tests the midpoint \(\frac{2+6}{2}=4\).

Answer

\(x=4\).
Bisection method 5
Apply one bisection step to \(f(x)=x^2-4\) on \([1,3]\). What happens when you evaluate the midpoint?

Hints

- Compute the midpoint of the starting bracket. - Substitute that value into the function. - If the midpoint is already a root, is further halving needed?

Solution

1. The midpoint is \(m=\frac{1+3}{2}=2\). 2. Evaluate \(f(2)=2^2-4=0\). 3. The midpoint is an exact root, so the bisection process stops without choosing another half-interval.

Answer

The midpoint is \(2\), and \(f(2)=0\). Stop: \(x=2\) is an exact root.
Bisection method 6
Use three steps of the bisection method to narrow the zero of \(f(x)=x^3-x-1\) in \([1,2]\). Give the interval remaining after the third midpoint test.
Figure for problem 550320

Hints

- Start by confirming opposite signs at the two endpoints. - At each step, test the midpoint and keep the half whose endpoint values still have opposite signs. - Record the new bracket before moving to the next midpoint.

Solution

1. \(f(1)=-1<0\) and \(f(2)=5>0\), so a zero lies in \([1,2]\). 2. The first midpoint is \(1.5\), with \(f(1.5)=0.875>0\). Keep \([1,1.5]\). 3. The second midpoint is \(1.25\), with \(f(1.25)=-0.296875<0\). Keep \([1.25,1.5]\). 4. The third midpoint is \(1.375\), with \(f(1.375)=0.224609375>0\). Keep \([1.25,1.375]\).

Answer

After three midpoint tests, the zero is bracketed in \([1.25,1.375]\).
Bisection method 7
Thảo wants to use bisection to find a zero of \(g(x)=x^2-4x+5\) on \([0,4]\). Thảo notes that \(g(0)=5\) and \(g(4)=5\) and begins halving the interval anyway. Explain why the standard bisection guarantee does not apply, and determine whether \(g\) actually has a real zero.

Hints

- Recall what sign condition starts the bisection method. - Check whether the absence of a sign change is only a method issue or reflects the function itself. - Rewrite the quadratic in a form that makes its minimum value clear.

Solution

1. The standard bisection guarantee requires a continuous function with opposite signs at the two endpoints. Here both endpoint values are positive. 2. Complete the square: \(g(x)=(x-2)^2+1\). 3. Since \(g(x)\ge1\) for every real \(x\), the function has no real zero. Halving the interval cannot produce a sign-changing bracket.

Answer

The bisection guarantee does not apply because the endpoint values have the same sign. In fact, \(g(x)=(x-2)^2+1>0\) for all real \(x\), so there is no real zero.
Bisection method 8
The equation \(\cos x=x\) has a solution in \([0,1]\). Let \(F(x)=\cos x-x\). Perform two bisection steps starting from \([0,1]\), and give the resulting bracket.

Hints

- Turn the equation into a zero-finding problem for one function. - At each midpoint, only the sign is needed to choose the next half. - Keep the half whose endpoint function values have opposite signs.

Solution

1. \(F(0)=1>0\) and \(F(1)=\cos1-1<0\), so a zero is bracketed in \([0,1]\). 2. The first midpoint is \(0.5\). Since \(F(0.5)=\cos0.5-0.5>0\), keep \([0.5,1]\). 3. The second midpoint is \(0.75\). Since \(F(0.75)=\cos0.75-0.75<0\), keep \([0.5,0.75]\).

Answer

After two bisection steps, the solution is bracketed in \([0.5,0.75]\).
Bisection method 9
Two students are approximating a zero of a continuous function known to lie in \([4,5]\). Student A uses bisection. Student B uses Newton's method from an initial value where the derivative is very small. Explain why Student A has a guaranteed way to keep the zero bracketed while Student B can take a very large step away from the zero.

Hints

- Focus on what information each method preserves after one iteration. - One method keeps two endpoints around the target; the other follows a tangent-line intercept. - Consider how division by a very small slope affects the size of a Newton step.

Solution

1. Bisection keeps an interval whose endpoint function values have opposite signs. Continuity guarantees that at least one zero remains inside every retained bracket. 2. Each bisection step halves the bracket, so the uncertainty decreases predictably. 3. Newton's update divides by the derivative. If the derivative at the current approximation is very small, the correction term can be very large, so the next approximation can move far outside the original neighborhood. 4. Thus bisection has a bracketing guarantee under its hypotheses, while Newton's method depends strongly on the starting value and tangent slope.

Answer

Bisection preserves an opposite-sign bracket and halves it at every step, so the zero remains trapped. Newton's method can jump far away when the derivative in its denominator is close to zero.
Bisection method 10
A bisection search starts with a bracket of width \(8\). How many bisection steps are required to guarantee a final bracket width less than \(0.01\)?

Hints

- Track the bracket width rather than any particular function value. - Each step cuts the current width in half. - Compare powers of \(2\) with the reduction factor you need.

Solution

1. After \(n\) bisection steps, the bracket width is \(\frac{8}{2^n}\). 2. Require \(\frac{8}{2^n}<0.01\), so \(2^n>800\). 3. Since \(2^9=512\) and \(2^{10}=1024\), the smallest possible value is \(n=10\).

Answer

\(10\) bisection steps.
Bisection method 11
Wanjiku is using bisection on a continuous function. The current bracket is \([1.2,1.6]\), with \(F(1.2)<0\) and \(F(1.6)>0\). The midpoint is \(1.4\), and \(F(1.4)>0\). Wanjiku keeps \([1.4,1.6]\). Identify the error and give the correct next bracket.

Hints

- Compare the midpoint sign with both endpoint signs. - The retained interval must still have opposite signs at its endpoints. - Do not choose a half just because it contains the midpoint.

Solution

1. The midpoint value \(F(1.4)>0\) has the same sign as \(F(1.6)\). 2. The sign change is therefore between \(1.2\) and \(1.4\), not between \(1.4\) and \(1.6\). 3. The correct next bracket is \([1.2,1.4]\).

Answer

Wanjiku kept two endpoints with the same sign. The correct next bracket is \([1.2,1.4]\).
Bisection method 12
The derivative of \(g\) is \(g'(x)=x^3-2x-2\). Use bisection to approximate, to two decimal places, the x-coordinate where \(g\) has a horizontal tangent in \([1,2]\).

Hints

- Convert the horizontal-tangent condition into a zero-finding problem. - Use endpoint signs to start and preserve the bisection bracket. - Continue until the bracket determines a unique rounding to the requested precision.

Solution

1. A horizontal tangent occurs where \(g'(x)=0\). Let \(F(x)=x^3-2x-2\). 2. \(F(1)=-3<0\) and \(F(2)=2>0\), so bisection applies on \([1,2]\). 3. Repeated midpoint tests give \([1.5,2]\), \([1.75,2]\), \([1.75,1.875]\), and then progressively smaller brackets. 4. After seven bisection steps, the retained bracket is \([1.765625,1.7734375]\). Every value in this bracket rounds to \(1.77\) to two decimal places. 5. Therefore, the horizontal tangent occurs at \(x\approx1.77\).

Answer

The horizontal tangent occurs at \(x\approx1.77\).
Bisection method 13
Panel a) shows the starting bracket for bisection. Panel b) shows the bracket after three halving steps, and it still contains a zero of a continuous function. If the midpoint of the final bracket is reported as the root estimate, what is its largest possible absolute error?
Figure for problem 562413

Hints

- Read the endpoints of the final, narrower interval. - Where is its midpoint relative to the two ends? - The root remains inside the bracket, so how far away could it be from the midpoint?

Solution

1. The final bracket runs from \(3.75\) to \(5\), so its width is \(5-3.75=1.25\). 2. The midpoint is \(\frac{3.75+5}{2}=4.375\). 3. The root lies in this bracket, so it can be no farther than half its width from the midpoint. 4. The maximum possible absolute error is \(\frac{1.25}{2}=0.625\).

Answer

The absolute error is at most \(0.625\).
Bisection method 14
A continuous function has \(f(1)<0\) and \(f(5)>0\). The first midpoint in bisection is \(3\). What sign must \(f(3)\) have for the next sign-changing bracket to be \([1,3]\)? What should happen if \(f(3)=0\)?

Hints

- Bisection retains a bracket with opposite signs at its ends. - The sign at the left endpoint is already known. - Treat a zero midpoint separately from a positive or negative midpoint.

Solution

1. The left endpoint has negative function value. 2. To keep opposite signs on \([1,3]\), the new right endpoint must have positive function value, so \(f(3)>0\). 3. If \(f(3)=0\), the midpoint is an exact root and the method stops instead of choosing a new bracket.

Answer

\(f(3)>0\) is needed to retain \([1,3]\). If \(f(3)=0\), stop because \(3\) is a root.
Bisection method 15
A student tries bisection for \(f(x)=\frac{1}{x-1}\) on \([0,2]\). The function values at the two endpoints have opposite signs. Identify which condition of the bisection root guarantee fails, and explain why opposite endpoint signs do not establish a root here.

Hints

- Besides opposite endpoint signs, what does the bisection theorem assume? - Is the formula defined at every input in the proposed bracket? - What would distinguish a genuine zero from a discontinuity?

Solution

1. The endpoint values are \(f(0)=-1\) and \(f(2)=1\), so their signs differ. 2. The function is undefined at \(x=1\), and therefore is not continuous on \([0,2]\). 3. Bisection's sign-change guarantee needs continuity throughout the bracket. The expression \(1/(x-1)\) is never zero, so the interval contains no root.

Answer

\(f\) is discontinuous at \(x=1\). Opposite endpoint signs do not guarantee a root without continuity; this function has no zero.
Bisection method 16
A continuous function changes sign across the marked interval. After how many bisection steps will the midpoint of the remaining interval be guaranteed to lie within \(0.01\) of a root?
Figure for problem 563052

Hints

- How does the starting interval's width compare with the desired accuracy? - What happens to the uncertainty in the root's location after another bisection? - Would the full bracket width or half its width be the relevant bound for its midpoint?

Solution

1. The starting interval has width \(1\). Each bisection step halves its width. 2. After \(n\) steps, the remaining bracket is \(\frac{1}{2^n}\) wide, so its midpoint is at most \(\frac{1}{2^{n+1}}\) from a bracketed root. 3. For \(n=5\), the bound is \(\frac{1}{64}=0.015625\), which is too large. For \(n=6\), it is \(\frac{1}{128}=0.0078125\), which meets the requirement.

Answer

\(6\) bisection steps.
Bisection method 17
Let \(g(x)=0.2x^5-2x^2+4\) and \(h(x)=3x-1\). Use the bisection method on \([1.5,2.5]\) to find the x-coordinate where the tangent to \(g\) is parallel to \(h\). Round to two decimal places.

Hints

- What slope must a parallel tangent have? - How could a tangent-slope requirement be restated as a root-finding problem? - Check which half of each interval still has endpoint values of opposite signs. - Stop when the entire remaining bracket determines the same two-decimal answer.

Solution

1. Since the line \(h\) has slope \(3\), the tangent must satisfy \(g'(x)=3\). Differentiate: \(g'(x)=x^4-4x\), so define \(F(x)=g'(x)-3=x^4-4x-3\). 2. The endpoint values are \(F(1.5)=-3.9375<0\) and \(F(2.5)=26.0625>0\). Continuity guarantees a zero inside the bracket. Also, \(F'(x)=4x^3-4>0\) on the interval, so it is the only zero there. 3. Midpoint tests first retain \([1.5,2]\), then \([1.75,2]\), then \([1.75,1.875]\), each with opposite endpoint signs. 4. Continue halving and keeping a sign-changing bracket. Eventually \(1.7841796875<x^*<1.78466796875\). 5. Both endpoints round to \(1.78\) to two decimal places, and so does every value between them. Thus \(x^*\approx1.78\).

Answer

\(x^*\approx1.78\).
Bisection method 18
Use bisection on \(F(x)=x^2-7\) starting from \([2,3]\). Continue until the retained bracket is narrow enough to determine \(\sqrt7\) to two decimal places. Give the final bracket and the rounded value.

Hints

- Keep only the half-interval whose endpoint function values have opposite signs. - Do not stop merely because the bracket is small; check that every value in it rounds the same way. - Retain enough decimal places in the midpoint calculations.

Solution

1. The successive retained brackets are \([2.5,3]\), \([2.5,2.75]\), \([2.625,2.75]\), \([2.625,2.6875]\), \([2.625,2.65625]\), \([2.640625,2.65625]\), \([2.640625,2.6484375]\), \([2.64453125,2.6484375]\), \([2.64453125,2.646484375]\), and \([2.6455078125,2.646484375]\). 2. Every value in the final bracket rounds to \(2.65\) to two decimal places. 3. Therefore, \(\sqrt7\approx2.65\).

Answer

Final bracket: \([2.6455078125,2.646484375]\). \(\sqrt7\approx2.65\).
Bisection method 19
Let \(f(x)=(x-1)(x-2)\). a) Explain why the endpoint signs on \([0,3]\) do not guarantee a root by the usual bisection test, even though the interval contains roots. b) Split \([0,3]\) into two intervals with opposite endpoint signs. Give the first midpoint to test in each interval.

Hints

- What do the original endpoint signs establish, and what do they not establish? - Could changing the bracket make the sign test informative? - How could you verify that each proposed subinterval meets the conditions for bisection? - What information do the resulting midpoints provide?

Solution

1. The endpoint values are \(f(0)=2\) and \(f(3)=2\). They have the same sign, so the usual sign-change condition on \([0,3]\) fails. 2. At \(x=\frac{3}{2}\), \(f(x)=-\frac{1}{4}\). Thus \([0,\frac{3}{2}]\) and \([\frac{3}{2},3]\) each have opposite endpoint signs. 3. The first midpoints are \(\frac{3}{4}\) and \(\frac{9}{4}\), respectively.

Answer

a) \(f(0)=f(3)=2>0\), so the full interval does not have opposite endpoint signs, despite containing roots at \(1\) and \(2\). b) Use \([0,\frac{3}{2}]\) and \([\frac{3}{2},3]\); first midpoints \(\frac{3}{4}\) and \(\frac{9}{4}\).

All problems may be used, copied and printed free of charge for school and tutoring, including paid tutoring. Commercial adaptations as well as publication or redistribution on the internet are not permitted.