First-order linear differential equations
In this post, we'll see how we solve first-order linear differential equations.
Consider the following first-order homogeneous linear differential equation
By separating variables, we have
Integrating both sides gives
so that
where
Example. Let's solve
By separating variables, we have
Integrating both sides,
Exponentiating both sides, we have
where
Method of variation of parameters
Next, consider the inhomogeneous differential equation
As we have learned in a previous post, we need to find one special solution to construct the general solution. How do we find a special solution?
See also: Linear differential equations: Introduction
Here's one way. This is called the method of variation of parameters. That is, we replace the constant (paramater)
where
If
Integrating this yields
Therefore,
is a special solution.
Example. Let's solve
First, solving the homogeneous ODE
we have
Replacing the constant
Then, we have
so that
Integrating both sides, we have
where
where
Comments
Post a Comment