SlideShare a Scribd company logo
1 of 18
Newton’s Divided
Difference Interpolation
Group members
22BCE10175 – Arya Shah
22BCE10463 – Harsh Kumar Shukla
22BCE10620 – Devansh Tiwari
22BCE10628 – Ikshu Patni
22BCE10739 – Abhishek Bhardwaj
Introduction
In this method, we do not need the different values of X to be spaced
evenly like forward and backward interpolation.
We can work with uneven spaced values of X and still get the value of
Y at any X.
We first have to make the divided difference table based on the
values of X and Y provided.
Xi fi
1st div. diff.
f [ Xi , Xj ]
2nd div. diff.
f [ Xi , Xj , Xk ]
3rd div. diff.
f [ Xi , Xj , Xk , Xl ]
X0 f0
f [X0 , X1]
=
(f1 – f0) / (X1 – X0)
X1 f1
f [ X0 , X1 , X2]
=
f [ X1 , X2 ]- f [ X0 , X1 ]
/ (X2 - X0)
f [X1 , X2]
=
(f2 – f1) / (X2 – X1)
f [X0 , X1 , X2 , X3]
=
f [ X1 , X2 , X3]– f [ X0 , X1 , X2 ]
/ (X3 – X0)
X2 f2
f [ X1 , X2 , X3]
=
f [ X2 , X3 ]- f [ X1 , X2 ]
/ (X3 - X1)
f [X2 , X3]
=
(f3 – f2) / (X3 – X2)
X3 f3
To get the value of f(X) at a particular X, we use the Newton’s
divided difference interpolation formula :
f(X) = f[X0] +(X – X0) f[X0 , X1] + (X – X0)(X – X1) f[X0 , X1 , X2]
+ (X – X0)(X – X1)(X – X2) f[X0 , X1 , X2 , X3]
based on the previous divided difference table.
After this we will substitute the values in the formula with the values
from the table and solve the equation to get f(X).
What is the need of Newton's
interpolation formula?
It is to furnish some mathematical tools that are used in
developing methods in the areas of approximation theory,
numerical integration, and the numerical solution of differential
equations.
It is the use of nested multiplication and the relative easiness
to add more data points for higher-order interpolating
polynomials.
This can be used for any interval.
The value of the function can be found at any point in the interval.
For different points also the same table can be used.
For new data, we can use this method by slightly changing the divide
difference table.
The value of y can be found regardless of the nature of x and of units
in which x is expressed.
It is less efficient than Lagrange’s interpolation when several
data sets are interpolated on the same data points
Advantages
Disadvantage
Solved Questions :
1) For the given table, use Newton divided difference to derive an
expression of a polynomial and get the value of f (2.7)
X
1 2 3
f (X)
3 5 8
Solution
First we will create the divided difference table :
Xi fi
1st div. diff.
f [ Xi , Xj ]
2nd div. diff.
f [ Xi , Xj , Xk ]
1 3
(f1 – f0) / (X1 – X0)
= 2/1
2 5 f [ X1 , X2 ]- f [ X0 , X1 ]
/ (X2 - X0)
= 1/2
(f2 – f1) / (X2 – X1)
= 3/1
3 8
Newton’s divided difference interpolation formula :
P(X) = f[X0] +(X – X0) f[X0 , X1] + (X – X0)(X – X1) f[X0 , X1 , X2]
After substituting every value from the table in the previous slide, we get
P(X) = 3 + (X – 1)(2) + (X – 1)(X – 2)(
1
2
)
= 3 + 2X – 2 + (X2 – 3X + 2)(
1
2
)
= 3 + 2X – 2 +
X2
2
–
3𝑋
2
+ 1
=
X2
2
+
X
2
+2
The polynomial is : f(X) =
X2
2
+
X
2
+2
The value of f(X) at X = 2.7
f(2.7) =
7.29
2
+
2.7
2
+2 = 3.645 + 1.35 + 2
f(2.7) = 6.995
2) By means of Newton's divided difference formula, find f(8) and f(9) from
the following data
Solution
We need to find the values of Y at X=8 and X=9
First we will create divided difference table
X 4 5 7 10 11 13
f (X) 48 100 294 900 1210 2028
X f (X) 1st div.
diff.
2nd div.
diff.
3rd div.
diff.
4th div.
diff.
5th div.
diff.
4 48
52
5 100 45/3=
15
194/2=9
7
6/6=1
7 294 105/5=2
1
0
606/3=2
02
6/6=1 0
10 900 108/4=2
7
0
310 6/6=1
11 1210 99/3=
33
818/2=
409
13 2028
Newton’s divided difference interpolation formula :
P(X) = f[X0] +(X – X0) f[X0 , X1] + (X – X0)(X – X1) f[X0 , X1 , X2]
+ (X – X0)(X – X1)(X – X2) f[X0 , X1 , X2 , X3]
+ (X – X0)(X – X1)(X – X2)(X – X3) f[X0 , X1 , X2 , X3 , X4]
+ (X – X0)(X – X1)(X – X2)(X – X3)(X – X4) f[X0 , X1 , X2 , X3 , X4 , X5]
After substituting every value from the table in the previous slide, we get
P(X) = 48 + (X – 4)(52) + (X – 4)(X – 5)(15) + (X – 4)(X – 5)(X – 7)(1)
+ (X – 4)(X – 5)(X – 7)(X – 10)(0)
+ (X – 4)(X – 5)(X – 7)(X – 10)(X – 11)(0)
= 48 + 52X – 208 + 15X2 – 135X + 300 + X3 – 16X2 + 83X - 140
= X3 – X2
The polynomial is : f(X) = X3 – X2
The value of f(X) at X = 8
f (8) = 83 – 82
= 512 – 64
= 448
The value of f(X) at X = 9
f (9) = 93 – 92
= 729– 81
= 648
Application of Newton Divided Difference
Interpolation
• Interpolation of tabulated data: When we have a set of tabulated data that does not
have a continuous functional form, we can use Newton divided difference interpolation
to estimate the value of the function at a point between the tabulated values.
• Construction of polynomial models: Newton divided difference interpolation can be used
to construct polynomial models that approximate a given data set. This can be useful in a
variety of applications, such as curve fitting and data analysis.
• Numerical integration: Newton divided difference interpolation can be used to
approximate the value of an integral by constructing a polynomial that interpolates the
integrand at a set of points, and then integrating this polynomial.
Application of Newton Divided Difference
Interpolation
• Solving differential equations: Newton divided difference
interpolation can be used as a tool in numerical methods for solving
differential equations. In particular, it can be used to approximate the
solution of a differential equation at intermediate points, given a set
of initial conditions.
• Overall, Newton divided difference interpolation is a powerful
numerical method that has many applications in science, engineering,
and mathematics.
Practice Questions with solutions
1) Find Solution using Newton's Divided Difference Interpolation
formula at X = 301
Solution : f(301) = 2.4785
2) Find Solution using Newton's Divided Difference Interpolation
formula at X = 2.7
Solution : f(2.7) = 0.9941
X 300 304 305 307
f (X) 2.4771 2.4829 2.4843 2.4871
X 2 2.5 3
f (X) 0.69315 0.91629 1.09861
3) Find Solution using Newton's Divided Difference
Interpolation formula at X = 3.8
Solution : Y(3.8) = 52.072
4) Find Solution using Newton's Divided Difference
Interpolation formula at X = 3.8
Solution : Y(3.8) = 95.544
5) Compute f(0.3) for the data given below using Newton's divided
difference formula
Solution : f(0.3) = 1.831
X 2 2.5 3 3.5 4
Y 7 14.125 25 40.375 61
X 2 2.5 3 3.5 4
Y 9 22.25 43 72.75 113
X 0 1 3 4 7
f (X) 1 3 49 129 813

