The Student Room Group

Question about Taylor Series?

I'm getting a little confused about Taylor series.

For a function f\displaystyle f to have a Taylor series then f\displaystyle f must have a power series representation and must be infinitely differentiable at some point that is where the Taylor series is centered on. But how do we know that such a power series exists for a given function.

Take sin x for example, obviously it has a power series/Taylor series representation but where does that come from? How do we know sin(x)\displaystyle sin(x) can be expressed as

sin(x)=a0+a1(xa)+a2(xa)2+...+ar(xa)r+...\displaystyle sin(x)=a_0+a_1(x-a)+a_2(x-a)^2+...+a_r(x-a)^r+... thus leaving it open to a Taylor expansion?

Also ex\displaystyle e^x can be defined in terms of a power series so is the taylor series of ex\displaystyle e^x the same as ex\displaystyle e^x in this context (about zero)?

I'm guessing there is something fundamental I'm not understanding here if anyone could give me some reasoning and try to clear this up for me I would be grateful.

I tried looking online but I couldn't really find an answer.

Thanks.
(edited 9 years ago)
Original post by alex2100x
I'm getting a little confused about Taylor series.

For a function f\displaystyle f to have a Taylor series then f\displaystyle f must have a power series representation and must be infinitely differentiable at some point that is where the Taylor series is centered on. But how do we know that such a power series exists for a given function.

Take sin x for example, obviously it has a power series/Taylor series representation but where does that come from? How do we know sin(x)\displaystyle sin(x) can be expressed as

sin(x)=a0+a1(xa)+a2(xa)2+...+ar(xa)r+...\displaystyle sin(x)=a_0+a_1(x-a)+a_2(x-a)^2+...+a_r(x-a)^r+... thus leaving it open to a Taylor expansion?

Also ex\displaystyle e^x can be defined in terms of a power series so is the taylor series of ex\displaystyle e^x the same as ex\displaystyle e^x in this context (about zero)?

I'm guessing there is something fundamental I'm not understanding here if anyone could give me some reasoning and try to clear this up for me I would be grateful.

I tried looking online but I couldn't really find an answer.

Thanks.


We assume that a function has a power series expansion and then justify that assumption.
Reply 2
Original post by brianeverit
We assume that a function has a power series expansion and then justify that assumption.


So you assume it can be represented as a power series and then show that it can. Could you tell me an example where this fails and a power series representation of a function doesn't exist? I have only seen ones that work like ex\displaystyle e^x, sin(x)\displaystyle sin(x) etc. I would be interested to see that.

Thanks.
Original post by alex2100x
So you assume it can be represented as a power series and then show that it can. Could you tell me an example where this fails and a power series representation of a function doesn't exist? I have only seen ones that work like ex\displaystyle e^x, sin(x)\displaystyle sin(x) etc. I would be interested to see that.

Thanks.


Try y=ln x.
Original post by alex2100x
I'm getting a little confused about Taylor series.

For a function f\displaystyle f to have a Taylor series then f\displaystyle f must have a power series representation and must be infinitely differentiable at some point that is where the Taylor series is centered on. But how do we know that such a power series exists for a given function.



1. It's easy to show that *if* a function can be represented by a power series centered at aa then that series must be a Taylor series i.e. the coefficients in the power series must be of the form f(n)(a)n!\frac{f^{(n)(a)}}{n!}.

You can show this by assuming that a power series exists and evaluating the coefficients by repeated differentiation. Note that a function must be infinitely differentiable for this to work (though infinitely many of the derivatives may be 0, as in the case of the Taylor series of a polynomial).

2. If you calculate a finite Taylor series for f(x)f(x) at aa up to derivative nn, then you get a polynomial of order nn called the Taylor polynomial, Tn(x,a)T_n(x,a)

3. Then the question arises: if I write down a Taylor series for a function, then does that series converge at any set of points to the value of the function at those set of points. You decide this by appealing to Taylor's theorem which says, more-or-less, that a function is equal to a Taylor polynomial + a remainder term:

f(x)=Tn(x,a)+Rn(x,a)f(x) = T_n(x,a) + R_n(x,a)

There are 3(? I think) ways to write down the remainder term: Cauchy form, Lagrange form, integral form.

4. If limnRn(x,a)=0\lim_{n \rightarrow \infty} R_n(x,a) = 0 then

limn(f(x)Tn(x,a))=limnRn(x,a)=0\displaystyle \lim_{n \rightarrow \infty} (f(x)-T_n(x,a)) = \lim_{n \rightarrow \infty} R_n(x,a) = 0

f(x)=limnTn(x,a)=n=0f(n)(a)n!(xa)n\displaystyle \Rightarrow f(x) = \lim_{n \rightarrow \infty} T_n(x,a) = \sum_{n=0}^{\infty} \frac{f^{(n)(a)}}{n!} (x-a)^n

so if the remainder term disappears in the limit, a function is equal to its Taylor series over some range in which the series converges.

5. You find the region of convergence of the Taylor series by applying the usual tests (ratio, nth-root, etc). Since a Taylor series is a power series, it must converge at most in an interval centered on aa, or on all of R\mathbb{R}.

6. The famous function for which a Taylor series exists, but which does not converge to the value of the function anywhere is f(x)=e1/x2f(x) = e^{-{1/x^2}}. You can look up the details on the internet.

7. Since to find a Taylor series for a function we need to have an infinitely differentiable function, we must show that a function is infinitely differentiable by some other means than pointing to its Taylor series as a justification, else we have a circular argument.

I think that all makes sense. I suspect that others will correct me if I omitted anything important, or screwed up some of the details. In general, however, I think it pretty much summarises what you need to remember when dealing with Taylor series.
Original post by brianeverit
Try y=ln x.


lnx\ln x has a Taylor series centered at a0a \neq 0 (though it doesn't have a Maclaurin series).

Quick Reply

Latest