Undergraduate → Differential Equations → Ordinary Differential Equations ↓
First Order Differential Equations
Ordinary differential equations (ODEs) are equations that involve a function of one independent variable and its derivatives. When we talk about first-order differential equations, we refer to differential equations that involve only the first derivative of the function, not the second or higher derivatives.
What is a first order differential equation?
A first-order differential equation is an equation that relates the function y = f(x)
to its first derivative dy/dx
. The general form of a first-order differential equation is:
dy/dx = f(x, y)
Here, dy/dx
is the derivative of y
with respect to x
, and f(x, y)
is a given function of x
and y
.
Linear first order differential equations
A linear first order differential equation can be expressed in the standard form:
dy/dx + P(x)y = Q(x)
Here, P(x)
and Q(x)
are functions of x
only. This can be solved using an integrating factor.
Example: Solving a linear first order differential equation
Consider the linear equation:
dy/dx + 3y = 6x
It is already in standard form where P(x) = 3
and Q(x) = 6x
.
The integrating factor is given by e^(∫P(x)dx)
Therefore, we calculate:
∫P(x)dx = ∫3dx = 3x, so integrating factor = e^(3x)
Now, multiply by the integrating factor:
e^(3x)(dy/dx) + e^(3x)(3y) = 6x * e^(3x)
The left side is the derivative of (e^(3x) * y)
, so we can write:
d/dx(e^(3x) * y) = 6x * e^(3x)
Integrate both sides:
∫d/dx(e^(3x) * y) dx = ∫6x * e^(3x) dx
Solving for the correct part may involve integration by parts.
Systems of first order differential equations
Sometimes, you may come across systems of first-order differential equations. These are groups of equations that are solved simultaneously. For example:
1) dy/dx + yz = x 2) dz/dx – y = 2z
These represent two related functions y(x)
and z(x)
for which both relations must be satisfied.
Exact first-order differential equations
An exact differential equation is one that can be obtained from a single function. Its general form is:
m(x, y)dx + n(x, y)dy = 0
If there exists a function U(x, y)
such that:
∂U/∂x = M and ∂U/∂y = N
Then the differential equation is called exact.
Example: Testing for accuracy
Consider the differential equation:
(2x + 3y)dx + (3x + 2)dy = 0
Here, M(x, y) = 2x + 3y
and N(x, y) = 3x + 2
Check the accuracy by verifying:
∂M/∂y = 3 and ∂N/∂x = 3
Since ∂M/∂y = ∂N/∂x
, the equation is exact.
Separable first-order differential equations
A separable differential equation is one in which you can write the equation in such a way that each side depends on only one variable. It looks like this:
g(y)dy = f(x)dx
This equation can be solved by integrating both sides.
Example: Solving a separation equation
Consider the equation:
dy/dx = xy
This can be rearranged:
(1/y)dy = x dx
Integrate both sides:
∫(1/y)dy = ∫x dx
On solving, we get:
ln|y| = (x^2)/2 + c
Exponentiate both sides to solve for y
:
y = c * e^(x^2/2)
Visualization of the solution
To better understand the solutions, consider the use of direction fields. These fields are visual representations that give a snapshot of the possible slope of the solutions at different points in the plane.
This visualization helps to estimate or solve differential equations when analytical solutions are hard or impossible to find.
Conclusion
First order differential equations are fundamental in mathematics because they model processes where rates of change are involved. Understanding how to identify and solve such equations using various methods such as separation of variables, integrating factors, and recognizing exact equations helps in a wide range of fields including physics, engineering, and beyond.
While we have covered several types of first order differential equations and their solutions, it is important to practice with a variety of problems to fully understand these concepts. From modeling population growth to predicting chemical reactions, first order differential equations are a powerful tool in the arsenal of mathematicians and scientists.