Differential equations with variables separable
A first-order differential equation often ties , and together in one tangled expression. But sometimes the tangle comes apart cleanly: every -term (with ) can be dragged to one side, every -term (with ) to the other, and the equation is solved just by integrating each side on its own. This is the variables-separable method — the first concrete solving technique taught in the CBSE Class 12 Differential Equations chapter, right after order, degree and the idea of a general versus particular solution. It matters beyond this one chapter too: the next topic, homogeneous equations, works by using a clever substitution to force a stubborn, mixed-up equation into exactly this separable shape, so mastering separation here pays off immediately afterwards.
If , sending all -terms to one side and all -terms to the other turns the differential equation into two ordinary integrals joined by a single arbitrary constant.
The core idea
A first-order differential equation is said to have variables separable when it can be written as a product of a pure function of and a pure function of :
where: depends only on , depends only on , and is the rate of change linking them. Recognising this shape is the whole game — if the right-hand side cannot be factored this way, the method simply does not apply. Once the shape is confirmed, divide both sides by (assuming ) and multiply by to physically separate the differentials:
where: each side now contains only one variable together with its own differential, so the two sides can be treated as completely independent integration problems. Integrating both sides independently gives the general solution:
where: is a single arbitrary constant. Each side technically produces its own constant of integration, but since only their difference matters, the two collapse into one net constant written on either side — never both. The figure below shows the separation as a literal rearrangement: terms migrate across the equals sign until -stuff and -stuff sit on opposite banks, ready to be integrated.
Not every equation qualifies. When and are genuinely mixed — a sum like , for instance — the right-hand side cannot be split into a pure- factor times a pure- factor, and a different technique is needed. That is precisely the motivation for the homogeneous-equation method taught next: a substitution () that turns certain non-separable equations into separable ones, bringing them back within reach of this same integration approach.
The goal is to show, starting from nothing but the defining shape and the ordinary rules of algebra and integration, exactly why dividing by and integrating both sides independently produces a valid general solution containing precisely one arbitrary constant — not zero, and not two.
Step 1. Start from the assumed separable form, , with on the interval of interest. Since , dividing both sides by is a legitimate algebraic step and preserves the equation exactly:
Step 2. Treat as if and can be separated (this is justified rigorously by the chain rule when both sides are integrated with respect to , but informally it is just "multiply across"), giving
The left side is now a function of alone with , and the right side a function of alone with — the two variables no longer appear on the same side together.
Step 3. Integrate the left side with respect to and the right side with respect to , independently:
Each of these is an ordinary indefinite integral, evaluated using whatever standard technique applies (power rule, substitution, standard forms, and so on, from the Integrals chapter).
Step 4. Every indefinite integral carries its own arbitrary constant, so strictly the equation reads , where and are antiderivatives of and respectively. Since and are both arbitrary, their difference is itself just some arbitrary constant; call it . Moving it to one side gives the general solution in its standard form:
This single relation between , and one constant is the general solution — it represents an entire family of curves, one for each value of , and a specific member of that family is picked out only when an initial condition fixes to a particular number.
Worked example
Solve , given that when .
Step 1. Confirm the equation is separable: is a pure function of times a pure function of , so the method applies directly.
Step 2. Separate the variables by cross-multiplying:
Step 3. Integrate both sides:
Step 4. Simplify to the standard general-solution form. Multiplying through by and writing :
Step 5. Apply the initial condition to pin down :
Step 6. Write the particular solution:
Check: differentiating implicitly gives , which matches the original equation exactly, and satisfies . The particular solution is .
Competitive stretch
Solve .
Step 1. Rewrite using laws of exponents: , which is separable since it is a pure- factor times a pure- factor.
Step 2. Separate by multiplying both sides by : .
Step 3. Integrate: .
The general solution is , equivalently wherever .
Common traps
- Dividing by without noting where it could be zero. The separation step assumes ; CBSE problems rarely test this edge case explicitly, but a careful answer flags it.
- Writing two constants instead of combining them into one. Integrating each side independently technically produces and — these must be merged into a single in the final general solution, not left floating on both sides.
- Forcing a separation that is not algebraically valid. An equation like cannot be split into a pure function of times a pure function of ; it needs the homogeneous-equation substitution instead, not a forced separation.
- Sign or algebra slips while rearranging exponential or fractional terms. A misplaced sign while moving a term across the equals sign silently changes the entire family of solutions.
Ask the tutor: if you're unsure whether a given equation is truly separable, or how to separate a trickier expression mixing exponentials or trig terms, ask your AI tutor to walk through the separation step before you integrate.
Why does integrating both sides only need one constant C, when each side technically has its own?
Each indefinite integral does produce its own constant, so strictly you get . But and are both arbitrary numbers, so their difference is itself just some arbitrary constant. Renaming that difference as a single and moving it to one side gives — one net constant is all the equation needs, and writing two is redundant, not more correct.
How do I know whether a differential equation is separable at all?
Check whether the right-hand side of can be factored into a piece that depends only on multiplied by a piece that depends only on . If you can write it as , it is separable. Sums like , or expressions where and are genuinely tangled together, usually cannot be factored this way — those need a different method, such as the homogeneous-equation substitution covered right after this topic.
Do I always need an initial condition to solve a separable equation?
No. Separating and integrating both sides always gives you the general solution, a family of curves parametrised by the constant — that step needs no extra information. An initial condition (a given point the curve must pass through, like when ) is only needed if you want to narrow that family down to one specific particular solution by solving for the exact value of .