# Separable Differential Equations

Separable differential equations are the differential equation in which we can easily separate the variables of the differential equation and then the solution of the differential equation is done by individually solving them. The basic form of the Separable differential equations is dy/dx = f(x) g(y), where x is the independent variable and y is the dependent variable. The solution of the above differential equation is done by separating both the variables on either side of the equal sign as,

dy/g(y)  = dx/f(x)

and then integrating them individually.

This method of solving separable differential equations was first proposed by G. Leibniz in 1691 and was finalized by J. Bernoulli in 1694. In this article, we will learn about the separable differential equation, its solution, and others in detail.

## What are Separable Differential Equations?

All the differential equations in which we can separate the variable from each other are called the separable differential equation the general form of the separable differential equation is dy/dx = f(x) g(y). We can easily solve these types of equations by simply separating the variables in the differential equation and then integrating them individually.

All the ways in which we can write the separable differential equation are,

• dy/dx = f(x) g(y)
• dy/ g(y) = dx f(x)
• dy/dx = f(x)/g(y)
• g(y) dy = f(x) dx

### Variable Separable Differential Equations Definition

We define the variable separable differential equation as the equation of the form dy/dx = f(x) g(y), where f(x) and g(x) are the functions of the x and y. The solution to these equations is achieved by separating the variables and then integrating them separately.

The image shown below shows the basic method of separating

### Examples of Separable Differential Equations

Various examples of separable differential equations are,

• dy/dx = (2x3 + 6)(y2 – 7)
• dy/dx = sec x cosec y
• dy/dx = eyex
• dy/dx = sin y cos x

### Identifying Separable Equations

The first-order differential equation is a separable differential equation if and only if it can be written as

Where,

• f(x) is a function of x that does not contain y.
• g(y) is a function of y that does not contain x.

If it is not possible, to write the equation in this form we call the equation not a separable differential equation.

Note: In order to solve this type of differential equation we have to separate all y’s on one side and x’s on another side of the equal sign.

## Solving Separable Differential Equations

Separable differential equations can be easily solved using the steps discussed below,

Step 1: Arrange the given differential equation, in the form, dy/dx = f(x) g(y).

Step 2: Separate the dependent and the independent variable on either side of the equal sign. As, dy/g(y) = d(x)f(x).

Step 3: Integrating both sides individually to get the required solution âˆ«dy/g(y) = âˆ« f(x) dx.

This can be understood with the example discussed below,

Example: Solve dy/dx = x3/y2.

Solution:

Given DE, dy/dx = x3/y2

â‡’ dy(y2) = x3(dx)

Integrating both sides

âˆ«dy(y2) = âˆ«x3(dx)

â‡’ y2+1/(2+1) = x3+1/(3+1) + c

â‡’ y3/3 = x4/4 + c

This is the solution to the given differential equation.

## Initial Value Problem Separable Differential Equations

We know how to solve the differential equation given in the separable form and this can also be achieved if the initial condition is given. In the differential equation if the initial condition is given we can easily find the value of the integration constant and this helps us to find the exact solution to the differential equation. The example discussed below is the initial value problem for separable differential equations.

Example: Solve dy/dx = (x3 + 2)/(y2 – 2) and when y(0) = 0.

Solution:

Given DE,  dy/dx = (x3 + 2)/(y2 – 2)

â‡’ dy(y2 – 2) = (x3 + 2)(dx)

Integrating both sides

âˆ«dy(y2 – 2) = âˆ«x3(x3 + 2)

â‡’ y2+1/(2+1) -2y = x3+1/(3+1) + 2x + c

â‡’ y3/3 – 2y = x4/4 + 2x + c…(i)

Using the initila condition y(0) = 0

x = 0 and then y = 0

â‡’ 0 – 0 = 0 + 0 + c

â‡’ c = 0

Thus from eq (i)

y3/3 – 2y = x4/4 + 2x + c

â‡’ y3/3 – 2y = x4/4 + 2x

This is the solution to the given differential equation.

## Solved Examples on Separable Differential Equations

Example 1: Find whether the differential equation dy/dx = f(x) + g(y) is variable separable or not.

Solution:

Given DE,

dy/dx = f(x) + g(y)

We know that in the above equation we can not seperate the variables.

dy/dx = f(x) + g(y)

Thus, the given equation is not variable seperable.

Example 2: Find the solution of the differential equation dy/dx = (x+1)/(2-y), (yâ‰ 2).

