Regarding Error Bound of Taylor Series

In summary, to find the error bound for a Taylor series, you need to find the 4th derivative of the original function.
  • #1
Aldnoahz
37
1
Hi all, I am very confused about how one can find the upper bound for a Taylor series.. I know its general expression, which always tells me to find the (n+1)th derivative of a certain function and use the equation f(n+1)(c) (x-a)n+1/(n+1)! for c belongs to [a,x]

However, there are numerous cases in which I am only given a sigma summation form of an unknown function. If I want to find the nth degree error term (assume nth degree is the nth term in the summation), do I simply take the (n+1)th term? I personally do not agree with this since the n+1 th term is not necessarily the biggest. In normal situations I always re-evaluate the n+1 th derivative and find its max value, but with unknown functions I am not able to do that.

Any explanation on how to find the error bound? Do I need to find the n+1 th derivative every time?
 
Physics news on Phys.org
  • #2
Aldnoahz said:
Hi all, I am very confused about how one can find the upper bound for a Taylor series.. I know its general expression, which always tells me to find the (n+1)th derivative of a certain function and use the equation f(n+1)(c) (x-a)n+1/(n+1)! for c belongs to [a,x]

However, there are numerous cases in which I am only given a sigma summation form of an unknown function.
Can you give one example of the kind you're talking about? It seems to me that you might be talking about a problem where you are given a series, and are asked to find an upper bound for the remainder if you use the first n terms in the series.
Aldnoahz said:
If I want to find the nth degree error term (assume nth degree is the nth term in the summation), do I simply take the (n+1)th term? I personally do not agree with this since the n+1 th term is not necessarily the biggest. In normal situations I always re-evaluate the n+1 th derivative and find its max value, but with unknown functions I am not able to do that.

Any explanation on how to find the error bound? Do I need to find the n+1 th derivative every time?
Yes, if you are working with a Taylor series, but all you need is the largest value of this derivative on the interval [a, x], as you said. An example would be very helpful for me to understand what you're asking.
 
  • #3
Mark44 said:
Can you give one example of the kind you're talking about? It seems to me that you might be talking about a problem where you are given a series, and are asked to find an upper bound for the remainder if you use the first n terms in the series.
Yes, if you are working with a Taylor series, but all you need is the largest value of this derivative on the interval [a, x], as you said. An example would be very helpful for me to understand what you're asking.

A simple example would be maclaurin expansion of f(x)=sin(x) given the interval [0, 0.5]. Assume I don't know that this is the expansion for sin(x), all I know is the series. Now I am asked to write down the expansion to degree 3, and find the approximate value of this function at f(0.5). Looking for the approximate value part is obvious to me, but when it asks me to find the upper bound to its error, I can't just take the next term since in the given interval the 4th derivative of sin(x) will not reach 1. So in this case I need to find the 4th derivative of the original function. But as I assumed, if I do not know the original function but only know its maclaurin form, how can I find the lagrange error?
 
  • #4
Aldnoahz said:
A simple example would be maclaurin expansion of f(x)=sin(x) given the interval [0, 0.5]. Assume I don't know that this is the expansion for sin(x), all I know is the series.
Which is an alternating series, right? There's a theorem that you can use to find the remainder when you use the first n terms of an alternating series.
Aldnoahz said:
Now I am asked to write down the expansion to degree 3, and find the approximate value of this function at f(0.5). Looking for the approximate value part is obvious to me, but when it asks me to find the upper bound to its error, I can't just take the next term since in the given interval the 4th derivative of sin(x) will not reach 1. So in this case I need to find the 4th derivative of the original function. But as I assumed, if I do not know the original function but only know its maclaurin form, how can I find the lagrange error?
 
  • #5
Mark44 said:
Which is an alternating series, right? There's a theorem that you can use to find the remainder when you use the first n terms of an alternating series.

I don't think it's an alternating series.. I know what you are talking about though. I think you are talking about truncation error where I can just take the next term as the error bound for an alternating series. But I am talking about Lagrange error of nth degree expansion.. I don't know if this is clear.
 
  • #6
Aldnoahz said:
I don't think it's an alternating series.. I know what you are talking about though. I think you are talking about truncation error where I can just take the next term as the error bound for an alternating series. But I am talking about Lagrange error of nth degree expansion.. I don't know if this is clear.
The Maclaurin series for both sin(x) (=## x - \frac{x^3}{3!} + \frac{x^5}{5!} -+ \dots##) and cos(x) (=## 1 - \frac{x^2}{2!} + \frac{x^4}{4!} -+ \dots##)are alternating series.

Regarding your question, if you're expected to find the Lagrange error term, you would need to know the function whose derivatives appear in the Taylor expansion. Without the underlying function, I don't see how you would be able to get ##f^{(n)}(c)##.
 
  • #7
Mark44 said:
The Maclaurin series for both sin(x) (=## x - \frac
{x^3}{3!} + \frac{x^5}{5!} -+ \dots##) and cos(x) (=## 1 - \frac{x^2}{2!} + \frac{x^4}{4!} -+ \dots##)are alternating series.

Regarding your question, if you're expected to find the Lagrange error term, you would need to know the function whose derivatives appear in the Taylor expansion. Without the underlying function, I don't see how you would be able to get ##f^{(n)}(c)##.

So Lagrange error always require me to find the derivative. I can't just take the next term (if the maclaurin or taylor expansion is not alternating) as my answer?
 
  • #8
Aldnoahz said:
So Lagrange error always require me to find the derivative. I can't just take the next term (if the maclaurin or taylor expansion is not alternating) as my answer?
Right on both counts.
 
  • #9
Ok! Thanks a lot!
 

What is the purpose of calculating the error bound of a Taylor series?

The error bound of a Taylor series is a measure of how much the Taylor series approximates the actual function. It is important because it allows us to determine the accuracy of the approximation and determine how many terms of the series should be used for a desired level of accuracy.

How is the error bound of a Taylor series calculated?

The error bound is calculated using the Lagrange form of the remainder term, which is based on the maximum value of the n+1 derivative of the function within the interval of approximation. This value is then multiplied by the (n+1)th power of the distance between the point of approximation and the center of the series.

What factors affect the error bound of a Taylor series?

The error bound is affected by the number of terms used in the series, the value of the n+1 derivative of the function, and the distance between the point of approximation and the center of the series. Additionally, the error bound may be affected by the behavior of the function itself, such as if it has discontinuities or large fluctuations.

Why is it important to consider the error bound when using a Taylor series to approximate a function?

Without considering the error bound, we cannot be certain of the accuracy of the approximation. Using too few terms in the series may result in a significant error, while using too many terms may be unnecessary and time-consuming. By considering the error bound, we can determine the optimal number of terms to use for a desired level of accuracy.

How can the error bound of a Taylor series be used in practical applications?

The error bound of a Taylor series can be used to determine the accuracy of a mathematical model or prediction. In fields such as engineering and physics, where approximations and models are frequently used, knowing the error bound can help ensure the validity of results. Additionally, it can be used to identify areas where the approximation may not be suitable and further analysis or adjustments are needed.

Similar threads

Replies
2
Views
1K
Replies
11
Views
2K
Replies
3
Views
1K
Replies
3
Views
983
Replies
5
Views
1K
Replies
5
Views
12K
Replies
3
Views
1K
Replies
2
Views
1K
Back
Top