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 real-world 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
- (d2y/dx2) + k2y = 0
- (d2y/dt2) + (d2x/dt2) = x
- (d3y/dx3) + 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 = ex, (d4y/dx4) + y = 0, (d3y/dx3) + x2(d2y/dx2) = 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 first-order 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’
Second-Order Differential Equation
The equation which includes second-order derivative is the second-order differential equation. It is represented as; d/dx(dy/dx) = d2y/dx2 = 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 non-homogenous
Example: (d2y/dx2) + (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
- x4 + y4(dy/dx) = 0 is a homogenous differential equation of degree 4
- xy(dy/dx) + y2 + 2x = 0 is not a homogenous differential equation
Non-Homogenous 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) + y2 + 2x = 0 is not a homogenous differential equation.
One of the types of a non-homogenous 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,
- 𝛿2u/𝛿x2 + 𝛿2u/𝛿x2 = 0
Formation of Differential Equations
The differential equations are modeled from real-life 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 second-order 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 non-infected people. This is modeled as dN/ DT = k N(T-N), 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 first-order differential equation and that of eliminating two arbitrary constants leads to a second-order differential equation and so on. Let us understand solving the differential equation by an example.
(dy/dx) = x2y + y
Step 1: Divide the above differential equation by y. (We separate the variable)
(1/y)(dy/dx) = (x2 + 1)
We consider y and x both as variables and rewrite this as
(dy/y) = (x2 + 1)dx
Step 2: Now integrate L.H.S. with respect to y and with respect to x.
∫(1/y)dx = ∫(x2 + 1)dx
Step 3: After integrating, we get:
log y = (x3/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', (d2y/dx2) = y'', (d3y/dx3) = 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 (d2y/dx2) + x(dy/dx) + y = 2sinx?
Solution: The order of the given differential equation (d2y/dx2) + 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 x2 + y2 = r2.
Solution: Let y = mx + c be the equation of all the straight lines touching the circle.
Given : The equation of the circle is x2 + y2 = r2----------> (1)
The tangent to the circle is c2 = r2(1+m2)
c = r√(1+m2)
we know that y = mx + c---------->(2)
y = mx + r√(1+m2) ---------->(3)
y - mx = r√(1+m2)
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
y2 - (dy/dx . x)2 = [ r√(1+(dy/dx)2)]2
[y - x(dy/dx)]2 = r2 (1+(dy/dx))2 is the required differential equation.
Answer: The differential equation of all the straight lines touching the circle x2 + y2 = r2 is [y - x(dy/dx)]2 = r2 (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
- Non-homogeneous 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. x2 + y2xy and xy + yx are examples of homogenous differential equations. y + x(dy/dx) = 0 is a homogenous differential equation of degree 1. x4 + y4(dy/dx) = 0 is a homogenous differential equation of degree 4.
What are Second Order Differential Equations?
A second-order 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) = d2y/dx2 = 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=ex, d4y/dx4 + y = 0, (d3y/dx3) + x2(d2y/dx2) = 0, in the given differential equation examples, the highest derivative are of first, fourth and third-order respectively.
What Are The Applications of Differential Equations?
Differential equations are useful in describing mathematical models involving population growth or radioactive decay.
visual curriculum