You are on page 1of 8
CHAPTER 5 Series Solutions of ODEs. Special Fuactions In the previous chapters. we have seen that linear ODEs with constant coefficients can be solved by algebraic methods, and that ther solutions are elementary functions known [kom calculus. For ODEs with variable coefficients the situation is more complicated, and their solutions may be nonelementary functions. Legendre’s, Bessel's, and the hypergeometric ‘equations ate important ODEs of this kind. Since these ODEs and their solutions, the Legendre polynomials, Bessel functions, and hypergeometric functions, play an important role in engineering modeling, we shall consider the (wo standard methods for solving such ODEs, The first method is called the power series method because it gives solutions in the form of a power seties ag + ayx + aax? + agx* + “The second method is called the Frobenius method and generalizes the firs; it gives solutions in power series, multiplied by a logarithmic term ln x or a fractional power » in cases such as Bessel’s equation, in which the first method is not general enough. All those more advanced solutions and various other functions not appearing in calculus are known as higher functions ot special fanctions, which has become a technical term, ach of these functions is important enough to give it a name and investigate its properties and relations to other functions in great detail (take a look into Refs. [GenRetl. [GenRef10), or [All] in App. 1). Your CAS knows practically all functions you will ever need in industry or research labs, but itis up to you to find your way through this vast terrain of formulas. The present chapter may give you some help in this task, COMMENT. You can study this chapter directly afler Chap, 2 because it needs no ‘material from Chaps. 3 oF 4 Prerequisite: Chap. 2. Section that may be omitted in a shorter course: 5.5. References and Answers to Problems: App. 1 Past A, and App. 2. 5.1 Power Series Method ‘The power series method is the standard method Jor solving linear ODEs with variable coefficients. It gives solutions in the form of power series. These series can be used for computing values, graphing curves, proving fommulas, and exploring properties of solutions, as we shall see. In this section we begin by explaining the idea of the power series method. 167 168 EXAMPLE EXAMPLE 2 CHAP. S-Series Solutions of ODEs. Special Functions From calculus we remember that a power series (in powers of x ~ xo) is an infinite series of the form wo Dayal = x0)" = ao + ayla — xg) + a(x — x0) + mao Here, x is a vasiable. dp. ay g,--~ are constants, called the coefficients of the series ‘ois a constant, called the center ofthe series, In particular ifxq@= 0, we obtain a power series in powers of x @ Some” = ay + aye + anx® + aps? + ‘We shall assume that all variables and constants are real We note that the term “power series” usually refers to a series of the form (1) for (2)] but does not include series of negative or fractional powers of x. We usc m as the summation letter, reserving 7 as a standard notation in the Legendre and Bessel equations for integer values of the parameter. Familiar Power Series ae the Maclain series Meat os Cad <1, gsm sein ett ar 5 one core 5 OR ae! Scone sor 2 aes NH . Idea and Technique of the Power Series Method ‘The idea of the power series method for solving linear ODEs seems natural, once we ‘know that the most important ODEs in applied mathematics have solutions of this form, ‘We explain the idea by an ODE that can readily be solved otherwise. Power Series Solution. Solve y/ — y = 0 Solution. ne Se sep we inset a yea age ap? + at += Sag SEC. 5.1 Power Series Method 169 EXAMPLE 3 and he avis obtained by terms differentiation » Yen t tart igs t= 5 mage? into the ODE: (ay + age + Baga? +) ~ (ag + age + aya +) =O. ‘Then we collect ike powers of x, finding (a1 09) + ay — apie + Gay age t= quan the coetiient ofeach power of to 20, we have m0, Mya amas Solving these equations, we may express ay p++ in terms of ap, which remains ebitary: x 7 ¥ ‘With these values ofthe coefficients, the series solution becomes the falar genealsluion Me Mee wt aon + Bat ese ea (De ae wer fee fenn mal ‘Test your comprehension by solving > ageas x = asin © hy power series, You should get the result We now describe the method in general and justify it after the next example, For a given ODE o y" + pay’ + qty ‘we first represent p(x) and g(x) by power series in powers of x (or of x ~ xo if solutions in powers of x ~ xp are wanted). Often p(x) and g(x) are polynomials, and then nothing needs to be done in tis first step. Next we assume a solution in the form of a power series (Q) with unknown coefficients and insert it as well as (3) and Mm Dag +3 Dagny + $= Sag? + = SS mim — Yaya ek 6) into the ODE. Then we collect like powers of x and equate the sum of the coefficients of each occurring power of x to zero, starting with the constant terms, then taking the terms containing x, then the terms in x, and so on. This gives equations from which we can ddotermine the unknown coefficients of (3) successively. [A Special Legendre Equation, The ODE, sty" — an! + 2-0 occur ia models exibiing spesical symmetry. Solve i 10 CHAP. S-Series Solutions of ODEs. Special Functions Solution. set 2, an) note OOD Ap ges wo oe ado ath om ye) adn 3) we We owas way agp Te ag + Gaye + Haga + 200527 + age + = days — bays ~ 1eagr* ~ Raye - age? Gage? — kaya — By = Bay + 2ax + Baye + Daya + days + ‘Add ers oie powers ofx For eas powera®. 3.2% by [0] (constant terms (1 hist power of), and on quae the sum obaind to zero. Dente these sums Som Power Equations oO we mom w eB be) Wag dag, ag = tha Bw sie a (18) 50mg = tag ae = Ba BC ‘This gives the selon y= ay + atl sp and ay emsin atitary. Hence, this sf a ganeal salon that consists of wo solutions! x and Das? het Be these wo solitons ar member of families of fnctions called Legendre polomile P,Q) and Legendre functont Q,(s) bre we have x= Ps) and 1 — x8 ~ fat bam =Qy(0) The sinus is by convention. The index Ii called the order ofthese two functions and het the order is 1. More on Leen polyols in the next section 7 Theory of the Power Series Method ‘The nth partial sum of (1) is © Sy(0) = ag + axG — Xo) + a6 — Xo)* + + + aly = xg)” where n = 0, 1, ++ If we omit the terms of s,, from (1), the remaining expression is o Ry) = aysrl — 20)" FF ayant — xo"? + ‘This expression is called the remainder of (1) after the term a(x — x0)" For example, in the case of the geometric series Ltxtattec tat wwe have saree +x tate Raat tate te, ate SEC. 5.1 Power Series Method m In this way we have now associated with (1) the sequence of the partial sums 5008), 5100, 20, +. If for some x = 21 this sequence converges, say Him srs) = 500), then the series (1) is called convergent af x = xy, the number s(x) is called the value or sum of (1) at x4, and we write sr) = Santor = x0)" ‘Then we have for every n, ®) stra) = syn) + Ryley. Ie that sequence diverges al x = xy, the series (1) is called divergent atx = 1s. In the case of convergence, for any positive ¢ there is an NV (depending on ¢) such that, by @) ® [anol = Ise) — sue] < € for all n > N. Geometcically, this means that all s,(¢3) with n > He between s(x) — € and s(x) + € (Fig. 104). Practically, this means that in the ease of convergence we can approximate the sum s(¢) of (1) at xy by sy(4) as accurately as we please, by taking n large enough, be Sajae es) vere Fig 104 tnequalty (9) ‘Where does a power series converge? Now if we choose x = xy in (I), the series reduces to the single term ag because the other terms are zero, Hence the series converges at Xo, In some eases this may be the only value of x for which (1) converges. If there are other values of x for which the series converges, these values form an interval, the convergence interval. This interval may be finite, as in Fig. 105, with midpoint xo. Then the series (1) ‘converges for all x in the interior of the interval, that i, for all x for which ao) — rol R. The interval may also be infinite, that is, the series may Fig. 105. Convergence interval (1) of a power series with center x m EXAMPLE 4 THEOREM CHAP. S-Series Solutions of ODEs. Special Functions “The quantity R in Fig. 105 is called the radius of convergence (because for a complex power series itis the radius of disk of convergence). If the series converges for all x, we set R= © (and 1/R = 0). “The radius of convergence can be determined from the coefficients of the series by ‘means of each of the formulas ay @ R=1/ tim VTaT R= 1/ tim provided these limits exist and are not zero. (If these limits are infinite, then (1) converges only at the center x9 Convergence Radius R= ©, 1,0 For al te sets let m > oe 1 Rae am Vo amen) Ret ay lawn) > DY Convergence forall x(R = =) isthe best possible case, convergence in some Sint terval the usual, and convergence only a the center (R = 0) uiless 7 When do power series solutions exist? Answer ip, g, rin the ODEs a2) y+ pady” + geny = ra) hhave power series representations (Taylor series), Mote precisely, a function f(x) is called analytic at a point x = xo if it can be represented by a power series in powers of y — x0 ‘with positive radius of convergence. Using this concept, we can state the following basic theorem, in which the ODE (12) is im standard form, that is, it begins with the y" If your ODE begins with, say, A(a)y", divide i first by f(a) and then apply the theorem to the resulting new ODE. Existence of Power Series Solu Ip, 4, and r in (12) are analytic at x = xo, then every solution of (12) is analytic at x = xq and can thus be represented by a power series in powers of x ~ xq with radius of convergence R > 0. ‘The proof of this theorem requires advanced complex analysis and can be found in Ref. [ALI] listed in App. 1 ‘We mention that the radius of convergence R in Theorem 1 is at least equal tothe distance {rom the point x = xg to the point (or points) closest to x9 at which one of the functions P. qs F, as functions of a complex variable, is not analytic. (Note that that point may not lie on the x-axis but somewhere in the complex plane.) SEC. 5.1 Power Series Method ™ Further Theory: Operations on Power Series In the power series method we differentiate, add, and multiply power series, and we obtain coefficient recursions (as, for instance, in Example 3) by equating the sum of the coefficients of each occurring power of x to zet0. These four operations are permissible in the sense explained in what follows. Proofs can be found in See. 15.3. 1, Termwise Differentiation. A power series may be differentiated term by term. Mote precisely: if y0) =D) ant x0)" erges for |x ~ xo| < R. where R > 0, then the series obtained by differentiating term by term also converges for those x and represents the derivative y’ of y for those x 30) = Emap =x"? eal <®) ‘Similarly for the second and further derivatives. 2. Termwise Addition. Two power series may be added term by term. More precisely: if the series aa D ane x0" — and SY} yee = 0)" have positive radit of convergence and their sums are f(x) and g(x), then the series D lo + bee = 0)" converges and represents f(x) + g(x) for each x that les inthe interior ofthe convergence interval common to each of the two given series 3. Termwise Multiplication, Tivo power series may be multiplied term by term. More precisely: Suppose that the series (13) have positive radii of convergence and let f(x) and 8G) be their sums. Then the scries obtained by multiplying each term of the fist series by each term of the second series and collecting like powers of x — xo, that is, oby + (agby + aybo)(x ~ x0) + (aoba + ayby + agbo}(x — xo)” + ZS Goby. + aban + + aybohle = 40)" converges and represents /(a)¢(4) for each x in the interior of the convergence interval of ceach of the two given series. m4 CHAP. S-Series Solutions of ODEs. Special Functions 4, Vanishing of All Coefficients (“entity Theorem for Power Series.”) If a power series has a positive radius of convergent convergence and a sum that is identically zero throughout its interval of convergence, then each coefficient of the series must be zero. 1. WRITING AND LITERATURE PROJECT. Power Series in Calculus (a) Write «review (2-3 pages) on power series in calculus Use your own formulations and ‘examples do not just copy ftom textbooks, No proofs, (@) Collect and arange Maclarin series in systematic list hat you ean use for your work. 25] REVIEW: RADIUS OF CONVERGENCE Determine the radius of convergence. Show the details of your work 2S ont mm = 0" sos “y= ©] SERIES SOLUTIONS BY HAND ‘Apply the power series method. Do this by land, not by a CAS, to gota feel for the method, eg, why 2 series may terminate, or has even powers only et. Show the details. 6.U tay" =y Ty! = ty 8. xy! — 3y = k= cons) By ty=0 10-14] SERIES SOLUTIONS Find power series sotution in powers of, Show the details 10. y" = y+ ay = 0 My =9 eyo 12, (1 x4)y" = day! + I y Has By= 1A y" = day! + Gx? = Dy. Peres see ee 16. Shifting summation indices is often convenient or recessary in Ube power series method. Shift the index 0 that the power under the summation sign is x". ‘Check by writing the first few terms explicity 3 ae +t Set D > x 1619] CAS PROBLEMS. IVPs Solve the initial value problem by a power series. Graph the pavtal sums ofthe powers up to ad including +°. Find the value of the sum (5 digits) at xy 0) = 125, x1 = 02 IL y" 43x + 2y= 0, YO= 1. yO) 05 1B = x29" = Day + 509 YO) = 1875, x44 = 05 19. (r= 2)" =, O) 20. CAS Experiment. Information from Graphs of Partial Sums, In numerics we use partial sums of power series, To get a fel forthe accuracy for various 4, experiment with sin x. Graph partial sums of the ‘Maclaurin series of an inereasing number of terms eseribing qualitatively the “breakaway points” of these graphs from the graph of sin x. Consider other Maclaurin series of your choice 16. y! + ay 10) Fig. 106, ‘CAS Experiment 20. sin x and partial

You might also like