Taylor Polynomial Approximations (Apostol Section 7.8 #7)

In summary: I've ever gotten in high school math.In summary, the author is trying to solve a problem which is similar to a previous problem but has more difficult calculations. However, he has a method for approximating the bounds which he suggests.
  • #1
process91
106
0

Homework Statement


Prove that [itex]0.493948<\int_0^{1/2} \frac{1}{1+x^4} dx<0.493958[/itex]

Homework Equations


This chapter is about Taylor Polynomials, and specifically this section deals with Taylor's formula with remainder:
[tex]f(x)=\sum_{k=0}^n \frac{f^{(k)}(a)}{k!} (x-a)^k + E_n(x)[/tex]
The general formula for [itex]E_n(x)[/itex] is given in integral form:
[tex]E_n(x)=\frac{1}{n!}\int_a^x (x-t)^n f^{(n+1)} (t) dt[/tex]

There is a theorem which gives bounds for the error:
If the (n+1)st derivative of f satisfies the inequalities
[tex]m \le f^{(n+1)} (t) \le M[/tex]

for all t in some interval containing a, then for every x in this interval we have the following estimates:
[tex]m \frac{(x-a)^{n+1}}{(n+1)!} \le E_n(x) \le M \frac{(x-a)^{n+1}}{(n+1)!} \qquad \text{if} \quad x>a[/tex]

(and a similar one if x<a, which I don't think we'll need since 1/2 > 0)

The Attempt at a Solution


The only example similar to this is approximating [itex]\int_0^{1/2} e^{-t^2}dt[/itex], which is much easier since we know that the nth derivative of [itex]e^x[/itex] is always [itex]e^x[/itex].

I've tried a number of methods, but all seem unlikely to be what Apostol had in mind, given their complexity. The most straightforward, I suppose, would be to use a method similar to the book's, however there's no telling what the n+1st derivative is in general, and to get close to the book's bounds we would need to get to at least the sixth derivative, and then figure out where it is equal to zero on (0,1/2) so that we could go back and put bounds on the fifth derivative (yuck!).

Alternatively, I had found that in the work for #3 (a lot of these problems build on previous ones) I had come up with the formula

[tex]\frac{1}{1+x^2} - \sum_{k=0}^{n-1}(-1)^k x^{2k} -x^{2n} \le 0[/tex]

Which, if we replace x by x^2, gives an integrable formula for the upper bound. There was also an analogous formula for the lower bound. The problem is, in order to approach the bounds given in the problem, I had to take it to n=4, which yields some serious arithmetic for a book written before calculators. Also, I don't get the lower bound exactly, I get a much higher lower bound.

Is this really what Apostol had in mind? I feel like I'm missing some crucial simplifying shortcut.
 
Last edited:
Physics news on Phys.org
  • #2
Actually, it's pretty easy to expand 1/(1+x^4) in a taylor series without taking any derivatives if you remember the geometric sum formula 1+u+u^2+...=1/(1-u) for |u|<1. What should u be?

Actually, I've realized I'm probably not answering your question here. I would integrate that sum term by term and use that it's an alternating series. There is another way to estimate the sum of an alternating series without using a remainder term. I'm not sure what Apostol had in mind, but even before calculators approximating something like that to six decimal places was not unheard of.
 
Last edited:
  • #3
I have the expansion. Even through long division, it comes out to be

[tex]\frac{1}{1+x^4}=1-x^4+x^8-x^{12}+...[/tex]

The book hasn't covered infinite series yet, however. This is similar to another method I tried, however. I expanded it out to be:

[tex]\frac{1}{1+x^4}=\sum_{k=0}^{n-1} (-1)^k x^{4k} + E_{2n+3}(x)[/tex]

Where [itex]E_{2n+3}(x)=(-1)^{n+1} \frac{x^{4n+2}}{1+x^2}[/itex].
 
  • #4
process91 said:
I have the expansion. Even through long division, it comes out to be

[tex]\frac{1}{1+x^4}=1-x^4+x^8-x^{12}+...[/tex]

The book hasn't covered infinite series yet, however. This is similar to another method I tried, however. I expanded it out to be:

[tex]\frac{1}{1+x^4}=\sum_{k=0}^{n-1} (-1)^k x^{4k} + E_{2n+3}(x)[/tex]

Where [itex]E_{2n+3}(x)=(-1)^{n+1} \frac{x^{4n+2}}{1+x^2}[/itex].

I added to my last post. How about integrating term by term and using an alternating series estimate?
 
  • #5
We haven't covered any series stuff yet, that's all in two chapters. Specifically, alternating series estimates have not been discussed.
 
  • #6
process91 said:
We haven't covered any series stuff yet, that's all in two chapters. Specifically, alternating series estimates have not been discussed.

Ok, funny you would do taylor series before doing series. Then I guess you have to use a remainder term. Integrating the series f(x)=1-x^4+x^8-x^16+... gives you something easy enough to sum even up to six, seven or even eight terms. You just have to make sure the remainder term is small enough. If you've got a remainder term like x^(4n+2)/(1+x^2) that should be easy enough to estimate.
 
  • #7
That's kind of what my original work resulted in, however I don't think I would have been able to accurately calculate that. Here's the calculation:

http://www.wolframalpha.com/input/?i=1%2F2+-+%281%2F2%29^5+%2F5+%2B%281%2F2%29^9+%2F9+-%281%2F2%29^13%2F13+%2B%281%2F2%29^17%2F17

I would be sure to make errors in doing [itex]\frac{(1/2)^{17}}{17}[/itex], and it just seems out of place to me that he would ask such a difficult computational question when, in a question above it, he gives you that [itex]2^{16} = 65536[/itex], presumably because he felt it would be too difficult to calculate. The other reason that I suspect he's hinting at a different method is that the estimates I get are so much more precise than his, but stopping any shorter gives estimates well outside his.
 
  • #8
I know it seems like I'm just whining about doing some calculations, but what concerns me is that I think there may be a different method that he wants to emphasize here that I am unaware of. The question above it asks to prove that

[itex] \int_0^1 \frac{1+x^{30}}{1+x^{60}} dx = 1 + \frac{x}{31}, \qquad where \quad 0<x<1[/itex]

Again, I can brute force this to a smaller range than he specifies above using some difficult calculations, however I feel there is a more elegant solution which is eluding me. For the problem above, I'm sure it has something to do with equating the standard integral form for the error (above) with the Lagrange form of the error:

[itex]E_n (x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1},\qquad \text{where} \quad a<c<x[/itex]

with a=0 and x=1, however I'm still messing with that one - it doesn't come out quite cleanly. I don't know if the method that I'm missing is related to both of them, or if there really isn't one. I probably shouldn't waste too much time on it, at any rate.
 
Last edited:
  • #9
process91 said:
I know it seems like I'm just whining about doing some calculations, but what concerns me is that I think there may be a different method that he wants to emphasize here that I am unaware of. The question above it asks to prove that

[itex] \int_0^1 \frac{1+x^{30}}{1+x^{60}} dx = 1 + \frac{x}{31}, \qquad where \quad 0<x<1[/itex]

Again, I can brute force this to a smaller range than he specifies above using some difficult calculations, however I feel there is a more elegant solution which is eluding me. For the problem above, I'm sure it has something to do with equating the standard integral form for the error (above) with the Lagrange form of the error:

[itex]E_n (x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1},\qquad \text{where} \quad a<c<x[/itex]

with a=0 and x=1, however I'm still messing with that one - it doesn't come out quite cleanly. I don't know if the method that I'm missing is related to both of them, or if there really isn't one. I probably shouldn't waste too much time on it, at any rate.

Oh, I don't know. I got 2^16=65536 on my second try by doing it long hand from 256*256. I muffed the first one because I'm apparently not very good at lining up columns any more. That the integral of (1+x^30)/(1+x^60) is 1/31 to any reasonable precision is pretty easy, the powers are just so LARGE. You can ignore everything after the first two terms. If there are any secrets here, I'm not aware of them.
 
  • #10
Yeah, I was surprised to see [itex]2^{16}[/itex] given, since so many other calculations were much more tedious.

I probably shouldn't derail my own thread, but with regard to the x^30 and x^60 equation, here was my approach:We have that [itex]E_n (x) = \frac {1}{n!} \int_a^x (x-t)^n f^{(n+1)}(t)dt[/itex] and also that [itex]E_n (x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1},\qquad \text{where} \quad a<c<x[/itex]. Setting these equal to each other, with the following substitutions:

[tex] a=0, x=1, n=30[/tex]
[tex] f^{(n+1)}(t) = \frac{1+t^{30}}{(1+t^{60})(1-t)^{30}}[/tex]

We have
[tex]\int_0^1 \frac{1+t^{30}}{1+t^{60}} dt = \frac{1}{n+1} \frac{1+c^{30}}{(1+c^{60})(1-c)^{30}} \qquad \text {where} \quad 0 < c < 1[/tex]
which is so remarkably similar to the original question. All that is left is to prove that [itex]31<f^{(n+1)}(c) <32 \qquad \forall c \in (0,1)[/itex], but this is not true.

Another form of the remainder given is [itex]E_n(x) = \frac{f^{(n+1)}(c)}{n!}(x-c)^n(x-a),\qquad \text{where} \quad a<c<x[/itex], and with the same substitutions we arrive at

[tex]\int_0^1 \frac{1+t^{30}}{1+t^{60}} dt = \frac{1+c^{30}}{1+c^{60}} \qquad \text{where} \quad 0<c<1[/tex]

Now, all that is left is to prove [itex]1 \le \frac{1+c^{30}}{1+c^{60}} \le \frac{32}{31}\qquad \forall c\in(0,1)[/itex]. This gives a nice lower bound of 1, as desired, but the upper bound is too lenient.
 
  • #11
process91 said:

Homework Statement


Prove that [itex]0.493948<\int_0^{1/2} \frac{1}{1+x^4} dx<0.493958[/itex]
[snip]
Here is an approach that I think may work.

Start with
[tex]\frac{1}{1+t} = 1 - t + t^2 - t^3 + E_3(t)[/tex]
and develop a bound on the error term [tex]E_3(t)[/tex]
Then make the substitution [tex]t = x^4[/tex] and integrate from 0 to 1/2. Use your bound on E_3 to develop a bound on the error in the integral.
 

1. What is a Taylor polynomial approximation?

A Taylor polynomial approximation is a polynomial function that can be used to approximate a given function. It is derived from the Taylor series, which is an infinite sum of terms that represent the values of the function at a specific point and its derivatives at that point.

2. How is a Taylor polynomial approximation calculated?

A Taylor polynomial approximation is calculated by taking the Taylor series for a given function and truncating it at a specific degree. This degree is determined by the number of terms needed to achieve the desired level of accuracy for the approximation. The polynomial is then evaluated at a specific point, known as the center of the approximation.

3. What is the use of Taylor polynomial approximations in real-life applications?

Taylor polynomial approximations are used in various fields such as physics, engineering, economics, and statistics. They provide a way to approximate complex functions and make predictions, which can be useful in modeling real-life phenomena and solving practical problems.

4. How accurate are Taylor polynomial approximations?

The accuracy of a Taylor polynomial approximation depends on the degree of the polynomial used. As the degree increases, the approximation becomes more accurate. However, it is important to note that these approximations are still only an estimation and may not be exact.

5. Can a Taylor polynomial approximation be used for any function?

No, a Taylor polynomial approximation can only be used for functions that have derivatives of all orders at the center of the approximation. If a function has a discontinuity or non-differentiable point at the center, then a Taylor polynomial approximation cannot be used.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
273
  • Calculus and Beyond Homework Help
Replies
4
Views
242
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
282
  • Calculus and Beyond Homework Help
Replies
5
Views
619
  • Calculus and Beyond Homework Help
Replies
1
Views
847
  • Calculus and Beyond Homework Help
Replies
1
Views
600
  • Calculus and Beyond Homework Help
Replies
27
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
442
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top