SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
A Note on Polynomial Interpolation
W. A. G. Cecilio, C. J. Cordeiro, I. S. Mill´eo
C. D. Santiago, R. A. D. Zanardini, J. Y. Yuan∗
Departamento de Matem´atica
Universidade Federal do Paran´a
Centro Polit´ecnico, CP: 19.081
CEP: 81.531-990, Curitiba, Paran´a
Abstract
The Neville’s algorithm and the Aitken’s algorithm are successively lin-
ear interpolation approach to high degree Lagrangian interpolation. This
note proposes a new approach with iteratively quadratic interpolation to
high degree Lagrangian interpolation. The new algorithm here is cheaper
(about 20% cheaper) than the Neville’s algorithm. Several functions were
tested. Numerical experiments coincide with the theoretical analysis. The
combination of linear approach and quadratic approach is considered too.
AMS subject classification:
Key words: Aitken’s Algorithm, Neville’s Algorithm, Lagrangian Interpolation,
Successively Quadratic Interpolation, Successively Linear Interpolation, Polynomial
Interpolation, Parallel Computation
1 Introduction
The classic interpolation method is the Lagrangian polynomial interpolation,
which is a linear combination of basic functions, given by
p(x) ≡
n∑
i=0
yiLi(x) ≡
n∑
i=0
yi
n∏
ylek=0
k̸=i
(x − xk)
(xi − xk)
(1)
∗The work of this author was supported by CNPq and FUNPAR, Brazil
1
where (xi, yi = f(xi)) are given, and
Li(x) =
(x − x0) · · · (x − xi−1)(x − xi+1) · · · (x − xn)
(xi − x0)ots(xi − xi−1)(xi − xi+1) · · · (xi − xn)
, (2)
basic functions.
This interpolation formula needs all ordinates yi to find an estimate to the
solution of the interpolation problem. For large problems this method is not
efficient because it cannot make use of the previous interpolating result when we
add more interpolating points to get better result. To achieve better precision
of the solution by adding more points, Aitken developed a method to make use
of the previous interpolating results to save multiplications. The method can
generally be defined as follows[1, pp.40]:
Ii(x) = yi (3)
Ii0,i1,...,ik
(x) =
(x − xi0 )Ii1,i2,...,ik
(x) − (x − xik
)Ii0,i1,...,ik−1
(xik
− xi0 )
. (4)
This algorithm generates a sequence Ii0,i1,...,in which converges to an ap-
proximation to y = f(x) for a given x.
For the sake of the computational consideration, Neville established a similar
process to obtain the desired interpolation. The Neville’s algorithm is theoret-
ically equivalent to the Aitken’s algorithm but more efficient in computational
point of view[?]. A variation of the Neville algorithm proposed in [?] consists of
the following recursion.
Setting Ii+k,k = Ii,i+1,...,i+k, we have
Ii0
= yi (5)
Iik = Ii,k−1 +
Ii,k−1 − Ii−1,k−1
x−xi−k
x−xi
− 1
.belstoer (6)
We can obtain another alternative to this recursive process as follows.
Iik = Ii−1,k−1 +
(x − xi−k)(Ii−1,k−1 − Ii,k−1)
xi−k − xi
belline (7)
2
which has an equivalent computational gain compared with (??).
In fact, the Aitken’s algorithm and the Neville’s algorithm are an iterative
process of linear inetrpolation to approach the high degree Lagrangian interpo-
lation polynomial. At each step, just two points are used. This idea motivates us
to consider a new iterative process with quadratic interpolation since quadratic
interpolation has better approximation property than linear interpolation, and
just requies three points which is not expensive.
To obtain better results in large interpolation problems we propose here a
method based on quadratic approximations successively. The new approach re-
duces the computational costs and the CPU time greatly compared with the
Aitken’s algorithm and the Neville’s algorithm. we shall present our new ap-
proach in next section and some numerical results in the last section.
2 Successively Quadratic Interpolation
The quadratic interpolation formula is given by
Ii+2,j+2 =
(x − xi+2)(x − xi−j+1)
(xi−j − xi+2)(xi−j − xi−j+1)
Ii,j+
(x − xi−j)(x − xi+2)
(xi−j+1 − xi−j)(xi−j+1 − xi+2)
Ii+1,j +
(x − xi−j)(x − xi−j+1)
(xi+2 − xi−j+1)(xi+2 − xi−j)
Ii+2,j
(8)
with interpolation conditions
Ii+2,j+2(xi−j) = Ii,j,
Ii+2,j+2(xi−j+1) = Ii+1,j,
e
Ii+2,j+2(xi+2) = Ii+2,j.
This formula is not efficient under the computational point of view because it
requires 12 multiplications at each iteration while the Neville’s formula obtians
the same quadratic polynomial with just 6 multiplications.
3
Now, rewritting (??) as
Ii+2,j+2 =
x − xi+2
xi+2 − xi−j+1
[(x − xi−j+1)(
Ii+2,j − Ii+1,j
xi+2 − xi−j+2
+
Ii+1,j − Ii,j
xi−j+1 − xi+1
)
+Ii+2,j − Ii,j] + Ii+2,j. (9)
we obtain an equivalent expression with only 5 multiplications at each iteration
to obtain the desired quadratic interpolation polynomial in (??) to reduce the
cost of the interpolation. This represents a computational gain about 20%.
Then with the iteratively quadratic interpolation the partial polynomials are
linked in the following table:
k = 0 1 2
x0 y0 = I0(x)
x1 y1 = I1(x) I012(x)
x2 y2 = I2(x) I123(x) I01234(x)
x3 y3 = I3(x) I234(x)
x4 y4 = I4(x)
(10)
In fact, the sequence {I01...k}n
k=0 converges to the value f(x) for given x.
ITherefore, we establish the following iteratively quadratic interpolation algo-
rithm.
ALGORITHM 2.1 (QII Algorithm)
Given (xi, yi), p e ε
Ii,1 = yi, i = 0, 1, . . . , n
While
∥Ii+2,j+2−Ii,j ∥
∥Ii,j ∥ ε
For j = 1, 3, 5, ..., i
Ii+2,j+2 = x−xi+2
xi+2−xi−j+1
[(x−xi−j+1)(
Ii+2,j −Ii+1,j
xi+2−xi−j+2
+
Ii+1,j −Ii,j
xi−j+1−xi+1
)+
Ii+2,j − Ii,j] + Ii+2,j
i = i + 1
end
4
end
Another algorithm of combining linear and quadratic interpolating formulas
iteratively is given as follows.
ALGORITHM 2.2 (QLII Algorithm)
Given (xi, yi), p e ε
Ii,1 = yi
Do
For j = 1, 3, 5, ..., i
Ii+1,j+1 = Ii,j +
(x−xi−j+1)(Ii,j −Ii+1,j )
xi−j+1−xi
end
Verify the convergence
i = i + 1
For j = 1, 3, 5, ..., i − 1
Ii+2,j+2 = x−xi+2
xi+2−xi−j+1
[(x−xi−j+1)(
Ii+2,j −Ii+1,j
xi+2−xi−j+2
+
Ii+1,j −Ii,j
xi−j+1−xi+1
)+
Ii+2,j − Ii,j] + Ii+2,j
end
Verify the convergence
i = i + 1
For j = 1, 3, 5, ..., i − 2
Ii+2,j+2 = x−xi+2
xi+2−xi−j+1
[(x−xi−j+1)(
Ii+2,j −Ii+1,j
xi+2−xi−j+2
+
Ii+1,j −Ii,j
xi−j+1−xi+1
)+
Ii+2,j − Ii,j] + Ii+2,j
end
end
3 Numerical Examples
There are some classical problems in the literature where bad results appear
when interpolating methods are used to approximate function values[?]. In this
5
section we shall give some numerical results for such functions with our new
algorithms, and also for comparison with performance of the Neville’s algorithm.
In Table 1 the following functions are considered
• f1(x) = cos(x) + (x−3)
(x2+1) ;
• f2(x) = 1
(25x2+1)
• f3(x) = −196
1125 x8
+ 144
125 x6
− 2777
1500 x4
− 569
4500 x2
+ 1
with the data vector x = −100 + 0.3i, i = 1, 2, . . . , 666. Here the interpolating
point is p = 27.93 and ε = 10−8
is a given tolerance.
Test functions Methods CPU time Solution
Neville 66.13 1.5694e × 006
f1(x) QII 42.65 1.5694e × 006
QLII 63.52 1.5694e × 006
Neville 66.06 -2.75533e × 008
f2(x) QII 42.55 -2.75533e × 008
QLII 63.47 -2.75533e × 008
Neville 62.5 -6.39708e × 010
f3(x) QII 40.53 -6.39708e × 010
QLII 60.16 -6.39708e × 010
Table 1: Numerical results.
All computations were done by MATLAB on Pentium III 450MHz Personal
Computer at CESEC Laboratory, the Federal University of Paran´a, Brazil.
Acknowledgments
The first five authors like to give their sincere thanks to Professor Jin Yun
Yuan for introducing us to the topic, to Nelson Haj Mussi J´unior for his pre-
liminaries discussions.
References
[1] J. Stoer and R. Bulirsch: Introduction to Numerical Analysis, Springer-
Verlag, 1980.
6
00pt 0
Figure 1: f(x) = cos(x) + (x−3)
(x2+1)
00pt 0
Figure 2: f(x) = 1
(25x2+1)
7
00pt 0
Figure 3: f(x) = −196
1125 x8
+ 144
125 x6
− 2777
1500 x4
− 569
4500 x2
+ 1
[2] M. C. K. Tweedie, A modification of the Aitken-Neville Linear Iterative
Procedures for Polynomial Interpolation, Math. tables and Other Aids to
Computation, 8(1954) 13-16.
[3] V. Pan, New Approach to Fast Polynomial Interpolation and Multipoint
Evaluation, Computers Math. Applic. Vol. 25, No. 9, pp. 25-30, 1993.
[4] R. P. Agarwal e B. S. Lalli, Discrete Polynomial Interpolation Green’s Func-
tions Maximum Principles Error Bounds and Boundary Value Problems,
Computers Math. Applic. Vol. 25, No. 8, pp. 3-39, 1993. 1999 Academic
Press, Inc., 1993
8

