<< Chapter < Page Chapter >> Page >

Use power series to solve y = 2 y , y ( 0 ) = 5 .

y = 5 e 2 x

Got questions? Get instant answers now!

We now consider an example involving a differential equation that we cannot solve using previously discussed methods. This differential equation

y x y = 0

is known as Airy’s equation . It has many applications in mathematical physics, such as modeling the diffraction of light. Here we show how to solve it using power series.

Power series solution of airy’s equation

Use power series to solve

y x y = 0

with the initial conditions y ( 0 ) = a and y ( 0 ) = b .

We look for a solution of the form

y = n = 0 c n x n = c 0 + c 1 x + c 2 x 2 + c 3 x 3 + c 4 x 4 + .

Differentiating this function term by term, we obtain

y = c 1 + 2 c 2 x + 3 c 3 x 2 + 4 c 4 x 3 + , y = 2 · 1 c 2 + 3 · 2 c 3 x + 4 · 3 c 4 x 2 + .

If y satisfies the equation y = x y , then

2 · 1 c 2 + 3 · 2 c 3 x + 4 · 3 c 4 x 2 + = x ( c 0 + c 1 x + c 2 x 2 + c 3 x 3 + ) .

Using [link] on the uniqueness of power series representations, we know that coefficients of the same degree must be equal. Therefore,

2 · 1 c 2 = 0 , 3 · 2 c 3 = c 0 , 4 · 3 c 4 = c 1 , 5 · 4 c 5 = c 2 , .

More generally, for n 3 , we have n · ( n 1 ) c n = c n 3 . In fact, all coefficients can be written in terms of c 0 and c 1 . To see this, first note that c 2 = 0 . Then

c 3 = c 0 3 · 2 , c 4 = c 1 4 · 3 .

For c 5 , c 6 , c 7 , we see that

c 5 = c 2 5 · 4 = 0 , c 6 = c 3 6 · 5 = c 0 6 · 5 · 3 · 2 , c 7 = c 4 7 · 6 = c 1 7 · 6 · 4 · 3 .

Therefore, the series solution of the differential equation is given by

y = c 0 + c 1 x + 0 · x 2 + c 0 3 · 2 x 3 + c 1 4 · 3 x 4 + 0 · x 5 + c 0 6 · 5 · 3 · 2 x 6 + c 1 7 · 6 · 4 · 3 x 7 + .

The initial condition y ( 0 ) = a implies c 0 = a . Differentiating this series term by term and using the fact that y ( 0 ) = b , we conclude that c 1 = b . Therefore, the solution of this initial-value problem is

y = a ( 1 + x 3 3 · 2 + x 6 6 · 5 · 3 · 2 + ) + b ( x + x 4 4 · 3 + x 7 7 · 6 · 4 · 3 + ) .
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Use power series to solve y + x 2 y = 0 with the initial condition y ( 0 ) = a and y ( 0 ) = b .

y = a ( 1 x 4 3 · 4 + x 8 3 · 4 · 7 · 8 ) + b ( x x 5 4 · 5 + x 9 4 · 5 · 8 · 9 )

Got questions? Get instant answers now!

Evaluating nonelementary integrals

Solving differential equations is one common application of power series. We now turn to a second application. We show how power series can be used to evaluate integrals involving functions whose antiderivatives cannot be expressed using elementary functions.

One integral that arises often in applications in probability theory is e x 2 d x . Unfortunately, the antiderivative of the integrand e x 2 is not an elementary function. By elementary function, we mean a function that can be written using a finite number of algebraic combinations or compositions of exponential, logarithmic, trigonometric, or power functions. We remark that the term “elementary function” is not synonymous with noncomplicated function. For example, the function f ( x ) = x 2 3 x + e x 3 sin ( 5 x + 4 ) is an elementary function, although not a particularly simple-looking function. Any integral of the form f ( x ) d x where the antiderivative of f cannot be written as an elementary function is considered a nonelementary integral    .

Nonelementary integrals cannot be evaluated using the basic integration techniques discussed earlier. One way to evaluate such integrals is by expressing the integrand as a power series and integrating term by term. We demonstrate this technique by considering e x 2 d x .

Using taylor series to evaluate a definite integral

  1. Express e x 2 d x as an infinite series.
  2. Evaluate 0 1 e x 2 d x to within an error of 0.01 .
  1. The Maclaurin series for e x 2 is given by
    e x 2 = n = 0 ( x 2 ) n n ! = 1 x 2 + x 4 2 ! x 6 3 ! + + ( −1 ) n x 2 n n ! + = n = 0 ( −1 ) n x 2 n n ! .

    Therefore,
    e x 2 d x = ( 1 x 2 + x 4 2 ! x 6 3 ! + + ( −1 ) n x 2 n n ! + ) d x = C + x x 3 3 + x 5 5.2 ! x 7 7.3 ! + + ( −1 ) n x 2 n + 1 ( 2 n + 1 ) n ! + .
  2. Using the result from part a. we have
    0 1 e x 2 d x = 1 1 3 + 1 10 1 42 + 1 216 .

    The sum of the first four terms is approximately 0.74 . By the alternating series test, this estimate is accurate to within an error of less than 1 216 0.0046296 < 0.01 .
Got questions? Get instant answers now!
Got questions? Get instant answers now!
Practice Key Terms 2

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 2. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11965/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 2' conversation and receive update notifications?

Ask