More Related Content

What's hot

What's hot (20)

Deriving the composition of functions
Deriving the composition of functionsDeriving the composition of functions
Deriving the composition of functions
 
Cube root of unity
Cube root of unityCube root of unity
Cube root of unity
 
Rolles theorem
Rolles theoremRolles theorem
Rolles theorem
 
4.3 related rates
4.3 related rates4.3 related rates
4.3 related rates
 
Analytic function
Analytic functionAnalytic function
Analytic function
 
MEAN VALUE THEOREM
MEAN VALUE THEOREMMEAN VALUE THEOREM
MEAN VALUE THEOREM
 
Interpolation of Cubic Splines
Interpolation of Cubic SplinesInterpolation of Cubic Splines
Interpolation of Cubic Splines
 
Interpolation functions
Interpolation functionsInterpolation functions
Interpolation functions
 
Ode powerpoint presentation1
Ode powerpoint presentation1Ode powerpoint presentation1
Ode powerpoint presentation1
 
Interpolation with Finite differences
Interpolation with Finite differencesInterpolation with Finite differences
Interpolation with Finite differences
 
taylors theorem
taylors theoremtaylors theorem
taylors theorem
 
1.2 review on algebra 2-sign charts and inequalities
1.2 review on algebra 2-sign charts and inequalities1.2 review on algebra 2-sign charts and inequalities
1.2 review on algebra 2-sign charts and inequalities
 