Más contenido relacionado

La actualidad más candente

Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 officialEvert Sandye Taasiringan
 
Neural Processes
Neural ProcessesNeural Processes
Neural ProcessesSangwoo Mo
 
Introductory maths analysis chapter 02 official
Introductory maths analysis   chapter 02 officialIntroductory maths analysis   chapter 02 official
Introductory maths analysis chapter 02 officialEvert Sandye Taasiringan
 
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...Cemal Ardil
 
Introductory maths analysis chapter 04 official
Introductory maths analysis   chapter 04 officialIntroductory maths analysis   chapter 04 official
Introductory maths analysis chapter 04 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 08 official
Introductory maths analysis   chapter 08 officialIntroductory maths analysis   chapter 08 official
Introductory maths analysis chapter 08 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 09 official
Introductory maths analysis   chapter 09 officialIntroductory maths analysis   chapter 09 official
Introductory maths analysis chapter 09 officialEvert Sandye Taasiringan
 
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...ijcsa
 
Introductory maths analysis chapter 14 official
Introductory maths analysis   chapter 14 officialIntroductory maths analysis   chapter 14 official
Introductory maths analysis chapter 14 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 officialEvert Sandye Taasiringan
 
Introductory maths analysis chapter 06 official
Introductory maths analysis   chapter 06 officialIntroductory maths analysis   chapter 06 official
Introductory maths analysis chapter 06 officialEvert Sandye Taasiringan
 

