# Differential Equations In Variable Separable Form

In this section, we consider how to evaluate the general solution of a DE. You must appreciate the fact that evaluating the general solution of an arbitrary DE is not a simple task, in general. Over time, many methods have been developed to solve particular classes of DEs. Fortunately for us, at this level we are required to deal with only the simplest of cases.

We’ll be considering only first order and first degree DEs. Note that any such DE can be written in the general form

\[\boxed{M(x,y)\,dx + N(x,y)\,dy = 0}\]

where *M* and *N *are functions of *x* and *y*.

**TYPE - 1: VARIABLE SEPARABLE FORM**

This is by and large the simplest type of DE that we’ll encounter. As the name suggests, in such an equation, *M* is a function of *x *only and *N *is a function of *y* only. Thus, such a DE is of the form

\[f(x)dx + g(y)dy = 0\]

which can be **solved** by straightforward integration to obtain

\[\int {f(x)dx + } \int {g(y)dy = C} \]

where *C* is an arbitrary constant.

Observe how the “variables are separated” in this type of DE and its general solution.

As a simple example, consider the DE

\[xdx + {y^2}dy = 0\]

This is obviously in variable -separable form. Integrating, we obtain

\[\begin{align} & \qquad \;\int {xdx + \int {{y^2}dy = C} } \\ &\Rightarrow \quad \frac{{{x^2}}}{2} + \frac{{{y^3}}}{3} = C\end{align}\]

This is the required general solution of the DE.

**Example – 4**

Solve the DE \(\begin{align}~y-x\frac{dy}{dx}=\lambda \left( {{y}^{2}}+\frac{dy}{dx} \right).\end{align}\)

**Solution:** A little observation will show you that the variables are separable in this DE:

\[\begin{align}&\qquad \quad y(1 - \lambda y) = \frac{{dy}}{{dx}}(x + \lambda )\\& \Rightarrow \quad \frac{{dy}}{{y(1 - \lambda y)}} = \frac{{dx}}{{x + \lambda }}\\ &\Rightarrow \quad \left( {\frac{1}{y} + \frac{\lambda }{{1 - \lambda y}}} \right)dy = \frac{{dx}}{{x + \lambda }}\end{align}\]

Integrating both sides, we have

\[\begin{align}&\qquad \;\;\ln\;y - \ln\;(1 - \lambda y) = \ln\;(x + \lambda ) + C\\& \Rightarrow \quad \ln \left( {\frac{y}{{1 - \lambda y}}} \right) = \ln (x + \lambda ) + \ln C'\end{align}\]

In the last step, we have written the arbitrary constant of integration *C* as \(C'\) so that the whole expression can be combined now by taking antilog on both sides. (There’s no loss of generality in doing so and it is often done to make the final expression look simpler). Thus, we now have,

\[\begin{align} & \qquad \;\frac{y}{{1 - \lambda y}} = C'(x + \lambda )\\&\Rightarrow \quad y = C'(x + \lambda )(1 - \lambda y)\end{align}\]

This is the required general solution of the DE; as expected it contains only one arbitrary constant.

- Live one on one classroom and doubt clearing
- Practice worksheets in and after class for conceptual clarity
- Personalized curriculum to keep up with school