Lesson 19: Partial Derivatives
Lesson 19: Partial DerivativesLesson 19: Partial Derivatives
Lesson 19: Partial Derivatives
 
Bisection method
Bisection methodBisection method
Bisection method
 
Set in discrete mathematics
Set in discrete mathematicsSet in discrete mathematics
Set in discrete mathematics
 
Roll's theorem
Roll's theoremRoll's theorem
Roll's theorem
 
3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation3.2 implicit equations and implicit differentiation
3.2 implicit equations and implicit differentiation
 
functions limits and continuity
functions limits and continuityfunctions limits and continuity
functions limits and continuity
 
Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)Lesson 25: Evaluating Definite Integrals (slides)
Lesson 25: Evaluating Definite Integrals (slides)
 
Linear algebra-Basis & Dimension
Linear algebra-Basis & DimensionLinear algebra-Basis & Dimension
Linear algebra-Basis & Dimension
 

Similar to Newton’s Divided Difference Interpolation 18.pptx

Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference InterpolationVARUN KUMAR
 
Numarical values
Numarical valuesNumarical values
Numarical valuesAmanSaeed11
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlightedAmanSaeed11
 
Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...
Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...
Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...IJRES Journal
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus OlooPundit
 
Naville's Interpolation
Naville's InterpolationNaville's Interpolation
Naville's InterpolationVARUN KUMAR
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...BRNSS Publication Hub
 
Solutions_Chapter3.pdf
Solutions_Chapter3.pdfSolutions_Chapter3.pdf
Solutions_Chapter3.pdfTessydee
 
Newton raphson halley_householder_simpleexplanation
Newton raphson halley_householder_simpleexplanationNewton raphson halley_householder_simpleexplanation
Newton raphson halley_householder_simpleexplanationmuyuubyou
 
Multivriada ppt ms
Multivriada   ppt msMultivriada   ppt ms
Multivriada ppt msFaeco Bot
 
interpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptxinterpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptxsinghakhil952
 
interpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptxinterpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptxsinghakhil952
 

Similar to Newton’s Divided Difference Interpolation 18.pptx (20)

Unit iv
Unit ivUnit iv
Unit iv
 
Newton's Forward/Backward Difference Interpolation
Newton's Forward/Backward  Difference InterpolationNewton's Forward/Backward  Difference Interpolation
Newton's Forward/Backward Difference Interpolation
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Numerical Methods and Analysis
Numerical Methods and AnalysisNumerical Methods and Analysis
Numerical Methods and Analysis
 
Interpolation
InterpolationInterpolation
Interpolation
 
Numarical values
Numarical valuesNumarical values
Numarical values
 
Numarical values highlighted
Numarical values highlightedNumarical values highlighted
Numarical values highlighted
 
Mt3621702173
Mt3621702173Mt3621702173
Mt3621702173
 
Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...
Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...
Extension of Some Common Fixed Point Theorems using Compatible Mappings in Fu...
 
Differential Calculus
Differential Calculus Differential Calculus
Differential Calculus
 
41-50
41-5041-50
41-50
 
Naville's Interpolation
Naville's InterpolationNaville's Interpolation
Naville's Interpolation
 
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
On Frechet Derivatives with Application to the Inverse Function Theorem of Or...
 
Solutions_Chapter3.pdf
Solutions_Chapter3.pdfSolutions_Chapter3.pdf
Solutions_Chapter3.pdf
 
