4.6.3Ordinary Differential Equations

Separable ODEs — technique, implicit solutions

1,691 words8 min readdifficulty · medium1 backlinks

WHAT is a separable ODE?

WHY this matters: most ODEs are not solvable in closed form. Separable ones are the friendliest case — the workhorse you reach for first. If it separates, you're basically done after two integrals.


HOW the technique works (derive it, don't memorize)

We start from dydx=g(x)h(y).\frac{dy}{dx} = g(x)\,h(y).

Step 1 — Divide by h(y)h(y) (assuming h(y)0h(y)\neq 0, remember this!): 1h(y)dydx=g(x).\frac{1}{h(y)}\frac{dy}{dx} = g(x).

Step 2 — Integrate both sides with respect to xx: 1h(y)dydxdx=g(x)dx.\int \frac{1}{h(y)}\frac{dy}{dx}\,dx = \int g(x)\,dx.

Step 3 — Substitute on the left. The left integrand is exactly the chain-rule form: if H(y)H(y) is an antiderivative of 1/h(y)1/h(y), then ddxH(y(x))=1h(y)dydx\frac{d}{dx}H(y(x)) = \frac{1}{h(y)}\frac{dy}{dx}. So the left side becomes dyh(y)\int \frac{dy}{h(y)}: dyh(y)=g(x)dx+C\boxed{\int \frac{dy}{h(y)} = \int g(x)\,dx + C}


Figure — Separable ODEs — technique, implicit solutions

Implicit vs explicit solutions

After integrating you get an equation relating yy and xx, like H(y)=G(x)+CH(y) = G(x) + C. Sometimes you can solve for yy (explicit). Often you can't cleanly — that's fine, leave it as an implicit solution.


The trap everyone hits: lost solutions


Recall checkpoints

Recall What makes an ODE separable, and what's the master formula?

RHS must factor as g(x)h(y)g(x)h(y). Then dyh(y)=g(x)dx+C\displaystyle\int\frac{dy}{h(y)} = \int g(x)\,dx + C.

Recall Why is treating

dy/dxdy/dx as a fraction actually valid here? It's shorthand for the substitution rule (chain rule backwards) in 1h(y)dydxdx=dyh(y)\int \frac{1}{h(y)}\frac{dy}{dx}dx = \int \frac{dy}{h(y)}.

Recall What did you possibly lose by dividing by

h(y)h(y), and how do you recover it? The equilibrium solutions yy0y\equiv y_0 where h(y0)=0h(y_0)=0. Recover them by checking constants separately before dividing.

Recall Explain it to a 12-year-old (Feynman)

Imagine a recipe where all the apple steps and all the orange steps got mixed together. Separating the ODE is like sorting them: put every apple (yy) instruction on one page and every orange (xx) instruction on another. Then you "undo" each page by integration (the reverse of slicing), and tape the pages back together with one mystery number CC you figure out from a starting fact like "at the beginning there were 3 apples."


Flashcards

When is a first-order ODE separable?
When dy/dxdy/dx factors as g(x)h(y)g(x)\,h(y) — pure-xx times pure-yy.
State the master solution formula for dy/dx=g(x)h(y)dy/dx=g(x)h(y).
dyh(y)=g(x)dx+C\int \frac{dy}{h(y)} = \int g(x)\,dx + C.
Why may we "split" dy/dxdy/dx like a fraction in a separable ODE?
It's shorthand for the substitution/chain-rule step 1h(y)dydxdx=dyh(y)\int\frac{1}{h(y)}\frac{dy}{dx}dx=\int\frac{dy}{h(y)}.
What is a singular/equilibrium solution and when does it arise?
A constant yy0y\equiv y_0 with h(y0)=0h(y_0)=0; lost when you divide by h(y)h(y).
Solve dy/dx=x2ydy/dx = x^2 y.
y=Aex3/3y = A e^{x^3/3}.
Solve dy/dx=2x1+2ydy/dx=\frac{2x}{1+2y} (implicit).
y2+yx2=Cy^2+y-x^2=C.
Solve the logistic y=y(1y)y'=y(1-y).
y=Aex1+Aexy=\frac{Ae^x}{1+Ae^x} plus equilibria y=0,y=1y=0,\,y=1.
How many arbitrary constants in a first-order separable solution?
Exactly one.
Is an implicit solution F(x,y)=CF(x,y)=C acceptable?
Yes — it's a valid solution even if yy can't be isolated.
What's the SISC mnemonic?
Separate, Integrate both sides, Single constant, Check h(y)=0h(y)=0 for lost solutions.

Connections

  • First-Order ODEs — Overview
  • Integrating Factor & Linear ODEs (the next tool when it's not separable)
  • Exact ODEs (implicit solutions generalize here)
  • Substitution Method — Homogeneous ODEs (turns some non-separable into separable)
  • Partial Fractions (needed in Example 3)
  • Initial Value Problems (fixing CC)
  • The Logistic Equation (Example 3 in the wild)

Concept Map

defined as

RHS factors into

why useful

Step 1 divide by h(y)

Step 2 integrate over x

Step 3 chain rule backwards

needs only

yields relation

solvable for y

not solvable for y

caution

Separable ODE

dy/dx = g(x)·h(y)

x-part times y-part

Friendly first case

1/h(y)·dy/dx = g(x)

Integrate both sides

∫dy/h(y) = ∫g(x)dx + C

One constant C

H(y) = G(x) + C

Explicit solution

Implicit solution F(x,y)=C

h(y) ≠ 0 assumption

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, separable ODE ka funda ekdum simple hai: agar dy/dxdy/dx ko aise likh sako ki ek taraf sirf xx wali cheez ho aur dusri taraf sirf yy wali cheez (dy/dx=g(x)h(y)dy/dx = g(x)\,h(y)), toh game won. Bas saare yy ko left side bhej do, saare xx ko right side, aur dono sides ko integrate kar do. Yeh "fraction ki tarah todna" cheating nahi hai — actually yeh chain rule ko ulta chalane ka shortcut hai, isliye bilkul legal hai.

Answer do tarah ka aata hai. Kabhi tum y=y= kuch... explicit form me nikal lete ho (jaise y=3ex3/3y=3e^{x^3/3}). Aur kabhi yy ko alag karna possible hi nahi hota — tab implicit solution F(x,y)=CF(x,y)=C chhod do, woh bhi bilkul valid answer hai. Verify karne ke liye implicit differentiation kar lo, original ODE wapas aa jaani chahiye.

Sabse bada trap: jab tum h(y)h(y) se divide karte ho, toh agar h(y0)=0h(y_0)=0 hai kisi constant ke liye, toh yy0y\equiv y_0 wala solution chup-chaap delete ho jaata hai! In ko equilibrium solutions kehte hain. Logistic equation y=y(1y)y'=y(1-y) me y=0y=0 aur y=1y=1 exactly yahi missing solutions hain. Isliye divide karne se pehle hamesha h(y)=0h(y)=0 ke roots check karo. Yaad rakhne ke liye mnemonic: SISC — Separate, Integrate, Single constant, Check lost solutions. Bas itna pakka karlo, separable ODE tumhare liye free marks hai.

Go deeper — visual, from zero

Test yourself — Ordinary Differential Equations

Connections