Learn
Lesson · Separable Equations, Growth and Decay · Separating variables

Why Separation Works

The method of “Separable Equations” integrates y·y′ as though it were the derivative of something, and it is: of y²/2, by the chain rule. Read backwards, the chain rule is the whole justification. Differentiating the implicit relation gives the equation back, which is also how a solution is checked. The lab's check view performs that differentiation exactly, line by line, and prints whether the result equals the right-hand side.

G(y(t)) has rate g(y)·y′ chain rule G(y) = H(t) + C differentiated gives g(y)·y′ = h(t) the equation back dy/dt is one symbol for y′, not a fraction
Why the method is a theorem and not a trick

Core ideas

What this lesson establishes

Three ideas. The first is the chain rule from an earlier course; the second turns it round; the third says what the shorthand with the differentials is and is not.

1

The chain rule gives the derivative of G(y(t))

If G′ = g and y is a function of t, then G(y(t)) has the derivative g(y)·y′. For G(y) = y²/2 that is y·y′. The factor y′ is not decoration: it is the rate at which the inside function moves, and it is why the y′ stays with the y.

2

Reading it backwards integrates the left side

The left side g(y)·y′, viewed as a function of t, is the derivative of G(y(t)). The right side h(t) is the derivative of H(t). Two functions with equal derivatives on an interval differ by a constant, which is the C.

3

The differentials are shorthand, not quantities

∫g dy = ∫h dt is a convenient way to write the result. In this course dy/dt means y′, one symbol, and nothing is cancelled to get from the equation to the relation. The chain rule is what is being used, and it holds whether or not you ever write a differential.

The material

The method as a consequence of the chain rule

The chain rule once more, the statement that justifies the method with its proof, and three relations checked by differentiating them.

“The Chain Rule” in Rates of Change and the Derivative was checked exactly on polynomials: if u = y(t) and F is a function of u, the rate of F(y(t)) is F′(y) times y′. Here F is an antiderivative G, so G′ = g, and the rate is g(y)·y′. Nothing about y is assumed beyond having a derivative.

Theorem · Separation

Suppose G′ = g and H′ = h, and y is differentiable on an interval. Then g(y)·y′ = h(t) on that interval exactly when G(y(t)) − H(t) is constant on it.

By the chain rule, the rate of G(y(t)) − H(t) is g(y)·y′ − h(t).

That is zero for every t in the interval exactly when the equation holds. A function whose rate is zero on an interval does not change on it — the fact behind the constant of integration in Accumulation and the Integral — so G(y(t)) − H(t) = C, one number.

□

So the relation G(y) = H(t) + C is not a heuristic. Along a solution it holds with some constant, and the proof also runs the other way: a differentiable y that satisfies the relation satisfies the equation, wherever g(y) makes sense. That second direction is what a check uses.

Checking by differentiating the relation

Take the relation y² = t² + 4. Differentiate both sides with respect to t, remembering that y depends on t: the left side gives 2y·y′ by the chain rule, the right side gives 2t. So 2y·y′ = 2t, which is y·y′ = t, the equation we started with.

y²/2 = t²/2 + 2 d/dt of the left side: y·y′ d/dt of the right side: t y·y′ = t the equation again explicit form y = √(t² + 4): y′ = t/√(t² + 4) y·y′ = √(t² + 4)·t/√(t² + 4) = t

The explicit form is checked the same way, with one more use of the chain rule for the square root. The check view of the lab does the differentiation with exact fractions: it shows G′ = g, H′ = h, and, where the relation can be solved for y, the composite G(y(t)) differentiated. The tile reads equal when the result is the equation and a dash when there is nothing to compare.

Example · The reciprocal preset

For (1/y²)·y′ = t the relation is −1/y = t²/2 − 1. The derivative of −1/y with respect to t is y′/y², by the chain rule, and the derivative of t²/2 − 1 is t. So y′/y² = t, which is (1/y²)·y′ = t.

