0% found this document useful (0 votes)
6 views9 pages

Math 112 f22 Lab 10 Representing Functions As Power Series

This document discusses representing functions as power series, focusing on geometric series and their manipulations to derive power series representations for various functions. It provides examples of how to express functions as power series through algebraic manipulation, differentiation, and integration. Additionally, it explores the concept of approximating functions using power series and the relationship between power series and linear/quadratic approximations.
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)
6 views9 pages

Math 112 f22 Lab 10 Representing Functions As Power Series

This document discusses representing functions as power series, focusing on geometric series and their manipulations to derive power series representations for various functions. It provides examples of how to express functions as power series through algebraic manipulation, differentiation, and integration. Additionally, it explores the concept of approximating functions using power series and the relationship between power series and linear/quadratic approximations.
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/ 9

1

Math 112
Lab 10

Representing Functions as Power Series


I. Introduction

In section 11.8 we learned the series


c x
n=0
n
n
= c0 + c1 x + c2 x 2 + c3 x 3 + ... (1)

is called a power series. It is a function of x whose domain is the set of all x for which it converges.

In section 11.2 we learned the series


 ar
n =1
n −1
= a + ar + ar 2 + ar 3 + ... + ar n + ... a0, (2)

a
is a geometric series that converges to the sum, s = , if r  1 .
1− r

If we let c n = 1 in (1), the power series becomes the geometric series where a = 1 and r = x . It
1
follows, if x  1 , the power series converges to the sum, s = . Thus, we see a function that can
1− x
be represented as a power series:


f (x ) =
1
=  x n = 1 + x + x 2 + x 3 + ... + x n + ... whose domain is x  1 (3)
1 − x n =0

II. Creating Power Series Representations for Other Functions

By manipulating the expressions in equation (3), we can represent other functions as powers series.
This manipulation includes algebra, substitution, differentiation and integration. The following three
examples demonstrate how this works. Simpler examples are in your textbook on pages 747-750.
2

Example 1: Express f (x ) =
x
as a power series.
2x + 3
2

At first glance, this shows no resemblance to the function in (3) but we use algebra to manipulate f ( x )

and create a substitution for x in the geometric series  x n . Generally, we want the form:
n =0

f ( x ) = h( x )  =  g ( x )  h( x ) . For the function above we factor out x from the numerator
1 n

1 − g ( x ) n =0
2 2
and 3 from the denominator. Then, replace x in equation (3) with − x . So,
3
n
 n n
x   2 2 
 2 2 x n 12
f (x ) = 2 =    − x  =   − x   =  (− 1)   x 2 n +1
x
x 1
= 
2x + 3 3  2  3 n =0  3  n =0  3  3 n =0 3 3
1− − x2 
 3 

 n
12
The power series representation for f (x ) = 2 is  (− 1)   x 2 n +1 .
x n

2 x + 3 n =0 3 3

Rules for differentiation and integration of functions can be applied in power series problems.

A. Using the quotient rule for differentiation we see

d  1 
(1 − x ) d (1) − (1)
d
(1 − x)
1
= dx dx =
dx 1 − x  (1 − x) 2
(1 − x )2
We can also differentiate a power series term-by-term to obtain:
d  1  d   n d
 

1
(1 − x )2
= =  x =
dx 1 − x  dx  n =0  dx
1 + x + x 2
+ x 3
+ ... = 0 + 1 + 2 x + 3 x 2
+ ... = 
n =1
nx n −1

1
B. Using the indefinite integral  x dx = ln x + C along with substitution we see
1
 1 − x dx = − ln 1 − x + C
We can also integrate a power series term-by-term to obtain:

 
 
− ln (1 − x ) = 
1 1 1 1 n +1
dx =   x n dx =  1 + x + x 2 + x 3 + ... dx = x + x 2 + x 3 + ... + C =  x
1− x n =0 2 3 n =0 n + 1
3

Example 2: Find the power series representation for f ( x ) =


x
.
(2 x + 3)2
Notice the difference between this function and the one in Example 1. The entire denominator is
squared here which provides a “clue” as to what type of manipulation is needed. The quotient rule for
differentiation results in squaring the denominator so we know the function we must differentiate has
(2x+3) in the denominator. The x in the numerator can be factored out and “ignored” temporarily. We
see manipulating f(x) requires a little investigating but a good starting point is to differentiate 1/(2x+3):