La actualidad más candente (13)

Introductory maths analysis chapter 17 official
Introductory maths analysis   chapter 17 officialIntroductory maths analysis   chapter 17 official
Introductory maths analysis chapter 17 official
 
Neural Processes
Neural ProcessesNeural Processes
Neural Processes
 
Introductory maths analysis chapter 02 official
Introductory maths analysis   chapter 02 officialIntroductory maths analysis   chapter 02 official
Introductory maths analysis chapter 02 official
 
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
Neuro -fuzzy-networks-for-identification-of-mathematical-model-parameters-of-...
 
Introductory maths analysis chapter 04 official
Introductory maths analysis   chapter 04 officialIntroductory maths analysis   chapter 04 official
Introductory maths analysis chapter 04 official
 
Introductory maths analysis chapter 08 official
Introductory maths analysis   chapter 08 officialIntroductory maths analysis   chapter 08 official
Introductory maths analysis chapter 08 official
 
Introductory maths analysis chapter 09 official
Introductory maths analysis   chapter 09 officialIntroductory maths analysis   chapter 09 official
Introductory maths analysis chapter 09 official
 
Chapter 1 - Applications and More Algebra
Chapter 1 - Applications and More AlgebraChapter 1 - Applications and More Algebra
Chapter 1 - Applications and More Algebra
 
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
NONSTATIONARY RELAXED MULTISPLITTING METHODS FOR SOLVING LINEAR COMPLEMENTARI...
 
