SlideShare a Scribd company logo
1 of 40
Download to read offline
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Roots of Nonlinear Equations
Open Methods
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Objectives
• Be able to use the Newton Raphson
method to find a root of an equations
• Be able to use the Secant method to find a
root of an equations
• Write down an algorithm to outline the
method being used
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Fixed Point Iterations
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
 kk xgx 1
Fixed Point Iterations
• Solve   0xf
    0 xgxxf
• Rearrange terms:
• OR
 xgx 
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
In some cases you do not get a
solution!
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Example
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Example
  22
 xxxf Which has the solutions -1 & 2
To get a fixed-point form, we may use:
  22
 xxg
  x
xg 21
  2 xxg
 
12
22



x
x
xg
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
First trial!
• No matter how close
your initial guess is,
the solution diverges!
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Second trial
• The solution converges
in this case!!
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Condition of Convergence
• For the fixed point iteration to ensure
convergence of solution from point xk we should
ensure that
  1' kxg
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Fixed Point Algorithm
1. Rearrange f(x) to get f(x)=x-g(x)
2. Start with a reasonable initial guess x0
3. If |g’(x0)|>=1, goto step 2
4. Evaluate xk+1=g(xk)
5. If (xk+1-xk)/xk+1< es; end
6. Let xk=xk+1; goto step 4
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton-Raphson Method
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton’s Method: Line Equation
 1
21
21
' xf
xx
yy
m 



The slope of the
line is given by:
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton’s Method: Line equation
   1
21
1
' xf
xx
xf


 
 1
1
12
' xf
xf
xx 
 
 k
k
kk
xf
xf
xx
'
1 
Newton-Raphson
Iterative method
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton’s Method: Taylor’s Series
     1121 ' xfxxxf 
 
 1
1
12
' xf
xf
xx 
 
 k
k
kk
xf
xf
xx
'
1 
Newton-Raphson
Iterative method
       11212 ' xfxxxfxf 
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton-Raphson Algorithm
1. From f(x) get f’(x)
2. Start with a reasonable initial guess x0
3. Evaluate xk+1=xk-f(xk)/f’(xk)
4. If (xk+1-xk)/xk+1< es; end
5. Let xk=xk+1; goto step 4
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Secant Method
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Secant Method
21
21
2
2
xx
yy
xx
yy





The line equation
is given by:
  
2
21
221 0
xx
yy
yxx



Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Secant Method
  
2
21
221 0
xx
yy
yxx



 
21
212
2
yy
xxy
xx



  
   kk
kkk
kk
xfxf
xxxf
xx






1
1
1
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Secant Algorithm
1. Select x1 and x2
2. Evaluate f(x1) and f(x2)
3. Evaluate xk+1
4. If (xk+1-xk)/xk+1< es; end
5. Let xk=xk+1; goto step 3
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Why Secant Method?
• The most important advantage over
Newton-Raphson method is that you do
not need to evaluate the derivative!
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Comparing with False-Position
• Actually, false
position ensures
convergence, while
secant method does
not!!!
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Conclusion
• The fixed point iteration, Newton-Raphson
method, and the secant method in general
converge faster than bisection and false position
methods
• On the other hand, these methods do not ensure
convergence!
• The secant method, in many cases, becomes
more practical than Newton-Raphson as
derivatives do not need to be evaluated
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Roots of Nonlinear System
of Equations
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Objectives
• Be able to use the fixed point method to
find a root of a set of equations
• Be able to use the Newton Raphson
method to find a root of a set equations
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Fixed Point Iterations
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
 kk xgx 1
Fixed Point Iterations
• Solve   0xf
    0 xgxxf
• Rearrange terms:
• OR
 xgx 
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
 
 kkk
kkk
yxgy
yxgx
,
,
21
11




Fixed Point Iterations (cont’d)
• Solve  
  0,
0,
2
1


yxf
yxf
   
    0,,
0,,
22
11


yxgyyxf
yxgxyxf• Rearrange terms:
• OR
 
 yxgy
yxgx
,
,
2
1


Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Example
 
  0573
010
2
2
2
1


xyyxf
xyxxf
Which has a solution x=2 & y=3
To get a fixed-point form, we may use:
With initial values: x=1.5 and y=3.5
kkk
k
k
k
yxy
y
x
x
2
1
2
1
357
10





38.245.3*5.1*357
214.2
5.3
5.110
2
1
2
1




y
x
7.42938.24*214.2*357
209.0
38.24
214.210
2
2
2
2





y
x
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Diverging !
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Another trial
k
k
k
kkk
x
y
y
yxx
3
57
10
1
1





