Math 240 Home,
Textbook Contents,
Online Homework Home

**Warning: MathJax
requires JavaScript to process the mathematics on this page.**

If your browser supports JavaScript, be sure it is enabled.**
****
**

### First Order Linear Equations

#### Additional Examples

Solve the following initial value problem
$$
\begin{align}
\frac{dy}{dx} + 4 y &= -2\exp(-5 x) \\
y(0) &= 0
\end{align}
$$
This is a linear equation. First we find the general solution following the paradigm.
*You may reload this page to generate additional examples.*

If you have any problems with this page, please contact bennett@math.ksu.edu.

©2010, 2014 Andrew G. Bennett

If your browser supports JavaScript, be sure it is enabled.

- Find the integrating factor $$ \mu(x) = \exp(\int 4 dx) = \exp(4x) $$
- Multiply through by the integrating factor $$ \exp(4x) \frac{dy}{dx} + 4\exp(4x)y = -2\exp(-5 x)\exp(4x) = -2\exp(-x) $$
- Recognize the left-hand-side as $\displaystyle \frac{d}{dx}(\mu(x)y).$ $$ \frac{d}{dx}(\exp(4x)y) =-2\exp(-x) $$
- Integrate both sides. $$ \exp(4x)y = 2exp(-x) + C $$
- Divide through by $\mu(x)$ to solve for $ y.$ $$y = 2exp(-5x) + C\exp(-4x) $$

If you have any problems with this page, please contact bennett@math.ksu.edu.

©2010, 2014 Andrew G. Bennett