4.2 Regula-Falsi Method or Method of False Position
4.2 Regula-Falsi Method or Method of False Position
This method is the oldest method for finding the real root of an equation f (x) = 0 . It is also known
as method of chords or method of linear interpolation. Like the bisection method, the false
position method starts with two points a0 and b0 such that f (a0 ) and f (b0 ) are of opposite signs,
which implies by the intermediate value theorem that the function f has a root in the interval
We first determine by the method of tabulation a sufficiently small interval [a0 , b0 ] containing the
Then, we approximate the portion of the curve y = f (x ) between the two points (a0 , f (a0 )) and
Now the equation of the chord joining the two points (a0 , f (a0 )) and (b0 , f (b0 )) is given by
f (b0 )− f (a0 )(
y − f (b0 ) = x − b0 ) (4.2.1)
b0 − a0
1
The method consists in replacing the portion of the curve between the points (a0 , f (a0 )) and
(b0 , f (b0 ))by means of the chord joining these two points, and taking the point of intersection of
the chord with the x-axis as an approximation to the root. In this case, the point of intersection is
obtained by putting y = 0 in eq. (4.2.1). Thus, the first approximation x1 to the root α is obtained
as
a0 f (b0 ) + b0 f (a0 )
x1 = (4.2.3)
f (b0 ) + f (a0 )
If f (a0 ) and f (x1 ) are of opposite signs i.e. f (a0 )f (x1 ) < 0 , then the root lies in [a0 , x1 ] ,
so we set a1 = a 0 and b1 = x1 .
Otherwise, if f (x1 ) and f (b0 ) are of opposite signs i.e. f (x1 )f (b0 )< 0 , then the root lies in [x1, b0 ] ,
we set a1 = x1 and b1 = b0 , so that in either case [a1, b1] contains α , i.e. f (a1) f (b1) < 0 .
We repeat the above step to obtain second approximation x 2 , third approximation x3 and so on.
In general, having obtained the interval [an ,bn ] containing α such that f (an ) f (bn ) < 0 . We obtain
2
bn − an
xn+1 = an − f (an )
f (bn ) − f (a n )
b f (a ) + a f (b )
n n n n
=
f (an ) + f (bn )
Otherwise, we set an+1 = xn+1 and bn+1 = bn if f (xn+1) f (bn ) < 0 , so that [an+1, bn+1] contains α . i.e.
Example 4:
Find the real root of the equation x log10 x −1.2 = 0 correct to four decimal places using regula-falsi
method.
Solution:
We first apply method of tabulation in order to find the location of rough value of the root.
x f (x )
1 -1.2
2 -0.6
3 0.23
We note that f(2)<0 and f(3)>0. Thus the given equation changes its sign within the interval [2,
3]. Therefore, there exists at least one real root of the equation within [2, 3].
3
b f (a ) + a f (b )
n n n n
Now, for the regula-falsi method, we compute x n+1 = .
f (a n ) + f (bn )
If f (an ) f (xn+1 ) < 0 , then the root lies between [an , xn+1 ] i.e. we set an+1 = an and bn+1 = xn+1 .
Otherwise, if f (xn+1 ) f (bn ) < 0 , then the root lies between [xn+1 ,bn ] i.e. we set an+1 = xn+1 and
Hence, the required real root is 2.7406 correct to four decimal places.
Example 5:
Find the real root of the equation x e x − cos x = 0 correct to four significant figures using regula-
falsi method.
Solution:
We first apply method of tabulation in order to find the location of rough value of the root.
4
Table 5: location of the root
x f (x )
0 -1
0.5 -0.0532219
0.6 0.267936
1 2.17798
We note that f(0.5)<0 and f(0.6)>0. Thus the given equation changes its sign within the interval
[0.5, 0.6]. Therefore, there exists at least one real root of the equation within [0.5, 0.6].
bn f (an ) + an f (bn )
Now, for the regula-falsi method, we compute xn+1 = .
f (an ) + f (bn )
If f (an ) f (xn+1 ) < 0 , then the root lies between [an , xn+1 ] i.e. we set an+1 = an and bn+1 = xn+1 .
Otherwise, if f (xn+1 ) f (bn ) < 0 , then the root lies between [xn+1 ,bn ] i.e. we set an+1 = xn+1 and
5
n an bn f (an ) f (bn ) bn f (an ) + an f (bn ) f (x n+1 )
xn+1 =
f (a ) + f (b )
n n
Hence, the required real root is 0.5178 correct to four significant figures.
It may be shown that the error at the (n+1)-th step is related to the error in the n-th step by the
expression
ε n+1 ≅ A ,
εn (4.2.1.1)
where A is a constant depending on the function f . This shows that the sequence of successive
• Advantage
This method is very simple and does not require to calculate the derivative of f (x) . Moreover,
this method is certainly convergent. Since the solution remains bracketed at each step,
• Disadvantage
6
The method is first order and is exact for linear f. The method is very slow since it converges
linearly. Also, the initial interval in which the root lies is to be chosen very small.
a f (b) + b f (a)
Step 5: Calculate x = .
f (a) + f (b)
Step 6: If f (a) f (x) < 0 , set b = x , otherwise if f (x) f (b) < 0 set a = x .
7
4.3 Fixed-point iteration
Let, [a0 , b0 ] be an initial small interval containing the only root α of the given equation
f ( x) = 0 .
x = φ (x) (4.3.1)
α = φ (α ) (4.3.2)
xn +1 = φ ( xn ) , n ≥ 0 , (4.3.3)
starting with x0 = a0 or b0 .
1
4.3.1 Condition of convergence for fixed-point iteration method
Theorem 3: Let α be the root of the equation f ( x) = 0 i.e. x = α be a solution of x = φ (x) and
suppose φ ( x ) has a continuous derivative in some interval [a 0 ,b0 ] containing the root α . If
φ ′( x ) ≤ K < 1 for all x ∈ [a 0 , b0 ] , then the fixed point iteration process xn +1 = φ (xn ) converges with
Proof:
α = φ (α ) (4.3.1.1)
xn +1 = φ (xn ) (4.3.1.2)
α − xn +1 = φ (α ) − φ (xn )
2
ε n ≤ K ε n−1
Therefore,
ε n ≤ K 2 ε n − 2 ≤ K 3 ε n − 3 ... ≤ K n ε 0
So, ε n → 0 as n → ∞
This implies
α − x n → 0 as n → ∞
Therefore, x n → α as n → ∞ .
Hence, the condition of convergence of the fixed-point iteration is that K < 1 or φ ′( x) < 1 in
[a0 , b0 ] .
Corollary:
It can be observed that the condition of convergence of fixed point iteration method is φ ′( x) < 1
in the neighbourhood of α . This fact can be easily examined from the following fig. 4:
3
−1 < φ ′( x) ≤ 0 ⇒ convergence −1 < φ ′( x) ≤ 0 ⇒ divergence
Example 6:
Find the real root of the equation x 3 + x − 1 = 0 correct to three significant figures using fixed-
Solution:
Let f ( x) = x 3 + x − 1 = 0 .
We first apply method of tabulation in order to find the location of rough value of the root.
0 -1
1 1
We note that f(0)<0 and f(1)>0. Thus the given equation changes its sign within the interval [0,
1]. Therefore, there exists at least one real root of the equation within [0, 1].
1
x= 2
= φ ( x) , say
x +1
− 2x
Hence, φ ′( x) = so that φ ′( x) < 1 in 0 < x < 1 . Therefore, according to theorem 3, iteration
( x 2 + 1) 2
The successive iterations generated by the eq. (4.3.3) have been presented in Table 8 and it has
5
Fig. 5 successive iterates in fixed point iteration
n xn xn +1 = φ ( xn ) f (x n +1 )
0 0 1 1
1 1 0.5 -0.375
Hence, the required real root of the given equation is 0.682 correct to three significant digits.
6
Example 7:
Find the real root of the equation 10 x + x − 4 = 0 correct to six decimal places using fixed-point
iteration method.
Solution:
Let f ( x ) = 10 x + x − 4 = 0 .
We first apply method of tabulation in order to find the location of rough value of the root.
x f (x)
0 -3
1 7
We note that f(0)<0 and f(1)>0. Thus the given equation changes its sign within the interval [0,
1]. Therefore, there exists at least one real root of the equation within [0, 1].
x = log10 (4 − x) = φ ( x) , say
−1
Hence, φ ′( x) = so that φ ′( x) < 1 in 0 < x < 1 . Therefore, according to theorem 3, iteration
(4 − x ) ln 10
7
The successive iterations generated by the eq. (4.3.3) have been presented in Table 10.
n xn xn +1 = φ ( xn ) f (x n +1 )
0 0 0.60205999 0.60206
Hence, the required real root of the given equation is 0.539179 correct to six decimal places.