 GFG App
Open App Browser
Continue

Differential equations come into play in a variety of applications such as Physics, Chemistry, Biology, and Economics, etc. A differential equation is a mathematical equation that relates some function with its derivatives. In applications, the functions usually represent physical quantities, the derivatives represent their rates of change, and the equation defines a relationship between the two. Let’s formally define what is a differential equation?

A differential equation is an equation involving the derivatives of the dependent variable with respect to the independent variable. For example Here, x is the independent variable, and y is the dependent variable.

A differential equation that includes derivatives with respect to only one independent variable is called an ordinary differential equation. There also exist some differential equations which have derivatives with respect to more than one independent variable, they are called partial differential equations.

Example: an ordinary differential Equation.

Note: Following notations are also used for denoting higher order derivatives.

• • ### Order of a Differential Equation

The order of differential equations is the highest order of the derivative present in the equations.

For example:

• . It has an order of 1.
• . It has an order of 2.
• . It has an order of 3.

### Degree of Differential Equation

The degree of a differential equation(when it is a polynomial equation in derivatives) is the highest power (positive integral index) of the highest order derivative involved in the given differential equation.

Example: . In this equation highest degree derivative has power of 1. So, the order of differential equation is 1.

Note: It is not always necessary that degree and order of a differential equation are equal, but both of them must be positive.

### General And Particular Solution of Differential Equation

Consider a differential equation, The solution of this differential equation is a function that will satisfy it, i.e when a function \phi is substituted for the unknown “y”. L.H.S becomes equal to R.H.S.

The curve is called the solution of the differential equation. Let’s say, this function is, When this function and its derivatives are substituted in the differential equation, the equation is satisfied.

Let’s assume that we gave some values to “a” and “b”, where a = 2 and b = -1. Then the equation becomes, This is called a particular solution and the solution which consisted of arbitrary values of a and b is called General Solution.

### Formation of a Differential Equation whose General Solution is Given

Let’s look at the steps/procedure to form a differential equation from a general solution:

1. If a family of curves depends only on one parameter, then it is represented by an equation that can be written in the form, F(x, y, a) = 0. Differentiating this equation with x gives us an equation in y’, y, x and a which can be represented as g(x, a, y, y’) = 0. Now, the differential equation can be formed by eliminating the parameter “a” from both of the equations.
2. If a family of curves depends on two parameters “a” and “b”, then it is represented by an equation that can be written in a form, F(x, y, a, b) = 0. Differentiating this equation with x gives us an equation in y’, y, x, a and b which can be represented as g(x, a, b, y, y’) = 0. We cannot eliminate “a” and “b” from those two equations. So, we will differentiate the equation again to get g(x, a, b, y, y’, y”) = 0. Now, the differential equation can be formed by eliminating the parameter “a” and “b” from all three of these equations.

Let’s see these steps through examples,

Question 1: Form the differential equation representing the family of curves y = mx, where, m is an arbitrary constant.

Solution:

We have y = mx,

Differentiating it both sides, Substituting the value of m in the original equation, Question 2: Form the differential equation representing the family of ellipses having foci on the x-axis and centre at the origin.

Solution:

Equation of ellipses with foci on x-axis and centre at origin, Differentiating equations w.r.t x, Differentiating both sides again we get, This is the required differential equation.

### Homogeneous Differential Equations

A function f(x, y) is called a homogeneous function of degree n if,

F(ax, ay) = anF(x, y)

for any constant “a”.

A differential equation of the form is called homogeneous if F(x, y) is a homogeneous function of degree zero.

Question: Check whether the differential equation, is homogeneous.

Solution: Let, Let a be a constant, Since this function is homogeneous, the differential equation is also homogeneous.

### Variable Separable Differential Equation

Consider a first-order differential equation of the form, If F(x, y) can be expressed as h(x)g(y) where h(x) is a function of x and g(x) is a function of y. Then the equation is called a differential equation of variable separable type. The differential equation has the form, Question: Find the general solution of the differential equation, Solution: ### Solution to a Linear Differential Equation

A linear differential equation is a differential equation that can be made to look like in this form: where P(x) and Q(x) are the functions of x. It is solved using a special approach:

• Make two new functions of x, call them u and v, and say that y = uv.
• Then solve to find u, and then v.

Step-by-step procedure:

Step 1: Substitute y = uv, and into, Step 2: Now, one should factor the parts that have “v”.

Step 3: Put the v term equal to zero (this gives a differential equation in u and x which can be solved in the next step)Put the v term equal to zero (this gives a differential equation in u and x which can be solved in the next step)

Step 4: Solve “u” and then put it back in the equation to find “v”.

Step 5: Finally y = uv is the solution.

Let’s look at an example to understand it better,

Question: Solve Solution:

This is a linear equation. Let’s bring it in the form specified above. Here, P(x) = -1/x and Q(x) = 1.

So, let’s follow the steps given above. Substitute y = uv in the equation. Then the equation becomes, Put the parts involving “v” equal to zero. Substituting “u” back into the equation. Now, let’s solve this to find “v”. Substitute both “u” and “v” into the equations y = uv. So, this is the solution for this differential equation.

### Writing a Differential Equation

Now let’s move on to modelling a differential equation. Modelling is the process of writing a differential equation that describes a physical situation. We will see how to model first-order differential equations, modelling more complex orders is out of scope at this level of study.

Example: Savings Account Model

Write x(t) for the number of dollars in the account at time t. It accrues interest at an interest rate r. The interest rate has units of percent/year. The more money in the account the more interest you earn. At the end of an interest period of Δt years (e.g. Δt = 1/12, or Δt = 1/365) the bank adds “r.x(t)·Δt” dollars to your account. This means the change Δx in your account is

Δx = r.x(t).Δt

r has units of (years)−1. Mathematicians and some bankers like to take things to the limit. Rewrite our equation as , and suppose that the interest period is made to get smaller and smaller. In the limit as Δt → 0, we get the differential equation Now suppose we make contributions to this savings account. We’ll record this by giving the rate of savings, q. This rate has units dollars per year, so if you contribute every month then the monthly payments will be q Δt with Δt = 1/12. This payment also adds to your account, so, when we divide by Δt and take the limit, we get This is a linear differential equation.

My Personal Notes arrow_drop_up