d  1  (2 x + 3)(0) − 1(2) −2
  = =
dx  2 x + 3  (2 x + 3)2
(2 x + 3)2
Now that we know what the derivative looks like, we can write f(x) in terms of this derivative.

−2 x d  1 
f (x ) =
x x
=  =−
(2 x + 3)
2
− 2 (2 x + 3)2
2 dx  2 x + 3 

Why do we go through all these manipulations? We can now create a power series for 1/(2x+3) and
x
differentiate it to create another power series. We then include the factor − in the power series.
2

 
x d  1    x d   2  
n
x d 
n

n 2
f (x ) = − ( )
x d 1 1
2 dx  2 x + 3 
= − 
2 dx  3

 2 
 = −    − x 
6 dx  n =0  3  
 = −  
6 dx  n =0
− 1 


3
x n


 1 −  − 3 x  
 
n n
x  n 2

n +1 1  2 
= −  (− 1)   nx n −1 =  (− 1)   nx
n

6 n =0 3 n =0 6 3 

 n
n +1 1  2 
The power series representation for f ( x ) = is  (− 1)
x
  nx n .
(2 x + 3) 2
n =1 6 3 

There are a few important points worth noting.

1. The derivative of a power series IS another power series! The same is true for the integral of a
power series.

2. The radius of convergence remains the same when a power series is differentiated or integrated
but the interval of convergence might change.
4

Example 3: Find the power series representation for f (x ) = ln (2 x + 3) .

Once again, there is a connection between 1/(2x+3) and the given function. Integration provides this
connection so a good starting point in creating the power series for f(x) is to integrate 1/(2x+3).

1 1
 2 x + 3 dx = 2 ln 2 x + 3 + C
Now that we see the integral only differs from f(x) by a factor of 1/2, we can write f(x) in terms of this
integral.

f (x ) = ln (2 x + 3) = 2  ln 2 x + 3 = 2
1 1
dx
2 2x + 3

We can now create a power series for 1/(2x+3) and integrate it to create the power series for f(x). We
then include the factor 2 in the power series.
n n
2   2  2  n 2
f (x ) = 2 dx =    − x  dx =   (− 1)   x n dx
1 1 1
dx = 2  
2x + 3 3  2  3 n =0  3  3 n =0 3
1− − x
 3 
n +1 n +1
x n +1
n
2  n 2 x

n 2
=  (− 1)   =  (− 1)  
3 n =0  3  n + 1 n =0 3 n +1

 n
2 x
n
The power series representation for f (x ) = ln (2 x + 3) is  (− 1)
n −1
  .
n =1 3 n

III. Approximating a Function using a Power Series

We learned in 11.3 that any partial sum s n can approximate the sum of a convergent series. How does
this relate to our power series representations of a function? Suppose we want to approximate the sum

1
of the convergent geometric power series  x n = 1 + x + x 2 + x 3 + ... at x = (remember, this series
n =0 4
1 5
only converges for − 1  x  1 ). Using the 2nd partial sum, we get s  s 2 = 1 + = . We know the
4 4

1 4 1
exact sum is s = = since =  x n = 1 + x + x 2 + x 3 + ... Calculating s 2 amounts to summing
1 3 1 − x n =0
1−
4
the first two terms in the series. So, if we do not fix the value of x, the approximation of the sum is a
1
linear equation in x. That is  1 + x for x  1 .
1− x
5

Below are the graphs of f (x ) =


1
and the linear approximation f ( x) = 1 + x . Notice, the line
1− x
provides a good approximation of the function for values of x that are very close to x = 0.

In Math 111, we learned a formula for the linear approximation of a function near a point x = a.

Given a function f ( x ) , if x  a then


f ( x)  f (a) + f (a)( x − a) (4)

Using our function f (x ) =


1
and x = 0, we use this formula and get the same linear approximation
1− x
we obtained from the power series. This leads to a few questions.

Question 1. Since s 3 provides a better approximation than s 2 for the sum of a convergent series, does
adding another term in the power series also show a better approximation (graphically)?

