SlideShare a Scribd company logo
Newton-Raphson IterationNewton-Raphson Iteration
Subject-NTSM (MATHS 4)
GEC Gandhinagar Sector-28
Bhojani Nemish V.-150130103017
Module C3
MEI/OCR
)(1 nn xgx =+
It isn’t always possible to find iterative formulae of
the type
that will find the solution of every equation.
Another iterative method that is useful is called the
Newton-Raphson method.
)(xfy =
Suppose we want to find an approximate solution to
the equation
0)( =xf
The root
lies between
1 and 2.
α
α
To see how the method works, we’ll sketch
using .
)(xfy =
1)( 3
−−= xxxf
We’ll zoom in
near α
)(xfy =
α
Suppose our first estimate is given by .20 =x
We draw the tangent to the curve at 0x
0x
Each point , , . . . is closer to .1x 2x α
1x
Repeating . . .
2x
The point where the tangent meets the x-axis we
call .1x
)(xfy =
0x1x
),( 00 yx x
To carry out the iteration we need to find the points
where the tangents meet the x-axis.
The grad. of the tangent
x
y
inchangethe
inchangethe
=
10
0
0
xx
y
x
dx
dy
−
=⇒ at
0y
10 xx −
)( 00 xfy = and
10
0
0
xx
y
x
dx
dy
−
=at
We have and we need to find .
1x
Then,
10
0
0
/ )(
)(
xx
xf
xf
−
=
Rearranging:
)(
)(
0
/
0
10
xf
xf
xx =−
)(
)(
0
/
0
01
xf
xf
xx −=⇒
Using and in the formula isn’t very
convenient, so, since we have)(xfy =
0x
dx
dy
at0y
)( 0
/
10
0
0 xf
xx
y
x
dx
dy
=
−
=at
)(
)(
0
/
0
01
xf
xf
xx −=So,
We just need to alter the subscripts to find :2x
)(
)(
1
/
1
12
xf
xf
xx −=
Generalising gives
)(
)(
/1
n
n
nn
xf
xf
xx −=+
We don’t need a diagram to use this formula but
we must know how to differentiate .)(xf
Convergence is often very fast.
e.g. Use the Newton-Raphson method with
to find the root of the equation
20 =x
013
=−− xx
correct to 4 d.p.
Solution: Let 1)( 3
−−= xxxf
Differentiate: 13)( 2/
−= xxf
)(
)(
/1
n
n
nn
xf
xf
xx −=+
)13(
)1(
2
3
1
−
−−
−=⇒ +
n
nn
nn
x
xx
xx
Using a calculator we need: ENTER,2
)d.p.( 461801⋅=x
ANS
ANS(ANS
ANS
)13(
)1
2
3
−
−−
−Then,
SUMMARY
To use the Newton-Raphson method to estimate a
root of an equation:
 rearrange the equation into the form 0)( =xf
 choose a suitable starting value for 0x
 substitute and into the formula)(xf )(/
xf
 differentiate to find)(xf )(/
xf
Tip: It saves a lot of errors if, before you type the
formula into your calculator, you write the formula
with ANS replacing every x.
 use a calculator to iterate
)(
)(
/1
n
n
nn
xf
xf
xx −=+
Exercise
1. (a) Use the Newton-Raphson method to estimate
the root of the following equation to 6 d.p.
using the starting value given:
;022 23
=−+ xx 10 =x
(b) What happens if you use ?
22 23
−+= xxy
00 =x
(c) Use your calculator or a graph plotter to
sketch the graph of .
(d) What is special about the graph at
and why does it explain the answer to (b) ?
00 =x
2. Use the Newton-Raphson method to estimate one
root of to 4 d.p. usingxx −= 1cos3 20 =x
Solution: Let 22)( 23
−+= xxxf
;022 23
=−+ xx 10 =x(a)
xxxf 43)( 2/
+=⇒
)(
)(
/1
n
n
nn
xf
xf
xx −=+
)43(
)22(
2
23
1
nn
nn
nn
xx
xx
xx
+
−+
−=⇒ +
ANS)ANS
ANS(ANS
ANS
43(
)22
2
23
+
−+
−=
...,8395450,8571430,1 210 ⋅=⋅== xxx
)d.p.6(8392870⋅=x
The iteration fails immediately.
(b) What happens if you use ?00 =x
)43(
)22(
2
23
1
nn
nn
nn
xx
xx
xx
+
−+
−=+
(c)
22 23
−+= xxy
At x = 0, there is a
stationary point.
We also notice that the tangent never meets
the x-axis.
At a stationary point
so in the
formula we are
dividing by 0.
0)(/
=xf
Solution:
,20 =x
2. Use the Newton-Raphson method to estimate one
root of to 4 d.p. usingxx −= 1cos3 20 =x
Let xxxf +−= 1cos3)(
1sin3)(/
+−= xxf⇒
)(
)(
/1
n
n
nn
xf
xf
xx −=+ ⇒
)1sin3(
)1cos3(
1
+−
+−
−=+
n
nn
nn
x
xx
xx
Radians!
86241,85621 21 ⋅=⋅= xx
)d.p.( 486241⋅=x
⇒
)1sin3(
)1cos3(
1
+−
+−
−=+
ANS
ANSANS
ANSxn
The Newton-Raphson method will fail if
 i.e. at a stationary point0)(/
=xf
It will also sometimes fail to give the expected root
if the initial value is close to a stationary point.
Can you draw a graph to show what could happen in
this case?
This is one example.
152 23
−−+= xxxy
With the iteration gives the root
instead of the closer root .
910 ⋅−=x
5761⋅=x 1870⋅−=x
0x
The following slides contain repeats of
information on earlier slides, shown without
colour, so that they can be printed and
photocopied.
For most purposes the slides can be printed
as “Handouts” with up to 6 slides per sheet.
)(1 nn xgx =+
It isn’t always possible to find iterative formulae of
the type
that will find the solution of every equation.
Another iterative method that is useful is called the
Newton-Raphson method.
SUMMARY
To use the Newton-Raphson method to estimate a
root of an equation:
 rearrange the equation into the form 0)( =xf
 choose a suitable starting value for 0x
 substitute and into the formula)(xf )(/
xf
 differentiate to find)(xf )(/
xf
Tip: It saves a lot of errors if, before you type the
formula into your calculator, you write the formula
with ANS replacing every x.
 use a calculator to iterate
e.g. Use the Newton-Raphson method with
to find the root of the equation
20 =x
013
=−− xx
correct to 4 d.p.
Solution: Let 1)( 3
−−= xxxf
Differentiate: 13)( 2/
−= xxf
)(
)(
/1
n
n
nn
xf
xf
xx −=+
13
1
2
3
1
−
−−
−=⇒ +
n
nn
nn
x
xx
xx
Using a calculator we need: ENTER,2
)d.p.( 461801⋅=x
ANS
ANSANS
ANS
13
1
2
3
−
−−
−Then,
The Newton-Raphson method will fail if
 i.e. at a stationary point0)(/
=xf
It will also sometimes fail if the initial value is
close to a stationary point.

More Related Content

What's hot

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
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
Bijay Mishra
 
Es272 ch4b
Es272 ch4bEs272 ch4b
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
Teja Ande
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
Matlab Assignment Experts
 
Es272 ch4a
Es272 ch4aEs272 ch4a
Numerical method-Picards,Taylor and Curve Fitting.
Numerical method-Picards,Taylor and Curve Fitting.Numerical method-Picards,Taylor and Curve Fitting.
Numerical method-Picards,Taylor and Curve Fitting.
Keshav Sahu
 
Applied numerical methods lec14
Applied numerical methods lec14Applied numerical methods lec14
Applied numerical methods lec14
Yasser Ahmed
 
Series solutions at ordinary point and regular singular point
Series solutions at ordinary point and regular singular pointSeries solutions at ordinary point and regular singular point
Series solutions at ordinary point and regular singular point
vaibhav tailor
 
Mit18 330 s12_chapter4
Mit18 330 s12_chapter4Mit18 330 s12_chapter4
Mit18 330 s12_chapter4
CAALAAA
 
Cramer row inequality
Cramer row inequality Cramer row inequality
Cramer row inequality
VashuGupta8
 
Introduction to differentiation
Introduction to differentiationIntroduction to differentiation
Introduction to differentiation
Shaun Wilson
 
METHOD OF JACOBI
METHOD OF JACOBIMETHOD OF JACOBI
METHOD OF JACOBI
jorgeduardooo
 
residue
residueresidue
residue
Rob Arnold
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivatives
divaprincess09
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
Tarun Gehlot
 
Es272 ch1
Es272 ch1Es272 ch1
Sc ppt
Sc pptSc ppt
Project on CFD using MATLAB
Project on CFD using MATLABProject on CFD using MATLAB
Project on CFD using MATLAB
Rohit Avadhani
 
Es272 ch3b
Es272 ch3bEs272 ch3b

What's hot (20)

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)
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Es272 ch4b
Es272 ch4bEs272 ch4b
Es272 ch4b
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Matlab Assignment Help
Matlab Assignment HelpMatlab Assignment Help
Matlab Assignment Help
 
