Separable Equations

Suppose a hot cup of coffee cools in a room at constant temperature. Or a population grows subject to limited resources. Can we write down, in closed form, exactly how the quantity changes over time? Both situations reduce to a first-order differential equation. Its right-hand side factors into two pieces. One piece depends only on the independent variable. The other depends only on the unknown function. This factoring is not a curiosity. It is the single most exploitable structural feature a first-order equation can have. It converts a differential equation into two ordinary integrals. Separable equations matter because they give the first genuinely algorithmic method for solving nonlinear differential equations. This contrasts with the qualitative sketching of First-Order ODEs and Direction Fields. Before separable equations, a student can only say "the slope field looks like this." After separable equations, a student can produce an explicit formula. They can check it by substitution. They can use it to predict the future of the system exactly. This is the bridge from geometric intuition to symbolic computation. The big picture is this: "separability" is the first of a hierarchy of special structures. These are separable, then linear, then exact. Each makes first-order equations solvable by quadrature (that is, by integration). Each structure has its own recognition test and its own solution recipe. Separable equations are the simplest member of this family. They require only algebraic factoring and Integration Techniques already in hand. This article gives the precise definition of a separable equation. It proves the separation-of-variables theorem rigorously. This includes the existence and uniqueness statement needed to justify the method. It works two nontrivial examples with attention to domain and singular solutions. It shows exactly what goes wrong if the separability hypothesis is dropped.

Key takeaways
  • A first-order ODE is separable if it can be written as dydx=g(x)h(y)\frac{dy}{dx} = g(x)h(y).
  • Method: divide by h(y)h(y) (where nonzero), then integrate both sides separately in xx and yy.
  • Points where h(y)=0h(y) = 0 give constant (equilibrium) solutions that the algebra can silently discard.
  • The resulting implicit relation H(y)=G(x)+CH(y) = G(x) + C defines yy implicitly; solving for yy explicitly is not guaranteed.
  • Local existence and uniqueness of solutions follows from continuity and differentiability of g,hg,h (Picard–Lindelöf).
  • Key idea: factoring the slope function into an xx-part and a yy-part turns a differential equation into two ordinary integrals.

Where this lives today

Separable equations are the working engine behind population models (logistic growth, as in Example 1), radioactive decay and pharmacokinetics (dy/dt=−kydy/dt = -ky), Newton's law of cooling, and Torricelli's law for draining tanks. In physics, separable ODEs appear when solving for terminal velocity under quadratic drag, and in circuit theory for simple RC discharge. In probability and statistics, separable differential equations arise in deriving certain characteristic-function and survival-function relationships (e.g., the exponential distribution's memoryless property emerges from a separable hazard-rate equation). In numerical analysis and scientific computing, separable equations serve as the benchmark test cases against which numerical ODE solvers (Euler's method, Runge–Kutta) are validated, since the exact closed-form solution is known. The technique also foreshadows Exact Equations and Linear First-Order Equations, both of which generalize separability: an exact equation replaces the product structure g(x)h(y)g(x)h(y) with a more general condition on partial derivatives, while a linear equation trades separability for an integrating-factor trick that always works regardless of factorization.

Ask the tutor: How do I find the exact interval on which a separable equation's explicit solution is valid, before I even solve the initial value problem?

DefinitionSeparable First-Order Equation

A first-order ordinary differential equation

dydx=f(x,y)\frac{dy}{dx} = f(x,y)

is called separable on a rectangle R=I×J⊂R2R = I \times J \subset \mathbb{R}^2 (with I,JI,J open intervals) if there exist functions g:I→Rg: I \to \mathbb{R} and h:J→Rh: J \to \mathbb{R} such that

f(x,y)=g(x) h(y)for all (x,y)∈R.f(x,y) = g(x)\,h(y) \quad \text{for all } (x,y) \in R.

Equivalently, after formally treating dy/dxdy/dx as a ratio of differentials, the equation can be rewritten in differential form as

dyh(y)=g(x) dx,h(y)≠0,\frac{dy}{h(y)} = g(x)\,dx, \qquad h(y) \neq 0,