1
Adding the next term of the power series for an approximation yields  1 + x + x 2 . We can see
1− x
this quadratic approximation is better.
6

Question 2. Is there a connection to the linear approximation formula in the box above and the power
series representation of a function? If so, does this connection extend to the quadratic approximation
as well?
The answer is “yes” and we will investigate.

1
The linear approximation formula  1 + x , satisfies the following conditions:
1− x

• Condition 1: At x = a = 0, f ( x ) and the tangent line meet.


• Condition 2: At x = a = 0, f ( x ) and the tangent line have the same slope (i.e. their derivatives
are equal at x = 0.)

The general formula that satisfies these conditions (for a = 0) is f (x ) = f (0) + f (0) x (5)

1
The quadratic approximation formula  1 + x + x 2 , satisfies the following conditions:
1− x

• Condition 1: At x = a = 0, f ( x ) and the tangent parabola meet.


• Condition 2: At x = a = 0, f ( x ) and the tangent parabola have the same slope (i.e. their
derivatives are equal at x = 0.)
• Condition 3: At x = a = 0, f ( x ) and the tangent parabola have the same concavity (i.e. their
second derivatives are equal at x = 0.)
f (0) 2
The general formula that satisfies these conditions (for a = 0) is f (x ) = f (0) + f (0) x + x (6)
2

Question 3. Adding more terms to s n yields a better approximation of the sum; does adding more
terms in the power series yield a better approximation to the function f ( x ) ? Does the general formula
for the approximating polynomial continue to have a pattern? The answers are “yes” and “yes”.

Each higher degree polynomial that approximates f ( x ) will satisfy the previous conditions analogous
to the tangent line and the tangent parabola as well as:

• The nth derivatives of f ( x ) and the tangent nth degree polynomial are equal at x = 0.

The general formula that satisfies these conditions (for a = 0) is


f (0) f (0) 2 f (0) 3
f (x ) = f (0) + x+ x + x + ... (7)
1! 2! 3!
This series is called the Maclaurin Series. Notice the formula allows us to find power series
representations for other functions.

(COMPLETE THE EXERCISE PROBLEMS)


7

Math 112 F22 Lab 10 Exercises Name: ________________________Section: ____Score: ____

You may use your textbook, lab and notes. Students may work cooperatively but must submit their
own set of Lab Exercises. No calculators unless noted.

1. (a) In Example 2 why does the series beginning at n = 0 change to n = 1, as shown?

 n  n
n +1 1  2  1 2 
 (− 1)   nx n =  (− 1)
n +1
  nx
n

n =0 6 3  n =1 6 3 

(b) In Example 3 why does the series beginning at n = 0 change to n = 1, as shown?


n +1
x n +1 
 n

(− 1)  2  n −1  2  x
n

 =  (− 1)  
n

n =0 3 n + 1 n =1 3 n

1
(c) It is said (in class, in the textbook and in this lab) that = 1 + x + x 2 + x 3 + ... but there
1− x

1
seems to be a problem. For example, if x = 2 we have  1 + 2 + 4 + 8 + ... . Explain what
1− 2
1
your instructor, the textbook and this lab mean when they say = 1 + x + x 2 + x 3 + ... .
1− x

x
2. Find the power series representation for f ( x ) = by first manipulating equation (3).
9 − x2
8

Math 112 F22 Lab 10 Exercises (cont.) Name: __________________________

x
3. Find the power series representation for f ( x ) = by first manipulating equation (3).
(9 − x )
2

1+ x 
4. Find the power series representation for f ( x ) = ln   by manipulating equation (3). Hint:
1− x 
begin by simplifying f ( x ) using Laws of Logs then create two power series to combine. Your final
answer should be a single power series.
9

Math 112 F22 Lab 10 Exercises (cont.) Name: __________________________

1
5. (a) Complete the table then find the first four terms of the Maclaurin Series for f ( x ) = using
1− 2x
equation (7). Simplify each table entry and each coefficient of the series.

n f n
(x ) f n ( 0)
0

1
(b) On the coordinate plane below, sketch the graphs of f ( x ) = as well as the linear and
1− 2x

quadratic approximations of f ( x ) at x = 0. (Use your graphing calculator.)

You might also like