The math optional, made finite. Daily Practice

Variables separable

At a Glance

Why This Chapter Matters

Variables-separable ODEs underlie every other first-order method: growth/decay models, geometric tangent problems, and substitution-reducible equations all end as separations. UPSC has tested three distinct flavours — geometric (tangent bisected by axes), applied (exponential growth), and substitution (trig ODE reducible by v=x+yv=x+y) — at 8–10 marks each. Mastering the core separation + integration algorithm and the two standard substitutions (v=x+yv=x+y for F(x+y)F(x+y) type; v=y/xv=y/x for homogeneous type) covers every question from 2013–2017 in under eight minutes.

Minimum Theory

Separation of variables. A first-order ODE dydx=f(x)g(y)\dfrac{dy}{dx}=f(x)\,g(y) is separable. Rewrite as dyg(y)=f(x)dx\dfrac{dy}{g(y)}=f(x)\,dx and integrate both sides:

dyg(y)=f(x)dx+C.\int\frac{dy}{g(y)} = \int f(x)\,dx + C.

The solution is a relation G(y)=F(x)+CG(y)=F(x)+C where G=1/gG'=1/g and F=fF'=f. Add the initial condition if given to determine CC.

Substitution for F(x+y)F(x+y) type. If the ODE has the form dy/dx=F(x+y)dy/dx=F(x+y), set v=x+yv=x+y. Then dv/dx=1+dy/dxdv/dx=1+dy/dx, so dy/dx=dv/dx1dy/dx=dv/dx-1, and the ODE becomes dv/dx=1+F(v)dv/dx = 1+F(v) — always separable.

Geometric interpretation. The tangent at (x0,y0)(x_0,y_0) to y=f(x)y=f(x) has xx-intercept (x0y0/f,0)(x_0-y_0/f',0) and yy-intercept (0,y0x0f)(0,y_0-x_0f'). Any property of these intercepts (bisection, equal intercepts, etc.) translates into an ODE that is typically separable.

Question Archetypes

ArchetypeYou are seeing this when…
geometric-odeGeometric tangent/intercept property given; translate to ODE, then separate
growth-decay”Growth rate proportional to amount”; exponential model with one data point
reducible-substitutionRHS is F(x+y)F(x+y) or F(y/x)F(y/x); a standard substitution makes it separable

geometric-ode (1 question(s); 2014)

Recognition Cues

Solution Template

  1. Write the tangent line at (x0,y0)(x_0,y_0): yy0=y(xx0)y-y_0=y'(x-x_0).
  2. Find the intercepts (set y=0y=0 for xx-intercept, x=0x=0 for yy-intercept).
  3. Translate the geometric condition (midpoint, ratio, equal intercepts, etc.) into an equation in x0,y0,yx_0,y_0,y'.
  4. Drop the subscripts to get the ODE. Recognise it as separable.
  5. Separate and integrate. Determine the constant if initial data are given.
  6. Verify that a member of the solution family satisfies the original geometric condition.

Worked Example

2014 Paper 1, 2014-P1-Q5b (10 marks)

Find the curve for which the part of the tangent cut-off by the axes is bisected at the point of tangency.

Step 1 — Tangent line. At (x0,y0)(x_0,y_0) with slope y=f(x0)y'=f'(x_0):

yy0=y(xx0).y - y_0 = y'(x-x_0).

Step 2 — Intercepts.

Step 3 — Bisection condition. The point of tangency (x0,y0)(x_0,y_0) is the midpoint of (x0y0/y,  0)\bigl(x_0-y_0/y',\;0\bigr) and (0,  y0x0y)\bigl(0,\;y_0-x_0 y'\bigr):