separating all yy-dependence onto one side and all xx-dependence onto the other. A solution is a differentiable function y=φ(x)y = \varphi(x) defined on a subinterval of II, with φ(x)∈J\varphi(x) \in J, satisfying the equation identically.

Intuition

Think of dy/dx=g(x)h(y)dy/dx = g(x)h(y) as saying: the instantaneous steepness of the solution curve is a product of a factor that depends only on where you are horizontally (g(x)g(x)) and a factor that depends only on where you are vertically (h(y)h(y)). This is a strong restriction — most functions f(x,y)f(x,y) do not factor this way (think of f(x,y)=x+yf(x,y) = x + y, which is a sum, not a product, of separate pieces). When the restriction does hold, the direction field has a striking symmetry: moving along any horizontal line y=y0y = y_0, the slopes are all proportional to g(x)g(x) with the same constant of proportionality h(y0)h(y_0); moving along any vertical line x=x0x = x_0, the slopes are all proportional to h(y)h(y) scaled by g(x0)g(x_0). The algebraic trick is to divide both sides by h(y)h(y), formally separating the differentials, and then recognize that each side is now a function of one variable alone, so each side can be integrated independently. The subtlety — and the one place careless students lose points — is that dividing by h(y)h(y) requires h(y)≠0h(y) \neq 0. Wherever h(y0)=0h(y_0) = 0, the constant function y≡y0y \equiv y_0 is itself a solution (since both sides of the ODE vanish), but this equilibrium solution can vanish from view once you divide it out. A complete answer must always list these separately.

Figure
Direction field for dy/dx=xydy/dx = xy: slopes are the product of an xx-factor and a yy-factor
x y −3 3 −3 3 y = e^{x²/2} equilibrium y ≡ 0

Central theorem

TheoremSeparation of Variables

Let g:I→Rg: I \to \mathbb{R} be continuous on an open interval II, and let h:J→Rh: J \to \mathbb{R} be continuous on an open interval JJ with h(y)≠0h(y) \neq 0 for all y∈Jy \in J. Fix x0∈Ix_0 \in I and y0∈Jy_0 \in J, and let G,HG, H be antiderivatives,

G(x)=∫x0xg(s) ds,H(y)=∫y0ydth(t).G(x) = \int_{x_0}^{x} g(s)\,ds, \qquad H(y) = \int_{y_0}^{y} \frac{dt}{h(t)}.

Then: 1. (Local solvability.) There is an interval I0⊂II_0 \subset I containing x0x_0 and a unique differentiable function φ:I0→J\varphi: I_0 \to J with φ(x0)=y0\varphi(x_0) = y_0 solving

dydx=g(x)h(y),y(x0)=y0,\frac{dy}{dx} = g(x)h(y), \qquad y(x_0) = y_0,

and this φ\varphi satisfies, for all x∈I0x \in I_0,

H(φ(x))=G(x).H(\varphi(x)) = G(x).

2. (Implicit characterization.) Since HH is strictly monotonic on JJ (because H′(y)=1/h(y)≠0H'(y) = 1/h(y) \neq 0 and H′H' is continuous, hence of one sign by the intermediate value theorem), HH has an inverse H−1H^{-1} on its range, and

φ(x)=H−1(G(x))\varphi(x) = H^{-1}(G(x))

is the unique solution on the largest interval I0⊆II_0 \subseteq I containing x0x_0 on which G(x)G(x) stays in the range of HH.

Proof

We use the technique of reduction to quadrature: converting the ODE into an equivalent statement about ordinary (Riemann) integrals, together with the chain rule and the inverse function theorem.

Step 1: Existence and uniqueness locally (invoking Picard–Lindelöf). Since gg is continuous on II and hh is continuous with h≠0h \neq 0 on JJ, the product f(x,y)=g(x)h(y)f(x,y) = g(x)h(y) is continuous on the rectangle I×JI \times J. Because hh is continuous and nowhere zero on the interval JJ, and continuous functions attain intermediate values, hh cannot change sign on JJ; hence 1/h1/h is continuous on JJ. If in addition hh is continuously differentiable (or merely locally Lipschitz — guaranteed, for instance, if h∈C1h \in C^1), then f(x,y)f(x,y) is locally Lipschitz in yy uniformly for xx near x0x_0, since