Solution:

Given DE,

dy/dx = (x+1)/(2-y)

â‡’ (2-y) dy = (x+1) dx

Integrating both side

âˆ«(2-y) dy = âˆ«(x+1) dx

â‡’ âˆ«2 dy- âˆ«y dy = âˆ«x dx + âˆ«1 dx

â‡’ 2y âˆ’ (y2/2) = (x2/2) + x + C

â‡’ 2y âˆ’ (y2/2) âˆ’ (x2/2) âˆ’ x âˆ’ C = 0

This is the general solution of the given differential equation.

Example 3: Find the general solution of the differential equation dy/dx = (1+y2)/(1+x2).

Solution:

Given DE, dy/dx = (1+y2)/(1+x2)

â‡’ dy/(1+y2) = dx/(1+x2)

Inytegrating both side

âˆ«dy/(1+y2) = âˆ«dx/(1+x2)

â‡’ tan-1y = tan-1x + C

â‡’ tan-1x – tan-1y + C = 0

This is the general solution of the given differential equation.

Example 4: Find the general solution of the differential equation dy/dx = -4xy2.

Solution:

given DE, dy/dx = -4xy2

â‡’ dy/y2 = -4x dx

Integrating both side

âˆ«dy/y2 = âˆ«-4x dx

â‡’ -(1/y) = -4(x2/2) + C

â‡’ -(1/y) = -2x+C

â‡’ -2x + (1/y) + C =0

This is the general solution of the differential equation.

Example 5: Solve the following differential equation dy/dx=6xy2, y(1) = 1/25

Solution:

Given DE, dy/dx = 6xy2

â‡’ dy/y2  =  6x dx

Integrating both sides

âˆ«dy/y2 = âˆ«6x dx

â‡’ âˆ«dy/y2 = 6âˆ«x dx

â‡’ -(1/y) = 6(x2/2) + C

â‡’ -(1/y) = 3x2 + C…(i)

This is the general solution of the differential equation.

Using the Intial condition,

x = 1 then y = 1/25

â‡’ -25 = 3 + C

â‡’ C = -28

Substituting the value of C in eq (i)

-(1/y) = 3x2-28

â‡’ y(3x2-28) + 1 = 0

Example 6: Solve the following differential equation dy/dx = (3x2 + 4x – 4)/(2y – 4), y(1) = 3.

Solution:

Given DE, dy/dx = (3x2 + 4x – 4)/(2y – 4)

â‡’ (2y-4)dy = (3x2+4x-4)dx

Integrating both side,

âˆ«(2y-4)dy = âˆ«(3x2+4x-4)dx

â‡’ âˆ«2y dy – âˆ«4 dy = âˆ«3x2 dx + âˆ«4x dx – âˆ«4 dx

â‡’ y2 – 4y = x3 + 2x2 – 4x + C…(i)

Using the intial condition,

x = 1 then y = 3

â‡’ 32 – 4Ã—3 = 13 + 2Ã—12 – 4Ã—1 + C

â‡’ C = -2

From eq (i)

y2-4y = x3+2x2-4x-2

Which is the required solution.

## FAQs on Separable Differential Equations

### Q1: What are Variable Separable Differential Equations in Calculus?

Generally, the differential equation of the form dy/dx = f(x)/g(y) is called a variable separable differential equation. In these equations, we can easily separate both variables and the differential variable and can arrange them on either side of the equal sign (=).

### Q2: How to Identify Separable Differential Equations?

We can easily identify the separable differential equation by separating the independent variable and dependent variable on either side of the equal sign. If we are able to separate the variables then the equation is a separable differential equation.

### Q3: How to solve Separable Differential Equations?

Separable differential equations are easily solved by arranging all the dependent variables on one side of the equal sign and the independent variable on the opposite side of the equal sign and then integrating both sides separately to get the final answer.

### Q4: What is the Difference Between Linear and Separable Differential Equations?

The differential equation where the power of the derivative dy/dx is one and they are written in the form,

dy/dx + Py = Q

Where P and Q are the function of x is called the linear differential equation.

Whereas the equation in which we can easily separate the dependent variable and the independent variable along with their differential variable is called the separable differential equation

### Q5: What are Non-Separable Differential Equations?

All the differential equations where we can not separate the independent variable (x) and the dependent variable (y) are called the non-separable differential equation.