<< Chapter < Page Chapter >> Page >
  • Use power series to solve first-order and second-order differential equations.

In Introduction to Power Series , we studied how functions can be represented as power series, y ( x ) = n = 0 a n x n . We also saw that we can find series representations of the derivatives of such functions by differentiating the power series term by term. This gives y ( x ) = n = 1 n a n x n 1 and y ( x ) = n = 2 n ( n 1 ) a n x n 2 . In some cases, these power series representations can be used to find solutions to differential equations.

Be aware that this subject is given only a very brief treatment in this text. Most introductory differential equations textbooks include an entire chapter on power series solutions. This text has only a single section on the topic, so several important issues are not addressed here, particularly issues related to existence of solutions. The examples and exercises in this section were chosen for which power solutions exist. However, it is not always the case that power solutions exist. Those of you interested in a more rigorous treatment of this topic should consult a differential equations text.

Problem-solving strategy: finding power series solutions to differential equations

  1. Assume the differential equation has a solution of the form y ( x ) = n = 0 a n x n .
  2. Differentiate the power series term by term to get y ( x ) = n = 1 n a n x n 1 and y ( x ) = n = 2 n ( n 1 ) a n x n 2 .
  3. Substitute the power series expressions into the differential equation.
  4. Re-index sums as necessary to combine terms and simplify the expression.
  5. Equate coefficients of like powers of x to determine values for the coefficients a n in the power series.
  6. Substitute the coefficients back into the power series and write the solution.

Series solutions to differential equations