861.2
5.1*3
5.357
179.25.3*5.110
1
1




y
x
05.3
179.2*3
861.257
941.1861.2*179.210
2
2




y
x
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Condition of Convergence
• For the fixed point iteration to ensure
convergence of solution from point xk and yk we
should ensure that
1
1
21
21












y
g
y
g
and
x
g
x
g
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton-Raphson Method
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Newton’s Method: Taylor’s Series
   1
21
1
' xf
xx
xf


 
 1
1
12
' xf
xf
xx 
 
 k
k
kk
xf
xf
xx
'
1 
Newton-Raphson
Iterative method
     112 ' xxfxfxf 
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Taylor’s series in multiple variables
   
   
y
f
y
x
f
xyxfyxf
y
f
y
x
f
xyxfyxf












22
112222
11
111221
,,
,,
 
 112
22
111
11
,
,
yxf
y
f
y
x
f
x
yxf
y
f
y
x
f
x














Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Manipulating the equations
 
 




































112
111
22
11
,
,
yxf
yxf
y
x
y
f
x
f
y
f
x
f
Solve for x and y then evaluate:






















y
x
y
x
y
x
1
1
2
2
Repeat until convergence
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Example
 
  0573
010
2
2
2
1


xyyxf
xyxxf
Which has a solution x=2 & y=3
With initial values: x=1.5 and y=3.5
Get the derivatives
xy
y
f
y
x
f
x
y
f
yx
x
f
613
2
222
11












Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Example
Using initial values: x=1.5 and y=3.5
Get the derivatives
5.3275.36
5.15.6
22
11












y
f
x
f
y
f
x
f






















625.1
5.2
5.3275.36
5.15.6
y
x
















656.0
536.0
y
x













844.2
036.2
2
2
y
x
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Conclusion
• The fixed point iteration and Newton-
Raphson methods were used to find a
solution for a system of nonlinear
equations in a manner similar to that used
in single-variable problems
Roots of Non-Linear Equations
Mohammad Tawfik
#WikiCourses
http://WikiCourses.WikiSpaces.com
Homework #2
• Chapter 6, p 171, numbers:
6.1,6.2,6.3,6.16,6.17
• Homework due next week

More Related Content

What's hot

Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equationsZunAib Ali
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical AnalysisMohammad Tawfik
 
CHAP6 Limits and Continuity.pdf
CHAP6 Limits and Continuity.pdfCHAP6 Limits and Continuity.pdf
CHAP6 Limits and Continuity.pdfmekkimekki5
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference InterpolationVARUN KUMAR
 
False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi methodNasima Akhtar
 
Numerical method for solving non linear equations
Numerical method for solving non linear equationsNumerical method for solving non linear equations
Numerical method for solving non linear equationsMdHaque78
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical IntegrationTausif Shahanshah
 
Nams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methodsNams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methodsRuchi Maurya
 
Analytic Geometry
Analytic GeometryAnalytic Geometry
Analytic Geometryvmayyy
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...vaibhav tailor
 
Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)Eqah Ihah
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Dilerkishor pokar
 

What's hot (20)

Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
03 open methods
03 open methods03 open methods
03 open methods
 
Initial Value Problems
Initial Value ProblemsInitial Value Problems
Initial Value Problems
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Numerical analysis ppt
Numerical analysis pptNumerical analysis ppt
Numerical analysis ppt
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
 
CHAP6 Limits and Continuity.pdf
CHAP6 Limits and Continuity.pdfCHAP6 Limits and Continuity.pdf
CHAP6 Limits and Continuity.pdf
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi method
 
numerical methods
numerical methodsnumerical methods
numerical methods
 
Numerical method for solving non linear equations
Numerical method for solving non linear equationsNumerical method for solving non linear equations
Numerical method for solving non linear equations
 
Presentation on Numerical Integration
Presentation on Numerical IntegrationPresentation on Numerical Integration
Presentation on Numerical Integration
 
Nams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methodsNams- Roots of equations by numerical methods
Nams- Roots of equations by numerical methods
 
Analytic Geometry
Analytic GeometryAnalytic Geometry
Analytic Geometry
 
Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...Numerical integration;Gaussian integration one point, two point and three poi...
Numerical integration;Gaussian integration one point, two point and three poi...
 
Introduction of Partial Differential Equations
Introduction of Partial Differential EquationsIntroduction of Partial Differential Equations
Introduction of Partial Differential Equations
 
Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)Assignment grouping 2(bungee jumping) (edit)
Assignment grouping 2(bungee jumping) (edit)
 
