Professional Documents
Culture Documents
Transcendental Functions
Numerically
(Regula Falsi and Secant Method)
Pankaj Mathur
Professor1,
Department of Mathematics and Astronomy,
University of Lucknow,
Lucknow
1
Disclaimer: The e-content is exclusively meant for academic purposes and for en-
hancing teaching and learning. Any other use for economic/commercial purpose is strictly
prohibited. The users of the content shall not distribute, disseminate or share it with any-
one else and its use is restricted to advancement of individual knowledge. The information
provided in this e-content is authentic and best as per my knowledge.
1
1 Regula Falsi Method (Method of False Po-
sition)
Let f (x) be a continuous function on the interval [a, b]. We need to find a
root of f (x) = 0. Let f (a) > 0 and f (b) < 0 that is, f (a)f (b) < 0. So the
root lies in the interval (a, b). The equation of the line joining the points
(a, f (a)) and (b, f (b)) is
f (b) − f (a)
y − f (a) = (x − a).
b−a
It passes through (c1 , 0), thus
b−a
c1 = a − f (a).
f (b) − f (a)
Otherwise, either f (c2 ) > 0 or f (c2 ) < 0. If f (c1 ) < 0, then the root lies in
2
the interval (a, c2 ). Continuing the process so on the nth approximation to
the required root is given by
cn−1 − a
cn = a − f (a).
f (cn−1 ) − f (a)
b−a 1 − 0.5
c1 = a − f (a) = 0.5 − × (−0.375) = 0.64
f (b) − f (a) 1 + 0.375
Now, f (c1 ) = f (0.64) = −0.0979, then f (0.64)f (1) < 0. So root lies in
(0.64, 1), thus by RFM
1 − 0.64
c2 = 0.64 − × (0.0979) = 0.672.
1 + 0.0979
Again, f (c2 ) = f (0.672) = −0.024.Then f (0.672)f (1) < 0. So, root lies in
(0.672, 1). So by RFM
1 − 0.672
c3 = 0.6472 − × (0.024) = 0.6796.
1 + 0.024
Thus c = 0.67 is a root of f (x) = 0, correct upto 2 decimal places.
2 Secant Method
This method is an improvement over the Regula Falsi method. In this
method, we do not need f (c1 )f (a) < 0 at each step. Two most recent ap-
proximations are used to find the next approximations. The steps involved
in this method are
3
Step 1: Find the interval (a, b) in which the root lies.
Step 2: Find
b−a
c1 = a − f (a).
f (b) − f (a)
Step 3: Find
c1 − a
c2 = a − f (a).
f (c1 ) − f (a)
Step 4: Find
c2 − c1
c3 = c1 − f (c1 ).
f (c2 ) − f (c1 )
4
and f (c1 ) = 0.234375.
c1 − 1
c2 = c1 − f (c1 ) = 0.186441, f (c2 ) = 0.07423
f (c1 ) − f (1)
c2 − c1
c3 = c2 − f (c2 ) = 0.201736 f (c3 ) = −0.000469
f (c2 ) − f (c1 )
c3 − c2
c4 = c3 − f (c3 ) = 0.201640
f (c3 ) − f (c2 )
References
[1] M.K. Jain, S.R.K. Iyenger and R.K. Jain, Numerical Methods.