Introductory maths analysis chapter 14 official
Introductory maths analysis   chapter 14 officialIntroductory maths analysis   chapter 14 official
Introductory maths analysis chapter 14 official
 
Introductory maths analysis chapter 12 official
Introductory maths analysis   chapter 12 officialIntroductory maths analysis   chapter 12 official
Introductory maths analysis chapter 12 official
 
Introductory maths analysis chapter 07 official
Introductory maths analysis   chapter 07 officialIntroductory maths analysis   chapter 07 official
Introductory maths analysis chapter 07 official
 
Introductory maths analysis chapter 06 official
Introductory maths analysis   chapter 06 officialIntroductory maths analysis   chapter 06 official
Introductory maths analysis chapter 06 official
 

Similar a 2002 santiago et al

Solving inverse problems via non-linear Bayesian Update of PCE coefficients
Solving inverse problems via non-linear Bayesian Update of PCE coefficientsSolving inverse problems via non-linear Bayesian Update of PCE coefficients
Solving inverse problems via non-linear Bayesian Update of PCE coefficientsAlexander Litvinenko
 
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...Ashley Smith
 
K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!
K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!
K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!idescitation
 
Brief summary of signals
Brief summary of signalsBrief summary of signals
Brief summary of signalsaroosa khan
 
SIAM - Minisymposium on Guaranteed numerical algorithms
SIAM - Minisymposium on Guaranteed numerical algorithmsSIAM - Minisymposium on Guaranteed numerical algorithms
SIAM - Minisymposium on Guaranteed numerical algorithmsJagadeeswaran Rathinavel
 
SPDE presentation 2012
SPDE presentation 2012SPDE presentation 2012
SPDE presentation 2012Zheng Mengdi
 
Slides econometrics-2018-graduate-2
Slides econometrics-2018-graduate-2Slides econometrics-2018-graduate-2
Slides econometrics-2018-graduate-2Arthur Charpentier
 
Adaptive Stabilization and Synchronization of Hyperchaotic QI System
Adaptive Stabilization and Synchronization of Hyperchaotic QI SystemAdaptive Stabilization and Synchronization of Hyperchaotic QI System
Adaptive Stabilization and Synchronization of Hyperchaotic QI SystemCSEIJJournal
 
ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM
ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM
ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM cseij
 
11.a family of implicit higher order methods for the numerical integration of...
11.a family of implicit higher order methods for the numerical integration of...11.a family of implicit higher order methods for the numerical integration of...
11.a family of implicit higher order methods for the numerical integration of...Alexander Decker
 
Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...
Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...
Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...IJERA Editor
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...SSA KPI
 
On Continuous Approximate Solution of Ordinary Differential Equations
On Continuous Approximate Solution of Ordinary Differential EquationsOn Continuous Approximate Solution of Ordinary Differential Equations
On Continuous Approximate Solution of Ordinary Differential EquationsWaqas Tariq
 
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHMTHE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHMIJCSEA Journal
 
Episode 50 : Simulation Problem Solution Approaches Convergence Techniques S...
Episode 50 :  Simulation Problem Solution Approaches Convergence Techniques S...Episode 50 :  Simulation Problem Solution Approaches Convergence Techniques S...
Episode 50 : Simulation Problem Solution Approaches Convergence Techniques S...SAJJAD KHUDHUR ABBAS
 
Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems" Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems" M Reza Rahmati
 

Similar a 2002 santiago et al (20)

Litvinenko nlbu2016
Litvinenko nlbu2016Litvinenko nlbu2016
Litvinenko nlbu2016
 
Solving inverse problems via non-linear Bayesian Update of PCE coefficients
Solving inverse problems via non-linear Bayesian Update of PCE coefficientsSolving inverse problems via non-linear Bayesian Update of PCE coefficients
Solving inverse problems via non-linear Bayesian Update of PCE coefficients
 
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
An Acceleration Scheme For Solving Convex Feasibility Problems Using Incomple...
 