Es272 ch4a
Es272 ch4aEs272 ch4a
Es272 ch4a
 
Numerical method-Picards,Taylor and Curve Fitting.
Numerical method-Picards,Taylor and Curve Fitting.Numerical method-Picards,Taylor and Curve Fitting.
Numerical method-Picards,Taylor and Curve Fitting.
 
Applied numerical methods lec14
Applied numerical methods lec14Applied numerical methods lec14
Applied numerical methods lec14
 
Series solutions at ordinary point and regular singular point
Series solutions at ordinary point and regular singular pointSeries solutions at ordinary point and regular singular point
Series solutions at ordinary point and regular singular point
 
Mit18 330 s12_chapter4
Mit18 330 s12_chapter4Mit18 330 s12_chapter4
Mit18 330 s12_chapter4
 
Cramer row inequality
Cramer row inequality Cramer row inequality
Cramer row inequality
 
Introduction to differentiation
Introduction to differentiationIntroduction to differentiation
Introduction to differentiation
 
METHOD OF JACOBI
METHOD OF JACOBIMETHOD OF JACOBI
METHOD OF JACOBI
 
residue
residueresidue
residue
 
The Application of Derivatives
The Application of DerivativesThe Application of Derivatives
The Application of Derivatives
 
Linear approximations and_differentials
Linear approximations and_differentialsLinear approximations and_differentials
Linear approximations and_differentials
 