system of linear equations by Diler
system of linear equations by Dilersystem of linear equations by Diler
system of linear equations by Diler
 

Viewers also liked

Interpolation Generalized
Interpolation GeneralizedInterpolation Generalized
Interpolation GeneralizedMohammad Tawfik
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methodsTarun Gehlot
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-DMohammad Tawfik
 
Numerical Analysis (Solution of Non-Linear Equations)
Numerical Analysis (Solution of Non-Linear Equations)Numerical Analysis (Solution of Non-Linear Equations)
Numerical Analysis (Solution of Non-Linear Equations)Asad Ali
 
Boundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceBoundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceMohammad Tawfik
 
System of Initial Value Problems
System of Initial Value ProblemsSystem of Initial Value Problems
System of Initial Value ProblemsMohammad Tawfik
 
Newmark Time Integration
Newmark Time IntegrationNewmark Time Integration
Newmark Time IntegrationMohammad Tawfik
 
Application of Numerical method in Real Life
Application of Numerical method in Real LifeApplication of Numerical method in Real Life
Application of Numerical method in Real LifeTaqwa It Center
 
Newton method based iterative learning control for nonlinear systems
Newton method based iterative learning control for nonlinear systemsNewton method based iterative learning control for nonlinear systems
Newton method based iterative learning control for nonlinear systemsTian Lin
 
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)Minhas Kamal
 
FEM: Introduction and Weighted Residual Methods
FEM: Introduction and Weighted Residual MethodsFEM: Introduction and Weighted Residual Methods
FEM: Introduction and Weighted Residual MethodsMohammad Tawfik
 

Viewers also liked (20)

Interpolation Methods
Interpolation MethodsInterpolation Methods
Interpolation Methods
 
Interpolation Generalized
Interpolation GeneralizedInterpolation Generalized
Interpolation Generalized
 
Applications of numerical methods
Applications of numerical methodsApplications of numerical methods
Applications of numerical methods
 
Finite Element for Trusses in 2-D
Finite Element for Trusses in 2-DFinite Element for Trusses in 2-D
Finite Element for Trusses in 2-D
 
Numerical Analysis (Solution of Non-Linear Equations)
Numerical Analysis (Solution of Non-Linear Equations)Numerical Analysis (Solution of Non-Linear Equations)
Numerical Analysis (Solution of Non-Linear Equations)
 
Boundary Value Problems - Finite Difference
Boundary Value Problems - Finite DifferenceBoundary Value Problems - Finite Difference
Boundary Value Problems - Finite Difference
 
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZEAPPLICATION OF NUMERICAL METHODS IN SMALL SIZE
APPLICATION OF NUMERICAL METHODS IN SMALL SIZE
 
System of Initial Value Problems
System of Initial Value ProblemsSystem of Initial Value Problems
System of Initial Value Problems
 
Newmark Time Integration
Newmark Time IntegrationNewmark Time Integration
Newmark Time Integration
 
bisection method
bisection methodbisection method
bisection method
 
What is Optimization
What is OptimizationWhat is Optimization
What is Optimization
 
Numerical Integration
Numerical IntegrationNumerical Integration
Numerical Integration
 
Application of Numerical method in Real Life
Application of Numerical method in Real LifeApplication of Numerical method in Real Life
Application of Numerical method in Real Life
 
Newton method based iterative learning control for nonlinear systems
Newton method based iterative learning control for nonlinear systemsNewton method based iterative learning control for nonlinear systems
Newton method based iterative learning control for nonlinear systems
 
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)
Numerical Method Analysis: Algebraic and Transcendental Equations (Non-Linear)
 
FEM: 2-D Problems
FEM: 2-D ProblemsFEM: 2-D Problems
FEM: 2-D Problems
 
FEM: Bars and Trusses
FEM: Bars and TrussesFEM: Bars and Trusses
FEM: Bars and Trusses
 
FEM: Introduction and Weighted Residual Methods
FEM: Introduction and Weighted Residual MethodsFEM: Introduction and Weighted Residual Methods
FEM: Introduction and Weighted Residual Methods
 
FEM: Beams
FEM: BeamsFEM: Beams
FEM: Beams
 
FEM: Element Equations
FEM: Element EquationsFEM: Element Equations
FEM: Element Equations
 

More from Mohammad Tawfik

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Mohammad Tawfik
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionMohammad Tawfik
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsMohammad Tawfik
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementMohammad Tawfik
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision makingMohammad Tawfik
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introductionMohammad Tawfik
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management BasicsMohammad Tawfik
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation SkillsMohammad Tawfik
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - MarketingMohammad Tawfik
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - IntegrationMohammad Tawfik
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkMohammad Tawfik
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionMohammad Tawfik
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind EnergyMohammad Tawfik
 