Newton raphson halley_householder_simpleexplanation
Newton raphson halley_householder_simpleexplanationNewton raphson halley_householder_simpleexplanation
Newton raphson halley_householder_simpleexplanation
 
1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf1_AJMS_229_19[Review].pdf
1_AJMS_229_19[Review].pdf
 
Multivriada ppt ms
Multivriada   ppt msMultivriada   ppt ms
Multivriada ppt ms
 
interpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptxinterpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptx
 
interpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptxinterpolation-190605141327 (1).pptx
interpolation-190605141327 (1).pptx
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 

Recently uploaded

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 

Recently uploaded (20)

Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 

Newton’s Divided Difference Interpolation 18.pptx

  • 2. Group members 22BCE10175 – Arya Shah 22BCE10463 – Harsh Kumar Shukla 22BCE10620 – Devansh Tiwari 22BCE10628 – Ikshu Patni 22BCE10739 – Abhishek Bhardwaj
  • 3. Introduction In this method, we do not need the different values of X to be spaced evenly like forward and backward interpolation. We can work with uneven spaced values of X and still get the value of Y at any X. We first have to make the divided difference table based on the values of X and Y provided.
  • 4. Xi fi 1st div. diff. f [ Xi , Xj ] 2nd div. diff. f [ Xi , Xj , Xk ] 3rd div. diff. f [ Xi , Xj , Xk , Xl ] X0 f0 f [X0 , X1] = (f1 – f0) / (X1 – X0) X1 f1 f [ X0 , X1 , X2] = f [ X1 , X2 ]- f [ X0 , X1 ] / (X2 - X0) f [X1 , X2] = (f2 – f1) / (X2 – X1) f [X0 , X1 , X2 , X3] = f [ X1 , X2 , X3]– f [ X0 , X1 , X2 ] / (X3 – X0) X2 f2 f [ X1 , X2 , X3] = f [ X2 , X3 ]- f [ X1 , X2 ] / (X3 - X1) f [X2 , X3] = (f3 – f2) / (X3 – X2) X3 f3
  • 5. To get the value of f(X) at a particular X, we use the Newton’s divided difference interpolation formula : f(X) = f[X0] +(X – X0) f[X0 , X1] + (X – X0)(X – X1) f[X0 , X1 , X2] + (X – X0)(X – X1)(X – X2) f[X0 , X1 , X2 , X3] based on the previous divided difference table. After this we will substitute the values in the formula with the values from the table and solve the equation to get f(X).
  • 6. What is the need of Newton's interpolation formula? It is to furnish some mathematical tools that are used in developing methods in the areas of approximation theory, numerical integration, and the numerical solution of differential equations. It is the use of nested multiplication and the relative easiness to add more data points for higher-order interpolating polynomials.
  • 7. This can be used for any interval. The value of the function can be found at any point in the interval. For different points also the same table can be used. For new data, we can use this method by slightly changing the divide difference table. The value of y can be found regardless of the nature of x and of units in which x is expressed. It is less efficient than Lagrange’s interpolation when several data sets are interpolated on the same data points Advantages Disadvantage
  • 8. Solved Questions : 1) For the given table, use Newton divided difference to derive an expression of a polynomial and get the value of f (2.7) X 1 2 3 f (X) 3 5 8
  • 9. Solution First we will create the divided difference table : Xi fi 1st div. diff. f [ Xi , Xj ] 2nd div. diff. f [ Xi , Xj , Xk ] 1 3 (f1 – f0) / (X1 – X0) = 2/1 2 5 f [ X1 , X2 ]- f [ X0 , X1 ] / (X2 - X0) = 1/2 (f2 – f1) / (X2 – X1) = 3/1 3 8
  • 10. Newton’s divided difference interpolation formula : P(X) = f[X0] +(X – X0) f[X0 , X1] + (X – X0)(X – X1) f[X0 , X1 , X2] After substituting every value from the table in the previous slide, we get P(X) = 3 + (X – 1)(2) + (X – 1)(X – 2)( 1 2 ) = 3 + 2X – 2 + (X2 – 3X + 2)( 1 2 ) = 3 + 2X – 2 + X2 2 – 3𝑋 2 + 1 = X2 2 + X 2 +2 The polynomial is : f(X) = X2 2 + X 2 +2 The value of f(X) at X = 2.7 f(2.7) = 7.29 2 + 2.7 2 +2 = 3.645 + 1.35 + 2 f(2.7) = 6.995
  • 11. 2) By means of Newton's divided difference formula, find f(8) and f(9) from the following data Solution We need to find the values of Y at X=8 and X=9 First we will create divided difference table X 4 5 7 10 11 13 f (X) 48 100 294 900 1210 2028
  • 12. X f (X) 1st div. diff. 2nd div. diff. 3rd div. diff. 4th div. diff. 5th div. diff. 4 48 52 5 100 45/3= 15 194/2=9 7 6/6=1 7 294 105/5=2 1 0 606/3=2 02 6/6=1 0 10 900 108/4=2 7 0 310 6/6=1 11 1210 99/3= 33 818/2= 409 13 2028
  • 13. Newton’s divided difference interpolation formula : P(X) = f[X0] +(X – X0) f[X0 , X1] + (X – X0)(X – X1) f[X0 , X1 , X2] + (X – X0)(X – X1)(X – X2) f[X0 , X1 , X2 , X3] + (X – X0)(X – X1)(X – X2)(X – X3) f[X0 , X1 , X2 , X3 , X4] + (X – X0)(X – X1)(X – X2)(X – X3)(X – X4) f[X0 , X1 , X2 , X3 , X4 , X5] After substituting every value from the table in the previous slide, we get P(X) = 48 + (X – 4)(52) + (X – 4)(X – 5)(15) + (X – 4)(X – 5)(X – 7)(1) + (X – 4)(X – 5)(X – 7)(X – 10)(0) + (X – 4)(X – 5)(X – 7)(X – 10)(X – 11)(0) = 48 + 52X – 208 + 15X2 – 135X + 300 + X3 – 16X2 + 83X - 140 = X3 – X2 The polynomial is : f(X) = X3 – X2
  • 14. The value of f(X) at X = 8 f (8) = 83 – 82 = 512 – 64 = 448 The value of f(X) at X = 9 f (9) = 93 – 92 = 729– 81 = 648
  • 15. Application of Newton Divided Difference Interpolation • Interpolation of tabulated data: When we have a set of tabulated data that does not have a continuous functional form, we can use Newton divided difference interpolation to estimate the value of the function at a point between the tabulated values. • Construction of polynomial models: Newton divided difference interpolation can be used to construct polynomial models that approximate a given data set. This can be useful in a variety of applications, such as curve fitting and data analysis. • Numerical integration: Newton divided difference interpolation can be used to approximate the value of an integral by constructing a polynomial that interpolates the integrand at a set of points, and then integrating this polynomial.
  • 16. Application of Newton Divided Difference Interpolation • Solving differential equations: Newton divided difference interpolation can be used as a tool in numerical methods for solving differential equations. In particular, it can be used to approximate the solution of a differential equation at intermediate points, given a set of initial conditions. • Overall, Newton divided difference interpolation is a powerful numerical method that has many applications in science, engineering, and mathematics.
  • 17. Practice Questions with solutions 1) Find Solution using Newton's Divided Difference Interpolation formula at X = 301 Solution : f(301) = 2.4785 2) Find Solution using Newton's Divided Difference Interpolation formula at X = 2.7 Solution : f(2.7) = 0.9941 X 300 304 305 307 f (X) 2.4771 2.4829 2.4843 2.4871 X 2 2.5 3 f (X) 0.69315 0.91629 1.09861
  • 18. 3) Find Solution using Newton's Divided Difference Interpolation formula at X = 3.8 Solution : Y(3.8) = 52.072 4) Find Solution using Newton's Divided Difference Interpolation formula at X = 3.8 Solution : Y(3.8) = 95.544 5) Compute f(0.3) for the data given below using Newton's divided difference formula Solution : f(0.3) = 1.831 X 2 2.5 3 3.5 4 Y 7 14.125 25 40.375 61 X 2 2.5 3 3.5 4 Y 9 22.25 43 72.75 113 X 0 1 3 4 7 f (X) 1 3 49 129 813