Section 1.11 First-order linear nonohomogeneous ODEs
Recall a first-order ODE is called linear if it can be written in the form (1.1.4), where it is called homogeneous whenever \(g(t)=0\) for all \(t\) and nonohomogeneous whenenever there exists some \(t\) such that \(g(t)\neq 0\text{.}\) Notice that if (1.1.4) is homogeneous, then it is separable and if (1.1.4) is not homogeneous, then it is not separable. However, there always exists a function \(\mu\text{,}\) called the integrating factor that when multiplied to both sides allows us to integrate both sides with respect to \(t\text{.}\)
It is important to note that AlgorithmΒ 1.11.2 can only be done on equations of form (1.1.4). All solutions \(y\) of (1.1.4) take the form \(y=y_h+y_p\text{,}\) where \(y_h\) is the homogeneous solution, i.e. the solution of the homogeneous analogue of equation (1.1.4) obtained when the right-hand side is set equal to zero for all \(t\) and \(y_p\) solves (1.1.4) itself. This occurs because of the nature of the homogeneous solution: it disappears when substituted into the ODE (think about why that is)!
Algorithm 1.11.2. Integrating factor method.
To solve (1.1.4), we do the following steps.
-
Put (1.1.4) into standard form.
-
Find the integrating factor \(\mu\text{.}\)
-
Multiply both sides of (1.1.4) by \(\mu\text{.}\)
-
Rewrite the left-hand side using the product rule as \(\dfrac{\mathrm{d}}{\mathrm{d}t} \Big[ \mu(t)y \Big]\text{,}\) which will always happen if you computed \(\mu\) correctly.
-
Integrate both sides with respect to \(t\text{.}\)
-
Solve the resulting equation for \(y\text{.}\)
-
If you have an initial condition, then use it to find the constant of integration \(C\)
Example 1.11.3.
Consider the initial value problem \((t+1)y'-ty=\dfrac{e^t}{1+t^2}, \quad y(0)=3\text{.}\)
-
Find the order of the differential equation. Is it (non)linear, (non)automous, and (non)separable?
-
What method(s) can you use to solve this differential equation?
-
Solve the initial value problem.
Example 1.11.4.
Consider the differential equation \(\cos(t)y'-2\sin(t)y=\sec^3(t)\text{.}\)
-
Find the order of the differential equation. Is it (non)linear, (non)automous, and (non)separable?
-
What method(s) can you use to solve this differential equation?
-
Find an explicit solution to the differential equation.
Example 1.11.5.
Consider the differential equation \(ty'+(t-4)y=8t^5e^{3t}\text{.}\)
-
Find the order of the differential equation. Is it (non)linear, (non)automous, and (non)separable?
-
What method(s) can you use to solve this differential equation?
-
Find an explicit solution to the differential equation.
Example 1.11.6.
Recall SectionΒ 1.6. A \(1200 \mathrm{gal}\) tank is filled with \(600 \mathrm{gal}\) of pure water. Brine containing \(5 \dfrac{\mathrm{lb}}{\mathrm{gal}}\) of salt is pumped into the tank at a rate of \(6 \dfrac{\mathrm{gal}}{\mathrm{min}}\text{.}\) The well mixed solution is then pumped out at a rate of \(3 \dfrac{\mathrm{gal}}{\mathrm{min}}\text{.}\) Let \(A(t)\) represent the amount of salt in the tank.
-
Set up the IVP. Find the order of the differential equation. Is the differential equation (non)linear, (non)autonomous, (non)separable?
-
What method(s) can you use to solve this differential equation?
-
Solve the initial value problem.
