Professional Documents
Culture Documents
Lecture 2
Review of Ordinary Differential Equations
(Part II)
Lecture 2 1/19
Outline
Lecture 2 2/19
Second-Order Non-Homogeneous Linear ODEs
Lecture 2 3/19
Second-Order Non-Homogeneous Linear ODEs
Lecture 2 3/19
Second-Order Non-Homogeneous Linear ODEs
Lecture 2 3/19
Second-Order Non-Homogeneous Linear ODEs
Lecture 2 3/19
Second-Order Non-Homogeneous Linear ODEs
Lecture 2 3/19
Second-Order Non-Homogeneous Linear ODEs
Theorem 1(a)
The sum of a solution y of (1) on some open interval I and a solution ỹ of (3) on I
is a solution of (1) on I.
Lecture 2 4/19
Second-Order Non-Homogeneous Linear ODEs
Theorem 1(a)
The sum of a solution y of (1) on some open interval I and a solution ỹ of (3) on I
is a solution of (1) on I.
Proof.
Denoting the L.H.S. of (1) as L[y], for any solution y of (1) and ỹ of (3) on I,
Lecture 2 4/19
Second-Order Non-Homogeneous Linear ODEs
Theorem 1(a)
The sum of a solution y of (1) on some open interval I and a solution ỹ of (3) on I
is a solution of (1) on I.
Proof.
Denoting the L.H.S. of (1) as L[y], for any solution y of (1) and ỹ of (3) on I,
Theorem 1(b)
The difference of two solutions of (1) on some open interval I is a solution of (3) on
I.
Lecture 2 4/19
Second-Order Non-Homogeneous Linear ODEs
Theorem 1(a)
The sum of a solution y of (1) on some open interval I and a solution ỹ of (3) on I
is a solution of (1) on I.
Proof.
Denoting the L.H.S. of (1) as L[y], for any solution y of (1) and ỹ of (3) on I,
Theorem 1(b)
The difference of two solutions of (1) on some open interval I is a solution of (3) on
I.
Proof.
Denoting the L.H.S. of (1) as L[y], for any solutions y and y ∗ of (1) on I,
Lecture 2 4/19
Method of Undetermined Coefficients
y 00 + ay 0 + by = r(x), (6)
where r(x) is a function that has derivatives similar to itself, e.g., exponential function,
power of x, cosine/sine function and sum/products of such functions.
Basic Idea:
1. Choose a form for yp (x) (in (2)) which is similar to r(x) but with unknown
coefficients.
2. Find the unknown coefficients by substituting yp and its derivatives into the ODE.
Lecture 2 5/19
Method of Undetermined Coefficients
y 00 + ay 0 + by = r(x), (6)
where r(x) is a function that has derivatives similar to itself, e.g., exponential function,
power of x, cosine/sine function and sum/products of such functions.
Basic Idea:
1. Choose a form for yp (x) (in (2)) which is similar to r(x) but with unknown
coefficients.
2. Find the unknown coefficients by substituting yp and its derivatives into the ODE.
Lecture 2 5/19
Method of Undetermined Coefficients
y 00 + ay 0 + by = r(x), (6)
where r(x) is a function that has derivatives similar to itself, e.g., exponential function,
power of x, cosine/sine function and sum/products of such functions.
Basic Idea:
1. Choose a form for yp (x) (in (2)) which is similar to r(x) but with unknown
coefficients.
2. Find the unknown coefficients by substituting yp and its derivatives into the ODE.
Lecture 2 5/19
Method of Undetermined Coefficients
y 00 + ay 0 + by = r(x), (6)
where r(x) is a function that has derivatives similar to itself, e.g., exponential function,
power of x, cosine/sine function and sum/products of such functions.
Basic Idea:
1. Choose a form for yp (x) (in (2)) which is similar to r(x) but with unknown
coefficients.
2. Find the unknown coefficients by substituting yp and its derivatives into the ODE.
Lecture 2 5/19
Method of Undetermined Coefficients
y 00 + ay 0 + by = r(x), (6)
where r(x) is a function that has derivatives similar to itself, e.g., exponential function,
power of x, cosine/sine function and sum/products of such functions.
Basic Idea:
1. Choose a form for yp (x) (in (2)) which is similar to r(x) but with unknown
coefficients.
2. Find the unknown coefficients by substituting yp and its derivatives into the ODE.
Lecture 2 5/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermined Coefficients
Choice Rules:
1. Basic rule: If r(x) in (6) is a function from the first column of the table, choose the
corresponding yp (x) from the second column.
2. Modification rule: If a term in the choice for yp (x) happens to be a solution of the
homogeneous ODE corresponding to (6), multiply this term by x (or x2 if the charac-
teristic equation of the homogeneous ODE has a double root).
3. Sum rule: If r(x) in (6) is a sum of functions from the first column of the table, choose
yp (x) as a sum of corresponding functions from the second column.
Example: Solve
00 2 0
y + y = 0.001x , y(0) = 0, y (0) = 1.5. (7)
Step 1: Finding yh (x): The corresponding homogeneous ODE, y 00 + y = 0, has characteristic equation λ2 + 1 =
0 ⇒ λ = ±i. This gives the general solution as yh (x) = A cos x + B sin x.
Step 2: Choosing appropriate yp (x): Using basic rule, yp (x) = K2 x2 + K1 x + K0 . Then, yp0 = 2K2 x + K1
and yp00 = 2K2 . Putting yp and yp00 in the ODE, we get
00 2 2
yp + yp = 2K2 + K2 x + K1 x + K0 = 0.001x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
0 0
y(0) = 0 = A − 0.002 ⇒ A = 0.002, y (0) = 1.5 = y (x) = (−A sin x + B cos x + 0.002x) ⇒ B = 1.5,
x=0 x=0
which gives the particular solution as y(x) = 0.002 cos x + 1.5 sin x + 0.001x2 − 0.002.
Lecture 2 6/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Undetermind Coefficients
Example: Solve
x2 : 0 = 0, x : 0 = 0, x0 : 2C = −10 ⇒ C = −5
⇒ yp (x) = −5x2 e−1.5x ⇒ y(x) = (c1 + c2 x) e−1.5x − 5x2 e−1.5x .
Step 3: Solving the initial value problem: Applying the initial conditions, we get
y(0) = 1 = c1 , y 0 (0) = 0 = y 0 (x) = c2 − 1.5c1 ⇒ c2 = 1.5,
x=0
which gives the particular solution as y(x) = (1 + 1.5x) e−1.5x − 5x2 e−1.5x .
Lecture 2 7/19
Method of Variation of Parameters
Let
yp (x) = u(x)y1 (x) + v(x)y2 (x) (9)
be a particular solution of (1) on an open interval I, in which y1 (x) and y2 (x) are the
basis solutions of the homogeneous ODE in (3) on I. Then,
yp0 (x) = u0 y1 + uy10 + v 0 y2 + vy20 . (10)
General solution is then given by (2), in which the existence of yh (x) is ensured by
the continuity of p(x) and q(x) on I and the existence of integrals in yp (x) in (18) is
ensured by the continuity of r(x).
Lecture 2 9/19
Method of Variation of Parameters
Multiplying (11) with y20 , (14) with −y2 and adding them results in
Z
0 0 0 0 −y2 r y2 r
u y1 y2 − y2 y1 = −y2 r ⇒ u = ⇒ u(x) = − dx, (15)
W W
where
y 1 y2
W (y1 , y2 ) = y1 y20 − y2 y10 = 0 0 (16)
y1 y2
General solution is then given by (2), in which the existence of yh (x) is ensured by
the continuity of p(x) and q(x) on I and the existence of integrals in yp (x) in (18) is
ensured by the continuity of r(x).
Lecture 2 9/19
Method of Variation of Parameters
Multiplying (11) with y20 , (14) with −y2 and adding them results in
Z
−y2 r y2 r
u0 y1 y20 − y2 y10 = −y2 r ⇒ u0 =
⇒ u(x) = − dx, (15)
W W
where
y 1 y2
W (y1 , y2 ) = y1 y20 − y2 y10 = 0 0 (16)
y1 y2
General solution is then given by (2), in which the existence of yh (x) is ensured by
the continuity of p(x) and q(x) on I and the existence of integrals in yp (x) in (18) is
ensured by the continuity of r(x).
1
It can be seen that (15) and (17) satisfy (11). Furthermore, note that y1 and y2 are linearly independent solutions of (3) and hence,
W (y1 , y2 ) 6= 0.
Lecture 2 9/19
Method of Variation of Parameters
Multiplying (11) with y20 , (14) with −y2 and adding them results in
Z
−y2 r y2 r
u0 y1 y20 − y2 y10 = −y2 r ⇒ u0 =
⇒ u(x) = − dx, (15)
W W
where
y 1 y2
W (y1 , y2 ) = y1 y20 − y2 y10 = 0 0 (16)
y1 y2
General solution is then given by (2), in which the existence of yh (x) is ensured by
the continuity of p(x) and q(x) on I and the existence of integrals in yp (x) in (18) is
ensured by the continuity of r(x).
1
It can be seen that (15) and (17) satisfy (11). Furthermore, note that y1 and y2 are linearly independent solutions of (3) and hence,
W (y1 , y2 ) 6= 0.
Lecture 2 9/19
Method of Variation of Parameters
Multiplying (11) with y20 , (14) with −y2 and adding them results in
Z
−y2 r y2 r
u0 y1 y20 − y2 y10 = −y2 r ⇒ u0 =
⇒ u(x) = − dx, (15)
W W
where
y 1 y2
W (y1 , y2 ) = y1 y20 − y2 y10 = 0 0 (16)
y1 y2
General solution is then given by (2), in which the existence of yh (x) is ensured by
the continuity of p(x) and q(x) on I and the existence of integrals in yp (x) in (18) is
ensured by the continuity of r(x).
1
It can be seen that (15) and (17) satisfy (11). Furthermore, note that y1 and y2 are linearly independent solutions of (3) and hence,
W (y1 , y2 ) 6= 0.
Lecture 2 9/19
Method of Variation of Parameters
Example: Solve
y 00 + y = sec x. (19)
Lecture 2 10/19
Method of Variation of Parameters
Example: Solve
y 00 + y = sec x. (19)
Lecture 2 10/19
Method of Variation of Parameters
Example: Solve
y 00 + y = sec x. (19)
Lecture 2 10/19
Method of Variation of Parameters
Example: Solve
y 00 + y = sec x. (19)
Lecture 2 10/19
Method of Variation of Parameters
Example: Solve
y 00 + y = sec x. (19)
Lecture 2 10/19
Method of Variation of Parameters
Example: Solve
y 00 + y = sec x. (19)
Lecture 2 10/19
Power Series
then
∞
X m n+1 n+2
Rn (x) = am (x − x0 ) = an+1 (x − x0 ) + an+2 (x − x0 ) + ···
m=n+1
(22)
n
represents the remainder of the power series after the term an (x − x0 ) .
Lecture 2 11/19
Power Series
then
∞
X m n+1 n+2
Rn (x) = am (x − x0 ) = an+1 (x − x0 ) + an+2 (x − x0 ) + ···
m=n+1
(22)
n
represents the remainder of the power series after the term an (x − x0 ) .
Lecture 2 11/19
Power Series
then
∞
X m n+1 n+2
Rn (x) = am (x − x0 ) = an+1 (x − x0 ) + an+2 (x − x0 ) + ···
m=n+1
(22)
n
represents the remainder of the power series after the term an (x − x0 ) .
Lecture 2 11/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Convergence of Power Series
Convergent Power Series
A power series is called convergent at x = x1 if
i.e., the sum s(x1 ) can be approximated by the partial sum sn (x1 ) as accurately as desired.
Lecture 2 12/19
Power Series Method for Second-Order Linear ODEs
Theorem: Existence of Power Series Solutions
Every solution of the second-order non-homogeneous linear ODE, of the form y 00 + p(x)y 0 +
q(x)y = r(x), is analytic2 at x = x0 if p(x), q(x) and r(x) are analytic at x = x0 .
Example: Solve
y 0 − y = 0. (28)
a1 − a0 = 0, 2a2 − a1 = 0, 3a3 − a2 = 0, . . .
a1 a0 a2 a0
⇒ a1 = a0 , a2 = = , a3 = = ,...
2 2 3 3!
Hence, the solution of the ODE is given, in terms of a0 , by
x2 x3
y(x) = a0 1 + x + + + · · · = a0 ex .
2! 3!
Lecture 2 14/19
Power Series Method
Example: Solve
y 0 − y = 0. (28)
a1 − a0 = 0, 2a2 − a1 = 0, 3a3 − a2 = 0, . . .
a1 a0 a2 a0
⇒ a1 = a0 , a2 = = , a3 = = ,...
2 2 3 3!
Hence, the solution of the ODE is given, in terms of a0 , by
x2 x3
y(x) = a0 1 + x + + + · · · = a0 ex .
2! 3!
Lecture 2 14/19
Power Series Method
Example: Solve
y 0 − y = 0. (28)
a1 − a0 = 0, 2a2 − a1 = 0, 3a3 − a2 = 0, . . .
a1 a0 a2 a0
⇒ a1 = a0 , a2 = = , a3 = = ,...
2 2 3 3!
Hence, the solution of the ODE is given, in terms of a0 , by
x2 x3
y(x) = a0 1 + x + + + · · · = a0 ex .
2! 3!
Lecture 2 14/19
Power Series Method
Example: Solve
y 0 − y = 0. (28)
a1 − a0 = 0, 2a2 − a1 = 0, 3a3 − a2 = 0, . . .
a1 a0 a2 a0
⇒ a1 = a0 , a2 = = , a3 = = ,...
2 2 3 3!
Hence, the solution of the ODE is given, in terms of a0 , by
x2 x3
y(x) = a0 1 + x + + + · · · = a0 ex .
2! 3!
Lecture 2 14/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 1
Consider an ODE of the form
b(x) 0 c(x)
y 00 + y + 2 y = 0, (29)
x x
where b(x) and c(x) are analytic functions at x = 03 . Then the ODE in (29) has at
least one solution, given by
∞
X
y(x) = xr am xm = xr a0 + a1 x + x2 x2 + · · · ,
a0 6= 0. (30)
m=0
Lecture 2 15/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 1
Consider an ODE of the form
b(x) 0 c(x)
y 00 + y + 2 y = 0, (29)
x x
where b(x) and c(x) are analytic functions at x = 03 . Then the ODE in (29) has at
least one solution, given by
∞
X
y(x) = xr am xm = xr a0 + a1 x + x2 x2 + · · · ,
a0 6= 0. (30)
m=0
(ra0 + (r + 1)a1 x + · · · ) + c0 + c1 x + c2 x2 + · · · xr a0 + a1 x + a2 x2 + · · · = 0.
Equating the coefficients of each power, i.e., xr , xr+1 , xr+2 , . . . to zero results
in a linear system of equations. Coefficients of the smallest power, i.e., xr ,
yields the following equation
(r(r − 1) + b0 r + c0 ) a0 = 0
⇒ r(r − 1) + b0 r + c0 = 0, ∵ a0 6= 0, (33)
which is called the indicial equation. Therefore, y(x) in (30) is a solution of the
ODE if r is a root of the indicial equation (33).
The indicial equation is quadratic, correctly implying two solutions of the ODE.
The second solution depends on the roots of the indicial equation.
Lecture 2 16/19
Extended Power Series Method/Frobenius Method
(ra0 + (r + 1)a1 x + · · · ) + c0 + c1 x + c2 x2 + · · · xr a0 + a1 x + a2 x2 + · · · = 0.
Equating the coefficients of each power, i.e., xr , xr+1 , xr+2 , . . . to zero results
in a linear system of equations. Coefficients of the smallest power, i.e., xr ,
yields the following equation
(r(r − 1) + b0 r + c0 ) a0 = 0
⇒ r(r − 1) + b0 r + c0 = 0, ∵ a0 6= 0, (33)
which is called the indicial equation. Therefore, y(x) in (30) is a solution of the
ODE if r is a root of the indicial equation (33).
The indicial equation is quadratic, correctly implying two solutions of the ODE.
The second solution depends on the roots of the indicial equation.
Lecture 2 16/19
Extended Power Series Method/Frobenius Method
(ra0 + (r + 1)a1 x + · · · ) + c0 + c1 x + c2 x2 + · · · xr a0 + a1 x + a2 x2 + · · · = 0.
Equating the coefficients of each power, i.e., xr , xr+1 , xr+2 , . . . to zero results
in a linear system of equations. Coefficients of the smallest power, i.e., xr ,
yields the following equation
(r(r − 1) + b0 r + c0 ) a0 = 0
⇒ r(r − 1) + b0 r + c0 = 0, ∵ a0 6= 0, (33)
which is called the indicial equation. Therefore, y(x) in (30) is a solution of the
ODE if r is a root of the indicial equation (33).
The indicial equation is quadratic, correctly implying two solutions of the ODE.
The second solution depends on the roots of the indicial equation.
Lecture 2 16/19
Extended Power Series Method/Frobenius Method
(ra0 + (r + 1)a1 x + · · · ) + c0 + c1 x + c2 x2 + · · · xr a0 + a1 x + a2 x2 + · · · = 0.
Equating the coefficients of each power, i.e., xr , xr+1 , xr+2 , . . . to zero results
in a linear system of equations. Coefficients of the smallest power, i.e., xr ,
yields the following equation
(r(r − 1) + b0 r + c0 ) a0 = 0
⇒ r(r − 1) + b0 r + c0 = 0, ∵ a0 6= 0, (33)
which is called the indicial equation. Therefore, y(x) in (30) is a solution of the
ODE if r is a root of the indicial equation (33).
The indicial equation is quadratic, correctly implying two solutions of the ODE.
The second solution depends on the roots of the indicial equation.
Lecture 2 16/19
Extended Power Series Method/Frobenius Method
(ra0 + (r + 1)a1 x + · · · ) + c0 + c1 x + c2 x2 + · · · xr a0 + a1 x + a2 x2 + · · · = 0.
Equating the coefficients of each power, i.e., xr , xr+1 , xr+2 , . . . to zero results
in a linear system of equations. Coefficients of the smallest power, i.e., xr ,
yields the following equation
(r(r − 1) + b0 r + c0 ) a0 = 0
⇒ r(r − 1) + b0 r + c0 = 0, ∵ a0 6= 0, (33)
which is called the indicial equation. Therefore, y(x) in (30) is a solution of the
ODE if r is a root of the indicial equation (33).
The indicial equation is quadratic, correctly implying two solutions of the ODE.
The second solution depends on the roots of the indicial equation.
Lecture 2 16/19
Extended Power Series Method/Frobenius Method
(ra0 + (r + 1)a1 x + · · · ) + c0 + c1 x + c2 x2 + · · · xr a0 + a1 x + a2 x2 + · · · = 0.
Equating the coefficients of each power, i.e., xr , xr+1 , xr+2 , . . . to zero results
in a linear system of equations. Coefficients of the smallest power, i.e., xr ,
yields the following equation
(r(r − 1) + b0 r + c0 ) a0 = 0
⇒ r(r − 1) + b0 r + c0 = 0, ∵ a0 6= 0, (33)
which is called the indicial equation. Therefore, y(x) in (30) is a solution of the
ODE if r is a root of the indicial equation (33).
The indicial equation is quadratic, correctly implying two solutions of the ODE.
The second solution depends on the roots of the indicial equation.
Lecture 2 16/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 2
1. For r1 6= r2 and |r1 − r2 | =
6 1, 2, 3 . . ., the second solution is given by
Example: Solve
x(x − 1)y 00 + (3x − 1)y 0 + y = 0. (37)
Dividing by x(x − 1), we get
(3x − 1) 0 x
y 00 + y + 2 y = 0,
x(x − 1) x (x − 1)
from which we see that b(x) = (3x − 1)/(x − 1) and c(x) = x/(x − 1).
Lecture 2 17/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 2
1. For r1 6= r2 and |r1 − r2 | =
6 1, 2, 3 . . ., the second solution is given by
Example: Solve
x(x − 1)y 00 + (3x − 1)y 0 + y = 0. (37)
Dividing by x(x − 1), we get
(3x − 1) 0 x
y 00 + y + 2 y = 0,
x(x − 1) x (x − 1)
from which we see that b(x) = (3x − 1)/(x − 1) and c(x) = x/(x − 1).
Lecture 2 17/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 2
1. For r1 6= r2 and |r1 − r2 | =
6 1, 2, 3 . . ., the second solution is given by
Example: Solve
x(x − 1)y 00 + (3x − 1)y 0 + y = 0. (37)
Dividing by x(x − 1), we get
(3x − 1) 0 x
y 00 + y + 2 y = 0,
x(x − 1) x (x − 1)
from which we see that b(x) = (3x − 1)/(x − 1) and c(x) = x/(x − 1).
Lecture 2 17/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 2
1. For r1 6= r2 and |r1 − r2 | =
6 1, 2, 3 . . ., the second solution is given by
Example: Solve
x(x − 1)y 00 + (3x − 1)y 0 + y = 0. (37)
Dividing by x(x − 1), we get
(3x − 1) 0 x
y 00 + y + 2 y = 0,
x(x − 1) x (x − 1)
from which we see that b(x) = (3x − 1)/(x − 1) and c(x) = x/(x − 1).
Lecture 2 17/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 2
1. For r1 6= r2 and |r1 − r2 | =
6 1, 2, 3 . . ., the second solution is given by
Example: Solve
x(x − 1)y 00 + (3x − 1)y 0 + y = 0. (37)
Dividing by x(x − 1), we get
(3x − 1) 0 x
y 00 + y + 2 y = 0,
x(x − 1) x (x − 1)
from which we see that b(x) = (3x − 1)/(x − 1) and c(x) = x/(x − 1).
Lecture 2 17/19
Extended Power Series Method/Frobenius Method
Frobenius Method: Theorem 2
1. For r1 6= r2 and |r1 − r2 | =
6 1, 2, 3 . . ., the second solution is given by
Example: Solve
x(x − 1)y 00 + (3x − 1)y 0 + y = 0. (37)
Dividing by x(x − 1), we get
(3x − 1) 0 x
y 00 + y + 2 y = 0,
x(x − 1) x (x − 1)
from which we see that b(x) = (3x − 1)/(x − 1) and c(x) = x/(x − 1).
Lecture 2 17/19
Extended Power Series Method/Frobenius Method
∞
Assuming y(x) = xr am xm and putting it into the ODE, along with
P
m=0
∞
X
y 0 (x) = (m + r)am xm+r−1 = xr−1 (ra0 + (r + 1)a1 x + · · · ) ,
m=0
X∞
y 00 (x) = (m + r)(m + r − 1)am xm+r−2 = xr−2 (r(r − 1)a0 + (r + 1)ra1 x + · · · ) ,
m=0
results in
∞
X ∞
X
(m + r)(m + r − 1)am xm+r − (m + r)(m + r − 1)am xm+r−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 (m + r)am xm+r − (m + r)am xm+r−1 + am xm+r = 0. (38)
m=0 m=0 m=0
Indicial equation is obtained by setting the coefficients of the smallest power of x, which is
r − 1, to zero, i.e.,
(−r(r − 1) − r)a0 = 0 ⇒ −r(r − 1) − r = 0 ⇒ r2 = 0. (39)
Hence, putting r = 0 in (38) gives
∞
X ∞
X
m(m − 1)am xm − m(m − 1)am xm−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 mam xm − mam xm−1 + am xm = 0. (40)
m=0 m=0 m=0
Lecture 2 18/19
Extended Power Series Method/Frobenius Method
∞
Assuming y(x) = xr am xm and putting it into the ODE, along with
P
m=0
∞
X
y 0 (x) = (m + r)am xm+r−1 = xr−1 (ra0 + (r + 1)a1 x + · · · ) ,
m=0
X∞
y 00 (x) = (m + r)(m + r − 1)am xm+r−2 = xr−2 (r(r − 1)a0 + (r + 1)ra1 x + · · · ) ,
m=0
results in
∞
X ∞
X
(m + r)(m + r − 1)am xm+r − (m + r)(m + r − 1)am xm+r−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 (m + r)am xm+r − (m + r)am xm+r−1 + am xm+r = 0. (38)
m=0 m=0 m=0
Indicial equation is obtained by setting the coefficients of the smallest power of x, which is
r − 1, to zero, i.e.,
(−r(r − 1) − r)a0 = 0 ⇒ −r(r − 1) − r = 0 ⇒ r2 = 0. (39)
Hence, putting r = 0 in (38) gives
∞
X ∞
X
m(m − 1)am xm − m(m − 1)am xm−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 mam xm − mam xm−1 + am xm = 0. (40)
m=0 m=0 m=0
Lecture 2 18/19
Extended Power Series Method/Frobenius Method
∞
Assuming y(x) = xr am xm and putting it into the ODE, along with
P
m=0
∞
X
y 0 (x) = (m + r)am xm+r−1 = xr−1 (ra0 + (r + 1)a1 x + · · · ) ,
m=0
X∞
y 00 (x) = (m + r)(m + r − 1)am xm+r−2 = xr−2 (r(r − 1)a0 + (r + 1)ra1 x + · · · ) ,
m=0
results in
∞
X ∞
X
(m + r)(m + r − 1)am xm+r − (m + r)(m + r − 1)am xm+r−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 (m + r)am xm+r − (m + r)am xm+r−1 + am xm+r = 0. (38)
m=0 m=0 m=0
Indicial equation is obtained by setting the coefficients of the smallest power of x, which is
r − 1, to zero, i.e.,
(−r(r − 1) − r)a0 = 0 ⇒ −r(r − 1) − r = 0 ⇒ r2 = 0. (39)
Hence, putting r = 0 in (38) gives
∞
X ∞
X
m(m − 1)am xm − m(m − 1)am xm−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 mam xm − mam xm−1 + am xm = 0. (40)
m=0 m=0 m=0
Lecture 2 18/19
Extended Power Series Method/Frobenius Method
∞
Assuming y(x) = xr am xm and putting it into the ODE, along with
P
m=0
∞
X
y 0 (x) = (m + r)am xm+r−1 = xr−1 (ra0 + (r + 1)a1 x + · · · ) ,
m=0
X∞
y 00 (x) = (m + r)(m + r − 1)am xm+r−2 = xr−2 (r(r − 1)a0 + (r + 1)ra1 x + · · · ) ,
m=0
results in
∞
X ∞
X
(m + r)(m + r − 1)am xm+r − (m + r)(m + r − 1)am xm+r−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 (m + r)am xm+r − (m + r)am xm+r−1 + am xm+r = 0. (38)
m=0 m=0 m=0
Indicial equation is obtained by setting the coefficients of the smallest power of x, which is
r − 1, to zero, i.e.,
(−r(r − 1) − r)a0 = 0 ⇒ −r(r − 1) − r = 0 ⇒ r2 = 0. (39)
Hence, putting r = 0 in (38) gives
∞
X ∞
X
m(m − 1)am xm − m(m − 1)am xm−1 +
m=0 m=0
∞
X ∞
X ∞
X
3 mam xm − mam xm−1 + am xm = 0. (40)
m=0 m=0 m=0
Lecture 2 18/19
Extended Power Series Method/Frobenius Method
⇒ am+1 = am , ⇒ a0 = a1 = a2 = · · ·
∞
X 1
⇒ y1 (x) = a0 xm = a0 , |x| < 1.
m=0
1−x
1 ln x
y1 (x) = , y2 (x) = , (41)
1−x 1−x
which are linearly independent and thus, form a basis on the interval 0 < x < 1.
Lecture 2 19/19
Extended Power Series Method/Frobenius Method
⇒ am+1 = am , ⇒ a0 = a1 = a2 = · · ·
∞
X 1
⇒ y1 (x) = a0 xm = a0 , |x| < 1.
m=0
1−x
⇒ am+1 = am , ⇒ a0 = a1 = a2 = · · ·
∞
X 1
⇒ y1 (x) = a0 xm = a0 , |x| < 1.
m=0
1−x