solution of transcendental & algebraic equationsgraphical method a simple method for obtaining...
TRANSCRIPT
![Page 1: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/1.jpg)
Solution of Transcendental & Algebraic Equations
Dr. Sandeep Malhotra
Depar tment of Mathematics & Humanit ies,
Inst i tute of Technology,
Nirma Universi ty.
B. Tech. in Electrical Engineering (Semester III)
![Page 2: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/2.jpg)
Electrical Engineering Problem
Find the resistance, R, of a circuit such that the charge reaches q atspecified time t,
(1.1)t
2-Rt 2L
0
1 R qf(R) = e cos - - = 0
LC 2L q
Where, L = inductance,
C = capacitance,
q0 = initial charge
![Page 3: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/3.jpg)
Force on Falling Parachutist
By Newton second law of motion, which states that the time rate of change of momentum of a body is equal to the resultant force acting on it.
The mathematical expression, or model, of the second law is the well-known equation
F = ma (1.2)
βΉ π = ππ π
π π(1.3)
The force acting on the body : F = FU+ FD
Where, FD= mg & FU = -cv
c is a proportionality constant called the drag coefficient (kg/s).
FU
FD
![Page 4: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/4.jpg)
Therefor, by Eq. (1.3)
This is a 1st Order Linear ODE, solving which we get,
π π =ππ
ππ β πβ
π
ππ
(1.5)
If the parameters are known, Eq. (1.5) can be used to predict theparachutistβs velocity as a function of time. Such computations can beperformed directly because v is expressed explicitly as a function of time. Thatis, it is isolated on one side of the equal sign.
mg - cπ = ππ π
π π
βΉπ π
π π= π β
π
ππ (1.4)
![Page 5: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/5.jpg)
However, suppose we had to determine the drag coefficient for a parachutistof a given mass to attain a prescribed velocity in a set time period.
Although Eq. (1.5) provides a mathematical representation of theinterrelationship among the model variables and parameters, it cannot besolved explicitly for the drag coefficient.
There is no way to rearrange the equation so that c is isolated on one side ofthe equal sign. In such cases, c is said to be implicit.
This represents a real dilemma, because many engineering design problemsinvolve specifying the properties or composition of a system (as representedby its parameters) to ensure that it performs in a desired manner (asrepresented by its variables).
Thus, these problems often require the determination of implicit parameters.
![Page 6: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/6.jpg)
To solve the problem, it is conventional to re-express Eq. (1.5).
This is done by subtracting the dependent variable v from both sides ofthe equation to give,
The value of c that makes f(c) = 0 is, therefore, the root of the equation.
The solution to the dilemma is provided by numerical methods for roots ofalgebraic or transcendental equations.
π π =ππ
ππ β πβ
π
ππ β π (1.6)
![Page 7: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/7.jpg)
Algebraic & Transcendental Equations By definition, a function given by y = π π = 0 is algebraic if it can beexpressed in the form
π π = ππππ + ππβππ
πβπ +β―+ πππ + ππ = π.
Some specific examples are,
π π = π β π. πππ + π. πππ = π & π π = πππ β ππ + πππ = π
A transcendental function is one that is non algebraic. These includetrigonometric, exponential, logarithmic, and other, less familiar, functions.
Examples are,
π π = π₯π§ ππ β π = π & π π = πβπ.ππ π¬π’π§ ππ β π. π = π
![Page 8: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/8.jpg)
by Lale Yurttas, Texas A&M University PART 2 8
Why new methods to find Roots of Equations?
β’ BUT
a
acbbxcbxax
2
40
22
?0sin
?02345
xxx
xfexdxcxbxax
![Page 9: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/9.jpg)
Root finding Methods Essentially finding a root of a function, that is, a zero of the function.
The goal is to solve f(x) = 0, for the function f(x).
The values of x which make f(x) = 0 are the roots of the equation.
f(a)=0 f(b)=0
a, b are roots of the function f(x)
X
f(x)
Y= f(x)
![Page 10: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/10.jpg)
Root finding Methods There are many methods for solving non-linear equations. The methods, which willbe highlighted have the following properties: The function f(x) is expected to be continuous. If not the method may fail.
The use of the algorithm requires that the solution be bounded.
Once the solution is bounded, it is refined to specified tolerance.
Such methods are:
1. Graphical Method
2. Interval Halving (Bisection method)
3. Regula Falsi (False position)
4. Newtonβs method
5. Secant method
6. Fixed point iteration
![Page 11: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/11.jpg)
Study Objectives
You should have sufficient information to successfully approach a
wide variety of engineering problems dealing with roots of
equations.
You should have
mastered the techniques,
have learned to assess their reliability,
and be capable of choosing the best method (or methods) for any
particular problem.
![Page 12: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/12.jpg)
Important Instructions
You must have Scientific Calculator in each class.
Fix your Calculator digits to 6 decimals.
Put it in Radian mode.
Donβt cut the digits specially when you are usingthe Secant Method.
![Page 13: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/13.jpg)
Nonlinear Equation
Solvers
Bracketing
Bisection
False Position
(Regula-Falsi)
Graphical Open Methods
Newton Raphson
Secant
All Iterative
Fixed Point
![Page 14: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/14.jpg)
GRAPHICAL METHOD
![Page 15: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/15.jpg)
Graphical MethodA simple method for obtaining an estimate of the root of the equation f(x) = 0is to make a plot of the function and observe where it crosses the x axis.
This point, which represents the x value for which f(x) = 0, provides a roughapproximation of the root.
Illustration: Use the graphical approach to determine the drag coefficient cneeded for a parachutist of mass m = 68.1 kg to have a velocity of 40 m /safter free-falling for time t = 10 s.
Solution: This problem can be solved by determining the root of Eq. (1.6) usingthe parameters t = 10, g = 9.8, v = 40, and m = 68.1:
βΉ π π =π.π(ππ.π)
ππ β πβ(
π
ππ.π)ππ β 40π π =
ππ
ππ β πβ
πππ β π
![Page 16: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/16.jpg)
Various values of c can be substituted into the right-hand side of this equation
to compute, These points are plotted in Fig. below,
The resulting curve crosses the c axis between 12
and 16. Visual inspection of the plot provides a
rough estimate of the root of 14.75. The validity
of the graphical estimate can be checked by
substituting it into Eq. (1.7) to yield,
βΉ π π =πππ.ππ
ππ β πβπ.πππππππ β40 (1.7)
π ππ. ππ =πππ.ππ
ππ.πππ β πβπ.ππππππ(ππ.ππ) β 40
= 0.059
40
20
0
-10
4 8 12 16 20c
f(c)
Root
c f(c)
4 34.115
8 17.653
12 6.067
16 -2.269
20 -8.401
![Page 17: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/17.jpg)
Example 1: Determine the real root of π π = πππ β πππ + ππβ π graphically.
Solution: Lets prepare a table and graph of values for x and f(x),
π₯ = 0.4 βΉ π π₯ = β0.08
π₯ = 0.42 βΉ π π₯ = 0.008 β 0.
x f(x)
0 -2
1 4
2 30
-1 -18
-1 1 2 x
f(x)
Root
40
20
0
-20
The resulting curve crosses the x axis between 0
and 1. Visual inspection of the plot provides a
rough estimate of the root of 0.4. The validity of
the graphical estimate can be checked by
substituting it into original Eq. to yield,
Ans.: Approximate root of the equation is x = 0.42.
![Page 18: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/18.jpg)
Pitfalls of Graphical Method Graphical technique is of limited practical value because it is not precise.
However, graphical methods can be utilized to obtain rough estimates of roots. Theseestimates can be employed as starting guesses for numerical methods discussed in the nexttopic.
From providing rough estimates of the root, graphical interpretations are importanttools for understanding the properties of the functions and anticipating the pitfalls ofthe numerical methods.
Intermediate Value property: The function changes sign on opposite sides of the root.If one root of a real and continuous function, f(x) = 0, is bounded by values x = a, x = bthen f(a) . f(b) < 0.
It is the simplest root-finding step which requires previous knowledge of two initialguesses, a and b, so that f(a) and f(b) have opposite signs. These guesses must βbracketβor be on either side of the root.
![Page 19: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/19.jpg)
Bracketing Methods
In bracketing methods, the method starts with an intervalthat contains the root and a procedure is used to obtain asmaller interval containing the root.
Such methods are always convergent.
Examples of bracketing methods:
β¦Bisection method
β¦False position method
![Page 20: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/20.jpg)
Bisection Method
![Page 21: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/21.jpg)
Bisection Method Assumptions:
Given an interval [a, b]
f(x) is continuous on [a, b]
f(a) and f(b) have opposite signs.
These assumptions ensure the existence of at least one zero in the interval [a, b] and thebisection method can be used to obtain a smaller interval that contains the zero.
For that we perform the following steps:
1. Compute the mid point c = (a + b) / 2
2. Evaluate f(c)
3. If f(a) f(c) < 0 then new interval [a, c]
If f(a) f(c) > 0 then new interval [c, b]
4. Repeat the procedure until we get convergence.
a
b
f(a)
f(b)
c
a C1 C2
b
![Page 22: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/22.jpg)
Example 2: Determine the real root of π π = πππ β πππ + ππ β π = π using Bisection Method.
Solution: Lets find the interval first,
π₯ = 0 βΉ π 0 = β2π₯ = 1 βΉ π 1 = 4β΄ π₯ β [0, 1]
Lets start the Bisection iterations now,
π₯1 =0+1
2= 0.5, π π₯1 = π 0.5 = 0.375 > 0 β΄ π₯ β [0, 0.5]
π₯2 =0 + 0.5
2= 0.25, π π₯2 = π 0.25 = -0.7344 < 0 β΄ π₯ β [0.25, 0.5]
π₯3 =0.25 + 0.5
2= 0.375, π π₯3 = π 0.375 =-0.1895<0 β΄ π₯ β [0.375, 0.5]
< 0> 0
![Page 23: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/23.jpg)
Table Showing The Iterations
a = 0, f(a) < 0 b = 1, f(b) > 0 x1 = 0.5 f(x1) = 0.375 > 0
a = 0 x1 = 0.5 x2 = 0.25 f(x2) = -0.7344 < 0
x2 = 0.25 x1 = 0.5 x3 = 0.375 f(x3) = 0.1895 > 0
x3 = 0.375 X1 = 0.5 x4 = f(x4) =
![Page 24: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/24.jpg)
π₯4 =0.375 + 0.5
2= 0.4375, π π₯4 = π 0.4375 = 0.0867 > 0 β΄ π₯ β [0.375, 0.4375]
π₯5 =0.375 + 0.4375
2= 0.4063, π π₯5 = π 0.4063 = -0.0522 < 0 β΄ π₯ β [0.4063, 0.4375]
π₯6 =0.4063 + 0.4375
2= 0.4219,π π₯6 = π 0.4219 = 0.0169 > 0 β΄ π₯ β [0.4063, 0.4219]
π₯7 =0.4063 + 0.4219
2= 0.4141,π π₯7 = π 0.4141 = -0.0177 < 0 β΄ π₯ β [0.4141, 0.4219]
π₯8 =0.4141 + 0.4219
2= 0.418, π π₯8 = π 0.418 = -0.00044 < 0 β΄ π₯ β [0.418, 0.4219]
π₯9 =0.418 + 0.4219
2= 0.42, π π₯9 = π 0.42 = 0.0084 > 0 β΄ π₯ β [0.42, 0.4219]
|0.42 β 0.4219| = 0.0019 β 0
β΄ π = π. ππ is one of the approximate real root of the given equation
correct up to 2 decimal places.
![Page 25: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/25.jpg)
Example 3: Determine the negative real root of π π = ππ + πππ + 35
using Bisection Method correct up to 2 decimal places.
Solution: Lets find the interval first, π₯ = 0 βΉ π 0 = 35
π₯ = β1 βΉ π β1 =13
β΄ π₯ β [β2,β1]
Lets start the Bisection iterations now,
π₯1 =β2β1
2= β1.5, π π₯1 = π β1.5 = 0.125 > 0 β΄ π₯ β [β2,β1.5]
π₯2 =β2 β 1.5
2= β1.75, π π₯2 = π β1.75 = -7.12 < 0 β΄ π₯ β [β1.75,β1.5]
π₯3 =β1.75 β 1.5
2= β1.625, π π₯3 = π β1.625 = -3.42 < 0
β΄ π₯ β [β1.625, β1.5]
> 0
> 0
π₯ = β2 βΉ π β2 = -15 < 0
![Page 26: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/26.jpg)
π₯4 =β1.625 β 1.5
2= β1.563, π π₯4 = π β1.563 = -1.641 < 0 β΄ π₯ β [β1.563,β1.5]
π₯5 =β1.563 β 1.5
2= β1.532, π π₯5 = π β1.532 = -0.768 < 0 β΄ π₯ β [β1.532,β1.5]
π₯6 =β1.532 β 1.5
2= β1.516, π π₯6 = π β1.516 = -0.32 < 0 β΄ π₯ β [β1.516,β1.5]
π₯7 =β1.516 β 1.5
2= β1.508, π π₯7 = π β1.508 = -0.097 < 0 β΄ π₯ β [β1.508,β1.5]
π₯8 =β1.508 β 1.5
2= β1.504, π π₯8 = π β1.504 = 0.014 > 0 β΄ π₯ β [β1.508,β1.504]
|(-1.508) β (-1.504)| = 0.004 β 0
β΄ π = βπ.504 is one of the approximate negative real root of the given equation
correct up to 2 decimal places.
![Page 27: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/27.jpg)
Example 4: Determine the nontrivial root of πππ π = ππ using Bisection Method correct up to 2 decimal places.
Solution: Lets find the interval for π π₯ = π πππ₯ β π₯3 = 0,
π₯ = 0.5 βΉ π 0.5 = 0.3544
β΄ π₯ β [0.5, 1]
Lets start the Bisection iterations now,
π₯1 =0.5+1
2= 0.75, π π₯1 = π 0.75 = 0.26 > 0 β΄ π₯ β [0.75, 1]
π₯2 =0.75 + 1
2= 0.875, π π₯2 = π 0.875 = 0.098 > 0 β΄ π₯ β [0.875, 1]
π₯3 =0.875 + 1
2= 0.9375, π π₯3 = π 0.9375 = -0.018 < 0
β΄ π₯ β [0.875, 0.9375]
> 0
π₯ = 1 βΉ π 1 = -0.159 < 0
![Page 28: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/28.jpg)
π₯4 =0.875 + 0.9375
2= 0.9063, π π₯4 = π 0.9063 = 0.0428 > 0 β΄ π₯ β [0.9063, 0.9375]
π₯5 =0.9063 + 0.9375
2= 0.9219, π π₯5 = π 0.9219 = 0.013 > 0 β΄ π₯ β [0.9219, 0.9375]
π₯6 =0.9219 + 0.9375
2= 0.9297,π π₯6 = π 0.9297 = -0.002 < 0 β΄ π₯ β [0.9219, 0.9297]
|0.9219 - 0.9297| = 0.0078 β 0
β΄ π = π. ππ is one of the approximate real root of the given equation
correct up to 2 decimal places.
![Page 29: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/29.jpg)
Pitfalls of Bisection MethodPros
Easy
Always find root
Number of iterationsrequired to attain anabsolute error can becomputed a priori as thesize of the intervalcontaining the zero isreduced by 50% aftereach iteration.
Cons
Slow
Only find one root at atime.
Not applicable whenthere are Multiple roots.
Good intermediateapproximations may bediscarded.
i 1 imax maxE 0.5 E
![Page 30: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/30.jpg)
False Position Method(Regula Falsi)
![Page 31: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/31.jpg)
Method of False Position
This technique is similar to the bisection
method except that the next iteration
is taken as the line of interception
between the pair of x-values and the
x-axis rather than at the midpoint.
(a, f(a))
(b, f(b))
By two point line formula,
π β ππππ β ππ
=π β ππππ β ππ
βΉπ(π) β π(π)
π(π) β π(π)=π β π
π β π
βΉβπ(π)
π(π) β π(π)=ππ β π
π β ππππ π = ππ, π π = π βΉ ππ = π β
(π β π)π(π)
π(π) β π(π)
βΉ ππ =βππ(π) + ππ(π)
π(π) β π(π)βΉ ππ =
ππ π β ππ(π)
π(π) β π(π)Iterative formula for Method
of False Position
X
f(x)
Roota
b
ππ ππ
![Page 32: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/32.jpg)
Method of False PositionAssumptions:
Given an interval [a, b]
f(x) is continuous on [a, b]
f(a) and f(b) have opposite signs.
These assumptions ensure the existence of at least one zero in the interval [a, b] and thefalse position method can be used to obtain a smaller interval that contains the zero.
For that we perform the following steps:
1. Compute the in between point on x-axis,
2. Evaluate f(ππ)
3. If f(a) f(ππ) < 0 then new interval [a, ππ]
If f(a) f(ππ) > 0 then new interval [ππ, b]
4. Repeat the procedure until π(ππ) < tolerance value.
ππ =ππ π β ππ(π)
π(π) β π(π)
![Page 33: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/33.jpg)
Solution: Lets find the interval first,
π₯ = 0 βΉ π 0 = β2 < 0π₯ = 1 βΉ π 1 = 4 > 0β΄ π₯ β [0, 1]
Lets start the iterations now,
Example 5: Determine the real root of
π π = πππ β πππ + ππ β π = π using Method of False Position.
ππ =ππ π β ππ(π)
π(π) β π(π)=ππ π β ππ(π)
π(π) β π(π)=π β π(βπ)
π β (βπ)=π
π= π. πππ
π ππ = π π. πππ = -0.372 < 0 β΄ π β [π. πππ, π]
![Page 34: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/34.jpg)
Table Showing The Iterations
a = 0, f(a) < 0 b = 1, f(b) > 0 x1 = 0.333 f(x1) = -0.372 < 0
x1 = 0.333 b = 1 x2 = 0.3898 f(x2) = -0.125 < 0
x2 = 0.3898 b = 1 x3 = 0.4083 f(x3) = -0.043 < 0
x3 = 0.4083 b = 1 x4 = f(x4) =
![Page 35: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/35.jpg)
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. ππππ π β ππ(π. πππ)
π(π) β π(π. πππ)=π. πππ(π) β π(βπ. πππ)
π β (βπ. πππ)= π. ππππ
π ππ = π π. ππππ = -0.125 < 0 β΄ π β [π. ππππ, π]
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. πππππ π β ππ(π. ππππ)
π(π) β π(π. ππππ)=π. ππππ(π) β π(βπ. πππ)
π β (βπ. πππ)= π.4083
π ππ = π π. ππππ = -0.043 < 0 β΄ π β [π. ππππ, π]
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. πππππ π β ππ(π. ππππ)
π(π) β π(π. ππππ)=π. ππππ(π) β π(βπ. πππ)
π β (βπ. πππ)= π.415
π ππ = π π. πππ = -0.014 < 0 β΄ π β [π. πππ, π]
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. ππππ π β ππ(π. πππ)
π(π) β π(π. πππ)=π. πππ(π) β π(βπ. πππ)
π β (βπ. πππ)= π.417
π ππ = π π. πππ = -0.005 < 0 β΄ π β [π. πππ, π]
![Page 36: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/36.jpg)
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. ππππ π β ππ(π. πππ)
π(π) β π(π. πππ)=π. πππ(π) β π(βπ. πππ)
π β (βπ. πππ)= π.4177
π ππ = π π. ππππ = -0.0018 < 0 β΄ π β [π. ππππ, π]
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. πππππ π β ππ(π. ππππ)
π(π) β π(π. ππππ)=π. ππππ(π) β π(βπ. ππππ)
π β (βπ. ππππ)= π.4179
π ππ = π π. ππππ = -0.0009 < 0 β΄ π β [π. ππππ, π]
β΄ π = π. ππππ is one of the approximate real root of the given equation
correct up to 3 decimal places.
|f(0.4179)| = 0.0009 β 0
![Page 37: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/37.jpg)
Example 6: Determine the real root of ππ ππ = π. π using Regula β Falsi
Method correct up to three decimal places.
Solution: Lets find the interval for,
π₯ = 1 βΉ π 1 = β0.7π₯ = 2 βΉ π 2 = 2.073β΄ π₯ β [1, 2]
Lets start the iterations now,
π π = ππ ππ β π. π
ππ =ππ π β ππ(π)
π(π) β π(π)=ππ π β ππ(π)
π(π) β π(π)=π. πππ β π(βπ. π)
π. πππ β (βπ. π)= π. πππ
π ππ = π π. πππ = 0.199 > 0 β΄ π β [π, π. πππ]
< 0> 0
![Page 38: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/38.jpg)
Table Showing The Iterations
a = 1, f(a) < 0 b = 2, f(b) > 0 x1 = 1.252 f(x1) = 0.199 > 0
a = 1 x1 = 1.252 x2 = 1.196 f(x2) = 0.016 > 0
a = 1 x2 = 1.196 x3 = f(x3) =
![Page 39: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/39.jpg)
ππ =ππ ππ β πππ(π)
π(ππ) β π(π)=ππ π. πππ β π. ππππ(π)
π(π. πππ) β π(π)=π. πππ β π. πππ(βπ. π)
π. πππ β (βπ. π)= π.196
π ππ = π π. πππ = 0.016 > 0 β΄ π β [π, π. πππ]
ππ =ππ ππ β πππ(π)
π(ππ) β π(π)=ππ π. πππ β π. ππππ(π)
π(π. πππ) β π(π)=π. πππ β π. πππ(βπ. π)
π. πππ β (βπ. π)= π.192
π ππ = π π. πππ = 0.0025 > 0 β΄ π β [π, π. πππ]
ππ =ππ ππ β πππ(π)
π(ππ) β π(π)=ππ π. πππ β π. ππππ(π)
π(π. πππ) β π(π)=π. ππππ β π. πππ(βπ. π)
π. ππππ β (βπ. π)= π.1913
π ππ = π π. ππππ = 0.00002 > 0 β΄ π β [π, π. ππππ]
ππ =ππ ππ β πππ(π)
π(ππ) β π(π)=ππ π. ππππ β π. πππππ(π)
π(π. πππ) β π(π)=π. πππππ β π. ππππ(βπ. π)
π. πππππ β (βπ. π)= π.19129
π ππ = π π. πππππ = 0.00001 > 0 β΄ π β [π, π. πππππ]
β΄ π = π. πππππ is the approximate real root of the given equation correct up to 3 decimal places.
![Page 40: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/40.jpg)
Example 7: Determine the real root of πππ= 1.1 using Method of False
Position & Bisection Method correct up to three decimal places.
Solution: Lets find the interval for, π π = πππ β 1.1
π₯ = 1 βΉ π 1 = β0.1π₯ = 2 βΉ π 2 = 1022.9
< 0> 0
β΄ π₯ β [1, 2]
Part 1. Iterations for Method of False Position
ππ =ππ π β ππ(π)
π(π) β π(π)=ππ π β ππ(π)
π(π) β π(π)=ππππ. π β π(βπ. π)
ππππ. π β (βπ. π)= π.0001
π ππ = π π. ππππ = -0.099 < 0 β΄ π β [π. ππππ, π]
![Page 41: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/41.jpg)
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. πππππ π β ππ(π. ππππ)
π(π) β π(π. ππππ)=(π. ππππ)(ππππ. π) β π(βπ. πππ)
ππππ. π β (βπ. πππ)
= π.0002π ππ = π π. ππππ = -0.098 < 0 β΄ π β [π. ππππ, π]
ππ =πππ π β ππ(ππ)
π(π) β π(ππ)=π. πππππ π β ππ(π. ππππ)
π(π) β π(π. ππππ)=(π. ππππ)(ππππ. π) β π(βπ. πππ)
ππππ. π β (βπ. πππ)
= π.0003π ππ = π π. ππππ = -0.097 < 0 β΄ π β [π. ππππ, π]
We are getting very slow convergence by Method of False position for this example.
X
f(x)
Roota
b
ππ ππFunctions with Significant Curvature
πππ= 1.1
![Page 42: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/42.jpg)
π₯3 =1+1.25
2= 1.125, π π₯3 = π 1.125 =2.147 > 0 β΄ π₯ β [1, 1.125]
π₯4 =1+1.125
2= 1.063, π π₯4 = π 1.063 =0.742 > 0 β΄ π₯ β [1, 1.063]
π₯5 =1+1.063
2= 1.032, π π₯5 = π 1.032 = 0.27 > 0 β΄ π₯ β [1, 1.032]
π₯6 =1+1.032
2= 1.016, π π₯6 = π 1.016 =0.07 > 0 β΄ π₯ β [1, 1.016]
Part 2. Iterations for Bisection Method
π₯1 =1+2
2= 1.5, π π₯1 = π 1.5 = 56.57 > 0 β΄ π₯ β [1, 1.5]
π₯2 =1+1.5
2= 1.25, π π₯2 = π 1.25 = 8.21 > 0 β΄ π₯ β [1, 1.25]
![Page 43: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/43.jpg)
π₯11 =1.009+1.01
2= 1.0095, π π₯11 = π 1.0095 =-- 0.00008 < 0
β΄ π₯ β [1.0095, 1.01]
π₯12 =1.0095+1.01
2= 1.0098, π π₯12 = π 1.0098 = - 0.002 > 0
β΄ π₯ β [1.0095, 1.0098]
β΄ π = π. πππ is the approximate real root of the given equation correct up to 3 decimal
places.
π₯8 =1.008+1.016
2= 1.012, π π₯8 = π 1.012 =0.027 > 0 β΄ π₯ β [1.008, 1.012]
π₯9 =1.008+1.012
2= 1.01, π π₯9 = π 1.01 = 0.005 > 0 β΄ π₯ β [1.008, 1.01]
π₯10 =1.008+1.01
2= 1.009, π π₯10 = π 1.009 = -0.006 < 0 β΄ π₯ β [1.009, 1.01]
π₯7 =1+1.016
2= 1.008, π π₯7 = π 1.008 = -0.017 < 0 β΄ π₯ β [1.008, 1.016]
![Page 44: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/44.jpg)
Pitfalls of the False-Position Method
Although the false-position method would seem to always be the bracketing
method of preference, there are cases where it performs poorly (as we have seen
in the last example), there are certain cases where bisection yields superior results,
particularly for functions with Significant Curvature.
The example also illustrates a major weakness of the false-position method: its
one sidedness. That is, as iterations are proceeding, one of the bracketing points
will tend to stay fixed. This can lead to poor convergence.
If f(a) and f(b) have the same sign, the function may have an even number of real
zeroes in the interval [a, b]. The False Position Method can not work for such
problems.
![Page 45: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/45.jpg)
Open Methods
In the open methods, the method starts with one or more initialguess points. In each iteration, a new guess of the root is obtained.
Open methods are usually more efficient than bracketing methods.
They may not converge to a root.
Examples of open methods:
β¦Newton - Raphson Method
β¦ Fixed Point Iteration Method
![Page 46: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/46.jpg)
Newton - Raphson Method
![Page 47: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/47.jpg)
Newton - Raphson Method
x
f(x)
0 ππ
π(ππ)
Root
ππ+π
π(ππ) β π
ππ β ππ+π
Slope = πβ²(ππ)
If the initial guess at the root is xi, a
tangent can be extended from the point
[xi, f (xi)]. The point where this tangent
crosses the x axis usually represents an
improved estimate of the root.
As in Fig., the first derivative at x is
equivalent to the slope:
Slope = πβ²(ππ) =π ππ βπ
ππβππ+π
βΉ ππ+π = ππ βπ πππβ² ππ
Iterative formula for Newton Raphson Method
![Page 48: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/48.jpg)
Example 8: Determine the real root of
π π = πππ β πππ + ππ β π = π using Newton Raphson Method.
Solution: π π = πππ β πππ + ππ β π
βΉ πβ² π = ππππ β πππ + π
ππ+π = ππ βπ πππβ² ππ
By Newton Raphson Method,
Let us start the iterations with the initial guess ππ = π,
β΄ ππ= ππ βπ πππβ² ππ
= 0 -βπ
π= 0.333
β΄ ππ= ππ βπ πππβ² ππ
= 0.333 -βπ.πππ
π.πππ= 0.419= π. πππ β
π π.πππ
πβ² π.πππ
β΄ ππ= ππ βπ πππβ² ππ
= 0.419 -π.ππππ
π.πππ= 0.4198= π. πππ β
π π.πππ
πβ² π.πππ
β΄ π = π. ππππ is one of the approximate real root of the given equation correct up to 3 decimal places.
= 0 -π(π)
πβ²(π)
![Page 49: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/49.jpg)
Example 9A: Determine the lowest positive root of ππππ(π)πβπ β π = πusing N - R Method correct to 3 decimal places by taking ππ = π.3.
Solution: π π = ππππ(π)πβπ β π
βΉ πβ² π = ππππ π πβπ β ππππ π πβπ = ππβπ(ππππ β ππππ)
By Newton Raphson Method,
Let us start the iterations with the initial guess ππ = π. π,
β΄ ππ= ππ βπ πππβ² ππ
= 0.3 -π(π.π)
πβ²(π.π)= 0.108
β΄ ππ= ππ βπ πππβ² ππ
= 0.108 -βπ.πππ
π.πππ= 0.144= π. πππ β
π π.πππ
πβ² π.πππ
β΄ ππ= ππ βπ πππβ² ππ
= 0.144 -βπ.ππππ
π.πππ= 0.145= π. πππ β
π π.πππ
πβ² π.πππ
= 0.3 -π.πππ
π.πππ
ππ+π = ππ βπ πππβ² ππ
![Page 50: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/50.jpg)
Example 9B: Solve the same example by starting with ππ = π.
Solution:
Let us start the iterations with the initial guess ππ = π,
β΄ ππ= ππ βπ πππβ² ππ
= 0 -π(π)
πβ²(π)= 0.125
β΄ ππ= ππ βπ πππβ² ππ
= 0.125 -βπ.ππππ
π.πππ= 0.145= π. πππ β
π π.πππ
πβ² π.πππ
β΄ ππ= ππ βπ πππβ² ππ
= 0.145 -βπ.πππππ
π.πππ= 0.145= π. πππ β
π π.πππ
πβ² π.πππ
β΄ π = π. ππ5 is one of the approximate real root of the given equation correct up to 3 decimal places.
= 0 -βπ
π
β΄ ππ= ππ βπ πππβ² ππ
= 0.145 -βπ.πππππ
π.πππ= 0.145= π. πππ β
π π.πππ
πβ² π.πππ
β΄ π = π. ππ5 is one of the approximate real root of the given equation correct up to 3
decimal places.
![Page 51: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/51.jpg)
Example 10: Determine the real root of ππ β ππππππ = 7 using N - R
Method correct to 4 decimal places.
Solution: π π = ππ β ππππππ β 7
βΉ πβ²(π) = π βπ. ππππ
π
By Newton Raphson Method,
Let us start the iterations with the initial guess ππ = π,
β΄ ππ= ππ βπ πππβ² ππ
= 1 -π(π)
πβ²(π)= 4.1935
β΄ ππ= ππ βπ πππβ² ππ
= 4.1935 -π.ππππ
π.ππ= 3.790= 4. ππππ β
π π.ππππ
πβ² π.ππππ
= 1 -βπ
π.ππππ
ππ+π = ππ βπ πππβ² ππ
= ππ βπππππ
ππππππβ 7
= ππ β π. ππππ ππ π β 7
![Page 52: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/52.jpg)
β΄ ππ= ππ βπ πππβ² ππ
= 3.790 -π.ππππ
π.ππππ= 3.7893= π. πππ β
π π.πππ
πβ² π.πππ
β΄ ππ= ππ βπ πππβ² ππ
= 3.7893 -π.ππππππ
π.ππππ= 3.7893= π. ππππ β
π π.ππππ
πβ² π.ππππ
β΄ π = π. ππππ is one of the approximate real root of the given equation correct up to 4
decimal places.
Example 10: Find the Newton Raphson Iteration formula for finding thevalue of cube root of any natural number N. Using it find one of the value ofπππ correct to 3 decimal places.
Solution: Let, π =ππ΅ βΉ ππ = N
β΄ π π = ππ β N = 0
β΄ πβ² π = πππ
Where, N β β
![Page 53: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/53.jpg)
By Newton Raphson Method, ππ+π = ππ βπ πππβ² ππ
β΄ ππ+π= ππ βππ
π βπ΅
ππππ =
ππππ +π΅
ππππ
β΄ ππ+π=πππ
π +π΅
ππππ
Iterative formula for ππ΅
By N R Method
Lets find one of the value of πππ by using it.
Let us start the iterations with N = 12 and the initial guess ππ = π,
β΄ ππ=πππ
π +π΅
ππππ
Can we take ππ = π? =
π+ππ
π= 4.667
![Page 54: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/54.jpg)
β΄ ππ=πππ
π +π΅
ππππ =
π π.ππππ +ππ
π π.ππππ= πππ.πππ
ππ.πππ= 3.295
β΄ ππ=πππ
π +π΅
ππππ =
π π.ππππ +ππ
π π.ππππ= ππ.πππ
ππ.ππ= 2.565
β΄ ππ=πππ
π +π΅
ππππ =
π π.ππππ +ππ
π π.ππππ=
ππ.ππ
ππ.πππ= 2.318
β΄ ππ=πππ
π +π΅
ππππ =
π π.ππππ +ππ
π π.ππππ= ππ.ππ
ππ.ππ= 2.2897
β΄ ππ=πππ
π +π΅
ππππ =
π π.πππππ +ππ
π π.πππππ= ππ.πππ
ππ.ππ= 2.2892
β΄πππ = π. ππππ correct to 3 decimal places.
![Page 55: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/55.jpg)
Example 11: Find the Newton Raphson Iteration formula for finding the
reciprocal of any natural number N. Using it find the approximate value ofπ
ππ
correct to 3 decimal places.
Solution: Let, π =π
π΅βΉ
π
π= N
β΄ π π =π
πβ N = 0 β΄ πβ² π = β
π
ππ
Canβt we take π± βπ
π΅= π?
By Newton Raphson Method, ππ+π = ππ βπ πππβ² ππ
β΄ ππ+π= ππ β
πππ
βπ΅
βπππ
π
= πππ βπ΅πππ
β΄ ππ+π= πππ βπ΅πππ Iterative formula for
π
π΅
By N R Method
![Page 56: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/56.jpg)
Lets find the value of π
ππby using it.
Let us start the iterations with N = 19 and the initial guess ππ = π. ππ,
Just think about the interval for the root of
function π π =π
πβ ππ.
β΄ ππ= πππ β πππππ = π(π. ππ) β ππ(π. ππ)π
Can we take ππ = π?
= π. ππ β π. πππ = π. ππππ
β΄ ππ= πππ β πππππ = π(π. ππππ) β ππ(π. ππππ)π
= π. ππππ β π. πππππ = π. ππ
β΄ ππ= πππ β πππππ= π(π. ππ) β ππ(π. ππ)π
= π. ππ β π. ππππ = π. ππππ
β΄ ππ= πππ β πππππ = π(π. ππππ) β ππ(π. ππππ)π
= π. ππππ β π. πππ = π. ππππ
![Page 57: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/57.jpg)
β΄ ππ= πππ β πππππ = π(π. ππππ) β ππ(π. ππππ)π
= π. ππππ β π. πππ = π. ππππ
β΄ ππ= πππ β πππππ = π(π. ππππ) β ππ(π. ππππ)π
= π. ππππ β π. ππππ= π. ππππ
β΄π
ππ= π. ππππ correct to 3 decimal places.
![Page 58: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/58.jpg)
Pitfalls of N R Method f(x) is continuous and the first derivative is known.
An initial guess x0 such that f β(x0) β 0.
If the initial guess of the root is far from the root the method may notconverge i.e., Convergence Depends on a Good Initial Guess.
X
f(x)
0x
1x2x 0x
1x
![Page 59: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/59.jpg)
N R Method can be divergent or can be produce oscillatory results.
Sometimes, it may converge very slowly.
1:of roots positive theFind :Example 10 xf(x)
5.0 use 10
19
10
1
o
i
iii x
x
xxx:FormulaR -N
Iteration
0
1
2
3
4
5
.
.
38
β
x
0.5
51.65
46.485
41.8365
37.65285
33.887565
1.083
1.0000000
![Page 60: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/60.jpg)
Fixed Point Iteration Method
![Page 61: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/61.jpg)
Fixed Point Iteration
X
Root
x is a root if f(x) = 0,
xexf x
xe x 0
![Page 62: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/62.jpg)
Fixed Point Iteration
X
X
f1(X)
f2(X)f1(X) f2(X)
root
root
xe x 0
xex
![Page 63: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/63.jpg)
Fixed Point Iteration
x is a root if,
X
f1(X)
f2(X)
root
f2(X)
xex
f1(X)
f1(x) = f2(x)
![Page 64: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/64.jpg)
![Page 65: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/65.jpg)
![Page 66: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/66.jpg)
![Page 67: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/67.jpg)
![Page 68: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/68.jpg)
Convergence Examples
Convergent staircase pattern Convergent spiral pattern
![Page 69: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/69.jpg)
Divergence Example
Divergent staircase pattern Divergent spiral pattern
![Page 70: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/70.jpg)
![Page 71: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/71.jpg)
Example 14: Using the method of fixed point iteration, find the roots of ππβπβ π = π correct to four decimal places.
Solution: To check the convergence criteria lets find the interval first,π₯ = 1 βΉ π 1 = β1 < 0
π₯ = 2 βΉ π 2 = 5 > 0
β΄ π₯ β [1, 2]
Lets think to take iterative formula, π₯ = π₯3 β 1β΄ π π₯ = π₯3 β 1 βΉ πβ² π₯ = 3π₯2
As, πβ²(π₯) > 1, πππ βπ₯ β [1,2]β΄ π₯ = π₯3 β 1 will not give the convergent iteration.
Lets think to take next iterative formula, π₯ = (π₯ + 1)1/3
β΄ π π₯ = (π₯ + 1)1/3βΉ πβ² π₯ =1
3(π₯ + 1)2/3
As, πβ²(π₯) < 1, πππ βπ₯ β [1,2]
β΄ π₯ = (π₯ + 1)1/3 will give the convergent iteration.
![Page 72: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/72.jpg)
Hence, fixed point iterative formula be,
π₯π+1 = (π₯π + 1)1/3, π = 0,1,2, β¦
Let, initial approximation be π₯0 = 1.5,
π₯1 = (π₯0 + 1)1/3= (1.5 + 1)1/3= 1.3572
π₯2 = (π₯1 + 1)1/3= (1.3572 + 1)1/3= 1.3309
π₯3 = (π₯2 + 1)1/3= (1.3309 + 1)1/3= 1.3259
π₯4 = (π₯3 + 1)1/3= (1.3259 + 1)1/3= 1.3249
π₯5 = (π₯4 + 1)1/3= (1.3249 + 1)1/3= 1.3248
π₯6 = (π₯5 + 1)1/3= (1.3248 + 1)1/3= 1.3247
π₯7 = (π₯6 + 1)1/3= (1.3247 + 1)1/3= 1.3247
β΄ π =1.3247 is the approximate real root of the given equation correct up to 4
decimal places.
![Page 73: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/73.jpg)
Example 15: Using the method of fixed point iteration, find the roots of ππ + π ππππ = ππ correct to three decimal places.
Solution: To check the convergence criteria lets find the interval first,π₯ = 0 βΉ π 0 = β1 < 0
π₯ = 1 βΉ π 1 = 1.965 > 0
β΄ π₯ β [0, 1]
Lets iterative formula be, π₯ = ln(3π₯ + 2π πππ₯)
β΄ π π₯ = ln(3π₯ + 2π πππ₯) βΉ πβ² π₯ =3 + 2πππ π₯
3π₯ + 2π πππ₯As, gβ² π₯ is undefined for π₯ = 0β΄ π₯ = ln(3π₯ + 2π πππ₯) will not give the convergent
iteration.
Lets think to take next iterative formula, π₯ =1
3(ππ₯ β 2π πππ₯)
β΄ π π₯ =1
3(ππ₯ β 2π πππ₯) βΉ πβ² π₯ =
1
3(ππ₯ β 2πππ π₯)
As, πβ²(π₯) < 1, πππ βπ₯ β [0,1]
β΄ π₯ =1
3(ππ₯ β 2π πππ₯) will give the convergent iteration.
![Page 74: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/74.jpg)
Hence, fixed point iterative formula be,
π₯π+1 =1
3ππ₯π β 2π πππ₯π , π = 0,1,2, β¦
Let, initial approximation be π₯0 = 0.5,
π₯1 =1
3ππ₯0 β 2π πππ₯0 =
1
3π0.5 β 2sin(0.5) = 0.23
π₯2 =1
3ππ₯1 β 2π πππ₯1 =
1
3π0.23 β 2sin(0.23) = 0.2676
π₯3 =1
3ππ₯2 β 2π πππ₯2 =
1
3π0.2676 β 2sin(0.2676) = 0.2593
π₯4 =1
3ππ₯3 β 2π πππ₯3 =
1
3π0.2593 β 2sin(0.2593) = 0.2611
π₯5 =1
3ππ₯4 β 2π πππ₯4 =
1
3π0.2611 β 2sin(0.2611) = 0.2607 β 0.261
β΄ π = π. πππ is the approximate real root of the given equation correct up to 3 decimal
places.
![Page 75: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/75.jpg)
Convergence Criterion of N-R Method
ππ+π = π ππ
ππ+π = ππ βπ πππβ² ππ
βΉ π(ππ) = ππ βπ πππβ² ππ
βΉ π(π) = π βπ π
πβ² πβΉ πβ²(π) = π β
πβ²(π)πβ² π β π π πβ²β²(π)
πβ²(π)π
βΉ πβ²(π) =π π πβ²β²(π)
πβ²(π)π
β΄ πβ²(π) < π βΉ π π πβ²β² π < πβ² π πConvergence Criterion
for N - R Method
![Page 76: Solution of Transcendental & Algebraic EquationsGraphical Method A simple method for obtaining an estimate of the root of the equation f(x) = 0 is to make a plot of the function and](https://reader030.vdocument.in/reader030/viewer/2022040507/5e46dc0ec8d9f9107f2cee82/html5/thumbnails/76.jpg)
Next Chapter:Numerical Solution of System of Linear Equations