When solving for a differential equation of this form, the general solution is as follows:
where, , which is also known as our integrating factor.
For existence and uniqueness of a linear first-order equation, we analyze the functions of . If and are continuous on an interval that contains the point , then the IVP will have a unique solution in the interval .
Example
The first thing we must do here is analyze whether the DE is in the standard form. We can see here that the leading term contains an . We can divide the entire equation by x to ensure proper form.
Notice that I chose to keep in the form . This will help us later. On the right, if we split up the fraction up into three parts, we end up with . We end up with the simplification above.
From here, we can identify that . We will use this to find .
From our properties of , we know that . We also know that . Using these properties, we find that
Now, we can find our general solution . Recall :
Also recall
Let's solely focus on the integral, which can be simplified.
Now, let's continue by multiple the integrating factor by the fully integrated equation and our constant .
Now, simply plug in our initial conditions to find .
Our final solution is:
Try for Yourself:
,
,
Applications of First-Order Linear Equations
A brine solution flows at a constant rate of L/min into a large tank that initially held L of pure water. The solution inside the tank is kept well stirred and flows out of the tank at a rate of L/min. If the concentration of salt in the bring entering the tank is Kg/L, determine the mass of salt in the tank after min.
We must analyze two separate systems here. First, we have an input system where the rate of bring flowing into the tank is L/min, with a concentration of Kg/L. Let's calculate this input rate:
Now let's look at our output system. The amount of salt outputs at L/min, and the output system is the amount of salt in the tank at any time , which will depend on the size of the tank.
The DE is the difference between the input and the output systems we have defined above.
If we adjust this equation, we can turn this into a linear first order equation
where and
Now we can solve the DE using an integrating factor.
Thus the general solution is
We know that the tank starts with pure water, meaning the salt content at time is , therefore .