Calculus II - Taylor Series - Error Bounds

  • Thread starter GreenPrint
  • Start date
  • #1
1,196
0

Homework Statement



Hi,

I'm really struggling with trying to come up with the error bound when doing taylor series problems

Use the reaminder term to estimate the absolute error in approximating the following quantitites with the nth-order Taylor Polynomial cnetered at 0. Estimates are not unique.

e^.25; n=4

Homework Equations



If n is a fixed integer, suppose there exists a number M such that |f^(n+1)(c)|<=M for all c between a and x inclusive. The remainder in nth-order Taylor polynomial for f centered at a satisfies

|Rn(x)|=|f(x)-Pn(x)|<= M*|x-a|^(n+1)/(n+1)!

The Attempt at a Solution



So apparently if we let f(x)=e^x, then f^(5)(x) = e^x, which I agree with fully

But I don't see how e^.25 is bounded by 2 and this is what we set M equal to. e^.25 is about 1.284025417...

I understood the previous similar problem that I did with sin(.3); n=4, because the nth derivative of sin(x) is either +/- sin(x) or +/- cos(x) which will always be <= 1 so this makes sense to use for a value of M, M=1 in this problem...

but for the one that I'm stuck on I don't see why we set M=2. The nth derivative of e^x is always going to be e^x which doesn't have a max value and increases without bound...

I hope it makes sense as to were I'm getting confused. Thanks for any help.
 

Answers and Replies

  • #2
22,129
3,297
So basically, you're confused why they picked M=2, right?

Well, we need to pick M such that

[itex]|f^{(5)}(x)|\leq M[/itex]

for all x between 0 and 0.25.

So we need to pick M such that

[itex]|e^x|\leq M[/itex]

for all x between 0 and 0.25.

We can choose M=2 since indeed [itex]|e^x|<2[/itex] for all such x.
 
  • #3
1,196
0
then why not just go with like 1.3 or something sense

|e^x|<1.3
if x is between 0 and .25
 
  • #4
22,129
3,297
then why not just go with like 1.3 or something sense

|e^x|<1.3
if x is between 0 and .25

That"s also possible.
 
  • #5
1,196
0
so M can be any number at all? as long as
|f^(n+1)(c)|<=M
is true?
Won't this different M value change the value of
|Rn(x)|=|f(x)-Pn(x)|<= M*|x-a|^(n+1)/(n+1)!

which i guess is ok because of the
<=
sign, so what's the best value to chose for M then in a any given situation, the smallest value that it can be or does it not really matter. Like I guess the smallest value you could use is e^.25 itself for M for this problem
 
  • #6
22,129
3,297
so M can be any number at all? as long as
|f^(n+1)(c)|<=M
is true?
Won't this different M value change the value of
|Rn(x)|=|f(x)-Pn(x)|<= M*|x-a|^(n+1)/(n+1)!

which i guess is ok because of the
<=
sign, so what's the best value to chose for M then in a any given situation, the smallest value that it can be or does it not really matter. Like I guess the smallest value you could use is e^.25 itself for M for this problem

Well, you could choose M=100000000 for all I care, it would be correct. HOWEVER: choosing such a large bound, will result in a bad estimation. If you choose a tighter bound like 2, then the estimation will be better. An even tighter bound would be 1.3 and this would be an even better estimation.
They chose 2 here because it seems to work with such a bound.
 
  • #7
1,196
0
Well, you could choose M=100000000 for all I care, it would be correct. HOWEVER: choosing such a large bound, will result in a bad estimation. If you choose a tighter bound like 2, then the estimation will be better. An even tighter bound would be 1.3 and this would be an even better estimation.
They chose 2 here because it seems to work with such a bound.

What exactly do you mean by work, just like the statement is true about |f^(n+1)(c)|<=M, I'm just trying to fully understand this, and so like I guess if Taylor series appeared on my examination my professor would have to actually check the final answer himself because like you said you can chose anything for M as long as the statement is true, |f^(n+1)(c)|<=M, and there's not just one answer for the rough estimation of M*|x-a|^(n+1)/(n+1)! that you would put at the end of the problem by plugging it into your calculator, that would really suck, and ya that makes sense, to use a tighter bound so that way the estimate is better
 
  • #8
22,129
3,297
What exactly do you mean by work, just like the statement is true about |f^(n+1)(c)|<=M, I'm just trying to fully understand this, and so like I guess if Taylor series appeared on my examination my professor would have to actually check the final answer himself because like you said you can chose anything for M as long as the statement is true, |f^(n+1)(c)|<=M, and there's not just one answer for the rough estimation of M*|x-a|^(n+1)/(n+1)! that you would put at the end of the problem by plugging it into your calculator, that would really suck, and ya that makes sense, to use a tighter bound so that way the estimate is better

Well, there are indeed multiple answers available. Like it says is the OP

Estimates are not unique.

So if your professor asks this questions, then in principle M=10000000 should be correct. However, he probably ask something more specific.
 

Related Threads on Calculus II - Taylor Series - Error Bounds

  • Last Post
Replies
18
Views
3K
  • Last Post
Replies
9
Views
2K
Replies
1
Views
6K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
6
Views
2K
  • Last Post
Replies
7
Views
2K
Replies
0
Views
9K
  • Last Post
Replies
0
Views
1K
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
2
Views
989
Top