Find a power series solution for the following differential equations.

  1. y y = 0
  2. ( x 2 1 ) y + 6 x y + 4 y = −4
  1. Assume y ( x ) = n = 0 a n x n (step 1). Then, y ( x ) = n = 1 n a n x n 1 and y ( x ) = n = 2 n ( n 1 ) a n x n 2 (step 2). We want to find values for the coefficients a n such that
    y y = 0 n = 2 n ( n 1 ) a n x n 2 n = 0 a n x n = 0 (step 3).

    We want the indices on our sums to match so that we can express them using a single summation. That is, we want to rewrite the first summation so that it starts with n = 0 .
    To re-index the first term, replace n with n + 2 inside the sum, and change the lower summation limit to n = 0 . We get
    n = 2 n ( n 1 ) a n x n 2 = n = 0 ( n + 2 ) ( n + 1 ) a n + 2 x n .

    This gives
    n = 0 ( n + 2 ) ( n + 1 ) a n + 2 x n n = 0 a n x n = 0 n = 0 [ ( n + 2 ) ( n + 1 ) a n + 2 a n ] x n = 0 (step 4).

    Because power series expansions of functions are unique, this equation can be true only if the coefficients of each power of x are zero. So we have
    ( n + 2 ) ( n + 1 ) a n + 2 a n = 0 for n = 0 , 1 , 2 ,….

    This recurrence relationship allows us to express each coefficient a n in terms of the coefficient two terms earlier. This yields one expression for even values of n and another expression for odd values of n . Looking first at the equations involving even values of n , we see that
    a 2 = a 0 2 a 4 = a 2 4 3 = a 0 4 ! a 6 = a 4 6 5 = a 0 6 ! ⋮.

    Thus, in general, when n is even, a n = a 0 n ! (step 5).
    For the equations involving odd values of n , we see that
    a 3 = a 1 3 2 = a 1 3 ! a 5 = a 3 5 4 = a 1 5 ! a 7 = a 5 7 6 = a 1 7 ! ⋮.

    Therefore, in general, when n is odd, a n = a 1 n ! (step 5 continued).
    Putting this together, we have
    y ( x ) = n = 0 a n x n = a 0 + a 1 x + a 0 2 x 2 + a 1 3 ! x 3 + a 0 4 ! x 4 + a 1 5 ! x 5 + ⋯.

    Re-indexing the sums to account for the even and odd values of n separately, we obtain
    y ( x ) = a 0 k = 0 1 ( 2 k ) ! x 2 k + a 1 k = 0 1 ( 2 k + 1 ) ! x 2 k + 1 (step 6).

    Analysis for part a.
    As expected for a second-order differential equation, this solution depends on two arbitrary constants. However, note that our differential equation is a constant-coefficient differential equation, yet the power series solution does not appear to have the familiar form (containing exponential functions) that we are used to seeing. Furthermore, since y ( x ) = c 1 e x + c 2 e x is the general solution to this equation, we must be able to write any solution in this form, and it is not clear whether the power series solution we just found can, in fact, be written in that form.
    Fortunately, after writing the power series representations of e x and e x , and doing some algebra, we find that if we choose
    c 0 = ( a 0 + a 1 ) 2 , c 1 = ( a 0 a 1 ) 2 ,

    we then have a 0 = c 0 + c 1 and a 1 = c 0 c 1 , and
    y ( x ) = a 0 + a 1 x + a 0 2 x 2 + a 1 3 ! x 3 + a 0 4 ! x 4 + a 1 5 ! x 5 + = ( c 0 + c 1 ) + ( c 0 c 1 ) x + ( c 0 + c 1 ) 2 x 2 + ( c 0 c 1 ) 3 ! x 3 + ( c 0 + c 1 ) 4 ! x 4 + ( c 0 c 1 ) 5 ! x 5 + = c 0 n = 0 x n n ! + c 1 n = 0 ( x ) n n ! = c 0 e x + c 1 e x .

    So we have, in fact, found the same general solution. Note that this choice of c 1 and c 2 is not obvious. This is a case when we know what the answer should be, and have essentially “reverse-engineered” our choice of coefficients.
  2. Assume y ( x ) = n = 0 a n x n (step 1). Then, y ( x ) = n = 1 n a n x n 1 and y ( x ) = n = 2 n ( n 1 ) a n x n 2 (step 2). We want to find values for the coefficients a n such that
    ( x 2 1 ) y + 6 x y + 4 y = −4 ( x 2 1 ) n = 2 n ( n 1 ) a n x n 2 + 6 x n = 1 n a n x n 1 + 4 n = 0 a n x n = −4 x 2 n = 2 n ( n 1 ) a n x n 2 n = 2 n ( n 1 ) a n x n 2 + 6 x n = 1 n a n x n 1 + 4 n = 0 a n x n = −4 .

    Taking the external factors inside the summations, we get
    n = 2 n ( n 1 ) a n x n n = 2 n ( n 1 ) a n x n 2 + n = 1 6 n a n x n + n = 0 4 a n x n = −4 (step 3).

    Now, in the first summation, we see that when n = 0 or n = 1 , the term evaluates to zero, so we can add these terms back into our sum to get
    n = 2 n ( n 1 ) a n x n = n = 0 n ( n 1 ) a n x n .

    Similarly, in the third term, we see that when n = 0 , the expression evaluates to zero, so we can add that term back in as well. We have
    n = 1 6 n a n x n = n = 0 6 n a n x n .

    Then, we need only shift the indices in our second term. We get
    n = 2 n ( n 1 ) a n x n 2 = n = 0 ( n + 2 ) ( n + 1 ) a n + 2 x n .

    Thus, we have
    n = 0 n ( n 1 ) a n x n n = 0 ( n + 2 ) ( n + 1 ) a n + 2 x n + n = 0 6 n a n x n + n = 0 4 a n x n = −4 (step 4). n = 0 [ n ( n 1 ) a n ( n + 2 ) ( n + 1 ) a n + 2 + 6 n a n + 4 a n ] x n = −4 n = 0 [ ( n 2 n ) a n + 6 n a n + 4 a n ( n + 2 ) ( n + 1 ) a n + 2 ] x n = −4 n = 0 [ n 2 a n + 5 n a n + 4 a n ( n + 2 ) ( n + 1 ) a n + 2 ] x n = −4 n = 0 [ ( n 2 + 5 n + 4 ) a n ( n + 2 ) ( n + 1 ) a n + 2 ] x n = −4 n = 0 [ ( n + 4 ) ( n + 1 ) a n ( n + 2 ) ( n + 1 ) a n + 2 ] x n = −4

    Looking at the coefficients of each power of x , we see that the constant term must be equal to −4 , and the coefficients of all other powers of x must be zero. Then, looking first at the constant term,
    4 a 0 2 a 2 = −4 a 2 = 2 a 0 + 2 (step 3).

    For n 1 , we have
    ( n + 4 ) ( n + 1 ) a n ( n + 2 ) ( n + 1 ) a n + 2 = 0 ( n + 1 ) [ ( n + 4 ) a n ( n + 2 ) a n + 2 ] = 0 .

    Since n 1 , n + 1 0 , we see that
    ( n + 4 ) a n ( n + 2 ) a n + 2 = 0

    and thus
    a n + 2 = n + 4 n + 2 a n .

    For even values of n , we have
    a 4 = 6 4 ( 2 a 0 + 2 ) = 3 a 0 + 3 a 6 = 8 6 ( 3 a 0 + 3 ) = 4 a 0 + 4 ⋮.

    In general, a 2 k = ( k + 1 ) ( a 0 + 1 ) (step 5).
    For odd values of n , we have
    a 3 = 5 3 a 1 a 5 = 7 5 a 3 = 7 3 a 1 a 7 = 9 7 a 5 = 9 3 a 1 = 3 a 1 ⋮.

    In general, a 2 k + 1 = 2 k + 3 3 a 1 (step 5 continued).
    Putting this together, we have
    y ( x ) = k = 0 ( k + 1 ) ( a 0 + 1 ) x 2 k + k = 0 ( 2 k + 3 3 ) a 1 x 2 k + 1 (step 6).
Got questions? Get instant answers now!

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

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 3. OpenStax CNX. Feb 05, 2016 Download for free at http://legacy.cnx.org/content/col11966/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

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

Ask