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

**.**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.

Table of Content

## 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

**and was finalized by**

**1691****in**

**J. Bernoulli****. In this article, we will learn about the separable differential equation, its solution, and others in detail.**

**1694**## 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.

### Examples of Separable Differential Equation

Various examples of separable differential equations are,

- dy/dx = (2x
^{3}+ 6)(y^{2}– 7) - dy/dx = sec x cosec y
- dy/dx = e
^{y}e^{x} - 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,

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

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

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.Note:

## How to Solve Separable Differential Equation

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

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

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

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

This can be understood with the example discussed below,

**Example:****Solve dy/dx = x**^{3}**/y**^{2}**.**

**Solution:**

Given DE, dy/dx = x

^{3}/y^{2}â‡’ dy(y

^{2}) = x^{3}(dx)Integrating both sides

âˆ«dy(y

^{2}) = âˆ«x^{3}(dx)â‡’ y

^{2+1}/(2+1) = x^{3+1}/(3+1) + câ‡’ y

^{3}/3 = x^{4}/4 + cThis 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 = (x**^{3}** + 2)/(y**^{2}** – 2) and when y(0) = 0.**

**Solution:**

Given DE, Â dy/dx = (x

^{3}+ 2)/(y^{2}– 2)â‡’ dy(y

^{2}– 2) = (x^{3}+ 2)(dx)Integrating both sides

âˆ«dy(y

^{2}– 2) = âˆ«x^{3}(x^{3}+ 2)â‡’ y

^{2+1}/(2+1) -2y = x^{3+1}/(3+1) + 2x + câ‡’ y

^{3}/3 – 2y = x^{4}/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)

y

^{3}/3 – 2y = x^{4}/4 + 2x + câ‡’ y

^{3}/3 – 2y = x^{4}/4 + 2xThis is the solution to the given differential equation.

**Read More:**

## 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 âˆ’ (y

^{2}/2) = (x^{2}/2) + x + Câ‡’ 2y âˆ’ (y

^{2}/2) âˆ’ (x^{2}/2) âˆ’ x âˆ’ C = 0This is the general solution of the given differential equation.

**Example 3: Find the general solution of the differential equationÂ dy/dx = (1+y**^{2}**)/(1+x**^{2}**).**

**Solution:**

Given DE, dy/dx = (1+y

^{2})/(1+x^{2})â‡’ dy/(1+y

^{2}) = dx/(1+x^{2})Inytegrating both side

âˆ«dy/(1+y

^{2}) = âˆ«dx/(1+x^{2})â‡’ tan

^{-1}y = tan^{-1}x + Câ‡’ tan

^{-1}x – tan^{-1}y + C = 0This is the general solution of the given differential equation.

** Example 4: Find the general solution of the differential equation**Â

**dy/dx = -4xy**

^{2}

**.****Solution:**

Given DE, dy/dx = -4xy

^{2}â‡’ dy/y

^{2 }= -4x dxIntegrating both side

âˆ«dy/y

^{2 }= âˆ«-4x dxâ‡’ -(1/y) = -4(x

^{2}/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=6xy**^{2}**, y(1) = 1/25**

**Solution:**

Given DE, dy/dx = 6xy

^{2}â‡’ dy/y

^{2 Â }= Â 6x dxIntegrating both sides

âˆ«dy/y

^{2 }= âˆ«6x dxâ‡’ âˆ«dy/y

^{2 }= 6âˆ«x dxâ‡’ -(1/y) = 6(x

^{2}/2) + Câ‡’ -(1/y) = 3x

^{2 }+ 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) = 3x

^{2}-28â‡’ y(3x

^{2}-28) + 1 = 0

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

**Solution:**

Given DE, dy/dx = (3x

^{2 }+ 4x – 4)/(2y – 4)â‡’ (2y-4)dy = (3x

^{2}+4x-4)dxIntegrating both side,

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

^{2}+4x-4)dxâ‡’ âˆ«2y dy – âˆ«4 dy = âˆ«3x

^{2}dx + âˆ«4x dx – âˆ«4 dxâ‡’ y

^{2 }– 4y = x^{3 }+ 2x^{2 }– 4x + C…(i)Using the intial condition,

x = 1 then y = 3

â‡’ 3

^{2 }– 4Ã—3 = 1^{3 }+ 2Ã—1^{2 }– 4Ã—1 + Câ‡’ C = -2

From eq (i)

y

^{2}-4y = x^{3}+2x^{2}-4x-2Which 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,
is called Linear Differential Equation.dy/dx + Py = Q- 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.