Bisection
Bisection
03
Bisection Method of Solving a Nonlinear Equation-
More Examples
Civil Engineering
Example 1
You are making a bookshelf to carry books that range from 8½" to 11" in height and would
take up 29" of space along the length. The material is wood having a Young’s Modulus of
3.667 Msi , thickness of 3/8" and width of 12". You want to find the maximum vertical
deflection of the bookshelf. The vertical deflection of the shelf is given by
v( x) 0.42493 10 4 x 3 0.13533 10 8 x 5 0.66722 10 6 x 4 0.018507 x
where x is the position along the length of the beam. Hence to find the maximum deflection
dv
we need to find where f ( x) 0 and conduct the second derivative test.
dx
Books
Bookshelf
The equation that gives the position x where the deflection is maximum is given by
Use the bisection method of finding roots of equations to find the position x where the
deflection is maximum. Conduct three iterations to estimate the root of the above equation.
Find the absolute relative approximate error at the end of each iteration and the number of
significant digits at least correct at the end of each iteration.
03.03.1
03.03.2 Chapter 03.03
Solution
From the physics of the problem, the maximum deflection would be between x 0 and
x L , where
that is
0 xL
0 x 29
Let us assume
x 0, xu 29
Check if the function changes sign between x and xu .
f x f 0
0.67665 10 8 (0) 4 0.26689 10 5 (0) 3 0.12748 10 3 (0) 2 0.018507
0.018507
f xu f 29
0.67665 10 8 (29) 4 0.26689 10 5 (29) 3 0.12748 10 3 (29) 2 0.018507
0.018826
Hence
f x f xu f 0 f 29 0.018507 0.018826 0
So there is at least one root between x and xu that is between 0 and 29.
Iteration 1
The estimate of the root is
x xu
xm
2
0 29
2
14.5
f x m f 14.5
0.67665 10 8 (14.5) 4 0.26689 10 5 (14.5) 3 0.12748 10 3 (14.5) 2 0.018507
1.4007 10 4
f x m f xu f 14.5 f 29 1.4007 10 4 0.018826 0
Hence the root is bracketed between x m and xu , that is, between 14.5 and 29. So, the lower
and upper limits of the new bracket are
x 14.5, xu 29
At this point, the absolute relative approximate error a cannot be calculated as we do not
have a previous approximation.
Bisection Method – More Examples: Civil Engineering 03.03.3
Iteration 2
The estimate of the root is
x xu
xm
2
14.5 29
2
21.75
f x m f 21.75
0.67665 10 8 (21.75) 4 0.26689 10 5 (21.75) 3
0.12748 10 3 (21.75) 2 0.018507
0.012824
f x f x m f 14.5 f 21.75 1.4007 10 4 0.012824 0
Hence, the root is bracketed between x and x m , that is, between 14.5 and 21.75. So the
lower and upper limits of the new bracket are
x 14.5, xu 21.75
The absolute relative approximate error, a at the end of Iteration 2 is
x mnew x mold
a 100
x mnew
21.75 14.5
100
21.75
33.333%
None of the significant digits are at least correct in the estimated root
x m 21.75
as the absolute relative approximate error is greater than 5% .
Iteration 3
The estimate of the root is
x xu
xm
2
14.5 21.75
2
18.125
f x m f 18.125
0.67665 10 8 (18.125) 4 0.26689 10 5 (18.125) 3
0.12748 10 3 (18.125) 2 0.018507
6.7502 10 3
f x f x m f 14.5 f 18.125 1.4007 10 4 6.7502 10 3 0
Hence, the root is bracketed between x and x m , that is, between 14.5 and 18.125. So the
lower and upper limits of the new bracket are
03.03.4 Chapter 03.03
x 14.5, xu 18.125
The absolute relative approximate error a at the end of Iteration 3 is
x mnew x mold
a 100
x mnew
18.125 21.75
100
18.125
20%
Still none of the significant digits are at least correct in the estimated root of the equation as
the absolute relative approximate error is greater than 5% .
Seven more iterations were conducted and these iterations are shown in Table 1.
NONLINEAR EQUATIONS
Topic Bisection Method-More Examples
Summary Examples of Bisection Method
Major Civil Engineering
Authors Autar Kaw
Date August 7, 2009
Web Site http://numericalmethods.eng.usf.edu