Separation of Variables: From Intuition to Precision
Imagine you're baking a cake. The recipe says "mix the dry ingredients separately, then add the wet ones." You keep things that belong together together, and things that don't apart — until the right moment. Separation of Variables does exactly that for certain kinds of equations.
The Core Intuition
Some equations involve two different kinds of change happening at once. Think of a cup of hot coffee cooling down. The rate at which it cools depends on:
- The temperature difference between the coffee and the room (a function of time)
- The surface area of the cup (a function of shape, not time)
These two influences are tangled together in one equation. Separation of Variables is the mathematical trick that untangles them — it lets you handle the time part first, then the space part separately.
The Precise Statement
Separation of Variables applies to ordinary differential equations (ODEs) of the form:
dxdy=f(x)⋅g(y)
where the right-hand side is a product of a function of x alone and a function of y alone. The method works in three clean steps:
dxdy=f(x)⋅g(y)⟹g(y)1dy=f(x)dx
Step 1: Separate. Multiply both sides by dx and divide by g(y) (assuming g(y)=0). This moves all y's to one side and all x's to the other.
Step 2: Integrate. Put an integral sign on both sides:
∫g(y)1dy=∫f(x)dx
Step 3: Solve. Evaluate both integrals and solve for y explicitly if possible.
You cannot separate if the equation is not in product form. For example, dxdy=x+y cannot be separated — the sum x+y is not a product f(x)g(y).
Why This Works
The justification is the chain rule in reverse. From dxdy=f(x)g(y), rewrite it as:
g(y)1dxdy=f(x)
Now integrate both sides with respect to x:
∫g(y)1dxdydx=∫f(x)dx
The left side is a substitution waiting to happen: dxdydx=dy, so you get ∫g(y)1dy. That's the entire trick — the chain rule dressed up.
A Concrete Example
Solve dxdy=2xy, with y(0)=3.
Step 1: Separate. Divide both sides by y (assuming y=0):
y1dy=2xdx
Step 2: Integrate.
∫y1dy=∫2xdx⟹log∣y∣=x2+C
Step 3: Solve for y.
∣y∣=ex2+C=eC⋅ex2
Let A=±eC (absorbing the absolute value): y=Aex2. Now use y(0)=3: 3=Ae0=A, so A=3.
Final answer: y=3ex2
Always check if g(y)=0 gives a solution. Here g(y)=y, so y=0 is also a solution (the trivial one). Our initial condition y(0)=3 picks the non-zero branch.
When Does It Apply?
Separation of Variables works for first-order ODEs of the form dxdy=f(x)g(y), and for certain partial differential equations like the heat equation (a more advanced use — the idea is the same: assume the solution is a product of functions of each variable). It does not work for equations where x and y are added, subtracted, or composed in non-product ways, or for higher-order ODEs (generally).
The Big Picture
Separation of Variables is your first real tool for solving differential equations. It reduces a problem with two moving parts into two independent single-variable integrals: you separate the variables, handle each alone, then reassemble with the initial condition. Think of it as untangling a knot by pulling the two ends apart — once separate, each piece is easy to deal with.
Separation of Variables is the very first solving technique taught in NCERT's Class 12 Differential Equations chapter and one of the most heavily tested skills in CBSE board exams and JEE Main. Students searching "separable differential equations important questions" or "differential equations class 12 formula" will find this method the starting point for almost every other technique in the chapter.