Courses
Courses for Kids
Free study material
Offline Centres
More
Store Icon
Store

Solving Separable Differential Equations Step by Step

Reviewed by:
ffImage
hightlight icon
highlight icon
highlight icon
share icon
copy icon

How to Solve Separable Differential Equations with Formula and Examples

It is simply the "Separation of variables". The separation enables you to rewrite the differential equations so as to achieve a similarity of measures between two integrals we can assess. A separable equation is actually the first order differential equations that can be straightaway solved using this technique.


Write a Separable Differential Equations

A function of two independent variables is said to be separable if it can be demonstrated as a product of 2 functions, each of them based upon only one variable. So, A separable differential equation can be written in the form of \[\frac{dy}{dx} = f(x)g(y) dx dy = f(x)g(y)\]. 


Separate and Integrate: The Power of C

The process takes place in only 3 easy Steps:

Step 1: Bring all the ‘y’ products (including dy) to one side of the expression and all the ‘x’ terms (including dx) to the other side of the equation.

Step 2: Integrate one side concerning ‘y’ and the other side concerning ‘x’. Don't you forget "+ C" [the constant of integration]

Step 3: Simplify


Solve Differential Equations by Variable Separable Method

How to solve separable differential equations is not that difficult as it seems to be, especially, if you have understood the theory of differential equations.

Now you will find detailed solutions to Differential Equations by Variable Separable Method. Based on f(x) and g(y), these mathematical expressions can be solved systematically.


Example1

Solve and identify a general solution to the differential equation.

y ' = 3 e y x 2


Solution

You need to first rewrite the provide equation in form of a differential equation and with variables isolated (separated), the x's on one side while the y's on the other side as given below.

e -y dy = 3 x 2 dx

Integrate both the sides

ò e -y dy = ò 3 x 2 dx

which presents to you

-e -y + C1 = x 3 + C2, C1 and C2 that are constant of integration.

Now, Solve the above equation for y

y = - ln( - x 3 - C ) , where C = C2 - C1.

Then, confirm that the solution acquired fulfills the differential equation given above.


Example2

Find and solve the differential equation using the variable separable e method (x² + 4)y′ = 2xy.


Solution

The product xy on either sides does not permit isolating (separating) the variables. Hence, we make the substitution:

xy=tory=tx.

The connection for differentials is provided by

dy=xdt−td x x².

Substituting this into the expression, we can write in form:

tx (1 + t) dx = x(1−t)x dt − td x x².

Then, By multiplying each of the sides by x and then canceling the correlating fractions in the right and the left, we obtain

t(1+t)dx = (1−t)(xdt−tdx).

Make a note that x=0 is a solution of the equation, which you can verify by direct substitution.

Now, Simplifying the last mentioned equation:

tdx + t²dx = xdt − tdx − xtdt + t²dx,⇒2tdt = x(1−t)dt.

Now the variables x and t have been separated:

2dxx = (1−t)dtt or 2dxx = (1t−1)dt.

After integrating we obtain

2 ∫dxx=∫(1t−1)dt+C,⇒2ln|x|=ln|t|−t+C,⇒lnx²=ln|t|−t+C.

By inducing the reverse substitution t=xy, you discover the general solution of the equation:

lnx²=ln|xy|−xy+C,⇒ln∣∣∣xyx²∣∣∣−xy+C=0,⇒ln∣∣yx∣∣−xy+C=0.

Finally, a complete solution is written in the form:

ln∣∣yx∣∣−xy+C=0,x=0.


Find Out if the Following Differential Equations are Separable?

By the rule of Separability, a first-order differential equation is called a separable equation, provided after solving it for the derivative,

dy

dx

= F(x, y),

Next, The right-hand side can be factored (divided) as “a formula of just x ” times “a formula of just y ”,

F(x, y) = f [x]g[y]

If you observe that this factoring is not possible, the equation is not separable.

In short, a first-order differential equation is said to be separable if and only if it can be written in the form of:-

dy

dx

= f [x]g[y)] in which f and g are definite functions.

 

Fun Facts

ü  separation of variables is also known as the Fourier method within mathematics

ü  Crucial logistic differential equation are also separable

ü  Newton's Law of Cooling contributed to continuance of separable differential equations

ü  partial differential equations variable separable method is used when the partial differential equation and the boundary situations are linear and homogeneous

