Solving Differential Equations Using Power Series

Similar documents
Solving Differential Equations Using Power Series

Series Solutions of Differential Equations

Math 2233 Homework Set 7

Power series solutions for 2nd order linear ODE s (not necessarily with constant coefficients) a n z n. n=0

Power Series Solutions to the Legendre Equation

Section 5.2 Series Solution Near Ordinary Point

Legendre s Equation. PHYS Southern Illinois University. October 18, 2016

Series Solutions. 8.1 Taylor Polynomials

Series Solution of Linear Ordinary Differential Equations

LECTURE 9: SERIES SOLUTIONS NEAR AN ORDINARY POINT I

Power Series Solutions to the Legendre Equation

Chapter 5.2: Series solution near an ordinary point

LECTURE 14: REGULAR SINGULAR POINTS, EULER EQUATIONS

Two special equations: Bessel s and Legendre s equations. p Fourier-Bessel and Fourier-Legendre series. p

Elementary Differential Equations, Section 2 Prof. Loftin: Practice Test Problems for Test Find the radius of convergence of the power series

Power Series and Analytic Function

MATH 312 Section 6.2: Series Solutions about Singular Points

Power Series Solutions We use power series to solve second order differential equations

Power Series Solutions And Special Functions: Review of Power Series

Power Series Solutions for Ordinary Differential Equations

Relevant sections from AMATH 351 Course Notes (Wainwright): Relevant sections from AMATH 351 Course Notes (Poulin and Ingalls):

MATH 118, LECTURES 27 & 28: TAYLOR SERIES

Additional Practice Lessons 2.02 and 2.03

Lecture 4.6: Some special orthogonal functions

2 Series Solutions near a Regular Singular Point

Ch 5.4: Regular Singular Points

Series Solutions Near a Regular Singular Point

Georgia Department of Education Common Core Georgia Performance Standards Framework CCGPS Advanced Algebra Unit 2

Review of Power Series

The Method of Frobenius

LECTURE 10: REVIEW OF POWER SERIES. 1. Motivation

INTERPOLATION. and y i = cos x i, i = 0, 1, 2 This gives us the three points. Now find a quadratic polynomial. p(x) = a 0 + a 1 x + a 2 x 2.

e y [cos(x) + i sin(x)] e y [cos(x) i sin(x)] ] sin(x) + ey e y x = nπ for n = 0, ±1, ±2,... cos(nπ) = ey e y 0 = ey e y sin(z) = 0,

f (x) = k=0 f (0) = k=0 k=0 a k k(0) k 1 = a 1 a 1 = f (0). a k k(k 1)x k 2, k=2 a k k(k 1)(0) k 2 = 2a 2 a 2 = f (0) 2 a k k(k 1)(k 2)x k 3, k=3

Equations with regular-singular points (Sect. 5.5).

Review: Power series define functions. Functions define power series. Taylor series of a function. Taylor polynomials of a function.

Fall Math 3410 Name (Print): Solution KEY Practice Exam 2 - November 4 Time Limit: 50 Minutes

Lecture 4: Frobenius Series about Regular Singular Points

Math Lecture 36

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

Math Assignment 11

Math 253 Homework due Wednesday, March 9 SOLUTIONS

The Method of Frobenius

5. Series Solutions of ODEs

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

swapneel/207

Math Real Analysis II

First-Order ODE: Separable Equations, Exact Equations and Integrating Factor

Math123 Lecture 1. Dr. Robert C. Busby. Lecturer: Office: Korman 266 Phone :

CALCULUS JIA-MING (FRANK) LIOU

Power Series in Differential Equations

Math Real Analysis II

Section 4.3. Polynomial Division; The Remainder Theorem and the Factor Theorem

Lecture IX. Definition 1 A non-singular Sturm 1 -Liouville 2 problem consists of a second order linear differential equation of the form.

Section Properties of Rational Expressions

Method of Frobenius. General Considerations. L. Nielsen, Ph.D. Dierential Equations, Fall Department of Mathematics, Creighton University

POWER SERIES REVIEW SOLUTIONS

5.4 Bessel s Equation. Bessel Functions

2.2 Separable Equations

