2.1 Linear Diff. Eqs.; Method of Integrating Factors
1st-order linear eqs:
if \( P(t) \neq 0 \), we can make the coefficient 1
"Standard form"
Some can be solved with calculus
for example,
notice this is
product rule
1st-order linear eqs:
if \( P(t) \neq 0 \), we can make the coefficient 1
"Standard form"
for example,
notice this is
product rule
so, eq. becomes
integrate with respect to \( t \)
solve for \( y \)
unfortunately, the left side doesn't usually directly turn into the deriv. of a product
for example,
rewrite:
multiply both sides by \( t^3 \) (why? explained soon)
The left side is the derivative of a product:
integrate
that \( t^3 \) we multiplied by is called the integrating factor
(different for every equation)
First, make sure leading coefficient is 1.
multiply by the integrating factor \( \mu(t) \) such that the left side is the derivative of \( \mu(t) \) times \( y \)
turn into
so,
equal
So, \[ \frac{d\mu}{dt} = p\mu \] this is a diff. eq. solve for \( \mu(t) \)
from calculus, left side is \( \frac{d}{dt} \ln|\mu| \)
integrate
choose ANY \( C \neq 0 \), so choose \( C = 1 \)
\[ ty' + 2y = \frac{\cos(t)}{t} \quad y(\pi) = 0, \quad t > 0 \]
make leading coeff. 1
Simplify \( \mu \) ALL THE WAY
If \( \mu \) is correct, the left side should turn into:
Check: \( t^2 y' + 2t y \)
General Solution
(infinitely-many solutions because of unknown \( C \))
We were given \( y(\pi) = 0 \). Use it to find \( C \).
Plug in \( t = \pi \), \( y = 0 \), solve for \( C \):
\[ y(t) = \frac{\sin(t)}{t^2} \]
Particular Solution
(\( C \) is known)