ü  A 'constant of integration' only provides a family of functions that develops a general solution when solving a differential equation.

ü  You will always need to add a constant when finding the indefinite integral. Just can ignore it

ü  You will be able to find the solutions to specific separable differential equations by separating variables, integrating in regard to 't',and finally solving the resulting algebraic equation for 'y'.

ü  Separable differential equation enables us to effectively solve many significant physical occurrences that occur in the world around us. For example, problems of growth and decay.

FAQs on Solving Separable Differential Equations Step by Step

1. What is a separable differential equation?

A separable differential equation is a first-order differential equation that can be written in the form dy/dx = g(x)h(y), allowing the variables to be separated on opposite sides of the equation. This means you can rearrange it as:

  • 1/h(y) dy = g(x) dx

After separating variables, you integrate both sides to find the general solution. Separable equations are one of the simplest types of first-order differential equations to solve.

2. How do you solve a separable differential equation step by step?

To solve a separable differential equation, separate the variables and integrate both sides. The steps are:

  • Write the equation in the form dy/dx = g(x)h(y).
  • Rearrange to separate variables: 1/h(y) dy = g(x) dx.
  • Integrate both sides: ∫ 1/h(y) dy = ∫ g(x) dx.
  • Add the constant of integration C.
  • Solve for y if possible.

This gives the general solution of the differential equation.

3. What is the general form of a separable differential equation?

The general form of a separable differential equation is dy/dx = g(x)h(y). This form allows the variables to be separated as:

  • 1/h(y) dy = g(x) dx

Any first-order differential equation that can be rearranged into this structure is called separable and can be solved using integration.

4. Can you give an example of solving a separable differential equation?

Yes, for example, solve dy/dx = 3xy.

  • Separate variables: 1/y dy = 3x dx.
  • Integrate both sides: ∫ 1/y dy = ∫ 3x dx.
  • This gives: ln|y| = 3x²/2 + C.
  • Solve for y: y = Ce^{3x²/2}.

This is the general solution of the separable differential equation.

5. How do you know if a differential equation is separable?

A differential equation is separable if it can be algebraically rewritten in the form dy/dx = g(x)h(y). To check:

  • See if all y-terms can be grouped with dy.
  • See if all x-terms can be grouped with dx.
  • If you can write it as 1/h(y) dy = g(x) dx, it is separable.

If the variables cannot be separated in this way, the equation is not separable.

6. What is the difference between separable and linear differential equations?

A separable differential equation can be written as dy/dx = g(x)h(y), while a linear differential equation has the form dy/dx + P(x)y = Q(x). Key differences include:

  • Separable equations use variable separation and direct integration.
  • Linear equations use an integrating factor method.
  • Some equations can be both separable and linear, but not all linear equations are separable.

7. How do you solve a separable differential equation with an initial condition?

To solve a separable differential equation with an initial condition, first find the general solution and then substitute the given values to find the constant. Steps:

  • Solve by separation of variables.
  • Obtain the general solution with constant C.
  • Substitute the initial condition (e.g., y(x₀) = y₀).
  • Solve for C to get the particular solution.

This gives the unique solution satisfying the initial value problem.

8. Why do we add a constant of integration when solving separable differential equations?

We add a constant of integration (C) because integration represents a family of antiderivatives that differ by a constant. When integrating:

  • ∫ f(x) dx = F(x) + C

Since a differential equation involves derivatives, its solution represents a family of functions, not just one. The constant accounts for all possible solutions until an initial condition is applied.

9. What are common mistakes when solving separable differential equations?

Common mistakes in solving separable differential equations include incorrect separation or missing constants. Frequent errors are:

  • Forgetting to separate variables correctly.
  • Not integrating both sides fully.
  • Forgetting the constant of integration.
  • Ignoring absolute values in expressions like ln|y|.
  • Making algebra errors when solving for y.

Careful algebra and correct integration prevent most errors.

10. Where are separable differential equations used in real life?

Separable differential equations are commonly used to model growth, decay, and rate-of-change processes. Applications include:

  • Exponential growth and decay (population, radioactive decay).
  • Newton’s Law of Cooling.
  • Logistic growth models in biology.
  • Simple chemical reaction rates.

These problems involve rates that depend on one variable and can often be solved using separation of variables.