∣f(x,y1)−f(x,y2)∣=∣g(x)∣ ∣h(y1)−h(y2)∣≤∣g(x)∣ L ∣y1−y2∣|f(x,y_1) - f(x,y_2)| = |g(x)| \, |h(y_1) - h(y_2)| \le |g(x)| \, L \, |y_1 - y_2|

on any compact sub-rectangle, where LL is a local Lipschitz constant for hh. The Picard–Lindelöf theorem (existence-uniqueness for first-order IVPs with continuous, locally Lipschitz right-hand side) then guarantees a unique solution φ\varphi to the initial value problem on some interval I0∋x0I_0 \ni x_0, with φ(x0)=y0\varphi(x_0) = y_0 and φ(x)∈J\varphi(x) \in J for x∈I0x \in I_0. (This existence-uniqueness step is the one place we use machinery external to the separation technique itself; it is not proved here but is a standard prerequisite result, and it is what guarantees the manipulations below are manipulating an actual, well-defined function rather than a formal expression.)

Step 2: The differential identity. Because φ\varphi solves the IVP and h(φ(x))≠0h(\varphi(x)) \neq 0 for x∈I0x \in I_0 (as φ(x)∈J\varphi(x) \in J where hh never vanishes), we may divide the ODE by h(φ(x))h(\varphi(x)):

