SlideShare a Scribd company logo
1 of 16
By Rinku
CONTENTS
Introduction
Interpolation Methods
Equally Spaced Intervals
Formulae
Unequally Spaced intervals
Spline interpolation
Applications
References
 Interpolation is the technique of estimating the value of a function for any
intermediate value of the independent variable.
 Suppose we have the following values of y = f(x) for a set of values of x :
x : x0 x1 x2…..xn
y : y0 y1 y2…..yn
Then the process of finding the value of y corresponding to any value of x = xi between
x0 and xn is called interpolation.
INTRODUCTION
INTERPOLATION METHODS
Equal Interval Spacing Unequal Interval Spacing
Newton’s forward
Interpolation
Newton’s backward
Interpolation
Central Difference
Interpolation/
Stirling’s Formulae
Newton’s divided
difference
Lagrange’s method
• While solving any problem, we have to choose a formulae that yields the most accurate
results for the particular problem.
• The right choice of an interpolation formula depends on the position of the interpolated
value in the given data.
• Some of handy rules are :
 To find a tabulated value near the beginning of the table :
 To find a tabulated value near the end of the table :
 To find a tabulated value near the center of the table :
EQUALLY SPACED INTERVALS
Newton’s forward Interpolation
Newton’s backward Interpolation
Central Difference Interpolation/
Stirling’s Formulae
 Choice of Interpolation formulae
