SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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"
 

Kürzlich hochgeladen

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Kürzlich hochgeladen (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

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