φ′(x)h(φ(x))=g(x),x∈I0.\frac{\varphi'(x)}{h(\varphi(x))} = g(x), \qquad x \in I_0.

This is a legitimate algebraic step (dividing both sides of a true equation of real numbers by a nonzero real number), valid at every x∈I0x \in I_0 individually.

Step 3: Integrate both sides. Both sides of the boxed identity in Step 2 are continuous functions of xx on I0I_0: the right side because gg is continuous, and the left side because it equals φ′(x)\varphi'(x) divided by the continuous nonvanishing function h∘φh\circ \varphi, and φ′\varphi' is continuous since φ\varphi is a solution of an ODE with continuous right-hand side (so φ′=f(x,φ(x))\varphi' = f(x,\varphi(x)) is a composition of continuous functions). Integrate both sides from x0x_0 to an arbitrary x∈I0x \in I_0:

∫x0xφ′(s)h(φ(s)) ds=∫x0xg(s) ds=G(x).\int_{x_0}^x \frac{\varphi'(s)}{h(\varphi(s))}\,ds = \int_{x_0}^x g(s)\,ds = G(x).

On the left, substitute t=φ(s)t = \varphi(s), so dt=φ′(s) dsdt = \varphi'(s)\,ds; since φ\varphi is C1C^1 this is a valid substitution in a Riemann integral, and as ss runs from x0x_0 to xx, tt runs from φ(x0)=y0\varphi(x_0)=y_0 to φ(x)\varphi(x):

∫x0xφ′(s)h(φ(s)) ds=∫y0φ(x)dth(t)=H(φ(x)).\int_{x_0}^x \frac{\varphi'(s)}{h(\varphi(s))}\,ds = \int_{y_0}^{\varphi(x)} \frac{dt}{h(t)} = H(\varphi(x)).

Combining,

H(φ(x))=G(x),x∈I0,H(\varphi(x)) = G(x), \qquad x \in I_0,

which is the claimed identity, and it holds precisely because φ\varphi is the (unique, by Step 1) solution of the IVP — so there is no circularity: uniqueness of φ\varphi was established independently via Picard–Lindelöf before this identity was derived.

Step 4: HH is invertible on JJ. Since H′(y)=1/h(y)H'(y) = 1/h(y) is continuous on JJ and never zero (as hh is never zero), the intermediate value theorem applied to H′H' shows H′H' cannot change sign on the interval JJ: if H′(y1)>0H'(y_1) > 0 and H′(y2)<0H'(y_2) < 0 for some y1<y2y_1 < y_2 in JJ, continuity of H′H' would force H′(y∗)=0H'(y^*) = 0 for some y∗y^* between them, a contradiction. So H′>0H' > 0 throughout JJ or H′<0H' < 0 throughout JJ; either way HH is strictly monotonic, hence injective, on JJ. A continuous strictly monotonic function on an interval is a bijection onto its image (itself an interval, by the intermediate value theorem), and its inverse H−1H^{-1} is continuous by the inverse function theorem for monotone continuous functions.

Step 5: Solve for φ\varphi. Since H(φ(x))=G(x)H(\varphi(x)) = G(x) and HH is invertible with inverse H−1H^{-1} defined on the range of HH, we may apply H−1H^{-1} to both sides wherever G(x)G(x) lies in that range:

φ(x)=H−1(G(x)).\varphi(x) = H^{-1}(G(x)).

This is well-defined precisely on the largest sub-interval I0⊆II_0 \subseteq I containing x0x_0 on which G(x)G(x) remains inside the range of HH (which is an open interval containing H(y0)=0H(y_0) = 0, by continuity of GG and G(x0)=0G(x_0)=0). This establishes both the existence of the explicit inverse formula and its maximal domain of validity, completing the proof. ■\blacksquare

∎
CorollaryGeneral solution family

Under the hypotheses of the theorem, every solution of dy/dx=g(x)h(y)dy/dx = g(x)h(y) with values in JJ arises, on its interval of definition, from the one-parameter family of implicit relations

H(y)=G(x)+C,C∈R,H(y) = G(x) + C, \qquad C \in \mathbb{R},

obtained by choosing the constant C=H(y0)−G(x0)C = H(y_0) - G(x_0) to match any desired initial condition y(x0)=y0y(x_0) = y_0. If hh vanishes at some point y∗∉Jy^* \notin J adjoined to the domain, the constant function y≡y∗y \equiv y^* is an additional equilibrium solution, not captured by the family above, since HH was defined only where h≠0h \neq 0.

Worked examples

Example 1 (logistic-type equation with asymmetric initial data). Solve

dydx=y(3−y),y(0)=5.\frac{dy}{dx} = y(3-y), \qquad y(0) = 5.

Here g(x)≡1g(x) \equiv 1 and h(y)=y(3−y)h(y) = y(3-y), so the equation is separable. Equilibrium solutions occur where h(y)=0h(y)=0, i.e. y≡0y \equiv 0 and y≡3y \equiv 3. Since the initial value y0=5y_0 = 5 lies in J=(3,∞)J = (3,\infty) where h(y)=y(3−y)<0h(y) = y(3-y) < 0 and is continuous and nonvanishing, the theorem applies on J=(3,∞)J = (3,\infty). Separate variables:

dyy(3−y)=dx.\frac{dy}{y(3-y)} = dx.

Partial fractions: 1y(3−y)=13(1y+13−y)\dfrac{1}{y(3-y)} = \dfrac{1}{3}\left(\dfrac{1}{y} + \dfrac{1}{3-y}\right). Integrating,

13(ln⁡∣y∣−ln⁡∣3−y∣)=x+C1⟹ln⁡∣y3−y∣=3x+C2.\frac{1}{3}\Big(\ln|y| - \ln|3-y|\Big) = x + C_1 \quad\Longrightarrow\quad \ln\left|\frac{y}{3-y}\right| = 3x + C_2.

For y>3y > 3, y3−y<0\dfrac{y}{3-y} < 0, so ∣y3−y∣=yy−3\left|\dfrac{y}{3-y}\right| = \dfrac{y}{y-3}. Exponentiate:

yy−3=Ae3x,A=eC2>0.\frac{y}{y-3} = Ae^{3x}, \qquad A = e^{C_2} > 0.

Apply y(0)=5y(0) = 5: 52=A\dfrac{5}{2} = A, so A=5/2A = 5/2. Solve for yy:

y=Ae3x(y−3)  ⟹  y(1−Ae3x)=−3Ae3x  ⟹  y=3Ae3xAe3x−1.y = A e^{3x}(y-3) \implies y\left(1 - Ae^{3x}\right) = -3Ae^{3x} \implies y = \frac{3Ae^{3x}}{Ae^{3x}-1}.

With A=5/2A = 5/2:

y(x)=152e3x52e3x−1=15e3x5e3x−2.y(x) = \frac{\frac{15}{2}e^{3x}}{\frac{5}{2}e^{3x}-1} = \frac{15e^{3x}}{5e^{3x}-2}.

Check: at x=0x=0, y(0)=15/(5−2)=15/3=5y(0) = 15/(5-2) = 15/3 = 5. ✓ Differentiating and substituting back into y(3−y)y(3-y) confirms the ODE (routine quotient-rule verification). Note the solution blows up as 5e3x→2+5e^{3x} \to 2^+, i.e. as x→(13ln⁡25)+≈−0.305+x \to \left(\tfrac{1}{3}\ln\tfrac{2}{5}\right)^+ \approx -0.305^+; the maximal interval of existence to the right is (13ln⁡25,∞)\left(\tfrac13\ln\tfrac25,\infty\right), and y(x)→3+y(x) \to 3^+ as x→∞x \to \infty, consistent with y≡3y\equiv 3 being a stable equilibrium approached from above.

Example 2 (trigonometric separable equation, non-polynomial gg and hh). Solve

dydx=xsec⁡y1+x2,y(1)=π4.\frac{dy}{dx} = \frac{x \sec y}{1+x^2}, \qquad y(1) = \frac{\pi}{4}.

Here g(x)=x1+x2g(x) = \dfrac{x}{1+x^2} (continuous on I=RI=\mathbb{R}) and h(y)=sec⁡yh(y) = \sec y, continuous and nonvanishing on J=(−π/2,π/2)J = (-\pi/2,\pi/2), which contains y0=π/4y_0 = \pi/4. The theorem applies with these I,JI, J. Separate:

cos⁡y dy=x1+x2 dx.\cos y\, dy = \frac{x}{1+x^2}\,dx.

Integrate both sides:

sin⁡y=12ln⁡(1+x2)+C.\sin y = \frac{1}{2}\ln(1+x^2) + C.

Apply y(1)=π/4y(1) = \pi/4: sin⁡(π/4)=22\sin(\pi/4) = \dfrac{\sqrt2}{2}, and 12ln⁡(1+1)=12ln⁡2\dfrac12 \ln(1+1) = \dfrac12\ln 2, so

C=22−12ln⁡2.C = \frac{\sqrt2}{2} - \frac12 \ln 2.

Thus the implicit solution is

sin⁡y=12ln⁡(1+x2)+22−12ln⁡2.\sin y = \frac12 \ln(1+x^2) + \frac{\sqrt2}{2} - \frac12\ln 2.

Since y0=π/4∈(−π/2,π/2)y_0 = \pi/4 \in (-\pi/2,\pi/2) where sin⁡\sin is invertible, we may solve explicitly there:

y(x)=arcsin⁡ ⁣(12ln⁡(1+x2)+22−12ln⁡2),y(x) = \arcsin\!\left(\frac12 \ln(1+x^2) + \frac{\sqrt2}{2} - \frac12\ln 2\right),

valid on the set of xx where the argument of arcsin⁡\arcsin lies in [−1,1][-1,1]. As x→±∞x \to \pm\infty, ln⁡(1+x2)→∞\ln(1+x^2)\to\infty, so the argument eventually exceeds 11; the solution's maximal interval of existence is therefore a bounded interval around x=1x=1, determined by solving

12ln⁡(1+x2)=1−22+12ln⁡2\frac12\ln(1+x^2) = 1 - \frac{\sqrt2}{2} + \frac12\ln2

for the endpoint values of xx — a concrete illustration that solutions of nonlinear separable equations can have finite escape even when gg is defined for all xx.

CounterexampleWhy h(y)≠0h(y) \neq 0 on all of JJ is needed

Drop the hypothesis that hh is nonvanishing on JJ, and consider

dydx=y2/3,y(0)=0.\frac{dy}{dx} = y^{2/3}, \qquad y(0) = 0.

Here g(x)≡1g(x) \equiv 1 and h(y)=y2/3h(y) = y^{2/3}, which is zero at y=0y=0 — exactly the initial point. Formally separating,

y−2/3 dy=dx  ⟹  3y1/3=x+C,y^{-2/3}\,dy = dx \implies 3y^{1/3} = x + C,

and imposing y(0)=0y(0)=0 gives C=0C=0, so y(x)=(x/3)3=x3/27y(x) = (x/3)^3 = x^3/27 is one candidate solution. Direct substitution confirms y′=x2/9y' = x^2/9 and y2/3=(x3/27)2/3=x2/9y^{2/3} = (x^3/27)^{2/3} = x^2/9, so this does solve the ODE. But the equilibrium solution y≡0y \equiv 0 also solves the same initial value problem, since y′=0y'=0 and y2/3=0y^{2/3}=0 both vanish identically. Thus the IVP has at least two distinct solutions on any interval around x=0x=0 — uniqueness fails. This is not a contradiction of the theorem: the theorem's hypothesis h≠0h \neq 0 on JJ was violated (we needed JJ to avoid y=0y=0, but the initial condition sits exactly at the zero of hh), and correspondingly the underlying Picard–Lindelöf hypothesis (local Lipschitz continuity of f(x,y)=y2/3f(x,y)=y^{2/3} in yy near y=0y=0) also fails, since

∣h(y)−h(0)∣∣y−0∣=∣y∣−1/3→∞ as y→0.\frac{|h(y) - h(0)|}{|y-0|} = |y|^{-1/3} \to \infty \text{ as } y \to 0.

This example shows precisely what the nonvanishing-hh hypothesis buys us: without it, both existence-uniqueness and the clean separation-of-variables bookkeeping break down, and infinitely many solutions (in fact, delayed-onset cubics glued to the zero solution) can pass through the same point.

Scope, edge cases & common traps

SituationWhat to do
h(y0)=0h(y_0) = 0 at the initial pointCheck if y≡y0y \equiv y_0 solves the ODE directly; if so it is a valid equilibrium solution, list it explicitly.
h(y)=0h(y) = 0 for some yy but not at y0y_0Solve normally on the interval JJ around y0y_0 where h≠0h\neq 0; the zero of hh marks a boundary the solution curve cannot cross (by uniqueness, distinct solutions cannot intersect).
Implicit relation H(y)=G(x)+CH(y) = G(x)+C cannot be solved explicitlyState the implicit solution as final answer; this is a fully legitimate closed form.
Antiderivatives GG or HH have no elementary closed formLeave the answer as a definite integral (still "solved by quadrature").
Domain of gg or hh restricted (e.g. ln⁡y\ln y, y\sqrt{y})The maximal interval of existence may be strictly smaller than where the original expression is defined; always re-check via H−1(G(x))∈JH^{-1}(G(x)) \in J.

The mathematician behind it

Origins · 1 minGottfried Wilhelm Leibniz and how this was discovered
GW
Gottfried Wilhelm Leibniz
1646–1716 · Co-founder of calculus, developer of differential notation

Leibniz introduced the differential notation dydy, dxdx that makes the separation-of-variables manipulation (dy/h(y)=g(x) dxdy/h(y) = g(x)\,dx) visually and computationally natural. His correspondence in the 1690s with Johann Bernoulli contains explicit treatments of what we now call separable equations, arising from geometric problems such as finding curves of given tangent-line properties.

History
- 1691 — Leibniz and Jacob Bernoulli solve early separable-type equations arising from geometric tangent problems.
- 1694 — Leibniz formalizes the differential notation and technique of "separating" variables in letters to Johann Bernoulli.
- 1728–1740s — Leonhard Euler systematizes separable and related first-order equations as part of his broader calculus of differential equations.
- 1820s–1830s — Cauchy establishes rigorous existence theorems for ODEs, providing the modern justification (later sharpened by Lipschitz and Picard–Lindelöf) for why the separation manipulation is valid.
- 1876–1898 — Rudolf Lipschitz and Émile Picard formalize the Lipschitz condition and Picard iteration, giving the precise existence-uniqueness framework used to justify separable-equation solutions rigorously today.
Do I always need to check that h(y) ≠ 0 before dividing?

Yes. Dividing by h(y)h(y) is only valid where h(y)≠0h(y) \neq 0, and the resulting family H(y)=G(x)+CH(y) = G(x) + C is built entirely from that restricted domain. Any yy-value where h(y)=0h(y) = 0 gives a constant function y≡y∗y \equiv y^* that trivially satisfies the ODE (both sides equal zero), but this solution generally cannot be recovered from the formula H(y)=G(x)+CH(y)=G(x)+C for any finite choice of CC, since HH itself was defined using 1/h1/h. Omitting this check is the most common source of "lost solutions" in textbook exercises, and can also hide uniqueness failures, as the counterexample with y2/3y^{2/3} demonstrates.

Is the "general solution" H(y) = G(x) + C really the complete solution set?

Not quite — it is the complete set of solutions taking values strictly inside JJ, where hh is continuous and nonzero, together with any equilibrium solutions from zeros of hh found separately. If hh has multiple zeros, the real line for yy splits into several open intervals J1,J2,…J_1, J_2, \dots on each of which the theorem applies separately, potentially producing different-looking implicit families on each piece, glued together only at the equilibrium levels. A fully complete answer lists all equilibrium solutions plus the family on each maximal yy-interval separately.

What if I can't solve H(y) = G(x) + C for y explicitly?

This is common and entirely acceptable — the implicit relation is a complete, rigorous solution of the differential equation. Many separable equations (e.g. dy/dx=e−x2/cos⁡ydy/dx = e^{-x^2}/\cos y) lead to transcendental implicit relations with no elementary explicit inverse. In applied contexts, one can still extract qualitative information (monotonicity, asymptotic behavior, equilibrium stability) directly from the implicit equation or by implicit differentiation, without ever solving for yy explicitly.

How is separability different from being "solvable by an integrating factor" (linear equations)?

Separable equations require the very specific product structure f(x,y)=g(x)h(y)f(x,y) = g(x)h(y); this is a strong and often absent condition — for instance dy/dx=x+ydy/dx = x+y fails to have this form for any choice of g,hg,h. Linear equations, dy/dx+p(x)y=q(x)dy/dx + p(x)y = q(x), are solved by an integrating factor μ(x)=e∫p(x)dx\mu(x) = e^{\int p(x)dx} that works regardless of whether the equation is separable; indeed linear equations are separable only in the special homogeneous case q≡0q\equiv 0. The two methods overlap only on that special case and are otherwise complementary tools for different equation shapes.

Can separable equations have solutions that only exist on a finite interval, even though g and h are defined everywhere?

Yes, exactly as illustrated in Example 2. Even when gg and hh are smooth on the whole real line, the explicit solution φ(x)=H−1(G(x))\varphi(x) = H^{-1}(G(x)) is only valid where G(x)G(x) stays inside the range of HH. If HH has a bounded range (e.g. H(y)=sin⁡yH(y) = \sin y, range [−1,1][-1,1]) while G(x)G(x) is unbounded (e.g. grows like ln⁡(1+x2)\ln(1+x^2)), the solution necessarily reaches the boundary of HH's range at some finite xx, producing finite-time blow-up or loss of the solution's real-valuedness — a genuinely nonlinear phenomenon absent from linear equations with smooth coefficients on all of R\mathbb{R}.

Does the order in which I integrate matter, i.e. can I integrate the y-side first or the x-side first?

No — since the two integrals ∫dy/h(y)\int dy/h(y) and ∫g(x) dx\int g(x)\,dx are with respect to entirely independent variables, they may be computed in either order, or even simultaneously; the final implicit equation H(y)=G(x)+CH(y) = G(x) + C is the same regardless. What does matter is being consistent about the single overall constant of integration: writing two separate constants (one per side) and then combining them into one is fine, but forgetting the constant altogether on one side is the error to avoid.

What role does the theorem's use of Picard–Lindelöf actually play, since the separation algorithm seems purely algebraic?

The algebraic manipulation of separating and integrating produces a candidate relation between xx and yy, but by itself does not certify that this candidate is the only solution, or even a genuine differentiable solution, of the original IVP. Picard–Lindelöf (via the local Lipschitz condition on hh) is what guarantees, independently of the algebra, that a unique solution exists near the initial point — so that the candidate produced by separation, once verified by direct substitution, must in fact be that unique solution. Without this existence-uniqueness backing, as the counterexample shows, the algebra can produce one valid solution while missing others.

Before this

Where this leads