DIFFERENCE TABLE
Δ : Forward difference operator
∇ :Backward difference operator
Newton’s forward Interpolation Formula
Yp = Y0+ pΔY0 + p(p−1)/2! Δ2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n!
ΔnY0
Where, p =(x−x0)/h;
Y0 = f(x0);
Newton’s backward Interpolation Formula
Yp = Y0+ p∇Y0 + p(p−1)/2! ∇2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n!
∇nY0
Where, p =(x-xn)/h;
Yn= f(xn);
Central Difference Interpolation/Stirling’s Formulae
Advantages :
1. Stirling's formula decrease much more rapidly than other difference formulae hence considering first few
number of terms itself will give better accuracy.
2. Forward or backward difference formulae use the oneside information of the function where as Stirling's
formula uses the function values on both sides of f(x
• The disadvantage of the methods discussed till now is that they are applicable only
to the equally spaced values of arguments.
• Therefore, it is necessary to learn about the formulae applicable to unequally spaced
values.
1. Lagrange’s Formula
2. Divided difference method
UNEQUALLY SPACED INTERVALS
Newton’s divided difference method
Lagrange’s Interpolation Formulae
U
N
E
Q
U
A
L
I
N
T
E
R
V
A
L
S
For n points is a actually a polynomial of degree (n-1).
This polynomial is known as lagrangian polynomial and is very simple to implement on a computer.
• Drawback:
 If another interpolation value were inserted, then the interpolation coefficients are required to be
recalculated.
Overcomes the drawback of lagrange’s method by employing
divided differences.
 In the interpolation methods discussed so far, a single polynomial has been fitted to the
tabulated points.
 If the given set of points belong to the same polynomial then the method works well,
otherwise he results are rough approximations only.
 In computer graphics, a spline is a curve that connects two or more specific points, or
that is defined by two or more points. The term can also refer to the mathematical
equation that defines such a curve.
 Spline interpolation is a form of interpolation where the interpolant is a special type of
piecewise polynomial called a spline.
SPLINE INTERPOLATION
 Cubic spline interpolation is a special case for Spline interpolation that is used
very often to avoid the problem of Runge's phenomenon.
 This method gives an interpolating polynomial that is smoother and has smaller
error than some other interpolating polynomials such as Lagrange polynomial and
Newton’s polynomial.
S
P
L
I
N
E
I
N
T
E
R
P
O
L
A
T
I
O
N
CUBIC SPLINE INTERPOLATION
 In the context of computer animation, interpolation is filling in frames between the key frames.
 It typically calculates the in between frames through use of piecewise polynomial interpolation to
draw images semi-automatically.
 For all applications of this type, a set of "key points" is defined by the graphic artist. These are
values that are rather widely separated in space or time, and represent the desired result, but only in
very coarse steps.
 The computed interpolation process is then used to insert many new values in between these key
points to give a "smoother" result.
APPLICATIONS
 In computer programming, string interpolation is the process of evaluating a string
literal containing one or more placeholders, and yielding a result in which the placeholders are
replaced with their corresponding values.
 It is a form of simple template processing.
 String interpolation allows easier and more intuitive string formatting and content-
specification compared with string concatenation.
APPLICATIONS
REFERENCES
• Numerical methods in engineering and science by B.S. Grewal
• https://www.quora.com/What-is-interpolation-in-programming
• https://en.m.wikipedia.org/wiki/String_interpolation
• https://en.wikipedia.org/wiki/Interpolation_(computer_graphics)
• https://www.geeksforgeeks.org/newton-forward-backward-interpolation/
• https://whatis.techtarget.com/definition/spline
• https://math.stackexchange.com/questions/624894/newtons-interpolation-formula-difference-
between-the-forward-and-the-backward
THANK YOU

More Related Content

What's hot

Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleMuhammadUsmanIkram2
 
Numerical methods and its applications
Numerical methods and its applicationsNumerical methods and its applications
Numerical methods and its applicationsHaiderParekh1
 
Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula Deep Dalsania
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodBijay Mishra
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic ReasoningJunya Tanaka
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical AnalysisMohammad 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
 
Bisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysisBisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysisHamza Nawaz
 
Exact Differential Equations
Exact Differential EquationsExact Differential Equations
Exact Differential EquationsPrasad Enagandula
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equationsaman1894
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolationVISHAL DONGA
 
euler's theorem
euler's theoremeuler's theorem
euler's theoremmihir jain
 
Application of-differential-equation-in-real-life
Application of-differential-equation-in-real-lifeApplication of-differential-equation-in-real-life
Application of-differential-equation-in-real-lifeRazwanul Ghani
 

What's hot (20)

Newton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with ExampleNewton's Backward Interpolation Formula with Example
Newton's Backward Interpolation Formula with Example
 
Numerical methods and its applications
Numerical methods and its applicationsNumerical methods and its applications
Numerical methods and its applications
 
Gauss Forward And Backward Central Difference Interpolation Formula
 Gauss Forward And Backward Central Difference Interpolation Formula  Gauss Forward And Backward Central Difference Interpolation Formula
Gauss Forward And Backward Central Difference Interpolation Formula
 
Introduction to optimization Problems
Introduction to optimization ProblemsIntroduction to optimization Problems
Introduction to optimization Problems
 
Secant Method
Secant MethodSecant Method
Secant Method
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Probabilistic Reasoning
Probabilistic ReasoningProbabilistic Reasoning
Probabilistic Reasoning
 
graph theory
graph theory graph theory
graph theory
 
Introduction to Numerical Analysis
Introduction to Numerical AnalysisIntroduction to Numerical Analysis
Introduction to Numerical Analysis
 
Numerical method
Numerical methodNumerical method
Numerical method
 
Numerical methods
Numerical methodsNumerical methods
Numerical methods
 
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
 
Bisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysisBisection theorem proof and convergence analysis
Bisection theorem proof and convergence analysis
 
Exact Differential Equations
Exact Differential EquationsExact Differential Equations
Exact Differential Equations
 
newton raphson method
newton raphson methodnewton raphson method
newton raphson method
 
Partial differential equations
Partial differential equationsPartial differential equations
Partial differential equations
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 
euler's theorem
euler's theoremeuler's theorem
euler's theorem
 
Application of-differential-equation-in-real-life
Application of-differential-equation-in-real-lifeApplication of-differential-equation-in-real-life
Application of-differential-equation-in-real-life
 
Secant method
Secant methodSecant method
Secant method
 

Similar to Methods and Applications of Interpolation

$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xlmumu2jik
 
Interpolation wikipedia
Interpolation   wikipediaInterpolation   wikipedia
Interpolation wikipediahort34
 
Interpolation
InterpolationInterpolation
Interpolationmumu2jik
 
$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xlmumu2jik
 
Numerical diffrentiation and integration
Numerical diffrentiation and integrationNumerical diffrentiation and integration
Numerical diffrentiation and integrationPOONAMSINGH373
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfJifarRaya
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdfJifarRaya
 
Deep learning MindMap
Deep learning MindMapDeep learning MindMap
Deep learning MindMapAshish Patel
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search AlgorithmAshish Khetan
 
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...AIMST University
 
Lagrange Interpolation
Lagrange InterpolationLagrange Interpolation
Lagrange InterpolationSaloni Singhal
 
The Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdfThe Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdfmaikelcorleoni
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical MethodsESUG
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveYounusS2
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsKrishnan MuthuManickam
 
Optimisation in engineering design
Optimisation in engineering designOptimisation in engineering design
Optimisation in engineering designramnaresh yadav
 

Similar to Methods and Applications of Interpolation (20)

$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl
 
Interpolation wikipedia
Interpolation   wikipediaInterpolation   wikipedia
Interpolation wikipedia
 
Interpolation
InterpolationInterpolation
Interpolation
 
$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl$$$ Cheap breville bta630 xl
$$$ Cheap breville bta630 xl
 
Numerical diffrentiation and integration
Numerical diffrentiation and integrationNumerical diffrentiation and integration
Numerical diffrentiation and integration
 
Intro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdfIntro. to computational Physics ch2.pdf
Intro. to computational Physics ch2.pdf
 
Fortran chapter 2.pdf
Fortran chapter 2.pdfFortran chapter 2.pdf
Fortran chapter 2.pdf
 
Deep learning MindMap
Deep learning MindMapDeep learning MindMap
Deep learning MindMap
 
Nelder Mead Search Algorithm
Nelder Mead Search AlgorithmNelder Mead Search Algorithm
Nelder Mead Search Algorithm
 
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...Lecture Notes:  EEEC6440315 Communication Systems - Time Frequency Analysis -...
Lecture Notes: EEEC6440315 Communication Systems - Time Frequency Analysis -...
 
Lagrange Interpolation
Lagrange InterpolationLagrange Interpolation
Lagrange Interpolation
 
The Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdfThe Fast Fourier Transform in Finance (Presentacion).pdf
The Fast Fourier Transform in Finance (Presentacion).pdf
 
Perceptron working
Perceptron workingPerceptron working
Perceptron working
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
Unit 2 ml.pptx
Unit 2 ml.pptxUnit 2 ml.pptx
Unit 2 ml.pptx
 
Deep learning: Mathematical Perspective
Deep learning: Mathematical PerspectiveDeep learning: Mathematical Perspective
Deep learning: Mathematical Perspective
 
CS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of AlgorithmsCS8451 - Design and Analysis of Algorithms
CS8451 - Design and Analysis of Algorithms
 
Optimisation in engineering design
Optimisation in engineering designOptimisation in engineering design
Optimisation in engineering design
 
B02402012022
B02402012022B02402012022
B02402012022
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 

Methods and Applications of Interpolation

  • 2. CONTENTS Introduction Interpolation Methods Equally Spaced Intervals Formulae Unequally Spaced intervals Spline interpolation Applications References
  • 3.  Interpolation is the technique of estimating the value of a function for any intermediate value of the independent variable.  Suppose we have the following values of y = f(x) for a set of values of x : x : x0 x1 x2…..xn y : y0 y1 y2…..yn Then the process of finding the value of y corresponding to any value of x = xi between x0 and xn is called interpolation. INTRODUCTION
  • 4. INTERPOLATION METHODS Equal Interval Spacing Unequal Interval Spacing Newton’s forward Interpolation Newton’s backward Interpolation Central Difference Interpolation/ Stirling’s Formulae Newton’s divided difference Lagrange’s method
  • 5. • While solving any problem, we have to choose a formulae that yields the most accurate results for the particular problem. • The right choice of an interpolation formula depends on the position of the interpolated value in the given data. • Some of handy rules are :  To find a tabulated value near the beginning of the table :  To find a tabulated value near the end of the table :  To find a tabulated value near the center of the table : EQUALLY SPACED INTERVALS Newton’s forward Interpolation Newton’s backward Interpolation Central Difference Interpolation/ Stirling’s Formulae  Choice of Interpolation formulae
  • 6. DIFFERENCE TABLE Δ : Forward difference operator ∇ :Backward difference operator
  • 7. Newton’s forward Interpolation Formula Yp = Y0+ pΔY0 + p(p−1)/2! Δ2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n! ΔnY0 Where, p =(x−x0)/h; Y0 = f(x0); Newton’s backward Interpolation Formula Yp = Y0+ p∇Y0 + p(p−1)/2! ∇2Y0 + ⋯ + p(p−1)(p−2)...(p−n+1)/n! ∇nY0 Where, p =(x-xn)/h; Yn= f(xn);
  • 8. Central Difference Interpolation/Stirling’s Formulae Advantages : 1. Stirling's formula decrease much more rapidly than other difference formulae hence considering first few number of terms itself will give better accuracy. 2. Forward or backward difference formulae use the oneside information of the function where as Stirling's formula uses the function values on both sides of f(x
  • 9. • The disadvantage of the methods discussed till now is that they are applicable only to the equally spaced values of arguments. • Therefore, it is necessary to learn about the formulae applicable to unequally spaced values. 1. Lagrange’s Formula 2. Divided difference method UNEQUALLY SPACED INTERVALS
  • 10. Newton’s divided difference method Lagrange’s Interpolation Formulae U N E Q U A L I N T E R V A L S For n points is a actually a polynomial of degree (n-1). This polynomial is known as lagrangian polynomial and is very simple to implement on a computer. • Drawback:  If another interpolation value were inserted, then the interpolation coefficients are required to be recalculated. Overcomes the drawback of lagrange’s method by employing divided differences.
  • 11.  In the interpolation methods discussed so far, a single polynomial has been fitted to the tabulated points.  If the given set of points belong to the same polynomial then the method works well, otherwise he results are rough approximations only.  In computer graphics, a spline is a curve that connects two or more specific points, or that is defined by two or more points. The term can also refer to the mathematical equation that defines such a curve.  Spline interpolation is a form of interpolation where the interpolant is a special type of piecewise polynomial called a spline. SPLINE INTERPOLATION
  • 12.  Cubic spline interpolation is a special case for Spline interpolation that is used very often to avoid the problem of Runge's phenomenon.  This method gives an interpolating polynomial that is smoother and has smaller error than some other interpolating polynomials such as Lagrange polynomial and Newton’s polynomial. S P L I N E I N T E R P O L A T I O N CUBIC SPLINE INTERPOLATION
  • 13.  In the context of computer animation, interpolation is filling in frames between the key frames.  It typically calculates the in between frames through use of piecewise polynomial interpolation to draw images semi-automatically.  For all applications of this type, a set of "key points" is defined by the graphic artist. These are values that are rather widely separated in space or time, and represent the desired result, but only in very coarse steps.  The computed interpolation process is then used to insert many new values in between these key points to give a "smoother" result. APPLICATIONS
  • 14.  In computer programming, string interpolation is the process of evaluating a string literal containing one or more placeholders, and yielding a result in which the placeholders are replaced with their corresponding values.  It is a form of simple template processing.  String interpolation allows easier and more intuitive string formatting and content- specification compared with string concatenation. APPLICATIONS
  • 15. REFERENCES • Numerical methods in engineering and science by B.S. Grewal • https://www.quora.com/What-is-interpolation-in-programming • https://en.m.wikipedia.org/wiki/String_interpolation • https://en.wikipedia.org/wiki/Interpolation_(computer_graphics) • https://www.geeksforgeeks.org/newton-forward-backward-interpolation/ • https://whatis.techtarget.com/definition/spline • https://math.stackexchange.com/questions/624894/newtons-interpolation-formula-difference- between-the-forward-and-the-backward