Taylor series, Maclaurin series

Suppose the function f(x) is of class C in the neighbor of x=a. Then, we can define the following power series:

n=0f(n)(a)n!tn=n=0f(n)(a)n!(xa)n=f(a)+f(a)(xa)+f(a)2!(xa)2+f(a)3!(xa)3+

where t=xa. If this power series has a positive radius of convergence, and the function defined by it matches f(x) in the neighbor of x=a, we say the function f(x) is analytic. f(x)=n=0f(n)(a)n!(xa)n is called the Taylor series of f(x) at x=a. A Taylor series at x=0 is called a Maclaurin series.



Example. Let us define the function f(x) on the open interval (ar,a+r) by the following power series

(Eq:eg1)f(x)=n=0an(xa)n

where r>0 is the radius of convergence of the power series. By Corollary 2 in Calculus of power series, an=f(n)(a)n! (n=0,1,2,). Therefore, f(x) is analytic and (Eq:eg1) gives the Taylor series. □

See alsoCalculus of power series

Exponential and trigonometric functions

Lemma

Let f(x) be a function of class C in a neighbor of x=0 and r>0. Suppose the following condition is satisfied:

  • () There exists an M>0 such that, for all nN0 and for all xR, if |x|<r, then |f(n)(x)|M.
Then, f(x) is analytic at x=0, and the radius of convergence of its Maclaurin series is at least r.
Proof. Choose an x such that |x|<r and consider the finite Maclaurin expansion of f(x):
f(x)=k=0n1f(k)(0)k!xk+Rn,Rn=f(n)(θx)n!xn (0<θ<1).
For the remainder Rn, we have |Rn|M|x|nn!0 (n). Therefore, the above finite Maclaurin expansion converges as n and the limit is equal to f(x). Thus, f(x) is analytic at x=0 and its radius of convergence is at least r. ■

Example. Let us show that the exponential function ex is analytic and its Maclaurin series is given as
(Eq:Exp)ex=n=01n!xn=1+x+x22!+x33!+.
Let f(x)=ex. For any r>0, let M=er. For any x such that |x|<r and for any nN0, |f(n)(x)|=ex<M so that f(x) is analytic at x=0. Since r>0 is arbitrary, the radius of convergence is +. For all nN0, f(n)(0)=e0=1 so that the Maclaurin series is given as in (Eq:Exp). □

Example. It is an exercise to show that the Maclaurin series of sinx and cosx are given as the following:
sinx=n=0(1)nx2n+1(2n+1)!=xx33!+x55!x77!+,cosx=n=0(1)nx2n(2n)!=1x22!+x44!x66!+.
Also, show that the radii of convergence of these series are both +. □

Power functions and the binomial theorem

Given αR and nN0, we define the binomial coefficient by
(αn)={1(n=0),α(α1)(α2)(αn+1)n!(n1).
The numerator for the case when n1 is the product of n consecutive numbers from α to {α(n1)}. For example,
(α0)=1,(α1)=α,(α2)=α(α1)2,(α3)=α(α1)(α2)3!,
Note that the binomial coefficients are defined for all αR.
If α is a non-negative integer, then (αn) is the number of combinations when we choose n elements out of α ("α choose n") for n=0,1,2,,α, or (αn)=0 for n>α.

Lemma 

(Eq:binsum)(α1n1)+(α1n)=(αn).
Proof. If n=1, we have
(α10)+(α11)=1+(α1)=α=(α1).
Thus, (Eq:binsum) holds.

If n>1
(α1n1)+(α1n)=(α1)(α2)(α3)(αn+1)(n1)!+(α1)(α2)(α3)(αn)n!={n+(αn)}(α1)(α2)(α3)(αn+1)n!=α(α1)(α2)(α3)(αn+1)n!=(αn).

For αR, consider the power series
(Eq:binpow)n=0(αn)xn.
If αN0, then this is a polynomial of degree α. Otherwise, (αn)0 for all nN0, and as n,
|(αn+1)(αn)|=|αnn+1|1
so that the radius of convergence of the power series (Eq:binpow) is 1. 
See also: Power series (Theorem (Radius of convergence)).

Theorem (Binomial Theorem)

For |x|<1 and αR,
(eq:binser)(1+x)α=n=0(αn)xn.
Proof. Let f(x) be the function on (1,1) defined by the right-hand side of (Eq:binser). By term-wise differentiation, we have
f(x)=n=1n(αn)xn1=n=1α(α1n1)xn1.
Using the above Lemma,
(1+x)f(x)=αn=1{(α1n1)xn1+(α1n1)xn}=α[1+n=1{(α1n1)+(α1n)}xn]=α{1+n=1(αn)xn}=αf(x).
Let g(x)=(1+x)α. We have
(1+x)g(x)=(1+x)α(1+x)α1=αg(x).
Thus, both y=f(x) and y=g(x) satisfies the same differential equation 
(1+x)y=αy.
Let us define the function h(x) on (1,1) by
h(x)=f(x)g(x).
Then,
h(x)=f(x)g(x)f(x)g(x){g(x)}2=αf(x)g(x)f(x)g(x)(1+x){g(x)}2=0
so that h(x)=c (constant) on (1,1). But c=h(0)=f(0)g(0)=1. Thus, f(x)=g(x)=(1+x)α. ■

Remark. When αN0, (αn)=0 for n>α. Therefore, in this case, we have
(1+x)α=n=0α(αn)xn.
This is the binomial theorem you might have learned in high school. □

Exercise. Show that (1n)=(1)n. □

Example. With α=1, we have
11x=n=0xn=1+x+x2+x3+
for |x|<1. This is the formula of geometric series. □

Example. Let us show that arctanx is analytic and find its Maclaurin series and radius of convergence. Applying the binomial theorem to (arctanx)=11+x2, we have
(Eq:atanps)11+x2=n=0(1)nx2n.
By term-wise integration,
arctanx=n=0(1)n2n+1x2n+1+C
where C is a constant. But arctan(0)=0 so C=0. Therefore
(Eq:atans)arctanx=n=0(1)n2n+1x2n+1.
The radius of convergence of the right-hand side of (Eq:atans) is equal to that of (Eq:atanps), which is 1 (verify!). Thus, arctanx is analytic, and its radius of convergence is 1. □

List of frequently used Maclaurin series

It comes in handy if you memorize the following Maclaurin series. Make sure you can derive them.

11x=n=0xn   (|x|<1).
(1+x)α=n=0(αn)xn   (|x|<1)
where
(αn)={1(n=0),α(α1)(α2)(αn+1)n!(n1).

log(1+x)=n=1(1)n+1nxn   (|x|<1).

1+x=1+n=1(1)n1(2n3)!!(2n)!!xn   (|x|<1)
where the double factorials are defined as
n!!={n(n2)(n4)2(n is even),n(n2)(n4)1(n is odd),
and 0!!=(1)!!=1.

11x=n=0(2n1)!!(2n)!!xn   (|x|<1).

11x2=n=0(2n1)!!(2n)!!x2n   (|x|<1).

arctanx=n=0(1)n2n+1x2n+1  (|x|<1).

arcsinx=n=0(2n1)!!(2n)!!x2n+12n+1  (|x|<1).

ex=n=0xnn!   (xR),sinx=n=0(1)n(2n+1)!x2n+1   (xR),cosx=n=0(1)n(2n)!x2n   (xR).

Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic