How Does the Taylor Polynomial Change When Centered at a Non-Zero Point?

In summary, the Taylor series for a function at a point other than 0 is only valid if |x|<1. If the series is centered at 0, it is called a Maclaurin series.
  • #1
danik_ejik
18
0
Hello,
if I understand correctly the Taylor approximation for a=0 gives me the possibility to approximate a function, say sin(x), at any x.
But, what gives me Taylor polynomial at some point [PLAIN]http://latex.codecogs.com/gif.latex?a\neq0 ,[/URL] what's the difference? what does it mean centred about [URL]http://latex.codecogs.com/gif.latex?a\neq0[/URL] ?
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
danik_ejik said:
Hello,
if I understand correctly the Taylor approximation for a=0 gives me the possibility to approximate a function, say sin(x), at any x.

While approximating sin(x) with a Taylor series gives an approximation for any x, this doesn't generally hold true for any function. for example, the function 1/(1-x) has a Taylor series that's only valid if |x|<1.

But, what gives me Taylor polynomial at some point [PLAIN]http://latex.codecogs.com/gif.latex?a\neq0 ,[/URL] what's the difference? what does it mean centred about [URL]http://latex.codecogs.com/gif.latex?a\neq0[/URL] ?

Well, if the formula for a Taylor series centered at x=0 can be written as this...

[tex]\sum_{n=0}^\infty \frac{f^{(n)}(0) x^n}{n!}[/tex]

Then the formula for a taylor series centered at x=a can be written as this...

[tex]\sum_{n=0}^\infty \frac{f^{(n)}(a) (x-a)^n}{n!}[/tex]

I think there's a proof of this, but I'm not sure.
 
Last edited by a moderator:
  • #3
danik_ejik said:
Hello,
if I understand correctly the Taylor approximation for a=0 gives me the possibility to approximate a function, say sin(x), at any x.
But, what gives me Taylor polynomial at some point [PLAIN]http://latex.codecogs.com/gif.latex?a\neq0 ,[/URL] what's the difference? what does it mean centred about [URL]http://latex.codecogs.com/gif.latex?a\neq0[/URL] ?
A Taylor series is a representation of a function in powers of x - a, (or centered at a) as in c0 + c1(x - a) + c2(x - a)2 + ... + cn(x - a)n + ...

A Taylor series like the above is centered at a.

If the Taylor series is in powers of x (centered at 0), it's called a Maclaurin series. A famous one is the series for ex = 1 + x + (1/2!)x2 + (1/3!)x3 + ...
 
Last edited by a moderator:
  • #4
i understand the mathematical formulas, but i wasn't sure about the meaning.
so, correct me if I'm wrong:
for functions like
gif.latex?\frac{1}{1+x}.gif

where [URL]http://latex.codecogs.com/gif.latex?|x|%3C1,[/URL] in order to approximate the function at some point greater than one, i.e. x=3.5, i need to develop taylor series for
this function around the point a=3.
is this correct?
 
Last edited by a moderator:
  • #5
Basically, yes. However, I should point out that the Taylor series does not approximate a function- it is exactly equal to it. It is the Taylor polynomials, that you get by truncating the series at a finite number of terms, that approximate the function.

By the way, another way of getting the Taylor's series for
[tex]\frac{1}{1+ x}[/tex]
around x= 3.5 is to rewrite it as
[tex]\frac{1}{1+ x- 3.5+ 3.5}= \frac{1}{4.5+ (x- 3.5)}= \frac{1}{4.5+ y}[/tex]
where, of course, y= x- 3.5.

That is the same as
[tex]\frac{\frac{1}{4.5}}{1+ \frac{y}{4.5}}[/tex]

Of course, the geometric series
[tex]\sum_{n=0}^\infty ar^n[/tex]
has sum
[tex]\frac{a}{1- r}[/tex]
and converges for -1< r< 1.

Here we have a= 1/4.5 and r= -y/4.5 so the geometric series has sum
[tex]\sum_{n=0}^\infty \frac{1}{4.5}\left(-\frac{y}{4.5}\right)^n= \sum_{n=0}^\infty \frac{(-1)^n}{4.5^{n+1}}y^{n}[/tex]
[tex]= \sum_{n=0}^{\infty}\frac{(-1)^n}{4.5^{n+1}}(x- 3.5)^n[/tex]
the Taylor's series for 1/(1+ x) around x= 3.5.

Since the geometric series converged for -1< r< 1, it converges for [itex]-1< -y/4.5< 1[/itex] or [itex]-4.5< y< 4.5[/itex] and so for [itex]-4.5< x- 3.5< 4.5[/itex] or [itex]-1< x< 8,[/itex] which is exactly what we would expect- 1/(1+ x) is not defined at x= -1. And the "radius of convergence" really is a radius- since it cannot converge at x= -1= 3.5- 4.5, it also cannot converge at or beyond x= 3.5+ 4.5= 8.
 
Last edited by a moderator:
  • #6
I understand now, thank you all
 
  • #7
