First-order linear ODE

Homogenous first-order linear ODE open_in_new
  • Homogenous: all terms involve $y$ or its derivative.

Homogenous first-order linear ODE with constant coefficients open_in_new

For the equation $$ ay' + by = 0,$$ take $$ y = Ae^{\lambda x}. $$ Then we get the characteristic equation $$ a\lambda + b = 0. $$

Forced linear ODE open_in_new

General method for any linear forced ODEs:

  1. Find (guess) a particular integral $y_p(x)$ i.e. a single solution of the forced equation;

  2. Write the general solution of the ODE as $$ y(x) = y_p(x) + y_c(x). $$ Then $y_c(x)$, the complementary function, satisfies the homogenous equation.

  3. Combine $y_p$ and $y_c$ to get the general solution.

Example (constant forcing)

Example (eigenfunction forcing)

Integrating factor open_in_new

Consider the general equation $$ a(x) y' + b(x) y = c(x). $$ We usually write it in the standard form by dividing $a(x)$: $$ y' + p(x) y = f(x). $$

We let the integrating factor be $$ \mu(x) = \exp\Big(\int^x p(u)\,du\Big) $$ and our solution is $$ y(x) = \frac{1}{\mu(x)}\int^x \mu(u)f(u)\,du. $$

Derivation of integrating factor

Example using integration factor