Es272 ch1
Es272 ch1Es272 ch1
Es272 ch1
 
Sc ppt
Sc pptSc ppt
Sc ppt
 
Project on CFD using MATLAB
Project on CFD using MATLABProject on CFD using MATLAB
Project on CFD using MATLAB
 
Es272 ch3b
Es272 ch3bEs272 ch3b
Es272 ch3b
 

Similar to Newton-Raphson Iteration marths 4 ntsm

Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
Nasima Akhtar
 
S3-3.pdf
S3-3.pdfS3-3.pdf
S3-3.pdf
MuhammadSajed1
 
Newton
NewtonNewton
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
sheetslibrary
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
ZunAib Ali
 
Newton raphsonmethod presentation
Newton raphsonmethod presentationNewton raphsonmethod presentation
Newton raphsonmethod presentation
Abdullah Moin
 
Problems 2
Problems 2Problems 2
Problems 2
Marcela Carrillo
 
104newton solution
104newton solution104newton solution
104newton solution
VictorQuezada38
 
Lecture6
Lecture6Lecture6
Lecture6
ladybuzz_89
 
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Xin-She Yang
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
wraithxjmin
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 
B02110105012
B02110105012B02110105012
B02110105012
theijes
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCH
Makaha Rutendo
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
Mileacre
 
Equations root
Equations rootEquations root
Equations root
Mileacre
 
Quadrature
QuadratureQuadrature
Quadrature
Linh Tran
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
mathsjournal
 
AJMS_402_22_Reprocess_new.pdf
AJMS_402_22_Reprocess_new.pdfAJMS_402_22_Reprocess_new.pdf
AJMS_402_22_Reprocess_new.pdf
BRNSS Publication Hub
 
Calc 3.8
Calc 3.8Calc 3.8
Calc 3.8
hartcher
 

Similar to Newton-Raphson Iteration marths 4 ntsm (20)

Newton Raphson
Newton RaphsonNewton Raphson
Newton Raphson
 
S3-3.pdf
S3-3.pdfS3-3.pdf
S3-3.pdf
 