Example · The cube preset

For 3y²·y′ = 2t + 1 the relation is y³ = t² + t + 1. The derivative of y³ is 3y²·y′ and the derivative of the right side is 2t + 1, so the equation comes straight back. The lab does not solve this relation for y, which would take a cube root, and the check does not need it to.

Whenever a lesson in this course reports a solution, this is the test: differentiate it and compare. It catches a lost sign, a missing factor of y′ and a wrong constant, and it needs no knowledge of how the answer was found.

Interactive

Separable equations

Both sides integrated exactly

Separable equations∫g(y) dy = ∫h(t) dt, exactly
the solution, drawnthe initial value

Method

Checking a solution by differentiating it

Four moves, and none of them needs to know how the answer was found.

1

Differentiate the left side with respect to t

Every y is a function of t, so each term picks up a factor y′ from the chain rule: y² becomes 2y·y′ and 1/y becomes −y′/y².

2

Differentiate the right side

It is a function of t alone, so this is an ordinary derivative, and the constant disappears.

3

Compare with the original equation

Equal after rearranging means the relation is consistent with the equation. Unequal means a sign or a factor was lost, and the difference tells you which.

4

Check the starting point

Substitute (t₀, y₀) into the relation. The derivative check says nothing about the constant, and this is the line that catches a wrong C.

Where the y′ comes from

Score 0 / 0

Differentiating the relation y² = t² + 4 and its positive branch

The solution of y·y′ = t through y(0) = 2 from “Separable Equations”, checked both as a relation and as a formula. The first line is the one the lab's table prints for the first preset.

relation y² = t² + 4 d/dt: 2y·y′ = 2t so y·y′ = t the equation formula y = √(t² + 4) y′ = t/√(t² + 4) y·y′ = √(t² + 4)·t/√(t² + 4) = t point y(0) = √4 = 2 as required

Two checks, two different jobs. The derivative check confirms that the relation's rate is the equation's rate; the point check confirms the constant. Either one alone leaves room for a wrong answer, and together they leave none.

The same relation also holds for y = −√(t² + 4), which has the same square and the opposite sign. Both pass the derivative check, and only one passes the point check for a given initial value. That is the subject of the next lesson.

Common mistakes

1
Thinking dy and dt were cancelled, so the method is a trickThe mistaken model is that dy/dt is a fraction, multiplied by the differential of t to leave the differential of y, and the whole method is an algebraic sleight that happens to work. It works for a reason: y·y′ is the derivative of y²/2, and the lab's check view differentiates the answer and gets y·y′ = t back with exact fractions. The notation ∫g dy = ∫h dt is a record of that fact. The test of whether you have the idea is whether you can differentiate your own answer and find the factor y′ in it.
2
Dropping the factor y′ when differentiatingWriting the derivative of y² as 2y treats y as the variable. It is the variable only when you differentiate with respect to y. With respect to t, the inside function moves at rate y′, and the factor is there. Without it the check shows a mismatch for every preset.
3
Treating the derivative check as a check of the constantThe constant differentiates to zero, so a wrong C passes every derivative check. A solution is verified by two tests: the derivative gives the equation back, and the initial point satisfies the relation.

Check your understanding

✓
Finish when you can differentiate an implicit relation and show that the equation comes back.

You should be able to state the chain rule for G(y(t)), say why it justifies integrating g(y)·y′, differentiate a relation in y and t with the factor y′ in the right places, and explain why the derivative check cannot catch a wrong constant.

Note: A relation such as y² = t² + 4 is the middle of a solution, not its end. “Implicit and Explicit Solutions” takes it the rest of the way: solving for y, choosing the branch the initial value demands, and saying on which interval the answer exists.

Kept in this browser only, for you. Nothing is sent anywhere and nothing checks it. Carry it to another device.

Feedback and recommendations

Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.

No recommendations yet for this lesson.