K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!
K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!
K-Sort: A New Sorting Algorithm that Beats Heap Sort for n 70 Lakhs!
 
Brief summary of signals
Brief summary of signalsBrief summary of signals
Brief summary of signals
 
SIAM - Minisymposium on Guaranteed numerical algorithms
SIAM - Minisymposium on Guaranteed numerical algorithmsSIAM - Minisymposium on Guaranteed numerical algorithms
SIAM - Minisymposium on Guaranteed numerical algorithms
 
SPDE presentation 2012
SPDE presentation 2012SPDE presentation 2012
SPDE presentation 2012
 
Slides econometrics-2018-graduate-2
Slides econometrics-2018-graduate-2Slides econometrics-2018-graduate-2
Slides econometrics-2018-graduate-2
 
Adaptive Stabilization and Synchronization of Hyperchaotic QI System
Adaptive Stabilization and Synchronization of Hyperchaotic QI SystemAdaptive Stabilization and Synchronization of Hyperchaotic QI System
Adaptive Stabilization and Synchronization of Hyperchaotic QI System
 
ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM
ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM
ADAPTIVE STABILIZATION AND SYNCHRONIZATION OF HYPERCHAOTIC QI SYSTEM
 
11.a family of implicit higher order methods for the numerical integration of...
11.a family of implicit higher order methods for the numerical integration of...11.a family of implicit higher order methods for the numerical integration of...
11.a family of implicit higher order methods for the numerical integration of...
 
Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...
Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...
Catalan Tau Collocation for Numerical Solution of 2-Dimentional Nonlinear Par...
 
Automatic bayesian cubature
Automatic bayesian cubatureAutomatic bayesian cubature
Automatic bayesian cubature
 
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
Efficient Solution of Two-Stage Stochastic Linear Programs Using Interior Poi...
 
Slides ub-2
Slides ub-2Slides ub-2
Slides ub-2
 
On Continuous Approximate Solution of Ordinary Differential Equations
On Continuous Approximate Solution of Ordinary Differential EquationsOn Continuous Approximate Solution of Ordinary Differential Equations
On Continuous Approximate Solution of Ordinary Differential Equations
 
Assignment 1
Assignment 1Assignment 1
Assignment 1
 
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHMTHE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
THE RESEARCH OF QUANTUM PHASE ESTIMATION ALGORITHM
 
Episode 50 : Simulation Problem Solution Approaches Convergence Techniques S...
Episode 50 :  Simulation Problem Solution Approaches Convergence Techniques S...Episode 50 :  Simulation Problem Solution Approaches Convergence Techniques S...
Episode 50 : Simulation Problem Solution Approaches Convergence Techniques S...
 
Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems" Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems"
 

Último

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 