Newton
NewtonNewton
Newton
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Newton raphsonmethod presentation
Newton raphsonmethod presentationNewton raphsonmethod presentation
Newton raphsonmethod presentation
 
Problems 2
Problems 2Problems 2
Problems 2
 
104newton solution
104newton solution104newton solution
104newton solution
 
Lecture6
Lecture6Lecture6
Lecture6
 
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
Nature-Inspired Metaheuristic Algorithms for Optimization and Computational I...
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
The International Journal of Engineering and Science (The IJES)
 The International Journal of Engineering and Science (The IJES) The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
 
B02110105012
B02110105012B02110105012
B02110105012
 
OPERATIONS RESEARCH
OPERATIONS RESEARCHOPERATIONS RESEARCH
OPERATIONS RESEARCH
 
Roots of equations
Roots of equationsRoots of equations
Roots of equations
 
Equations root
Equations rootEquations root
Equations root
 
Quadrature
QuadratureQuadrature
Quadrature
 
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
Fractional Newton-Raphson Method and Some Variants for the Solution of Nonlin...
 
AJMS_402_22_Reprocess_new.pdf
AJMS_402_22_Reprocess_new.pdfAJMS_402_22_Reprocess_new.pdf
AJMS_402_22_Reprocess_new.pdf
 
Calc 3.8
Calc 3.8Calc 3.8
Calc 3.8
 

Recently uploaded

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
National Information Standards Organization (NISO)
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
sayalidalavi006
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 

Recently uploaded (20)

World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
Pollock and Snow "DEIA in the Scholarly Landscape, Session One: Setting Expec...
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5Community pharmacy- Social and preventive pharmacy UNIT 5
Community pharmacy- Social and preventive pharmacy UNIT 5
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 

