Chapter 6
Chapter 6
Chapter 6
OBJECTIVE:
In this chapter, the students are expected to follow the algorithm and apply the
method to find the roots in a non - linear equation using False Position Method.
DISCUSSION:
False position method or Regula Falsi is a modification of the Bisection Method.
It was developed because the bisection method converges at a fairly slow speed. It give
a successive approximations converging to a solution for an equation of the form f(x) =
0.
In Bisection Method, we identify proper values of xL (lower bound value) and xU
(upper bound value) such that f(xL )𝑓(xU ) > 0 and for the next improve roots xr can be
computed as midpoint between xL and xU as also for the next iteration.
In False Position Method, instead of halving the interval use in Bisection; we use
the root of the line joining xL , 𝑓(xL ) and xU , 𝑓(xU ) as approximation for the value
roots xr .The idea for the False Position method is to connect xL , 𝑓(xL ) and xU , 𝑓(xU ) with
a straight line.
1|P ag e
Based on two similar triangles on Figure 1, one gets an equation
0−𝑓(𝑥𝐿 ) 0−𝑓(𝑥𝑈 )
= Eq. 1
𝑥𝑟 −𝑥𝐿 𝑥𝑟 −𝑥𝑈
And we can solve the above equation for the next predicted root,
𝑥𝑢 𝑓(𝑥𝐿 )−𝑥𝐿 𝑓(𝑥𝑢 )
𝑥𝑟 = or
𝑓(𝑥𝐿 )−𝑓(𝑥𝑢 )
1. Choose xL and xU as required two points for the root and find for the value of
f(xL) and 𝑓(xU ).
*If the function f(x) is continuous on the interval [xL , xU ] with f(xL )𝑓(xU ) > 0,
the algorithm will eventually converge to a solution.
2. Estimate the root, xr of the equation f(x) = 0 as
𝑥 𝑢 𝑓 (𝑥 𝐿 ) − 𝑥 𝐿 𝑓 (𝑥 𝑢 )
𝑥𝑟 =
𝑓 (𝑥𝐿 ) − 𝑓 (𝑥𝑢 )
3. Then for the next iteration, check the following
If f(xL )𝑓(xU ) < 0, then the roots lies between xL and xU ; then xL = xL and
x𝑈 = xr
If f(xL )𝑓(xU ) > 0, then the roots lies between xL and xU ; then xL = xr and
x𝑈 = xU
If f(xL )𝑓(xU ) = 0, Stop the algorithm.
4. Find the new estimate of the root at next iteration.
𝑥 𝑢 𝑓 (𝑥 𝐿 ) − 𝑥 𝐿 𝑓 (𝑥 𝑢 )
𝑥𝑟1 =
𝑓 (𝑥 𝐿 ) − 𝑓 (𝑥 𝑢 )
5. Find the absolute relative approximate error as
𝑥𝑟𝑛𝑒𝑤 −𝑥𝑟𝑜𝑙𝑑
|∈𝑎 | = | | x 100
𝑥𝑟𝑛𝑒𝑤
2|P ag e
SAMPLE PROBLEM:
1. Consider finding the root of f(x) = x2-3. Let ɛstep = 0.01, ɛabs = 0.01and start
with the interval [1,2].
Given:
xL = 1; xU = 2;
Hence,
f(xL )𝑓(xU ) = f(1)*f(2) = (-2)*(1)
f(xL )𝑓(xU ) = -2
f(1)*f(2) < 0, therefore 𝐱 𝐋 = 𝐱 𝐫 and 𝐱 𝑼 = 𝐱 𝐔 (for the next iteration).
Iteration 1:
For the estimate value of 𝑥𝑟 ;
𝑥𝑟 =
𝑥𝑢 𝑓(𝑥𝐿 )−𝑥𝐿 𝑓(𝑥𝑢 ) 𝑓(𝑥𝑟 ) = 𝑓 (1.6667) = (1.6667)2
𝑓(𝑥𝐿 )−𝑓(𝑥𝑢 )
-3
𝒙𝒓 = 1.6667
f(𝑥𝑟 ) = −0.2221
*Then for the Absolute error is noted as N/a for the new error is not present
at iteration 1.
Iteration 2.
3|P ag e
1.7273−1.6667
=| | x 100
1.7273
Hence,
|∈𝑎 | = 0.256%
Hence,
4|P ag e
ISAT U CEA
(1.7273)(2−1.7273)
𝑥𝑟 = 1.7173 − 1−(1.7273)
𝒙𝒓 = 1.7317
𝑓 (𝑥𝑟 ) = 𝑓 (1.7317) = (1.7317)2 - 3
f(𝑥𝑟 ) = 0.00
|∈𝑎 | = 0.256%
Hence,
We stop at 3rd iteration because it state to the given ɛstep = 0.01 that give atleast
correct approximation of the unknown roots.
5|P a ge
ISAT U CEA
Find the root of f(x)=(x-4)2(x+2), using the initial guesses of xL = -2.5 and
xU = −1.0, and ɛstep = 0.01.
6|P a ge
ISAT U CEA
FOLLOW UP QUESTIONS:
Advantages of using False Position than Bisection Method?
Using False Position Method does it converges rapidly? Why?
Does FPM, gives an accurate answer for the value of roots?
APPLICATION:
1. Use the false position method to find the root of x sin(x) − 1 = 0 that is located
in the interval [0, 2].
2. Find for the roots of f(x) = x3+x+1 that is located in the interval of (-1, ½). At
the end of ɛ=1x10-6.
7|P a ge