0% found this document useful (0 votes)
31 views6 pages

Expansions

This document discusses power series expansions, which express a function as an infinite sum of terms involving powers of (x - x0). It derives the Taylor series expansion, centered at an arbitrary point x0, and the Maclaurin series expansion, centered at x0 = 0. Examples are given of power series for common functions like ex, sinx, and cosx. Practice problems demonstrate expanding functions as power series and determining the ranges of x where the series converge.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views6 pages

Expansions

This document discusses power series expansions, which express a function as an infinite sum of terms involving powers of (x - x0). It derives the Taylor series expansion, centered at an arbitrary point x0, and the Maclaurin series expansion, centered at x0 = 0. Examples are given of power series for common functions like ex, sinx, and cosx. Practice problems demonstrate expanding functions as power series and determining the ranges of x where the series converge.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Power-series expansions

PHYS 2302, Saint Mary’s University D. A. Clarke, July 2019

In math and physics, we often need to express an expression or part of an


expression as a power series,

X
f (x) = an (x − x0 )n (1)
n=0
= a0 + a1 (x − x0) + a2 (x − x0)2 + a3 (x − x0)3 + a4 (x − x0)4 + · · · .

This handout derives and gives you practise using three of the most common
types of power series expansions, namely Taylor, Maclaurin, and binomial.

To express a function in the form of Eq. (1) (said to be an expansion of f (x)


about the point x0), we suppose first that each of f (x0), f ′(x0), f ′′(x0), etc.,
are known. That is, we know all there is to know about f (x) at x0 .

Then to start, we evaluate Eq. (1) at x = x0 and find: f (x0) = a0 .

Next, taking derivatives of Eq. (1), we find:

f ′ (x) = a1 + 2a2(x − x0) + 3a3 (x − x0)2 + 4a4(x − x0)3 + · · ·

⇒ f ′ (x0) = a1 ;

f ′′ (x) = 2a2 + 6a3 (x − x0) + 12a4(x − x0)2 + · · ·


′′ f ′′(x0)
⇒ f (x0) = 2a2 , a2 = ;
2
f ′′′ (x) = 6a3 + 24a4(x − x0) + · · ·
′′′ f ′′′ (x0)
⇒ f (x0) = 6a3 , a3 = ,
3!
1 (n)
etc. Thus, an = f (x0), and Eq. (1) becomes:
n!

1

X 1 (n)
f (x) = f (x0)(x − x0)n . (2)
n=0
n!
This is the Taylor expansion (series) about the point x0 .

The Maclaurin expansion is a Taylor expansion about x0 = 0:



X 1 (n)
f (x) = f (0)xn. (3)
n=0
n!

Now, consider the Maclaurin expansion of the particular function:

f (x) = (1 + x)a ⇒ f (0) = 1.

Then,

f ′ (x) = a(1 + x)a−1 ⇒ f ′(0) = a;

f ′′ (x) = a(a − 1)(1 + x)a−2 ⇒ f ′′(0) = a(a − 1);

f ′′′(x) = a(a − 1)(a − 2)(1 + x)a−3 ⇒ f ′′′(0) = a(a − 1)(a − 2),

etc. Thus, Eq. (3) ⇒

a(a − 1) 2 a(a − 1)(a − 2) 3


(1 + x)a = 1 + ax + x + x + ··· . (4)
2 3!
This is the binomial expansion about x = 0, which converges for |x| < 1.

2 m0 c2
Example: Express the relativistic energy, E = mc = p , as a power
1 − v 2 /c2
series in v 2 .

−1/2
E = m0 c2 1 − v 2/c2
"   2     2 2 #
1 v 1 1 3 v
= m0 c2 1 + − − 2 + − − − 2 + ···
2 c 2! 2 2 c

2
 
2 v2 3v 4 2 1 2 3 v4
= m0 c 1 + 2 + 4 + ··· 0 c} + mv +
= |m{z m0 2 + · · · .
2c 8c |2 {z } |8 c{z }
rest mass
energy kinetic higher-order
energy relativistic terms

Commonly occurring expansions:


1
= (1 − x)−1 = 1 + x + x2 + x3 + · · · ;
1−x
1
= (1 + x)−1 = 1 − x + x2 − x3 + · · · ;
1+x
1 −1/2 x 3x2 5x3
√ = (1 − x) = 1+ + + + ··· .
1−x 2 8 16

Practise problems:

1. Find a power series expansion (first three terms) for f (x) = ex about:

a) x0 = 0; b) x0 = 1.

2. Find a power series expansion for f (x) = sin x about:


π
a) x0 = 0; b) x0 = .
2

3. Find a power series expansion for f (x) = cos x about x0 = 0.

4. Find a power series expansion for f (x) = 1 + 2x + x2 about:

a) x0 = 0; b) x0 = 1.

5. Express f (x) = (x − x0)a as a power series in:


x0 x
a) ; b) .
x x0
For what values of x does each power series converge?

3
Solutions:

1. a) About x0 = 0, this is a Maclaurin expansion (Eq. 3):


f (x) = ex ⇒ f (0) = 1;

f ′(x) = ex ⇒ f ′ (0) = 1;

f ′′(x) = ex ⇒ f ′′ (0) = 1, etc.,

x2 x3
⇒ ex = 1 + x + + + ··· . (5)
2 3!

b) About x0 = 1, this is a Taylor expansion (Eq. 2):

f (1) = f ′ (1) = f ′′(1) = · · · = e

x e(x − 1)2 e(x − 1)3


⇒ e = e + e(x − 1) + + + ··· .
2 3!

Note that dividing through by e, we’d get:


ex x−1 (x − 1)2 (x − 1)3
= e = 1 + (x − 1) + + + ··· ,
e 2 3!
which we could have written down directly from Eq. (5).

2. a) About x0 = 0, this is a Maclaurin expansion (Eq. 3):


f (x) = sin x ⇒ f (0) = 0;

f ′ (x) = cos x ⇒ f ′(0) = 1;

f ′′(x) = − sin x ⇒ f ′′(0) = 0;

f ′′′(x) = − cos x ⇒ f ′′′(0) = −1;

f (iv) (x) = sin x ⇒ f (iv) (0) = 0;

f (v) (x) = cos x ⇒ f (v) (0) = 1, etc.,

4
x3 x5
⇒ sin x = x − + − ··· .
3! 5!
Note how many derivatives we had to evaluate to get three non-zero terms.

b) About x0 = π/2, this is a Taylor series:

f (π/2) = −f ′′(π/2) = f (iv) (π/2) = · · · = 1;

f ′ (π/2) = −f ′′′(π/2) = f (v) (π/2) = · · · = 0

(x − π/2)2 (x − π/2)4
⇒ sin x = 1 − + + ··· . (6)
2 4!

3. About x0 = 0, this is a Maclaurin expansion (Eq. 3):

f (x) = cos x ⇒ f (0) = 1;

f ′ (x) = − sin x ⇒ f ′(0) = 0;

f ′′(x) = − cos x ⇒ f ′′(0) = −1;

f ′′′(x) = sin x ⇒ f ′′′(0) = 0;

f (iv) (x) = cos x ⇒ f (iv) (0) = 1, etc.,

x2 x4
⇒ cos x = 1 − + − ··· . (7)
2 4!

Note that had we made the substitution y = x − π/2 in Eq. (6), we would
get:
y2 y4
sin(y + π/2) = cos y = 1 − + − ··· ,
2 4!
giving us an alternate way to Eq. (7).

5
4. a) f (x) = 1 + 2x + x2 = 1 + 2(x − 0) + (x − 0)2 is already it’s own power
series about x0 = 0!

b) About x = 1 is a different story. To achieve this, we just “force it”:

f (x) = 1 + 2x + x2 = 1 + 2(x − 1 + 1) + (x − 1 + 1)2

= 1 + 2(x − 1) + 2 + (x − 1)2 + 2(x − 1) + 1 = 4 + 4(x − 1) + (x − 1)2.

5. a) Here, a power series is best obtained from the binomial expansion, Eq.
(4). To obtain a power series in x0/x, factor out x to get:
 a a
  x  1  x 2 
x 0 x 0 0
f (x) = xa 1 − = xa0 a 1 + a − + a(a−1) − + ...
x x0 x 2 x
 x −a  x 1  x 2 
0 0 0
= xa0 1 − a + a(a−1) + ...
x x 2 x
   x −a+1 1  x −a+2 
x 0
−a
0 0
= xa0 −a + a(a−1) + ... .
x x 2 x
This power series would be suitable (i.e., would converge) for x > x0.

b) To obtain a power series in x/x0, factor out −x0 to get:


 a   x 1  x 2 
x
f (x) = (−x0)a 1 − = (−x0)a 1 + a − + a(a−1) − + ...
x0 x0 2 x0
  x 2 
x 1
= (−x0)a 1 − a + a(a−1) + ... .
x0 2 x0
This power series would be suitable (i.e., would converge) for x < x0.

You might also like