More from Mohammad Tawfik (20)

Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073Supply Chain Management for Engineers - INDE073
Supply Chain Management for Engineers - INDE073
 
Supply Chain Management 01 - Introduction
Supply Chain Management 01 - IntroductionSupply Chain Management 01 - Introduction
Supply Chain Management 01 - Introduction
 
Supply Chain Management 02 - Logistics
Supply Chain Management 02 - LogisticsSupply Chain Management 02 - Logistics
Supply Chain Management 02 - Logistics
 
Supply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory ManagementSupply Chain Management 03 - Inventory Management
Supply Chain Management 03 - Inventory Management
 
Creative problem solving and decision making
Creative problem solving and decision makingCreative problem solving and decision making
Creative problem solving and decision making
 
Digital content for teaching introduction
Digital content for teaching introductionDigital content for teaching introduction
Digital content for teaching introduction
 
Crisis Management Basics
Crisis Management BasicsCrisis Management Basics
Crisis Management Basics
 
DISC Personality Model
DISC Personality ModelDISC Personality Model
DISC Personality Model
 
Training of Trainers
Training of TrainersTraining of Trainers
Training of Trainers
 
Effective Delegation Skills
Effective Delegation SkillsEffective Delegation Skills
Effective Delegation Skills
 
Train The Trainer
Train The TrainerTrain The Trainer
Train The Trainer
 
Business Management - Marketing
Business Management - MarketingBusiness Management - Marketing
Business Management - Marketing
 
Stress Management
Stress ManagementStress Management
Stress Management
 
Project Management (CAPM) - Integration
Project Management (CAPM) - IntegrationProject Management (CAPM) - Integration
Project Management (CAPM) - Integration
 
Project Management (CAPM) - The Framework
Project Management (CAPM) - The FrameworkProject Management (CAPM) - The Framework
Project Management (CAPM) - The Framework
 
Project Management (CAPM) - Introduction
Project Management (CAPM) - IntroductionProject Management (CAPM) - Introduction
Project Management (CAPM) - Introduction
 
The Creative Individual
The Creative IndividualThe Creative Individual
The Creative Individual
 
Introduction to Wind Energy
Introduction to Wind EnergyIntroduction to Wind Energy
Introduction to Wind Energy
 
Future of Drones ITW'16
Future of Drones ITW'16Future of Drones ITW'16
Future of Drones ITW'16
 
Vibration Absorber
Vibration AbsorberVibration Absorber
Vibration Absorber
 

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 

Recently uploaded (20)

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Roots of Nonlinear Equations - Open Methods

  • 1. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Roots of Nonlinear Equations Open Methods
  • 2. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Objectives • Be able to use the Newton Raphson method to find a root of an equations • Be able to use the Secant method to find a root of an equations • Write down an algorithm to outline the method being used
  • 3. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Fixed Point Iterations
  • 4. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com  kk xgx 1 Fixed Point Iterations • Solve   0xf     0 xgxxf • Rearrange terms: • OR  xgx 
  • 5. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com In some cases you do not get a solution!
  • 6. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Example
  • 7. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Example   22  xxxf Which has the solutions -1 & 2 To get a fixed-point form, we may use:   22  xxg   x xg 21   2 xxg   12 22    x x xg
  • 8. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com First trial! • No matter how close your initial guess is, the solution diverges!
  • 9. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Second trial • The solution converges in this case!!
  • 10. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Condition of Convergence • For the fixed point iteration to ensure convergence of solution from point xk we should ensure that   1' kxg
  • 11. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Fixed Point Algorithm 1. Rearrange f(x) to get f(x)=x-g(x) 2. Start with a reasonable initial guess x0 3. If |g’(x0)|>=1, goto step 2 4. Evaluate xk+1=g(xk) 5. If (xk+1-xk)/xk+1< es; end 6. Let xk=xk+1; goto step 4
  • 12. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton-Raphson Method
  • 13. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton’s Method: Line Equation  1 21 21 ' xf xx yy m     The slope of the line is given by:
  • 14. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton’s Method: Line equation    1 21 1 ' xf xx xf      1 1 12 ' xf xf xx     k k kk xf xf xx ' 1  Newton-Raphson Iterative method
  • 15. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton’s Method: Taylor’s Series      1121 ' xfxxxf     1 1 12 ' xf xf xx     k k kk xf xf xx ' 1  Newton-Raphson Iterative method        11212 ' xfxxxfxf 
  • 16. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton-Raphson Algorithm 1. From f(x) get f’(x) 2. Start with a reasonable initial guess x0 3. Evaluate xk+1=xk-f(xk)/f’(xk) 4. If (xk+1-xk)/xk+1< es; end 5. Let xk=xk+1; goto step 4
  • 17. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Secant Method
  • 18. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Secant Method 21 21 2 2 xx yy xx yy      The line equation is given by:    2 21 221 0 xx yy yxx   
  • 19. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Secant Method    2 21 221 0 xx yy yxx      21 212 2 yy xxy xx          kk kkk kk xfxf xxxf xx       1 1 1
  • 20. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Secant Algorithm 1. Select x1 and x2 2. Evaluate f(x1) and f(x2) 3. Evaluate xk+1 4. If (xk+1-xk)/xk+1< es; end 5. Let xk=xk+1; goto step 3
  • 21. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Why Secant Method? • The most important advantage over Newton-Raphson method is that you do not need to evaluate the derivative!
  • 22. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Comparing with False-Position • Actually, false position ensures convergence, while secant method does not!!!
  • 23. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Conclusion • The fixed point iteration, Newton-Raphson method, and the secant method in general converge faster than bisection and false position methods • On the other hand, these methods do not ensure convergence! • The secant method, in many cases, becomes more practical than Newton-Raphson as derivatives do not need to be evaluated
  • 24. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Roots of Nonlinear System of Equations
  • 25. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Objectives • Be able to use the fixed point method to find a root of a set of equations • Be able to use the Newton Raphson method to find a root of a set equations
  • 26. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Fixed Point Iterations
  • 27. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com  kk xgx 1 Fixed Point Iterations • Solve   0xf     0 xgxxf • Rearrange terms: • OR  xgx 
  • 28. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com    kkk kkk yxgy yxgx , , 21 11     Fixed Point Iterations (cont’d) • Solve     0, 0, 2 1   yxf yxf         0,, 0,, 22 11   yxgyyxf yxgxyxf• Rearrange terms: • OR    yxgy yxgx , , 2 1  
  • 29. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Example     0573 010 2 2 2 1   xyyxf xyxxf Which has a solution x=2 & y=3 To get a fixed-point form, we may use: With initial values: x=1.5 and y=3.5 kkk k k k yxy y x x 2 1 2 1 357 10      38.245.3*5.1*357 214.2 5.3 5.110 2 1 2 1     y x 7.42938.24*214.2*357 209.0 38.24 214.210 2 2 2 2      y x
  • 30. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Diverging !
  • 31. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Another trial k k k kkk x y y yxx 3 57 10 1 1      861.2 5.1*3 5.357 179.25.3*5.110 1 1     y x 05.3 179.2*3 861.257 941.1861.2*179.210 2 2     y x
  • 32. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Condition of Convergence • For the fixed point iteration to ensure convergence of solution from point xk and yk we should ensure that 1 1 21 21             y g y g and x g x g
  • 33. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton-Raphson Method
  • 34. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Newton’s Method: Taylor’s Series    1 21 1 ' xf xx xf      1 1 12 ' xf xf xx     k k kk xf xf xx ' 1  Newton-Raphson Iterative method      112 ' xxfxfxf 
  • 35. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Taylor’s series in multiple variables         y f y x f xyxfyxf y f y x f xyxfyxf             22 112222 11 111221 ,, ,,    112 22 111 11 , , yxf y f y x f x yxf y f y x f x              
  • 36. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Manipulating the equations                                         112 111 22 11 , , yxf yxf y x y f x f y f x f Solve for x and y then evaluate:                       y x y x y x 1 1 2 2 Repeat until convergence
  • 37. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Example     0573 010 2 2 2 1   xyyxf xyxxf Which has a solution x=2 & y=3 With initial values: x=1.5 and y=3.5 Get the derivatives xy y f y x f x y f yx x f 613 2 222 11            
  • 38. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Example Using initial values: x=1.5 and y=3.5 Get the derivatives 5.3275.36 5.15.6 22 11             y f x f y f x f                       625.1 5.2 5.3275.36 5.15.6 y x                 656.0 536.0 y x              844.2 036.2 2 2 y x
  • 39. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Conclusion • The fixed point iteration and Newton- Raphson methods were used to find a solution for a system of nonlinear equations in a manner similar to that used in single-variable problems
  • 40. Roots of Non-Linear Equations Mohammad Tawfik #WikiCourses http://WikiCourses.WikiSpaces.com Homework #2 • Chapter 6, p 171, numbers: 6.1,6.2,6.3,6.16,6.17 • Homework due next week