Hey I see you got your answer but if you think of the proof of the Taylor series it makes
perfect sense. The whole proof involves integration by parts mixed with the fundamental
theorem of calculus.


Btw: I wrote this out months ago in an old post, I wouldn't have spent so long rewriting
this when you seem to be satisfied :-p Thought it couldn't hurt to copy & paste the
old post anyway!


Using the Fundamental Theorem of Calculus:

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ f(b) \ - \ f(a) [/itex]

We'll rewrite this in integration by parts form:

[itex] u \ = \ f'(t) \ , \ du \ = \ f''(t) dt \ ,\ dv \ = \ dt \ , \ v \ = \ - (b - t)[/itex]

(The "v" term includes the minus due to a chain rule differentiation removing it anyway! Very sneaky thing that confused me for a few minutes but I like it! ).

[itex] \int_{a}^{b} u dv \ = \ u v |^b_a \ - \ \int_{a}^{b} v du [/itex]

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ - f'(t)(b \ - \ t) |^b_a \ - \ \int_{a}^{b} - f''(t)(b \ - \ a)dt [/itex]

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ f'(a)(b \ - \ a) \ + \ \int_{a}^{b} f''(t)(b \ - \ a)dt [/itex]

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ f'(a)(b \ - \ a) \ - \ f''(t)\frac{(b \ - \ a)^2}{2} |^b_a \ - \ \int_{a}^{b} - f'''(t)\frac{(b \ - \ a)^2}{2}dt [/itex]

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + \ \int_{a}^{b} f'''(t)\frac{(b \ - \ a)^2}{2}dt [/itex]

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + \ \int_{a}^{b} f'''(t)\frac{(b \ - \ a)^2}{2}dt [/itex]

Okay, before I go on I'd like to qualify that the left hand side can be
rewritten as

[itex] \int_{a}^{b} f ' (t)\,dt \ = \ f(b) \ - \ f(a) [/itex]

so that the above becomes

[itex] \ f(b) \ - \ f(a) \ = \ \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + \ \int_{a}^{b} f'''(t)\frac{(b \ - \ a)^2}{2}dt [/itex]

or better yet:

[itex] \ f(b) \ = \ f(a) \ + \ \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + \ \int_{a}^{b} f'''(t)\frac{(b \ - \ a)^2}{2}dt [/itex]

Okay, well you'd keep going with the right hand term until you've
calculated the (n - 1) term & then you want the "n"th term

[itex] \ f(b) \ = \ f(a) \ + \ \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + ... \ + \ \int_{a}^{b} \frac{(b \ - \ t)}{(n \ - \ 1)!}^{(n - 1)} \ f^n (t) dt [/itex]

[itex] \ f(b) \ = \ f(a) \ + \ \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + ... \ - \ \ f^n (t) \frac{(b \ - \ t)}{(n )!}^{(n)} |^b_a \ - \ \ f^{(n + 1)}(t) dt \frac{(b \ - \ t)}{(n )!}^{(n)} [/itex]

[itex] \ f(b) \ = \ f(a) \ + \ \ f'(a)(b \ - \ a) \ + \ f''(a)\frac{(b \ - \ a)^2}{2} \ + ... \ + \ f^n (a) \frac{(b \ - \ a)}{(n )!}^{(n)} \ + \ \int_{a}^{b} \ f^{(n + 1)}(t) \frac{(b \ - \ t)}{(n )!}^{(n)} dt [/itex]

Do you see how we can choose any origin f(a), i.e. a = 0 makes (b - a)/2 = b/2 and
all of the rest of them get rid of the a, explaining what Char. Limit meant.
f(a) becomes whatever it's equal to, in the case of ℯˣ we get ℯ⁰ = 1
 

FAQ: How Does the Taylor Polynomial Change When Centered at a Non-Zero Point?

What is a Taylor series?

A Taylor series is a mathematical representation of a function using an infinite sum of terms. It is used to approximate a function at a specific point by using a series of derivatives of the function.

How is a Taylor series calculated?

A Taylor series is calculated using the derivatives of a function evaluated at a specific point. The formula for a Taylor series is: f(x) = f(a) + f'(a)(x-a) + f''(a)(x-a)^2/2! + f'''(a)(x-a)^3/3! + ...

What is the purpose of a Taylor series?

The purpose of a Taylor series is to approximate a function at a specific point using a series of simpler functions. This allows for easier computation and can provide a more accurate representation of the function.

What is the difference between a Taylor series and a Maclaurin series?

A Maclaurin series is a special case of a Taylor series where the point of evaluation is 0 (a=0). This means that the derivatives of the function at 0 are used to calculate the series. A Taylor series can be used for any point, while a Maclaurin series is specifically for the point 0.

Can a Taylor series accurately represent any function?

No, a Taylor series is an approximation of a function and may not accurately represent the function at all points. The accuracy of the series depends on the number of terms used and the behavior of the function. In some cases, a Taylor series may not converge, meaning it does not approach the true value of the function.

Similar threads

Back
Top