Newton-Raphson Iteration marths 4 ntsm

  • 1. Newton-Raphson IterationNewton-Raphson Iteration Subject-NTSM (MATHS 4) GEC Gandhinagar Sector-28 Bhojani Nemish V.-150130103017
  • 3. )(1 nn xgx =+ It isn’t always possible to find iterative formulae of the type that will find the solution of every equation. Another iterative method that is useful is called the Newton-Raphson method.
  • 4. )(xfy = Suppose we want to find an approximate solution to the equation 0)( =xf The root lies between 1 and 2. α α To see how the method works, we’ll sketch using . )(xfy = 1)( 3 −−= xxxf We’ll zoom in near α
  • 5. )(xfy = α Suppose our first estimate is given by .20 =x We draw the tangent to the curve at 0x 0x Each point , , . . . is closer to .1x 2x α 1x Repeating . . . 2x The point where the tangent meets the x-axis we call .1x
  • 6. )(xfy = 0x1x ),( 00 yx x To carry out the iteration we need to find the points where the tangents meet the x-axis. The grad. of the tangent x y inchangethe inchangethe = 10 0 0 xx y x dx dy − =⇒ at 0y 10 xx −
  • 7. )( 00 xfy = and 10 0 0 xx y x dx dy − =at We have and we need to find . 1x Then, 10 0 0 / )( )( xx xf xf − = Rearranging: )( )( 0 / 0 10 xf xf xx =− )( )( 0 / 0 01 xf xf xx −=⇒ Using and in the formula isn’t very convenient, so, since we have)(xfy = 0x dx dy at0y )( 0 / 10 0 0 xf xx y x dx dy = − =at
  • 8. )( )( 0 / 0 01 xf xf xx −=So, We just need to alter the subscripts to find :2x )( )( 1 / 1 12 xf xf xx −= Generalising gives )( )( /1 n n nn xf xf xx −=+ We don’t need a diagram to use this formula but we must know how to differentiate .)(xf Convergence is often very fast.
  • 9. e.g. Use the Newton-Raphson method with to find the root of the equation 20 =x 013 =−− xx correct to 4 d.p. Solution: Let 1)( 3 −−= xxxf Differentiate: 13)( 2/ −= xxf )( )( /1 n n nn xf xf xx −=+ )13( )1( 2 3 1 − −− −=⇒ + n nn nn x xx xx Using a calculator we need: ENTER,2 )d.p.( 461801⋅=x ANS ANS(ANS ANS )13( )1 2 3 − −− −Then,
  • 10. SUMMARY To use the Newton-Raphson method to estimate a root of an equation:  rearrange the equation into the form 0)( =xf  choose a suitable starting value for 0x  substitute and into the formula)(xf )(/ xf  differentiate to find)(xf )(/ xf Tip: It saves a lot of errors if, before you type the formula into your calculator, you write the formula with ANS replacing every x.  use a calculator to iterate )( )( /1 n n nn xf xf xx −=+
  • 11. Exercise 1. (a) Use the Newton-Raphson method to estimate the root of the following equation to 6 d.p. using the starting value given: ;022 23 =−+ xx 10 =x (b) What happens if you use ? 22 23 −+= xxy 00 =x (c) Use your calculator or a graph plotter to sketch the graph of . (d) What is special about the graph at and why does it explain the answer to (b) ? 00 =x 2. Use the Newton-Raphson method to estimate one root of to 4 d.p. usingxx −= 1cos3 20 =x
  • 12. Solution: Let 22)( 23 −+= xxxf ;022 23 =−+ xx 10 =x(a) xxxf 43)( 2/ +=⇒ )( )( /1 n n nn xf xf xx −=+ )43( )22( 2 23 1 nn nn nn xx xx xx + −+ −=⇒ + ANS)ANS ANS(ANS ANS 43( )22 2 23 + −+ −= ...,8395450,8571430,1 210 ⋅=⋅== xxx )d.p.6(8392870⋅=x
  • 13. The iteration fails immediately. (b) What happens if you use ?00 =x )43( )22( 2 23 1 nn nn nn xx xx xx + −+ −=+ (c) 22 23 −+= xxy At x = 0, there is a stationary point. We also notice that the tangent never meets the x-axis. At a stationary point so in the formula we are dividing by 0. 0)(/ =xf
  • 14. Solution: ,20 =x 2. Use the Newton-Raphson method to estimate one root of to 4 d.p. usingxx −= 1cos3 20 =x Let xxxf +−= 1cos3)( 1sin3)(/ +−= xxf⇒ )( )( /1 n n nn xf xf xx −=+ ⇒ )1sin3( )1cos3( 1 +− +− −=+ n nn nn x xx xx Radians! 86241,85621 21 ⋅=⋅= xx )d.p.( 486241⋅=x ⇒ )1sin3( )1cos3( 1 +− +− −=+ ANS ANSANS ANSxn
  • 15. The Newton-Raphson method will fail if  i.e. at a stationary point0)(/ =xf It will also sometimes fail to give the expected root if the initial value is close to a stationary point. Can you draw a graph to show what could happen in this case? This is one example.
  • 16. 152 23 −−+= xxxy With the iteration gives the root instead of the closer root . 910 ⋅−=x 5761⋅=x 1870⋅−=x 0x
  • 17. The following slides contain repeats of information on earlier slides, shown without colour, so that they can be printed and photocopied. For most purposes the slides can be printed as “Handouts” with up to 6 slides per sheet.
  • 18. )(1 nn xgx =+ It isn’t always possible to find iterative formulae of the type that will find the solution of every equation. Another iterative method that is useful is called the Newton-Raphson method.
  • 19. SUMMARY To use the Newton-Raphson method to estimate a root of an equation:  rearrange the equation into the form 0)( =xf  choose a suitable starting value for 0x  substitute and into the formula)(xf )(/ xf  differentiate to find)(xf )(/ xf Tip: It saves a lot of errors if, before you type the formula into your calculator, you write the formula with ANS replacing every x.  use a calculator to iterate
  • 20. e.g. Use the Newton-Raphson method with to find the root of the equation 20 =x 013 =−− xx correct to 4 d.p. Solution: Let 1)( 3 −−= xxxf Differentiate: 13)( 2/ −= xxf )( )( /1 n n nn xf xf xx −=+ 13 1 2 3 1 − −− −=⇒ + n nn nn x xx xx Using a calculator we need: ENTER,2 )d.p.( 461801⋅=x ANS ANSANS ANS 13 1 2 3 − −− −Then,
  • 21. The Newton-Raphson method will fail if  i.e. at a stationary point0)(/ =xf It will also sometimes fail if the initial value is close to a stationary point.