All solutions
MathsJEE Main

Solving First-Order Separable Differential Equations

Learn the method of variable separation to find the general solution of first-order separable differential equations, including integration and the constant of integration.

3 min readPublished 4 June 2026
Differential Equationsintegrating both sidesconstant of integration

Concept Overview

This question tests the fundamental technique for solving first-order ordinary differential equations where the variables can be separated. The core idea is to rearrange the equation so that all terms involving one variable (and its differential) are on one side, and all terms involving the other variable (and its differential) are on the other. Once separated, we integrate both sides to find the general solution, remembering to include the constant of integration.

Step 1: Identify if the differential equation is separable. A first-order differential equation of the form dydx=f(x,y)\frac{dy}{dx} = f(x, y) is separable if it can be written as dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y). This means the function on the right-hand side can be expressed as a product of a function of xx only and a function of yy only.

Step 2: Separate the variables. If the equation is separable, we rearrange it to group all yy terms with dydy and all xx terms with dxdx. This is done by dividing by h(y)h(y) (assuming h(y)0h(y) \neq 0) and multiplying by dxdx. dyh(y)=g(x)dx\frac{dy}{h(y)} = g(x) dx This step isolates the variables, preparing the equation for integration.

Step 3: Integrate both sides of the separated equation. Once the variables are separated, we integrate both sides with respect to their respective variables. 1h(y)dy=g(x)dx\int \frac{1}{h(y)} dy = \int g(x) dx This integration process will yield expressions involving yy and xx.

Step 4: Introduce the constant of integration. When performing indefinite integration, we must add a constant of integration, usually denoted by CC. It is sufficient to add the constant to only one side of the equation, typically the side involving the independent variable (xx in this case). 1h(y)dy=g(x)dx+C\int \frac{1}{h(y)} dy = \int g(x) dx + C This constant CC represents the family of solutions to the differential equation.

Step 5: Solve for yy in terms of xx (if possible) to obtain the general solution. After integration, the resulting equation implicitly or explicitly relates yy and xx. If possible, we solve this equation for yy to express the general solution explicitly as y=F(x,C)y = F(x, C). If solving for yy is difficult or not required, the implicit form is also considered the general solution.

For example, consider the differential equation dydx=xy\frac{dy}{dx} = \frac{x}{y}. Here, g(x)=xg(x) = x and h(y)=1yh(y) = \frac{1}{y}. Separating variables: ydy=xdxy \, dy = x \, dx. Integrating both sides: ydy=xdx+C\int y \, dy = \int x \, dx + C. Performing the integration: y22=x22+C\frac{y^2}{2} = \frac{x^2}{2} + C. This is the implicit general solution. We can rewrite it as y2x2=2Cy^2 - x^2 = 2C. Let K=2CK = 2C (another arbitrary constant), so y2x2=Ky^2 - x^2 = K.

Key Takeaways:

  • A differential equation is separable if it can be written as dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y).
  • The method involves isolating yy terms with dydy and xx terms with dxdx on opposite sides of the equation.
  • Integrate both sides of the separated equation and add a single constant of integration (CC) to one side.
  • The resulting equation, after integration and simplification, is the general solution.

Answer: The general solution is obtained by separating variables, integrating both sides, and adding a constant of integration.

More Maths solutions

Still stuck after reading this?

Ask JEE Genius — the AI tutor walks through every step and cites the exact past-paper source.

Open the chat →