First order linear differential equations are are widely used in various fields, such as physics, engineering, and biology, to model processes like cooling, population growth, and electrical circuits. Understanding how to solve first order linear differential equations helps you analyse and predict the behavior of systems in the real world.
First order linear differential equations
An equation is considered to be a first order linear differential equation if it can be written in the standard form:
\[\frac{dy}{dx}+p(x)y=q(x)\]
The variables in this type of equation cannot be separated into opposite sides of the equation.
Integrating factor
To solve first order linear differential equations, we use the integrating factor method. The integrating factor is often denoted by \(I\).
Rearrange the equation into the standard form \(\dfrac{dy}{dx}+p(x)y=q(x)\).
Let the integrating factor \(I=e^{\int p(x)dx}\).
Multiply both sides by \(I\) to get \(yI=\int(I\times q(x))dx\).
Integrate both sides and solve for \(y\).
If a coordinate is provided, find the particular solution.
Example – solving first order linear differential equations
Solve for \(y(x)\) give \(\dfrac{dy}{dx}+5y=e^{2x}\) and \(y(0)=0\).
The equation is already in the standard form, so we let \(p(x)=5\) and \(q(x)=e^{2x}\).
Since \(I=e^{\int p(x)dx}\) and \(\int p(x)dx=5x\), then \(I=e^{5x}\).
We can substitute this into \(yI=\int(I\times q(x)dx\) and solve for \(y\).
\[\begin{align*} ye^{5x} & = \int e^{5x}\times e^{2x}dx\\
& = \int e^{7x}dx\\
& = \frac{1}{7}e^{7x}+c,\,c\in\mathbb{R}\\
y & = \frac{1}{7}e^{2x}+ce^{-5x}
\end{align*}\]
We know that \(y(0)=0\), so we can find the particular solution.
\[\begin{align*} 0 & = \frac{1}{7}e^{0}+ce^{0}\\
& = \frac{1}{7}+c\\
c & = -\frac{1}{7}
\end{align*}\]
The solution is \(y=\dfrac{1}{7}e^{2x}-\dfrac{1}{7}e^{-5x}\).
Exercise – solving first order linear differential equations