Polynomials Patterns Task

Series Solutions of Linear Differential Equations

12d. Regular Singular Points

The method of Fröbenius

Polynomials. In many problems, it is useful to write polynomials as products. For example, when solving equations: Example:

Chapter 4. Series Solutions. 4.1 Introduction to Power Series

Ordinary Differential Equations

EVALUATING A POLYNOMIAL

1. A polynomial p(x) in one variable x is an algebraic expression in x of the form

Polynomial Interpolation with n + 1 nodes

Power Series Solutions of Ordinary Differential Equations

Honors Advanced Algebra Unit 3: Polynomial Functions November 9, 2016 Task 11: Characteristics of Polynomial Functions

Taylor series. Chapter Introduction From geometric series to Taylor polynomials

OR MSc Maths Revision Course

Math221: HW# 7 solutions

MA22S3 Summary Sheet: Ordinary Differential Equations

1 Question related to polynomials

MB4018 Differential equations

11 a 12 a 21 a 11 a 22 a 12 a 21. (C.11) A = The determinant of a product of two matrices is given by AB = A B 1 1 = (C.13) and similarly.

12.1 Arithmetic Progression Geometric Progression General things about sequences

LEAST SQUARES APPROXIMATION

Unions of Solutions. Unions. Unions of solutions

Generating Functions of Partitions

SOLUTIONS ABOUT ORDINARY POINTS

Lecture 13: Series Solutions near Singular Points

Math Exam 2, October 14, 2008

Taylor series - Solutions

2. Second-order Linear Ordinary Differential Equations

FROBENIUS SERIES SOLUTIONS

LECTURE 5, FRIDAY

MATH 1231 MATHEMATICS 1B Calculus Section 4.4: Taylor & Power series.

Physics 250 Green s functions for ordinary differential equations

Series Solutions of Linear ODEs

Unit 2 Rational Functionals Exercises MHF 4UI Page 1

24. x 2 y xy y sec(ln x); 1 e x y 1 cos(ln x), y 2 sin(ln x) 25. y y tan x 26. y 4y sec 2x 28.

x 9 or x > 10 Name: Class: Date: 1 How many natural numbers are between 1.5 and 4.5 on the number line?

