Professional Documents
Culture Documents
Roots of Equations
Multiple Roots
Systems of Nonlinear Equations
2
LESSON OUTCOMES
• Double root f ( x) x 3 5 x 2 7 x 3
– f(x) = (x–3)(x–1)(x–1) ~ one value of x makes two terms in
the equation equal to zero
– Axis is not cross (even roots)
• Triple root f ( x) x 4 6 x3 12 x 2 10 x 3
– f(x) = (x–3)(x–1)(x–1)(x–1) ~ one value of x makes three
terms in the equation equal to zero
– Axis is cross (odd roots)
4
Figure shows (a) through (c) show
Consequently, multiple roots pose several cases of multiple roots.
several limitations for the numerical
methods. There are two possible
difficulties:
7
Example
Use both standard and modified Newton-Raphson
methods to evaluate the multiple root for
f ( x) x 5 x 7 x 3
3 2
8
Exercise
Use the modified Newton-Raphson method to find
the root of the following polynomial function
f(x) = x3 - 7x2 + 8x +16 = 0
until the relative error is less than 0.05%.
Use (i) x = 0 and (ii) x = 2.0 as initial guess.
9
i) x = 0
Ite. xi f(xi) f’(xi) f’’(xi) xi+1 εa(%)
1 0.0 16.0 8.0 -14.0 -0.4444 -
Note: f’(x) does not approach zero, so x = 1.0 is not a multiple root.
ii) x = 2
Ite. xi f(xi) f’(xi) f’’(xi) xi+1 εa(%)
1 2.0 12.0 -8.0 -2.0 3.0909 -
10
SYSTEMS OF NONLINEAR EQUATIONS
Linear equations
f1 ( x1 , x2 , x3 , , xn ) 0
f 2 ( x1 , x2 , x3 , , xn ) 0
f n ( x1 , x2 , x3 , , xn ) 0
Which can be solved for
f ( x) a1 x1 a 2 x2 ... anxn b 0
11
Non-linear equations
x 2 xy 10
y 3xy 2 57
Which can be solved for using expression:
u ( x, y ) x xy 10 0
2
v( x, y ) y 3xy 57 0
2
12
• Solution of the nonlinear equations using open methods
Newton Raphson
13
Example: Fixed point iteration
Determine the roots using fixed-point iteration with initial
guesses of x = 1.5 and y = 3.5
u ( x, y ) x 2 xy 10 0
v( x, y ) y 3xy 2 57 0
14
Newton-Raphson method
17
Exercise
Determine the roots of the following
simultaneous equations using
(a) fixed-point iteration
(b) Newton-Raphson method
y = -x2 + x + 0.75
y + 5xy = x2
Employ initial guesses of x=y=1.2 until the
approximate error is less than 0.05%.
18