Último (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 

2002 santiago et al

  • 1. A Note on Polynomial Interpolation W. A. G. Cecilio, C. J. Cordeiro, I. S. Mill´eo C. D. Santiago, R. A. D. Zanardini, J. Y. Yuan∗ Departamento de Matem´atica Universidade Federal do Paran´a Centro Polit´ecnico, CP: 19.081 CEP: 81.531-990, Curitiba, Paran´a Abstract The Neville’s algorithm and the Aitken’s algorithm are successively lin- ear interpolation approach to high degree Lagrangian interpolation. This note proposes a new approach with iteratively quadratic interpolation to high degree Lagrangian interpolation. The new algorithm here is cheaper (about 20% cheaper) than the Neville’s algorithm. Several functions were tested. Numerical experiments coincide with the theoretical analysis. The combination of linear approach and quadratic approach is considered too. AMS subject classification: Key words: Aitken’s Algorithm, Neville’s Algorithm, Lagrangian Interpolation, Successively Quadratic Interpolation, Successively Linear Interpolation, Polynomial Interpolation, Parallel Computation 1 Introduction The classic interpolation method is the Lagrangian polynomial interpolation, which is a linear combination of basic functions, given by p(x) ≡ n∑ i=0 yiLi(x) ≡ n∑ i=0 yi n∏ ylek=0 k̸=i (x − xk) (xi − xk) (1) ∗The work of this author was supported by CNPq and FUNPAR, Brazil 1
  • 2. where (xi, yi = f(xi)) are given, and Li(x) = (x − x0) · · · (x − xi−1)(x − xi+1) · · · (x − xn) (xi − x0)ots(xi − xi−1)(xi − xi+1) · · · (xi − xn) , (2) basic functions. This interpolation formula needs all ordinates yi to find an estimate to the solution of the interpolation problem. For large problems this method is not efficient because it cannot make use of the previous interpolating result when we add more interpolating points to get better result. To achieve better precision of the solution by adding more points, Aitken developed a method to make use of the previous interpolating results to save multiplications. The method can generally be defined as follows[1, pp.40]: Ii(x) = yi (3) Ii0,i1,...,ik (x) = (x − xi0 )Ii1,i2,...,ik (x) − (x − xik )Ii0,i1,...,ik−1 (xik − xi0 ) . (4) This algorithm generates a sequence Ii0,i1,...,in which converges to an ap- proximation to y = f(x) for a given x. For the sake of the computational consideration, Neville established a similar process to obtain the desired interpolation. The Neville’s algorithm is theoret- ically equivalent to the Aitken’s algorithm but more efficient in computational point of view[?]. A variation of the Neville algorithm proposed in [?] consists of the following recursion. Setting Ii+k,k = Ii,i+1,...,i+k, we have Ii0 = yi (5) Iik = Ii,k−1 + Ii,k−1 − Ii−1,k−1 x−xi−k x−xi − 1 .belstoer (6) We can obtain another alternative to this recursive process as follows. Iik = Ii−1,k−1 + (x − xi−k)(Ii−1,k−1 − Ii,k−1) xi−k − xi belline (7) 2
  • 3. which has an equivalent computational gain compared with (??). In fact, the Aitken’s algorithm and the Neville’s algorithm are an iterative process of linear inetrpolation to approach the high degree Lagrangian interpo- lation polynomial. At each step, just two points are used. This idea motivates us to consider a new iterative process with quadratic interpolation since quadratic interpolation has better approximation property than linear interpolation, and just requies three points which is not expensive. To obtain better results in large interpolation problems we propose here a method based on quadratic approximations successively. The new approach re- duces the computational costs and the CPU time greatly compared with the Aitken’s algorithm and the Neville’s algorithm. we shall present our new ap- proach in next section and some numerical results in the last section. 2 Successively Quadratic Interpolation The quadratic interpolation formula is given by Ii+2,j+2 = (x − xi+2)(x − xi−j+1) (xi−j − xi+2)(xi−j − xi−j+1) Ii,j+ (x − xi−j)(x − xi+2) (xi−j+1 − xi−j)(xi−j+1 − xi+2) Ii+1,j + (x − xi−j)(x − xi−j+1) (xi+2 − xi−j+1)(xi+2 − xi−j) Ii+2,j (8) with interpolation conditions Ii+2,j+2(xi−j) = Ii,j, Ii+2,j+2(xi−j+1) = Ii+1,j, e Ii+2,j+2(xi+2) = Ii+2,j. This formula is not efficient under the computational point of view because it requires 12 multiplications at each iteration while the Neville’s formula obtians the same quadratic polynomial with just 6 multiplications. 3
  • 4. Now, rewritting (??) as Ii+2,j+2 = x − xi+2 xi+2 − xi−j+1 [(x − xi−j+1)( Ii+2,j − Ii+1,j xi+2 − xi−j+2 + Ii+1,j − Ii,j xi−j+1 − xi+1 ) +Ii+2,j − Ii,j] + Ii+2,j. (9) we obtain an equivalent expression with only 5 multiplications at each iteration to obtain the desired quadratic interpolation polynomial in (??) to reduce the cost of the interpolation. This represents a computational gain about 20%. Then with the iteratively quadratic interpolation the partial polynomials are linked in the following table: k = 0 1 2 x0 y0 = I0(x) x1 y1 = I1(x) I012(x) x2 y2 = I2(x) I123(x) I01234(x) x3 y3 = I3(x) I234(x) x4 y4 = I4(x) (10) In fact, the sequence {I01...k}n k=0 converges to the value f(x) for given x. ITherefore, we establish the following iteratively quadratic interpolation algo- rithm. ALGORITHM 2.1 (QII Algorithm) Given (xi, yi), p e ε Ii,1 = yi, i = 0, 1, . . . , n While ∥Ii+2,j+2−Ii,j ∥ ∥Ii,j ∥ ε For j = 1, 3, 5, ..., i Ii+2,j+2 = x−xi+2 xi+2−xi−j+1 [(x−xi−j+1)( Ii+2,j −Ii+1,j xi+2−xi−j+2 + Ii+1,j −Ii,j xi−j+1−xi+1 )+ Ii+2,j − Ii,j] + Ii+2,j i = i + 1 end 4
  • 5. end Another algorithm of combining linear and quadratic interpolating formulas iteratively is given as follows. ALGORITHM 2.2 (QLII Algorithm) Given (xi, yi), p e ε Ii,1 = yi Do For j = 1, 3, 5, ..., i Ii+1,j+1 = Ii,j + (x−xi−j+1)(Ii,j −Ii+1,j ) xi−j+1−xi end Verify the convergence i = i + 1 For j = 1, 3, 5, ..., i − 1 Ii+2,j+2 = x−xi+2 xi+2−xi−j+1 [(x−xi−j+1)( Ii+2,j −Ii+1,j xi+2−xi−j+2 + Ii+1,j −Ii,j xi−j+1−xi+1 )+ Ii+2,j − Ii,j] + Ii+2,j end Verify the convergence i = i + 1 For j = 1, 3, 5, ..., i − 2 Ii+2,j+2 = x−xi+2 xi+2−xi−j+1 [(x−xi−j+1)( Ii+2,j −Ii+1,j xi+2−xi−j+2 + Ii+1,j −Ii,j xi−j+1−xi+1 )+ Ii+2,j − Ii,j] + Ii+2,j end end 3 Numerical Examples There are some classical problems in the literature where bad results appear when interpolating methods are used to approximate function values[?]. In this 5
  • 6. section we shall give some numerical results for such functions with our new algorithms, and also for comparison with performance of the Neville’s algorithm. In Table 1 the following functions are considered • f1(x) = cos(x) + (x−3) (x2+1) ; • f2(x) = 1 (25x2+1) • f3(x) = −196 1125 x8 + 144 125 x6 − 2777 1500 x4 − 569 4500 x2 + 1 with the data vector x = −100 + 0.3i, i = 1, 2, . . . , 666. Here the interpolating point is p = 27.93 and ε = 10−8 is a given tolerance. Test functions Methods CPU time Solution Neville 66.13 1.5694e × 006 f1(x) QII 42.65 1.5694e × 006 QLII 63.52 1.5694e × 006 Neville 66.06 -2.75533e × 008 f2(x) QII 42.55 -2.75533e × 008 QLII 63.47 -2.75533e × 008 Neville 62.5 -6.39708e × 010 f3(x) QII 40.53 -6.39708e × 010 QLII 60.16 -6.39708e × 010 Table 1: Numerical results. All computations were done by MATLAB on Pentium III 450MHz Personal Computer at CESEC Laboratory, the Federal University of Paran´a, Brazil. Acknowledgments The first five authors like to give their sincere thanks to Professor Jin Yun Yuan for introducing us to the topic, to Nelson Haj Mussi J´unior for his pre- liminaries discussions. References [1] J. Stoer and R. Bulirsch: Introduction to Numerical Analysis, Springer- Verlag, 1980. 6
  • 7. 00pt 0 Figure 1: f(x) = cos(x) + (x−3) (x2+1) 00pt 0 Figure 2: f(x) = 1 (25x2+1) 7
  • 8. 00pt 0 Figure 3: f(x) = −196 1125 x8 + 144 125 x6 − 2777 1500 x4 − 569 4500 x2 + 1 [2] M. C. K. Tweedie, A modification of the Aitken-Neville Linear Iterative Procedures for Polynomial Interpolation, Math. tables and Other Aids to Computation, 8(1954) 13-16. [3] V. Pan, New Approach to Fast Polynomial Interpolation and Multipoint Evaluation, Computers Math. Applic. Vol. 25, No. 9, pp. 25-30, 1993. [4] R. P. Agarwal e B. S. Lalli, Discrete Polynomial Interpolation Green’s Func- tions Maximum Principles Error Bounds and Boundary Value Problems, Computers Math. Applic. Vol. 25, No. 8, pp. 3-39, 1993. 1999 Academic Press, Inc., 1993 8