Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Intro Physics Homework Help
Advanced Physics Homework Help
Precalculus Homework Help
Calculus Homework Help
Bio/Chem Homework Help
Engineering Homework Help
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Intro Physics Homework Help
Advanced Physics Homework Help
Precalculus Homework Help
Calculus Homework Help
Bio/Chem Homework Help
Engineering Homework Help
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Homework Help
Calculus and Beyond Homework Help
What is the Lagrangian Interpolation Formula for Approximating Functions?
Reply to thread
Message
[QUOTE="stvoffutt, post: 4518179, member: 275922"] [h2]Homework Statement [/h2] Consider the Lagrange Polynomial approximation [tex]p(x) =\sum_{k=0}^n f(x_k)L_k(x)[/tex] where [tex]L_k(x)=\prod_{i=0,i\neq k}^n \frac{x-x_i}{x_k-x_i}[/tex] Let [tex]\psi(x)=\prod_{i=0}^n x-x_i[/tex]. Show that [tex]p(x)=\psi(x) \sum_{k=0}^n\frac{f(x_k)}{(x-x_k)\psi^\prime(x)}[/tex] [h2]Homework Equations[/h2] None. Just plug in and see if it pops out. [h2]The Attempt at a Solution[/h2] I just evaluated what [itex]p(x) = \sum_{k=0}^n f(x_k)L_k(x)[/itex] and [itex]\psi^\prime(x)[/itex]. Writing out some terms of p(x):[tex]p(x)=f(x_0)L_0(x_0)+f(x_1)L_1(x_1)+\cdots+f(x_n)L_n(x_n)[/tex] [tex]=f(x_0)\frac{\prod_{i=0,i\neq k}^n x-x_i}{\prod_{i=0,i\neq k}^n x_o-x_i}+\cdots+f(x_n)\frac{\prod_{i=0,i\neq k}^n x-x_i}{\prod_{i=0,i\neq k}^n x_n-x_i}[/tex] I find that this is just [tex]p(x)=\prod_{i=0,i\neq k}^nx-x_i \sum_{k=0}^n \frac{f(x_k)}{\prod_{i=0,i\neq k}^n x_k-x_i}[/tex] The product outside of the sum is just [itex]\psi(x)[/itex]. I then evaluate [itex]\psi^\prime(x)[/itex]: [tex]\psi^\prime(x)=\prod_{i=0,i\neq k=0}^nx-x_i +\prod_{i=0,i\neq k=1}^nx-x_i +\cdots +\prod_{i=0,i\neq k=n}^nx-x_i [/tex] Evaluating this at [itex]x_k[/itex] we get exactly the denominator from above. I cannot figure out where the extra [itex]x-x_k[/itex] term comes from. I suspect my error is in taking the derivative but I have looked this over for many hours and cannot find my mistake. [/QUOTE]
Insert quotes…
Post reply
Forums
Homework Help
Calculus and Beyond Homework Help
What is the Lagrangian Interpolation Formula for Approximating Functions?
Back
Top