Problem 1A. Find the volume of the solid given by x 2 + z 2 1, y 2 + z 2 1. (Hint: 1. Solution: The volume is 1. Problem 2A.

Math 240 Calculus III

Review session Midterm 1

17.2 Nonhomogeneous Linear Equations. 27 September 2007

March Algebra 2 Question 1. March Algebra 2 Question 1

Transcription:

LECTURE 8 Solving Differential Equations Using Power Series We are now going to employ power series to find solutions to differential equations of the form () y + p(x)y + q(x)y = 0 where the functions p(x) and q(x) are polynomials. Let us begin with a simple example. Example 8.. Given that y(x) satisfies y + y + x 2 y = 0 y(0) = y (0) = 2 Write down the first four terms of the Taylor Expansion of y(x) about x = 0. The Taylor expansion of y(x) about x = 0 is the power series y (n) (0) x n (2) n! = y(0) + y (0)x + 2 y (0)x 2 + y (0)x 3 + 24 yiv (0)x 4 + From the initial conditions we know that y(0) = y (0) = 2 We can use the differential equation to determine the values of all the higher derivatives of y(x) at x = 0. This is done as follows. Isolating the y term on the left hand side of the differential equation we obtain (3) y (x) = y (x) x 2 y(x) Evaluating (3) at x = 0 yields (4) y (0) = (2) (0) 2 () = 2 To obtain y (0) we can differentiate both sides of (3) and get y (x) = y (x) = 2xy (5) y (x) = y (x) 2xy(x) x 2 y (x) We can now evaluate (5) at x = 0 to obtain y (0) = y (0) 2(0)y(0) (0) 2 y (0) = y (0) = 2 where we have used (4) to evaluate y (0). Continuing in the same manner we can differentiate (5) to obtain y iv (x) = y (x) 2y(x) 2xy(x) 2xy (x) x 2 y (x) 80

8. SOLVING DIFFERENTIAL EQUATIONS USING POWER SERIES 8 which upon evaluation at x = 0 yields y iv (0) = y (0) 2y(0) 2(0)y(0) 2(0)y (0) 2(0)y (0) (0) 2 y (0) = y (0) 2y(0) = 2 2 = 4 We now plug these results for y(0), y (0), y (0), y (0), and y iv (0) into (2) and obtain + 2x + 2 2 x2 + 2 x3 + 4 24 x4 + = + 2x x 2 + 3 x3 x4 + It should be clear that the method of this example can easily be extended to compute as many terms of the Taylor expansion of the solution of the differential equations as we want. Example 8.2. In this example I will demonstrate an equivalent, but more systematic method of computing a power series expression for the solution of a differential equation. Consider the follwing initial value problem: () y y = 0 y(2) = y (2) = We shall look for a power series solution around x o = 2; i.e., a solution of the form (7) a n (x 2) n. Our task is then is to determine the coefficients a n so that this y(x) indeed satisfies (). Now already the first two coefficients are determined by the initial conditions. To see this note and so Similarly, and so y(x) a n (x 2) n = a 0 + a (x 2) + a 2 (x 2) 2 + a 3 (x 2) 3 + = y (2) = a 0 + a 0 + a 2 0 2 + a 3 0 3 + = a 0 y (x) na n (x 2) n = 0 + a + 2a 2 (x 2) + 3a 3 (x 2) 2 + = y (2) = a. The remaining coefficients a n can now be determined by the differential equation. Differentiating term by term we have y (x) = d dx [ [ a n (x 2) n ] ] a 0 + a (x 2) + a 2 (x 2) 2 + a 3 (x 2) 3 + = d dx = a + 2a 2 (x 2) + 3a 3 (x 2) 2 + n= na n (x 2) n. Differentiating again one finds y = n(n )a n (x 2) n 2.

8. SOLVING DIFFERENTIAL EQUATIONS USING POWER SERIES 82 if (7) is to solve (), we need 0 = n(n )a n (x 2) n 2 + a n (x 2) n. To solve the equation above we first put the first power series in standard form: 0 n(n )a n (x 2) n 2 a n (x 2) n = m=0 (m + 2)(m + )a m+2 (x 2) m a n (x 2) n ((n + 2) (n + )a n+2 a n ) (x 2) n This must vanish for all x, so the total coefficient of each power of (x 2) n must vanish separately: (n + 2) (n + ) a n+2 a n = 0, n. We thus conclude a n+2 = (n + 2)(n + ) a n. n. A relationship of this type between the coefficients of a power series is called a recursion relation. Here is how one applies the recursion relation to determine (almost) all of the coefficients a n. To start, let s suppose a 0 and a are given. Then The following pattern emerges: a 2 = a 0+2 = (0+2)(0+) a 0 = 2 a 0 a 3 = a +2 = (+2)(+) a = 3 2 a a 4 = a 2+2 = (2+2)(+2) a 2 = 4 3 a = 4 3 2 a 0 a 5 = a 3+2 = (3+2)(3+) a 3 = 5 4 a 3 = 5 4 3 2 a a = a 4+2 = (4+2)(4+) a 4 = 5 a 4 = 5 4 3 2 a 0 if n is even, i.e., n = 2k, then a n = n! a o if n is odd, i.e., n = 2k +, then a n = n! a But as we have already seen, the initial conditions imply y(2) = a 0 = y (2) = a = { a n = n! if n is even, n! if n is odd ( (x 2) + 2 (x 2)2 3! (x 2)3 ) + 4! (x 2)4 + = + 2! (x 2)2 + 4! (x 2)4 + ( ) (x 2) + 3! (x 2)3 + 5! (x2)5 + = cosh(x 2) sinh(x 2) In the last step we have simply identified the power series within the parentheses as the Taylor expansions of cosh(x 2) and sinh(x 2). This example generalizes as follows. To construct a power series solution around the point x = x o, we procede as follows: () Set y(x) a n(x x o ) n. (2) Plug the expression () for y(x) into the differential equation; (3) Manipulate the resulting equation to obtain an equation in which single power series expression (rather that a sum of several power series) is set equal to zero. (4) Set the coefficient of each power of (x x o ) separately equal to zero. The resulting set of equations gives us the recursion relation for the coefficients a n.

8. SOLVING DIFFERENTIAL EQUATIONS USING POWER SERIES 83 (5) Solve the recursion relations, one by one, starting with the equation for a 2 in terms of a 0 and a, until all the coefficients a n are expressed in terms of a 0 and a. () Write down the solution y(x) using the results of preceding step. A good question to ask at this point is: what is the special significance of a 0 and a? Here is the answer. Recall that the equation y + p(x)y + q(x)y = 0 always has a unique solution satisfying given initial conditions y(x o ) = y o, y (x o ) = y o so long as p(x), and q(x) are well-behaved functions at x o ; in particular, if p(x) and q(x) are polynomials. Suppose we found a power series solution to this differential equation in the manner described above; a n (x x o ) n. Then y(x o ) a n(x o x o ) n = a 0 + 0 + 0 + 0 + = a 0, y (x o ) na n(x o x o ) n = 0 + a + 0 + 0 + = a. So the coefficients a o and a correspond exactly to the initial values of y and y at x o. Example 8.3. Find a general solution of around x o =. We set y + xy + y = 0 a n (x ) n and plug into the differential equation: 0 = n(n )a n (x ) n 2 + x na n (x ) n + a n (x ) n. n= The hardest part about this problem will be to combine the three power series appearing on the right hand side of the equation above into a single power series. We have 0 n(n )a n(x ) n 2 + x n= na n(x ) n a n(x ) n n(n )a n(x ) n 2 + (x + ) n= na n(x ) n a n(x ) n n(n )a n(x ) n 2 + (x ) n= na n(x ) n + n= na n(x ) n a n(x ) n n(n )a n(x ) n 2 n= na n(x ) n n= na n(x ) n a n(x x o ) n m=0 (m + 2)(m + )a m+2(x ) m na n(x ) n k=0 (k + )a k+(x ) k a n(x ) n (n + 2)(n + )a n+2(x ) n + na n(x ) n (n + )a n+(x ) n a n(x ) n ((n + 2)(n + )a n+2 + na n + (n + )a n+ + a n ) (x ) n We must therefore have or 0 = (n + 2)(n + )a n+2 + na n + (n + )a n+ + a n a n+2 = a n + a n+ (n + 2).

8. SOLVING DIFFERENTIAL EQUATIONS USING POWER SERIES 84 a 2 = a0+a 2 a 3 = a+a2 3 = a 3 + a0+a = a0 a a 4 = a2+a3 4 = a0+a 8 a0 a 24 = a0+2a 2 So up to order four the general solution is or a 0 + a (x ) a 0 + a 2 Example 8.4. Find a series solution of (x ) 2 + a 0 a (x ) 3 + a 0 + 2a (x ) 4 + 2 ) a 0 ( 2 (x )2 + (x )3 + 2 (x )4 + ( +a x 2 (x )2 (x )3 + (x )4 + ) about x = 0 satisfying the initial condition Plugging y xy = 0 y(0) =, y (0) = 2. a n x n into the differential equation yields 0 n(n )a nx n 2 x a nx n n(n )a nx n 2 a nx n+ (n + 2)(n + )a n+2x n n= a n x n = 2a 2 n= (n + 2)(n + )a n+2x n = 2a 2 n= ((n + 2)(n + )a n+2 a n ) x n Demanding that the total coefficient of each power of x must vanish leads to The latter equation can also be written as a 2 = 0 a n+2 = a n+3 = a n (n+2)(n+) a n (n + 3)(n + 2) Now the initial conditions imply a 0 =, a = 2. We also have a 2 = 0, and the recursion relation above yields a 3 = a 4 = a 5 = a = a 7 = a 0 (3)(2) = (2)(3) = a (4)(3) = 2 (4)(3) = a 2 (5)(4) = 0 20 = 0 a 3 ()(5) = ()(5) = 80 a 4 (7)() = (7)() = 252. n= a n x n So up, to order seven, + 2x + x3 + x4 + 80 x + 252 x7 + is a solution of the initial value problem.