from a handpicked tutor in LIVE 1to1 classes
Differential Equations
An equation that contains the derivative of an unknown function is called a differential equation. The rate of change of a function at a point is defined by the derivatives of the function. A differential equation relates these derivatives with the other functions. Differential equations are mainly used in the fields of biology, physics, engineering, and many. The main purpose of the differential equation is for studying the solutions that satisfy the equations and the properties of the solutions. Let us discuss the definition, types, methods to solve the differential equation, order, and degree of the differential equation, types of differential equations, with realworld examples, and practice problems.
What are Differential Equations?
A differential equation is an equation that contains at least one derivative of an unknown function, either an ordinary derivative or a partial derivative. Suppose the rate of change of a function y with respect to x is inversely proportional to y, we express it as dy/dx = k/y.
In calculus, a differential equation is an equation that involves the derivative (derivatives) of the dependent variable with respect to the independent variable (variables). The derivative represents nothing but a rate of change, and the differential equation helps us present a relationship between the changing quantity with respect to the change in another quantity. y=f(x) be a function where y is a dependent variable, f is an unknown function, x is an independent variable. Here are a few differential equations.
 (dy/dx) = sin x
 (d^{2}y/dx^{2}) + k^{2}y = 0
 (d^{2}y/dt^{2}) + (d^{2}x/dt^{2}) = x
 (d^{3}y/dx^{3}) + x(dy/dx)  4xy = 0
 (rdr/dθ) + cosθ = 5
Order of Differential Equations
The order of a differential equation is the highest order of the derivative appearing in the equation. Consider the following differential equations,
dy/dx = e^{x}, (d^{4}y/dx^{4}) + y = 0, (d^{3}y/dx^{3}) + x^{2}(d^{2}y/dx^{2}) = 0
In above differential equation examples, the highest derivative are of first, fourth and third order respectively.
First Order Differential Equation
You can see in the first example, it is the firstorder differential equation that has a 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’
SecondOrder Differential Equation
The equation which includes secondorder derivative is the secondorder differential equation. It is represented as; d/dx(dy/dx) = d^{2}y/dx^{2} = f”(x) = y”.
Degree of Differential Equations
If a differential equation is expressible in a polynomial form, then the integral power of the highest order derivative that appears is called the degree of the differential equation. The degree of the differential equation is the power of the highest ordered derivative present in the equation. To find the degree of the differential equation, we need to have a positive integer as the index of each derivative. Example: \((\dfrac{d^y}{dx^4})^3+ 4(\dfrac{dy}{dx}) ^7 + 6y = 5cos 3x\)
Here the order of the differential equation is 4 and the degree is 3.
Note: If a differential equation is not expressible in terms of a polynomial equation having the highest order derivative as the leading term, then that degree of the differential equation is not defined.
Types of Differential Equations
The differential equations are classified as:
 Ordinary Differential Equations
 Partial Differential Equations
Ordinary Differential Equation
The “Ordinary Differential Equation” also known as ODE is an equation that contains only one independent variable and one or more of its derivatives with respect to the variable. Thus, the ordinary differential equation is represented as the relation having one independent variable x, the real dependent variable y, with some of its derivatives y’, y”, ….yn,…with respect to x. The ordinary differential equation can be homogenous or nonhomogenous
Example: (d^{2}y/dx^{2}) + (dy/dx) = 3y cosx
The above differential equation example is an ordinary differential equation since it does not contain partial derivatives.
Homogenous Differential Equation
A differential equation in which the degree of all the terms is the same is known as a homogenous differential equation. In general they can be represented as P(x,y)dx + Q(x,y)dy = 0, where P(x,y) and Q(x,y) are homogeneous functions of the same degree.
Examples of Homogenous Differential Equation:
 y + x(dy/dx) = 0 is a homogenous differential equation of degree 1
 x^{4} + y^{4}(dy/dx) = 0 is a homogenous differential equation of degree 4
 xy(dy/dx) + y^{2} + 2x = 0 is not a homogenous differential equation
NonHomogenous Differential Equation
A differential equation in which the degree of all the terms is not the same is known as a homogenous differential equation.
Example: xy(dy/dx) + y^{2} + 2x = 0 is not a homogenous differential equation.
One of the types of a nonhomogenous differential equation is the linear differential equation, similar to the linear equation. The differential equation of the form (dy/dx) + Py = Q (Where P and Q are functions of x) is called a linear differential equation. (dy/dx) + Py = Q (Where P, Q are constant or functions of y). The general solution is y × (I.F.) = ∫Q(I.F.)dx + c where, I.F(integrating factor) = e^{∫pdx}
Partial Differential Equation
An equation involving only partial derivatives of one or more functions of two or more independent variables is called a partial differential equation also known as PDE. A few examples are:
 𝛿u/ dx + 𝛿/dy = 0,
 𝛿^{2}u/𝛿x^{2} + 𝛿^{2}u/𝛿x^{2 }= 0
Formation of Differential Equations
The differential equations are modeled from reallife scenarios.
 Newton's second law is described by the differential equation m \(\dfrac{d^2h}{dh^2} = f(t, h(t), \dfrac{dh}{dt})\), where m is the mass of the object, h is the height above the ground level. This is the secondorder differential equation of the unknown height as a function of time.
 As time increases, the population increases. If r > 0 is the growth rate, then the differential equation modeling the population is given as dN/dt = rN.
 The rate at which the disease spreads is proportional to the product of the infected people with the noninfected people. This is modeled as dN/ DT = k N(TN), where T is the fixed population and N is the number of people affected by the disease.
 For a certain substance, the rate of change of vapor pressure P with respect to temperature T is proportional to the vapor pressure and inversely proportional to the square of the temperature. dP/dt = k P/T^2
