Lagrange Error

  • Thread starter jordanl122
  • Start date
  • #1
14
0

Main Question or Discussion Point

In my BC calc class, we just finished working through most of series and sequences, and as we were reviewing years past free response questions on the topic, and in 2004, they dropped a lagrange error analysis. I've been looking at different explanations, but I'm not getting the concept. It seems like it is just the next term of the series, so how can it account for all of the remaining terms for a polynomial approximation of a function like f(x) = sin (x). Also, what is the deal with the whole c being between x and a. If anyone could enlighten me as to the meaning of all this, I would be most appreciative. Maybe a sample problem...
 

Answers and Replies

  • #2
sat
12
0
I am assuming that by the Lagrange error you mean the expression
[tex]\frac{f^{(n+1)}(c)}{(n+1)!}(x-x_{0})^{n+1}[/tex]
This is almost the same as the expression for the [itex](n+1)[/itex]th term, but (as you seem to have noticed) the derivative of [itex]f[/itex] is evaluated at some [itex]c[/itex] between [itex]x[/itex] and [itex]x_0[/itex].

Basically the [itex]c[/itex] can come about as a result of using the mean value theorem to justify the remainder term. Actually finding [itex]c[/itex] may be tricky, but because you know it's between x and [itex]x_{0}[/itex], you can find the maximum value of the error based on that. For example, if you have an expansion which gives an error term [itex]R_{5}[/itex] of
[tex] \frac{\cos c}{3!}x^{5}[/tex]
you know that the maximum value of the error is
[tex] \frac{1}{5!}x^{5}[/tex]
since [itex]|\cos c|[/itex] is at most equal to unity. Furthermore, you could consider an expansion where [itex]x[/itex] is only between 0 and 1. Then the biggest the error term could be is
[tex]\frac{1}{120}[/tex]
Finding the maximum error over a certain range doesn't give you the true remainder for a particular value of x, but it gives a "worst case scenario".

I hope this makes some sense.
 
  • #3
Hurkyl
Staff Emeritus
Science Advisor
Gold Member
14,916
17
I assume you're familiar with differential approximation and the mean value formula, right?

Differential approximation says:

f(y) ~ f(x) + f'(x) (y - x)

And the mean value theorem says (after a little rearrangement) that there exists a c in [x, y] such that:

f(y) = f(x) + f'(c) (y - x)


A Taylor series is just a vast generalization of differential approximation -- it includes higher order derivatives. The error term is simply the corresponding generalization of the mean value theorem.
 
  • #4
arg, i just went to a bc calculus session at my school. we did a lagrange error problem. the whole concept baffles me for some reason. im sure many wont be on the ap test, because i managed a 5 on the practice one; however, i would love to learn to do it. anyone want to do a sample problem? :smile:
 

Related Threads for: Lagrange Error

Replies
1
Views
1K
Replies
1
Views
8K
  • Last Post
Replies
10
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
10
Views
5K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
2K
Top