Lecture 3 - Differentiation Applications
Lecture 3 - Differentiation Applications
MATHEMATICS II
Part 1: Differential Calculus
Lecture 3
Differentiation Applications
Newton-Raphson Method
By
M. Esmail
Email: [email protected]
Office: 0143 Mechatronic Department
Find the root of an equation
A frequently occurring problem is to find the roots of
equations of the form f(x) = 0
If f(x) is a polynomial of higher degree or an expression
involving transcendental functions (e.g. 1 + cos x – 5x), then
algebraic methods are not available.
However, Theses equations can be solved graphically or by
the methods of successive approximations to the root.
Successive approximations is called iterative methods.
In the graph solution, the root of the function, say y=f (x), is
determined by sketching its graph and determine the
approximate values of roots from the points where the
graph cuts the x-axis.
Iterative Methods
Bisection Method
Theorem
If
f(x) = 0,
A function f(x) is continuous between two points xa and
xb,
f(xa) and f(xb) are of opposite sign,
f(xb) is positive
xc= (xa+xb)/2
f(xc) negative
f(xa) negative
Let, xa = 0 and xb = 1.
xc = (0 + 1) /2 = 0.5,
f(0.5) = 0.125. Now f(xa) and f(xc) has opposite signs
So, the next interval is [0, 0.5]
Class exercise
3.2 History, Newton-Raphson Method
• Discovered by Isaac Newton and
published in his Method of Fluxions, 1736
• Joseph Raphson described the method in
Analysis Aequationum in 1690.
• Today it is used in a wide variety of
subjects, including Computer Vision and
Artificial Intelligence.
• this method show the use of the
differentiation techniques in the solution of
the numerical equation problem
• the formula of method can be obtained
derived graphically or through Taylor
theorem.
Derivation
Let BC be the tangent to the curve at B, crossing the the x-axis at
xn+1. then from the diagram the slope of curve given by tan(θ)
f(x)
AB
tan(
AC
f(xn) B
f ( xn )
f ' ( xi )
xn xn1
C A x
xn+1 xn
f ( xn )
xn 1 xn
f ( xn )
-2
-3
1 2
f x x 3
2
f x x
Guess: 3
1 2
f 3 3 3 1.5
2
mtangent f 3 3
1.5
3 2.5
3 (new guess)
1 2
f x x 3
2
f x x
Guess: 2.5
1
f 2.5 2.5 3 .125
2
2
mtangent f 2.5 2.5
.125
2.5 2.45
2.5 (new guess)
1 2
f x x 3
2
f x x
Guess: 2.45
f 2.45 .00125
z
.00125
2.45 2.44948979592 (new guess)
2.45
Guess: 2.44948979592
f 2.44948979592 .00000013016