Solution of Differential Equations
The differential equation has infinitely many solutions. Solving a differential equation is referred to as integrating a differential equation since the process of finding the solution to a differential equation involves integration. A solution of a differential equation is an expression for the dependent variable in terms of the independent variable which satisfies the differential equation.
The solution which contains as many arbitrary constants is called the general solution. If we give particular values to the arbitrary constants in the general solution of the differential equation, the resulting solution is called a Particular Solution. The result of eliminating one arbitrary constant yields a firstorder differential equation and that of eliminating two arbitrary constants leads to a secondorder differential equation and so on. Let us understand solving the differential equation by an example.
(dy/dx) = x^{2}y + y
Step 1: Divide the above differential equation by y. (We separate the variable)
(1/y)(dy/dx) = (x^{2} + 1)
We consider y and x both as variables and rewrite this as
(dy/y) = (x^{2} + 1)dx
Step 2: Now integrate L.H.S. with respect to y and with respect to x.
∫(1/y)dx = ∫(x^{2} + 1)dx
Step 3: After integrating, we get:
log y = (x^{3}/3) + x + c
So, this is how the differential equation is solved.
Applications of Differential Equations
Ordinary differential equations applications in real life are used to calculate the movement or flow of electricity, motion of an object to and fro like a pendulum, to explain thermodynamics concepts. Also, in medical terms, they are used to check the growth of diseases in graphical representation. Differential equations are useful in describing mathematical models involving population growth or radioactive decay.
Important Notes:
 We can use the following notations for derivatives. (dy/dx) = y', (d^{2}y/dx^{2}) = y'', (d^{3}y/dx^{3)} = y'''
 The order and degree of a differential equation should be always positive integers.
☛ Also Check:
Differential Equations Examples

Example 1: What is the order of the differential equations (d^{2}y/dx^{2}) + x(dy/dx) + y = 2sinx?
Solution: The order of the given differential equation (d^{2}y/dx^{2}) + x(dy/dx) + y = 2sinx is 2.
Answer: The order is 2.

Example 2: The rate of decay of the mass of a radio wave substance any time is k times its mass at that time, form the differential equation satisfied by the mass of the substance.
Solution: The rate of decay of mass is dm/dt.
Here dm/dt is directly proportional to m.
>∴ dm/dt = mk (where k < 0) is the required differential equation.
Answer: ∴ dm/dt = mk is the required equation

Example 3: Find the differential equation of all the straight lines touching the circle x^{2} + y^{2} = r^{2}.
Solution: Let y = mx + c be the equation of all the straight lines touching the circle.
Given : The equation of the circle is x^{2} + y^{2} = r^{2}> (1)
The tangent to the circle is c^{2} = r^{2}(1+m^{2})
c = r√(1+m^{2})
we know that y = mx + c>(2)
y = mx + r√(1+m^{2}) >(3)
y  mx = r√(1+m^{2})
Differentiating wrt x we get dy/dx m =0
dy/dx = m
Substituting this in equation (3)
y  (dy/dx . x) = r√(1+(dy/dx)^{2})
Squaring on both sides, we get
y^{2}  (dy/dx . x)^{2} = [ r√(1+(dy/dx)^{2})]^{2}
[y  x(dy/dx)]^{2} = r^{2} (1+(dy/dx))^{2 }is the required differential equation.
Answer: The differential equation of all the straight lines touching the circle x^{2} + y^{2} = r^{2} is^{ }[y  x(dy/dx)]^{2} = r^{2} (1+(dy/dx))^{2}
FAQs on Differential Equations
What is a Differential Equation in Calculus?
An equation that contains the derivative of a function is called a differential function. A differential equation is an equation that involves the derivative (derivatives) of the dependent variable with respect to the independent variable (variables) is called a differential equation. Further, a differential equation contains derivatives of different orders and degrees.
What is the Formula of Differential Equation?
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.
What Are the Applications of Differential Equations?
Ordinary differential equations applications in real life are used to calculate the movement or flow of electricity, motion of an object to and fro like a pendulum, to explain thermodynamics concepts. Also, in medical terms, they are used to check the growth of diseases in graphical representation.
How Many Types of Differential Equations Are There?
The different types of differential equations are:
 Ordinary Differential Equations
 Homogeneous Differential Equations
 Nonhomogeneous Differential Equations
 Linear Differential Equations
 Nonlinear Differential Equations
What are Homogeneous Differential Equations?
A differential equation in which the degrees of all the terms is the same is known as a homogenous differential equation. x^{2} + y^{2}xy and xy + yx are examples of homogenous differential equations. y + x(dy/dx) = 0 is a homogenous differential equation of degree 1. x^{4} + y^{4}(dy/dx) = 0 is a homogenous differential equation of degree 4.
What are Second Order Differential Equations?
A secondorder differential equation is one in which there is a second derivative but not a third or higher derivative. It is represented as d/dx(dy/dx) = d^{2}y/dx^{2} = f”(x) = y”
How to Find Order and Degree of Differential Equations?
The order of a differential equation is the highest order of the derivative appearing in the equation. The degree of the differential equation is the exponent of the highest ordered derivative present in the equation. Consider the following differential equations, dy/dx=e^{x}, d^{4}y/dx^{4 }+ y = 0, (d^{3}y/dx^{3}) + x^{2}(d^{2}y/dx^{2}) = 0, in the given differential equation examples, the highest derivative are of first, fourth and thirdorder respectively.
What Are The Applications of Differential Equations?
Differential equations are useful in describing mathematical models involving population growth or radioactive decay.
visual curriculum