100%
PAGE 1

Undetermined Coefficients (continued)

Review of Undetermined Coefficients

last time: \( ay'' + by' + cy = f(t) \)

Solution is \( y = y_c + y_p \)

\( y_c \):
complementary solution: \( ay'' + by' + cy = 0 \)
\( y_p \):
particular solution: due to \( f(t) \)
Concept Note: The complementary solution \( y_c \) solves the homogeneous equation, while the particular solution \( y_p \) accounts for the non-homogeneous forcing function \( f(t) \).

\( y_p \) matches \( f(t) \) in form

  • \( f(t) \) is polynomial \( \rightarrow \) \( y_p \) is polynomial of same degree
  • \( f(t) \) is exponential \( \rightarrow \) \( y_p \) is exponential of same kind
  • \( f(t) \) is sine and/or cosine \( \rightarrow \) \( y_p \) is BOTH sine and cosine

now we will see what to do if \( f(t) \) contains terms in \( y_c \).

PAGE 2

Case: \( f(t) \) Contains Terms in \( y_c \)

\[ y'' + y' - 2y = e^t \]

\[ y_c = c_1 e^{-2t} + c_2 e^t \]

notice \( f(t) = e^t \) is the same as \( e^t \) in \( y_c \)

if we try the usual process: \( y_p = A e^t \)

sub into \( y'' + y' - 2y = e^t \)

\[ A e^t + A e^t - 2A e^t = e^t \]

\[ 0 = e^t \]

can't happen, plus \( A = ? \)

this means the form of \( y_p = A e^t \) is not suitable

what do we do?

let's use the reduction of order to figure out.

\( \rightarrow \) if \( y_1 \) is a solution to a differential eq.

\[ y'' + p(t) y' + q(t) y = f(t) \]

then \( y = v(t) y_1 \) is also a solution

(this was how we handled repeated roots)

Method Summary: When the forcing term \( f(t) \) overlaps with a solution to the homogeneous equation \( y_c \), assuming \( y_p = A e^t \) annihilates the left side to zero. Multiplying by \( t \) (derived via reduction of order \( y = v(t) y_1 \)) yields a suitable trial form \( y_p = A t e^t \).
PAGE 3

Solving Non-Homogeneous ODE via Reduction of Order

Problem Setup

\[ y'' + y' - 2y = e^t \]

We know \( y_1 = e^{-2t} \), \( y_2 = e^t \) (from \( y_c \))

The general solution is \( y = v(t)y_1 \) or \( y = v(t)y_2 \)

Find \( v(t) \) by subbing in either into \( y'' + y' - 2y = e^t \)

Substitution and Reduction

Let’s go with \( y = v(t)y_2 = v(t)e^t \)

\[ \begin{aligned} y' &= v e^t + v' e^t \\ y'' &= v e^t + 2v' e^t + v'' e^t \end{aligned} \]
Note on Product Rule: Taking successive derivatives using the product rule on \( y = v e^t \) yields \( y' = v' e^t + v e^t \) and \( y'' = v'' e^t + 2v' e^t + v e^t \).

After some simplification, from the original ODE we get

\[ v'' e^t + 3v' e^t = e^t \] \[ v'' + 3v' = 1 \]

Solving the First-Order ODE for \( v' \)

Look at it as

\[ \frac{d}{dt}(v') + 3(v') = 1 \]

1st-order linear or separable in \( v' \)

⋮
\[ v' = \frac{1}{3} + a e^{-3t} \] \[ v = \frac{1}{3}t + C e^{-3t} + D \]
PAGE 4

General Solution and Method of Undetermined Coefficients

General Solution Assembly

General solution:

\[ \begin{aligned} y &= v e^t \\ &= \left( \frac{1}{3}t + C e^{-3t} + D \right) e^t \\ y &= C e^{-2t} + D e^t + \frac{1}{3}t e^t \end{aligned} \]

Component Decomposition:

  • Complementary solution (\( y_c \)): \( C e^{-2t} + D e^t \)
  • Particular solution (\( y_p \)): \( \frac{1}{3} t e^t \)

Duplication in Non-Homogeneous Term:

So, what we noticed is if \( f(t) \) is duplicating a part in \( y_c \), we need to adjust the form of \( y_p \) by multiplying by an extra factor of \( t \) (just like with repeated roots).

Example

\[ y'' - y' = 3 \]

\[ y_c = C_1 + C_2 e^t \]

\( f(t) = 3 \) is a constant which duplicates the \( C_1 \) part in \( y_c \).

Assume \( y_p = A t \)

extra \( t \) since it copies something in \( y_c \)
\[ y_p' = A \] \[ y_p'' = 0 \]

Sub into \( y'' - y' = 3 \)

PAGE 5
\(-A = 3\) \(A = -3\) so \(y_p = -3t\)
so,

\(y = c_1 + c_2 e^t - 3t\)


Example

\(y'' - y' = t\)

\(y_c = c_1 + c_2 e^t\)

\(f(t) = t \quad \text{so we assume } y_p = At + B\)

Issue: \(B\) copies \(c_1\).

We can't just give it a \(t\) because \(Bt\) copies \(At\).

So, multiply the entire \(y_p = At + B\) by \(t\).

Method of Undetermined Coefficients - Modification Rule: When any term of the trial particular solution \(y_p\) duplicates a term in the complementary solution \(y_c\), the entire linear combination must be multiplied by \(t\) (or \(t^s\)) until no terms are duplicated.

\(\text{fix: } y_p = t(At + B)\)

\(y_p' = \dots\)

\(y_p'' = \dots\)

Sub into \(y'' - y' = t\)

\(\vdots\)

\(A = -\frac{1}{2}, \quad B = -1\)

so

\(y = c_1 + c_2 e^t + t\left(-\frac{1}{2}t - 1\right)\)

PAGE 6

Example

\(y'' - 4y' + 4y = e^{2t} + e^{-2t} + 3\)

\(y_c = c_1 e^{2t} + c_2 t e^{2t} \quad \text{(repeated root of 2)}\)

\(f(t) = e^{2t} + e^{-2t} + 3\)

Term: \(e^{2t}\)

  • Would originally assume: \(A e^{2t}\)
  • But it copies \(c_1 e^{2t}\), so give it an extra \(t\): \(A t e^{2t}\)
  • But it copies \(c_2 t e^{2t}\), so another factor of \(t\): \(A t^2 e^{2t}\)
  • No more duplication, so enough \(t\).

Term: \(e^{-2t}\)

Assume \(B e^{-2t}\)

Not copying anything, ok.

Term: \(3\)

Assume \(C\), ok.

Superposition Principle for Particular Solutions: When the non-homogeneous term is a sum \(f(t) = f_1(t) + f_2(t) + f_3(t)\), determine the trial form for each term independently, adjusting for duplications in the complementary solution \(y_c\), and combine them linearly.

therefore,

\(y_p = A t^2 e^{2t} + B e^{-2t} + C\)

PAGE 7

then sub into \( y'' - 4y' + 4y = e^{2t} + e^{-2t} + 3 \) to find \( A, B, C \)

Example: Method of Undetermined Coefficients

\[ y'' + y = t^2 \sin(t) \]

Complementary solution: \[ y_c = C_1 \cos(t) + C_2 \sin(t) \]

Non-homogeneous driving term: \[ f(t) = t^2 \sin(t) \]

Components of \( f(t) \):

  • \( t^2 \): 2nd-degree polynomial
  • \( \sin(t) \): sine function

First guess of \( y_p \):

\[ \begin{aligned} y_p &= (At^2 + Bt + C)(D \cos(t) + E \sin(t)) \\ &= (At^2 + Bt + C)\cos(t) + (Dt^2 + Et + F)\sin(t) \end{aligned} \]

Notice that the constant term \( C \cos(t) \) copies \( C_1 \cos(t) \), and \( F \sin(t) \) copies \( C_2 \sin(t) \) from \( y_c \).

Because \( C\cos(t) \) and \( F\sin(t) \) duplicate terms in the homogeneous solution \( y_c \), this initial ansatz will fail (the terms would cancel to 0 under the differential operator). We must multiply the entire particular solution candidate by \( t \).

Fix: \[ y_p = t(At^2 + Bt + C)\cos(t) + t(Dt^2 + Et + F)\sin(t) \]

then \( y_p' \), \( y_p'' \) sub into \( y'' + y = t^2 \sin(t) \) etc.