x0=(x0y0/y)+022x0=x0y0yy=y0x0.x_0 = \frac{(x_0 - y_0/y') + 0}{2} \qquad\Longrightarrow\qquad 2x_0 = x_0 - \frac{y_0}{y'} \qquad\Longrightarrow\qquad y' = -\frac{y_0}{x_0}.

(The yy-coordinate condition gives the same result.)

Step 4 — Separate and integrate. The ODE is dydx=yx\dfrac{dy}{dx}=-\dfrac{y}{x}, i.e.\ dyy=dxx\dfrac{dy}{y}=-\dfrac{dx}{x}. Integrate:

lny=lnx+lnkxy=k.\ln|y| = -\ln|x| + \ln|k| \qquad\Longrightarrow\qquad xy = k.

  xy=k(rectangular hyperbolas with coordinate axes as asymptotes).  \boxed{\;xy = k\quad\text{(rectangular hyperbolas with coordinate axes as asymptotes).}\;}

Verify: On xy=kxy=k, implicit differentiation gives y+xy=0y+xy'=0, so y=y/xy'=-y/x ✓. The tangent at (x0,y0)(x_0,y_0) has xx-intercept (2x0,0)(2x_0,0) and yy-intercept (0,2y0)(0,2y_0); their midpoint is (x0,y0)(x_0,y_0) ✓.

Common Traps


growth-decay (1 question(s); 2017)

Recognition Cues

Solution Template

  1. Write the model. dN/dt=kNdN/dt = kN (growth) or dN/dt=kNdN/dt = -kN (decay).
  2. Solve. Separate: dN/N=kdtdN/N = k\,dt; integrate: N(t)=N0ektN(t) = N_0 e^{kt}.
  3. Use the first data point to find kk (e.g., doubling: N0ekT=2N0k=ln2/TN_0 e^{kT}=2N_0 \Rightarrow k=\ln 2/T).
  4. Evaluate at the required time. If TT is the doubling period and the question asks for nTnT, N(nT)=2nN0N(nT)=2^n N_0.
  5. State units and any proportionality constant absorbed.

Worked Example

2017 Paper 1, 2017-P1-Q6a-ii (8 marks)

If the growth rate of the population of bacteria at any time tt is proportional to the amount present at that time and the population doubles in one week, then how many bacteria can be expected after 4 weeks?

Step 1 — Model. Let N(t)N(t) = population at time tt (weeks). “Growth rate proportional to amount”:

dNdt=kN.\frac{dN}{dt} = kN.

Step 2 — Solve. Separate: dNN=kdt\displaystyle\int\frac{dN}{N}=\int k\,dt, giving N(t)=N0ektN(t)=N_0 e^{kt}.

Step 3 — Find kk. Population doubles in one week: N(1)=2N0N(1)=2N_0:

N0ek=2N0ek=2k=ln2.N_0 e^k = 2N_0 \qquad\Longrightarrow\qquad e^k = 2 \qquad\Longrightarrow\qquad k = \ln 2.

Step 4 — Evaluate at t=4t=4.

N(4)=N0e4ln2=N024=16N0.N(4) = N_0 e^{4\ln 2} = N_0\cdot 2^4 = 16\,N_0.

  N(4)=16N0.  \boxed{\;N(4) = 16\,N_0.\;}

After 4 weeks the population is 16 times the initial amount.

Common Traps


reducible-substitution (1 question(s); 2013)

Recognition Cues

Solution Template

  1. Identify that RHS is a function of v=x+yv=x+y.
  2. Substitute v=x+yv=x+y: then dv/dx=1+dy/dxdv/dx = 1 + dy/dx, so dy/dx=dv/dx1dy/dx = dv/dx - 1.
  3. New ODE: dv/dx=1+F(v)dv/dx = 1 + F(v) — now separable.
  4. Separate: dv1+F(v)=dx\dfrac{dv}{1+F(v)}=dx.
  5. Simplify the LHS (often via trig identities) before integrating.
  6. Integrate both sides. Back-substitute v=x+yv=x+y.
  7. State the solution free from derivatives if asked.

Worked Example

2013 Paper 1, 2013-P1-Q5a (10 marks)

yy is a function of xx such that dydx=cos(x+y)+sin(x+y)\dfrac{dy}{dx}=\cos(x+y)+\sin(x+y). Find a relation between xx and yy free from any derivative/differential.

Step 1 — Substitution. RHS depends only on x+yx+y. Let v=x+yv=x+y, so dvdx=1+dydx\dfrac{dv}{dx}=1+\dfrac{dy}{dx}. The ODE becomes:

dvdx=1+cosv+sinv.\frac{dv}{dx} = 1 + \cos v + \sin v.

Step 2 — Half-angle simplification.

1+cosv=2cos2 ⁣v2,sinv=2sinv2cosv2.1 + \cos v = 2\cos^2\!\frac{v}{2}, \qquad \sin v = 2\sin\frac{v}{2}\cos\frac{v}{2}.

dvdx=2cosv2 ⁣(cosv2+sinv2).\frac{dv}{dx} = 2\cos\frac{v}{2}\!\left(\cos\frac{v}{2}+\sin\frac{v}{2}\right).

Step 3 — Separate.

dv2cosv2 ⁣(cosv2+sinv2)=dx.\frac{dv}{2\cos\tfrac{v}{2}\!\left(\cos\tfrac{v}{2}+\sin\tfrac{v}{2}\right)} = dx.

Set u=v/2u = v/2, du=dv/2du = dv/2:

ducosu(cosu+sinu)=dx.\frac{du}{\cos u\,(\cos u+\sin u)} = dx.

Step 4 — Integrate. Divide numerator and denominator by cos2u\cos^2 u:

sec2udu1+tanu=dx.\frac{\sec^2 u\,du}{1+\tan u} = dx.

Let w=1+tanuw = 1+\tan u, dw=sec2ududw = \sec^2 u\,du:

dww=dxln1+tanu=x+C.\int\frac{dw}{w} = \int dx \qquad\Longrightarrow\qquad \ln|1+\tan u| = x + C.

Step 5 — Back-substitute. u=(x+y)/2u=(x+y)/2:

ln ⁣1+tanx+y2=x+C.\ln\!\left|1+\tan\frac{x+y}{2}\right| = x + C.

Exponentiate:

  1+tanx+y2=Aex,A a non-zero constant.  \boxed{\;1 + \tan\frac{x+y}{2} = A\,e^{x},\quad A \text{ a non-zero constant.}\;}

Common Traps


Marks-Aware Writing

8-mark question (growth/decay, 2017): State the model equation dN/dt=kNdN/dt=kN (1 mark), solve to get N=N0ektN=N_0 e^{kt} (2 marks), compute k=ln2k=\ln2 from the doubling condition (2 marks), evaluate N(4)=16N0N(4)=16N_0 (2 marks), state the answer clearly (1 mark). Any missing step costs the marks attached to everything that follows from it.

10-mark questions (geometric and substitution): Two marks for setting up correctly (tangent intercepts / substitution v=x+yv=x+y), two marks for translating into the ODE, three marks for the integration (include the trig simplification step for the 2013 question), two marks for the final answer, one mark for a brief verification or check. A clean boxed answer without derivation earns at most 3 marks.

Practice Set

YearPaper/QMarksOne-line hint
2025P1-Q1d10Check solution type; if RHS is a function of y/xy/x, use v=y/xv=y/x to separate
2025P1-Q7c-i10Separate directly after identifying the type
2020P1-Q5a10Identify whether direct separation or substitution is needed; integrate cleanly
2018P1-Q6a13Geometric condition on tangent; set up midpoint/intercept equation first
2017P1-Q5b10Translate physical condition into dy/dxdy/dx; separate and integrate
2016P1-Q5d10Check type; use half-angle identities if trig RHS involves x+yx+y
2024P1-Q7a15State Picard–Lindelöf; Lipschitz fails for 2y2\sqrt y at y=0y=0; find all solutions

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.