Methods to solve First Order Differential Equations
What are First Order Differential Equations?
The highest derivative in a first order differential equation is the first derivative (i.e.
There’s no one size fits all method to solve all kinds of Differential Equations. There are many, and we have to learn through practice which method to use in a given scenario.
But let’s not put the cart before the horse. We should get to know the various methods at our disposal first.
Various Methods for solving First Order Differential Equations
Separation of Variables
In this method, we separate the variables and then integrate.
So, obviously we can use this method only if we can move all x and dx terms to one side of the equation, and all y and dy terms to the other side.
Q. Solve , where k is a constant.
Explanation:
Let’s separate the x and y variables.
or y dy = k dx
Now, we can integrate both sides of the above equation separately.
∫ y dy =
(where c is a constant)
∫ k dx = kx + d
(where c is a constant)
So,
or
(where m = d - c)
or y =
Typical method for solving First Order Linear Differential Equations
What are Linear Differential Equations?
Differential Equation is linear if no variable or derivative in it has exponent other than one (i.e. no
A linear Differential Equation can only have y, and
General form of Linear Differential Equation:
For example, 2y + 5
To solve First Order Linear Differential Equations, we can use a special method. Let’s see.
We create two new functions of x, called u and v, such that y = uv. Now, we just need to find the values of u and v.
Let’s see this method in detail.
Step 1: As y = uv.
So,
We will substitute this in the standard form of Linear Differential Equation, i.e.
Step 2: We separate the parts containing v.
Step 3: Put v term equal to 0.
Step 4: Solve the differential equation in u and x (that we got in the last step), using separation of variables method. Find the value of u.
Step 5: Place the value of u in the equation that we got in Step 2. Solve it to find v.
Step 6: Now, as we know both u and v, just find the value of y (as y = uv).
Things will become clearer if we see an example.
Q. Solve
Explanation:
We need to reconstruct the given equation in this form:
or
Step 1: Substitute y = uv, and
or
Step 2: We separate the parts containing v.
or
Step 3: Put v term equal to 0.
So,
or
Step 4: Solve the differential equation in u and x (that we got in the last step), using separation of variables method. Find the value of u.
or
Now, on integrating them, we get:
ln u = ln x + c (where c is a constant)
or ln u = ln x + ln k (where ln k is a constant)
or u = kx
Step 5: Place the value of u in the equation that we got in Step 2. Solve it to find v.
or
Now, solve it using separation of variables method.
or
Now, on integrating them, we get:
kv = 3 ln x + ln c
or kv = ln (c
or v =
Step 6: Now, as we know both u and v, just find the value of y (as y = uv).
y = uv = (kx)
Convert Non-linear differential equation into Linear differential equation
We can sometimes convert a non-linear Bernoulli differential equation into a linear differential equation. Then it becomes easy to solve it.
General form of Bernoulli Differential Equation:
(Where n can be any real number, except 0 or 1)
We can substitute u =
When n = 0, then the above equation becomes a Linear Differential Equation.
When n = 1, the the above equation can easily be solved using Separation of Variables method.
In other cases, we can use the method given above.
Q. Solve
Explanation:
It’s a Bernoulli Differential Equation of the form:
Here, F(x) =
So, u =
or y =
So,
Now, substitute the values of y and
or
To simplify it, let us multiply the equation by -2
Now, we can easily solve this equation.
or
Now, we can integrate both sides.
or ln (u - 1) = 2
or ln (u - 1) =
or u - 1 =
or u =
As we know that y =
Short Cut
We know that, Bernoulli Differential Equation:
This can be rewritten as:
Solve it, and then just substitute y =
Exact Equations and Integrating Factors
This method can be used for a first-order differential equation.
In order for us to use this method, we need to find a function I(x, y) whose partial derivatives can be put in place of M and N in the following equation:
M(x, y)dx + N(x, y)dy = 0
That is,
Obviously, for this method to work, such a function I(x, y) should exist first of all.