# Separable Differential Equations

Last Updated : 20 May, 2024

Separable differential equations are a special type of ordinary differential equation (ODE) that can be solved by separating the variables and integrating each side separately. Any differential equation that can be written in form of y’ = f(x).g(y), is called a separable differential equation.

Separable Differential Equation

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.

## Standard form of Separable Differential Equation

Below is the standard form of Separable differential equation.

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

Solution of the above differential equation is done by separating both the variables on either side of the equal sign,

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 is Separable Differential Equation?

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 Equation Definition

Variable separable differential equation is defined 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.

Separable Differential Equation

### Examples of Separable Differential Equation

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

### Identify Separable Equation

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

 \frac{dy}{dx} = f(x).g(y)

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.

## How to Solve Separable Differential Equation

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 on Separable Differential Equation

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 Equation

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.

## Separable Differential Equation – FAQs

### What is Variable Separable Differential Equation 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 (=).

### How to Identify Separable Differential Equation?

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.

### How to solve Separable Differential Equation?

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.

### What is the Difference between Linear and Separable Differential Equation?

• Differential equation where the power of the derivative dy/dx is one and they are written in the form, dy/dx + Py = Q is called Linear Differential Equation.
• 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

### What are Non-Separable Differential Equation?

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.

### How to Solve Non-Separable Differential Equation?

We can solve the non-separable differential equations by various methods which are,

• Using the Homogenous Differential Equation method.
• Using the Exact Differential Equation method.
• Using the Linear Differential Equation method.

Previous
Next