Approximate solutions of equations by bisection

用二分法求方程的近似解

How does the bisection method find a root?

Start with an interval where the function changes sign; repeatedly halve it keeping the half that must contain the root.

ApplicationKP001018

Sign in to read the whole lesson, with 2 interactive aids, 5 exercises

Sign in / Sign up

Mastery goals

  • Can describe the bisection method and its steps: find a starting interval and check that the function values at its ends have opposite signs, take the midpoint, decide which half contains the zero, and repeat until the interval is shorter than the required accuracy
  • Can use technology to approximate a zero of a function, or a solution of f(x) = 0, to a given accuracy by bisection
  • Can tell whether a zero can be found by bisection, that is, whether the function changes sign there

We know that has a zero in . The next question is how to find this zero.

Most equations cannot be solved exactly by a formula as quadratic equations can. In real problems we often only need an approximate solution of a given accuracy. An intuitive idea: if we can shrink the range containing the zero, then for a required accuracy we can get an acceptable approximate value of the zero. For convenience we can shrink the range step by step by taking the midpoint of the interval. In general, is called the midpoint of the interval .

Take the midpoint of ; a calculator gives . Since , the zero lies in . Take the midpoint of : , and since , the zero lies in .

Since , the range of the zero has become smaller. Repeating the steps makes it smaller and smaller. So after finitely many repetitions of the same steps we can shrink the range to an interval meeting the required accuracy, and any point in it can serve as an approximation of the zero. For convenience we take an endpoint of the interval as the approximate value.

Interval of the zeroMidpointApproximate value at the midpoint
2.50.4163
2.250.0609
2.125
2.1875

For example, with accuracy , since , any point of can serve as an approximation of the zero, and we can take as the approximate zero of , that is an approximate solution of .

For a function whose graph on is unbroken with , the method of repeatedly halving the interval containing the zero so that its endpoints approach the zero, and so getting an approximation of the zero, is called the bisection method.

Given an accuracy , the general steps for finding an approximation of a zero of by bisection are:

  1. Determine an initial interval for the zero and verify .
  2. Find the midpoint of .
  3. Compute and determine the interval containing the zero: (1) if (then ), is the zero; (2) if (then ), set ; (3) if (then ), set .
  4. Check whether the accuracy is reached: if , take (or ) as the approximate zero; otherwise repeat steps 2 to 4.

By the relationship between zeros of functions and solutions of equations, we can use bisection to find approximate solutions of equations.

Example 1

Use information technology and bisection to find an approximate solution of (accuracy ).

Solution: The equation is . Let , draw the graph of with technology and list its table of values.

01234
2716

From the graph or the table, , so the function has a zero in . Take the midpoint of : . Since , . Take the midpoint of : . Since , . In the same way and . Since , an approximate solution of the equation is .

Finding approximate solutions by bisection takes a lot of computation and repeats the same steps, so we can design a computing procedure and let information technology do the work.

Related points

All points in this topic

Cite this page: Approximate solutions of equations by bisection · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP001018