DIFFERENTIAL EQUATION
DIFFERENTIAL EQUATION
with its derivatives. The derivatives of the function define the rate of change of a function at a
point. It is mainly used in fields such as physics, engineering, biology and so on. The primary
purpose of the differential equation is the study of solutions that satisfy the equations and the
One of the easiest ways to solve the differential equation is by using explicit formulas. In this
article, let us discuss the definition, types, methods to solve the differential equation, order and
degree of the differential equation, ordinary differential equations with real-word examples and
a solved problem.
dy/dx = f(x)
A differential equation contains derivatives which are either partial derivatives or ordinary
derivatives. The derivative represents a rate of change, and the differential equation describes
a relationship between the quantity that is continuously varying with respect to the change in
another quantity. There are a lot of differential equations formulas to find the solution of the
derivatives.
1
Order of Differential Equation
The order of the differential equation is the order of the highest order derivative present in the
equation. Here some examples for different orders of the differential equation are given.
You can see in the first example, it is a first-order differential equation which has degree equal
to 1. All the linear equations in the form of derivatives are in the first order. It has only the
first derivative such as dy/dx, where x and y are the two variables and is represented as:
dy/dx = f(x, y) = y’
The equation which includes the second-order derivative is the second-order differential
equation. It is represented as;
• dy/dx + 1 = 0, degree is 1
• (y”’)3 + 3y” + 6y’ – 12 = 0, degree is 3
• (dy/dx) + cos(dy/dx) = 0; it is not a polynomial equation in y′ and the degree of such a
differential equation can not be defined.
2
Note:
Order and degree (if defined) of a differential equation are always positive integers.
The order of ordinary differential equations is defined as the order of the highest derivative that
occurs in the equation. The general form of n-th order ODE is given as
F(x, y, y’,…., yn ) = 0
1. Separation of variables
2. Integrating factor
Separation of the variable is done when the differential equation can be written in the form
of dy/dx = f(y)g(x) where f is the function of y only and g is the function of x only. Taking an
initial condition, rewrite this problem as 1/f(y)dy= g(x)dx and then integrate on both sides.
3
Integrating factor technique is used when the differential equation is of the form dy/dx +
p(x)y = q(x) where p and q are both the functions of x only.
First-order differential equation is of the form y’+ P(x)y = Q(x). where P and Q are both
functions of x and the first derivative of y. The higher-order differential equation is an equation
that contains derivatives of an unknown function which can be either a partial or ordinary
derivative. It can be represented in any order.
We also provide a differential equation solver to find the solutions for related problems.
By using the boundary conditions (also known as the initial conditions) the
particular solution of a differential equation is obtained.
4
So, to obtain a particular solution, first of all, a general solution is found out
and then, by using the given conditions the particular solution is generated.
Suppose,
y = ex + sin2x/2 + x4/2 + C
5 = e0 + sin(0)/2 + (0)4/2 + C
C=4
y = ex + sin2x/2 + x4/2 + 4
5
Particular Solution of a Differential Equation
A Particular Solution is a solution of a differential equation taken from the
General Solution by allocating specific values to the random constants. The
requirements for determining the values of the random constants can be
presented to us in the form of an Initial-Value Problem, or Boundary
Conditions, depending on the query.
Singular Solution
The Singular Solution of a given differential equation is also a type of
Particular Solution but it can’t be taken from the General Solution by
designating the values of the random constants.
Solution: dy = x2 dx
⇒∫dy=∫x2dx
y = x3/3 + C
y=ϕ(x)+C
6
It represents the solution curve or the integral curve of the given differential
equation.
Solved Examples
To get a better insight into the topic, let us have a look at the following
example.
dy/dx = e4y × x
1/e4ydy = x dx
e-4ydy = x dx
e−4y/−4=x2/2+C
Now, it is also given that y(0)=0, substituting this value in the above general
solution we get,
e0/−4=02/2+C
⇒C=−1/4
e−4y/−4=x2/2–14
⇒e−4y=−2x2+1
⇒ln(e−4y)=ln(1−2x2)
7
⇒−4y=ln(1−2x2)
⇒y=–ln(1−2x2)/4
dydx=g(x),wherey=f(x)
Such as:
dydx=cosx
Solution :
y=sinx+c
Generally, there are three methods to solve first order and first degree
differential equation. We will be discussing only solution of differential
equations with separation of variables.
8
Variable Separable Differential Equations
The differential equations which are expressed in terms of (x,y) such that,
the x-terms and y-terms can be separated to different sides of the equation
(including delta terms). Thus each variable separated can be integrated
easily to form the solution of differential equation.
f(x)dx+g(y)dy=0
where
f(x)
and
g(y)
and
respectively.
In simpler terms all the differential equations in which all the terms involving
x and dx
can be written on one side of the equation and the terms involving
9
and
dy
Examples
Lets Work Out-
Example – Solve
dydx=x3+3y2+1
Solution –
(y2+1)dy=(x3+3)dx
y33+y=x44+3x+c
y33+y–x44–3x=c
Example- Arjun is riding his bike at an initial velocity of 10 m/s. To reach his home
at time he continuously increases his velocity at the rate of
Missing \end{array}Missing \end{array}
dvdt=V10
10
V=et10×ec
V=Cet10
We know at
t=0,V=10m/s
V=
10et10
Now
V=2.718×10ms
⇒et10=2.718
⇒lnet10=ln2.718
⇒t10=1
⇒t=10seconds
f(x)dx+g(y)dy=0
If
∂df(x)∂dx
∂dg(y)∂dx
then the equation is called as exact differential equation. In the first integral variable y
is taken as a constant and in the second integral variable x is taken as constant.
∫f(x)dx+∫g(y)dy=c
11
Lets Work Out-
Solution-
∂df(x)∂dx=3x2+3y2
∂dg(y)∂dx=3x2+3y2
Since
∂df(x)∂dx=∂dg(y)∂dx
Its solution is
∫f(x)dx+∫g(y)dy=c
⇒
c=∫(x3+3xy2+25)dx+∫(y3+25)dy
⇒
c=x44+y44+32x2y2+25(x+y)
⇒
c=x4+y4+6x2y2+100(x+y)
Stay with us to explore more and more on differential equations. Learn other
methods to solve differential equations. Download the BYJU’s learning app
to keep learning.
Applications
Differential equations have several applications in different fields such as applied mathematics,
science, and engineering. Apart from the technical applications, they are also used in solving
many real life problems. Let us see some differential equation applications in real-time.
2) They are also used to describe the change in return on investment over time.
12
3) They are used in the field of medical science for modelling cancer growth or the spread of
disease in the body.
6) The motion of waves or a pendulum can also be described using these equations.
The various other applications in engineering are: heat conduction analysis, in physics it can
be used to understand the motion of waves. The ordinary differential equation can be utilized
as an application in the engineering field for finding the relationship between various parts of
the bridge.
dT/dt ∝ (T – T0)…………(1)
13
Eg: dy/dx = 3x
Here, the differential equation contains a derivative that involves a variable (dependent
variable, y) w.r.t another variable (independent variable, x). The types of differential equations
are :
1. An ordinary differential equation contains one independent variable and its derivatives. It is
frequently called ODE. The general definition of the ordinary differential equation is of the
form: Given an F, a function os x and y and derivative of y, we have
Solved problem
Question:
d2ydx2+dydx–6y=0
Solution:
The function given is y = e-3x . We differentiate both sides of the equation with respect to x,
dydx=–3e−3x
Now we again differentiate the above equation with respect to x,
14
d2ydx2=9e−3x
We substitute the values of dy/dx, d2y/dx2 and y in the differential equation given in the
question,
15
Q3
The order of the highest order derivative present in the differential equation is called the order
of the equation. If the order of the differential equation is 1, then it is called the first order. If
the order of the equation is 2, then it is called a second-order, and so on.
Q4
The main purpose of the differential equation is to compute the function over its entire domain.
It is used to describe the exponential growth or decay over time. It has the ability to predict the
world around us. It is widely used in various fields such as Physics, Chemistry, Biology,
Economics and so on.
16