Mistake Master
Finding General Solutions Using Separation of Variables
Everything With a y on One Side
You'll learnto decide whether an equation separates before you start rearranging it, to bring the constant of integration in at the one step where it belongs, and to read off what that constant becomes once you solve for y.
Separation of variables is Unit 6's integration done twice at once, and almost all of its difficulty is bookkeeping. Move every y onto the side carrying dy and every x onto the side carrying dx, integrate both sides, then solve for y. Watch one thing above all: the constant of integration enters at exactly one moment, and where it ends up decides which family of curves you have written down. Twelve short steps; press Next for each one.
Read all 12 steps as text
The unknown is on both sides
In \(\frac{dy}{dx} = xy\) the thing you are looking for, \(y\), also appears on the right — so there is nothing you can integrate yet.
Sort the two variables apart
Multiply both sides by \(dx\) and divide both sides by \(y\): now the left holds only \(y\) and \(dy\), and the right only \(x\) and \(dx\).
The test is factoring
Separation works only when the right side is a product of something in \(x\) alone and something in \(y\) alone; a sum like \(x + y\) never factors.
Two ordinary integrals
With the variables apart, each side is a Unit 6 integral in its own variable: the left gives a logarithm and the right gives a power.
One constant, and here is where it enters
An antiderivative is only fixed up to a constant, so one \(C\) is added on the \(x\) side — and this is the only moment in the whole method at which it may appear.
The constant becomes a factor
Exponentiating both sides sends \(C\) through the exponential as \(e^{C}\), a positive number multiplying the answer rather than added to it.
Two families, same four numbers
Take the simplest case, \(\frac{dy}{dx} = 2y\), and draw both candidates from the same four constants \(-1\), \(0.5\), \(1\) and \(2\).
Only one of them solves it
Differentiating \(e^{2x} + C\) gives \(2e^{2x}\), while \(2y\) is \(2e^{2x} + 2C\) — a gap of \(2C\) at every \(x\), so only \(C = 0\) survives.
Other forms, other places
An exponential appears only when the left side is \(\frac{dy}{y}\); change that and the constant lands inside a sum, inside a denominator, or as a slope.
Integrating before separating
A student writes \(dy = (x+y)\,dx\) and integrates on the spot, getting \(y = \frac{x^{2}}{2} + yx + C\) — but \(\int y\,dx\) is not \(yx\), because \(y\) is the unknown function of \(x\).
Check it in one line
Differentiate the answer and substitute it into the original equation; if the two sides are the same expression, the answer is right.
The routine
Factor, separate, integrate once with one constant, then solve for \(y\) and watch where that constant ends up.