PrepShorts · Study sheet · Class 12 Mathematics · Chapter 9, Differential Equations
Chapter 9 · Differential Equations
Pushing all the y's one side and all the x's the other, then integrating
This video could not be loaded. Reload the page to try again.
Sign in with Google19 min.
Keep your place in this chapter — sign in, it’s free.Sign in
The idea
This is the easiest method in the chapter and the one with the largest hole under it. Separating variables is three moves of bookkeeping — see that the right-hand side comes apart into an x-piece times a y-piece, divide, integrate — and the chapter runs six examples through it without pausing once. The two things it does not say are worth more than everything it does. The first is the licence: treating the two halves of a derivative as symbols you may move about is defended in a footnote at the foot of Part II p. 309, three examples after the first time the manoeuvre is used. The second is the cost: every separation divides by something, and dividing discards the values that make the divisor zero. Three times in this topic one of those discarded values is itself a solution of the original equation — the chapter prints each exclusion in brackets and remarks on none of them. An explanation that teaches only the bookkeeping produces a student who can solve every item in Exercise 9.3 and cannot say what the method rests on or what it quietly throws away. One more thing rides on this topic and belongs in the script: the applied problems the chapter's introduction promises survive here and nowhere else, in one worked example and four exercise items, with no heading anywhere to announce them.
What you should be able to do
- Recognise, from the shape of the right-hand side, whether an equation can be separated
- Carry out the separation as two divisions and state the condition each needs
- Integrate both sides and collect a single arbitrary constant on one side
- Absorb a doubled or logged constant into a fresh letter without losing generality
- Apply a given data point to turn a general answer into a particular one
- Translate a sentence about a slope, or about a rate, into an equation before solving anything
- Set up and solve a continuous-growth problem where the rate is proportional to the quantity present
- Say which constant functions a separation throws away, and check whether any of them solve the original equation
- Choose the right partial-fraction split when the x-side does not integrate on sight
Words to know
| Term | Definition in one line | First introduced |
|---|---|---|
| variables separable | said of an equation whose right-hand side splits into a factor in x times a factor in y | printed in this chapter (§9.4.1 heading, Part II p. 306, and the Summary, Part II p. 336) |
| separating the variables | the step that puts every y with dy and every x with dx | printed in this chapter (§9.4.1 and Examples 6 and 8, Part II pp. 307–309) |
| first order-first degree | the class of equation this whole module is about | printed in this chapter (§9.4.1 opening line, Part II p. 306) |
| anti derivative | a function whose derivative is the one you started with | printed in this chapter (§9.4.1, Part II p. 307) |
| arbitrary constant | the letter left over after integrating, free to take any value | printed in this chapter (§9.3 and §9.4.1, Part II pp. 305 and 307) |
| general solution | the answer still carrying that letter | printed in this chapter (§9.3, Part II p. 305) |
| particular solution | the answer once the letter has been pinned by data | printed in this chapter (§9.3, Part II p. 305) |
| family of solution curves | the whole set of curves one general solution stands for | printed in this chapter (Example 7 solution, Part II p. 309) |
| slope of the tangent | the derivative, read as a geometric quantity | printed in this chapter (Examples 8 and 18, Part II pp. 309 and 327) |
| principal | the sum of money whose growth Example 9 models | printed in this chapter (Example 9 and Exercise 9.3, Part II pp. 310–312) |
| initial condition | the single data point that picks one curve out of the family | an added term; this chapter supplies such data on twelve of the twenty-three items of Exercise 9.3 — questions 11 to 22 — and never names it |
| lost solution | a constant function thrown away by dividing, which may still solve the original | an added phrase, nowhere in this chapter |
Where people slip up
- "Separable means I can always split it." The right-hand side has to factorise into an x-piece times a y-piece. Nothing in Exercise 9.4 does, which is exactly why the next method exists, and a student who tries to separate the first item of that exercise will spend ten minutes proving it cannot be done.
- "Two integrals, so two constants." One constant is enough, because a constant on the left can be moved to the right and combined. The chapter takes this silently in every worked example; say it once, out loud, in section 4.
- "The constant I write down is the constant in the answer." Example 4 renames a doubled constant, Example 9 renames an exponentiated one, and both are legitimate because the letter stands for any value at all. A student who refuses to rename ends up with an answer that is correct and unrecognisable.
- "I divided by y, so I am finished." Dividing throws away the values of y that make the divisor zero, and one of them is often a solution. Three places in this topic hide one: Example 6 excludes y equal to zero, which solves the equation; Exercise 9.3 item three excludes y equal to one, which solves the equation; item two restricts y strictly between minus two and two, and the endpoints solve the equation. Each of the three checked by substitution. Example 4's exclusion is different — there the excluded value makes the right-hand side undefined, so nothing is lost. The chapter prints every one of these restrictions and remarks on none of them.
- "A modulus inside a logarithm is decoration." The chapter writes the modulus in Example 7 and in Exercise 9.3 items three, five, seven and ten. It is what lets the answer cover negative x as well as positive.
- "An applied problem is a different kind of question." Every one of items fifteen to twenty-two becomes an ordinary separable equation the moment the sentence is translated. The translation is the marked step; the solving is routine.
- "Rate of five per cent means multiply by five over a hundred once." Continuous growth means the rate at every instant is proportional to the amount present at that instant, which is a differential equation, not a multiplication. Example 9 turns on exactly this reading.
- "If the derivative sits inside a function, I cannot separate." Exercise 9.3 item thirteen has the derivative inside a cosine and separates perfectly once the cosine is inverted. What sits inside a function affects whether degree is defined, which is a different question from whether the equation can be solved.
- "The answer has to be y as a function of x." Most of the answers in this topic are relations, and the chapter is content to leave them so. Example 4's answer is never solved for y at all.
Ask your teacher a person
Your teacher reads this and writes back, usually within a day. For an instant answer, use Ask the video in the sidebar.
Your class sees the question and the answer. Only your teacher sees that it was you.
No questions on this topic yet.
Worked answers: Exercise 9.1 · Exercise 9.2 · Exercise 9.3 · Exercise 9.4 · Exercise 9.5 · Miscellaneous Exercise · this video explains Exercise 9.3 Q2, Exercise 9.3 Q3, Exercise 9.3 Q4, Exercise 9.3 Q6, Exercise 9.3 Q7, Exercise 9.3 Q8, Exercise 9.3 Q10, Exercise 9.3 Q11, Exercise 9.3 Q12, Exercise 9.3 Q13, Exercise 9.3 Q14, Exercise 9.3 Q15, Exercise 9.3 Q16, Exercise 9.3 Q17, Exercise 9.3 Q18, Exercise 9.3 Q19, Exercise 9.3 Q20, Exercise 9.3 Q21, Exercise 9.3 Q22, Exercise 9.3 Q23, Miscellaneous Exercise Q4, Miscellaneous Exercise Q5, Miscellaneous Exercise Q6, Miscellaneous Exercise Q7, Miscellaneous Exercise Q12, Miscellaneous Exercise Q13
Transcript2,630 words
There are three standard methods for first order equations, and they are all aimed at the same target. One class of problem, three ways in. This video is the first of them, and it is the easiest by a wide margin. It is three moves of bookkeeping. See that the right hand side comes apart. Divide. Integrate. That is genuinely all of it, and you could be solving problems within a minute.
Which is exactly why it is worth slowing down, because underneath those three moves are two things that almost never get said out loud. One is the licence: why you are allowed to do the middle move at all. The other is the cost: what the middle move quietly throws away. Start with the shape. An equation of this kind says the derivative of y equals some expression built from x and y together.
It is called separable when that expression comes apart into two pieces multiplied: a piece that only knows about x, times a piece that only knows about y. Not added. Multiplied. That distinction is the whole of the condition. And notice what separable is not. It is not a property of how the equation looks on the page. It is a property of the function on the right. So how would you know? You could hunt for the factorisation, and if you find one, you are done.
But there is a test that needs no hunting at all. Read the right hand side at four places, arranged as a little rectangle. If the expression really is an x piece times a y piece, then the product of the two opposite corners equals the product of the other two. The x pieces cancel against each other, and so do the y pieces. Run that across a grid. Seven of the right hand sides in this topic pass it at every corner tried.
And two shapes fail it. That failure is not bad luck, and it is not a student being careless. Those two are the reason the second and third methods exist. No amount of rearranging will separate them, and knowing that early saves you ten minutes of trying. Now the move itself, and the thing that deserves saying before you use it rather than after. You are about to take the derivative of y with respect to x, and treat the top and the bottom as two separate quantities you may move to opposite sides.
Written down, that looks like an abuse. The derivative is a limit. It is one indivisible object, not a fraction. The licence comes from the notation being built to survive exactly this. The symbols were chosen so that the bookkeeping of moving them about tracks a real substitution underneath. What is really happening is a change of variable inside an integral, and the notation is arranged so that the shorthand and the substitution agree.
So the move is legitimate. But you should meet the reason before you meet the manoeuvre, because a step you have used three times before anyone justifies it is a step you will use in places where it does not hold. Here is the separation, done slowly. The right hand side is an x piece times a y piece. Divide both sides by the y piece. Now every y sits on the left with its derivative, and every x sits on the right.
Multiply through by the small change in x. The left side is now something in y against the change in y, and the right is something in x against the change in x. Two moves, and each one needed something to be true. The first needed the y piece not to be zero, because you cannot divide by nothing. Hold on to that condition. It looks like a technicality, and it is the single most consequential sentence in this video.
Now integrate both sides. Two integrals, so surely two arbitrary constants? No. One is enough, and here is why. Put a constant on each side if you like. Then move the left one across. What arrives on the right is the difference of the two, and a difference of two arbitrary constants is just another arbitrary constant. Checked across four different pairs, the two constant version names exactly the same curve as the one constant version carrying their difference. Every time.
And that is a real comparison rather than a restatement, because two pairs with different differences do name different curves. So the second letter buys you nothing. One constant, on one side, and you are done. Take a concrete one. The derivative of y equals a linear expression in x, over a linear expression in y. It separates in a single move: bring the y expression to the left, the x expression to the right.
Integrate. The left gives twice y less half of y squared. The right gives half of x squared plus x, and one constant. Now there are halves everywhere, which is untidy. Multiply the whole line by two. And here is the moment worth watching. Multiplying by two also doubles the constant. So the constant in the tidy version is twice the constant in the untidy one. The usual move is to shrug and call the doubled thing a new letter. That shrug is correct here. But it is a shrug worth examining, because the same shrug is not always correct.
A constant is renamed whenever it changes shape. Doubling it. Exponentiating it. Taking it inside a logarithm. The question you should ask each time is simple: can the new letter reach everything the old one could? For doubling, yes. Name any value you want the new letter to take, positive, negative, or nought, and halving it gives you the old constant that produces it. Nothing is lost. For exponentiating, no. An exponential is always strictly positive.
Take six target values, three positive and three not. All six are reachable by doubling. Only the three positive ones are reachable by exponentiating. So when a constant gets exponentiated, the new letter silently loses the whole of the negative half line, and it loses nought. Remember that nought. It comes back later in this video, carrying a solution with it. A second example, and the shortest complete one there is.
One plus y squared sits under the derivative on one side, and one plus x squared on the other. Both sides integrate to inverse tangents. The answer is one inverse tangent equal to the other, plus a constant. Three lines from start to finish. Read that answer back as an actual curve and measure its slope, and it matches the right hand side at every place checked, for every constant tried.
And the inverse tangent and the tangent used to check it were both computed from series, not looked up in a table. The check is a measurement. So far every answer has been a family. A whole set of curves, one for each value of the constant. One piece of data collapses it to one curve. Here is a family: y equals x squared, plus the logarithm of the size of x, plus a constant.
Ask for the member passing through the place where both coordinates are one. The squared term gives one, the logarithm of one is nought, so the constant must be nought. That member passes through the point. The neighbouring members, at constant one, at minus one, at a half, all miss it. That is the whole relationship between a general answer and a particular one. The general answer is the family. The data point is what selects a member.
Sometimes no equation is handed to you at all. You get a sentence. The slope of the curve at any point is twice x over y squared, and the curve passes through a stated place. The translation is the only hard part. The slope is the derivative. So y squared against the change in y equals twice x against the change in x. Integrate: a third of y cubed equals x squared plus a constant. The stated point fixes that constant at five, and the answer can be written as a cube root.
Checked by measurement, that curve closes the equation at every place read, and the neighbouring constants miss the point it was built to pass through. Once the sentence is translated, the solving is routine. It is the translating that is the marked step, and there is no way to practise it except on sentences. Now the part this video exists for. Go back to the very first division. To separate, you divided by the y piece. And to divide by something, it must not be nought.
So every separation quietly sets aside the values of y that make that piece zero. They are excluded, in brackets, and everyone moves on. Here is the question almost nobody asks. Those excluded values are constant functions. Do any of them solve the original equation? A constant function has a slope of nought everywhere. So it solves the equation exactly when the right hand side is also nought everywhere along it.
Take the equation whose right hand side is minus four x times y squared. The separation sets y away from nought. Put the constant function nought back in. Its slope is nought. The right hand side, with y at nought, is also nought. At every one of the seventeen places checked. It solves it. And it is nowhere in the general answer, because that answer is a reciprocal, and a reciprocal is never nought.
A whole solution, thrown away by a division, and never mentioned again. That was one. Here is a second, and this one shows you the exact machinery of the loss. Take the equation where the derivative of y equals one less y. Separating divides by one less y, so y equal to one is set aside. Check it: the constant function one has slope nought, and one less one is nought. It solves the equation.
Now solve properly. Integrating gives a logarithm, and rearranging gives one less y equal to a constant times an exponential in minus x. And where did that constant come from? It came from exponentiating the constant of integration. Which is where the solution died. If that constant could be nought, the family would give y equal to one back to you. But it came from an exponential, and an exponential is never nought.
This is the point from earlier arriving. The renaming is not cosmetic. Exponentiating a constant loses nought, and nought was carrying a solution. A third case, to show it is not a coincidence. The right hand side is the square root of four less y squared. That is real only between minus two and two, and the separation holds y strictly inside. Both endpoints are set aside. Both of them solve it. At y equal to two, four less four is nought, the root of nought is nought, and a constant function has slope nought. Same at minus two.
So across three equations, four discarded values, and every one of the four is a genuine solution that the method threw away. And now the control, because a rule with no exceptions is usually a rule that has not been tested. Go back to the very first worked example, with the linear expression on the bottom. It excluded y equal to two as well. Put y equal to two back in. The bottom becomes nought, and the right hand side is not a number at all there.
So that exclusion loses nothing. There was never a solution there to lose. Four of the five exclusions in this topic hide a solution. The fifth does not. Telling those apart takes one substitution, and it is one substitution nobody performs. Turn to where this method earns its keep. A sum of money grows continuously at five per cent. Not five per cent added once at the end of the year.
Continuously means the rate of growth at every instant is proportional to the amount present at that instant. That sentence is a differential equation, not a multiplication. It separates immediately. The amount against its change on one side, the time on the other. Integrating gives a logarithm, and undoing it gives an exponential. How long to double? Set the amount to twice what it started as. The starting amount cancels on both sides, and what is left is twenty times the natural logarithm of two.
Leave it in that form. It is exact, and evaluating it to a decimal loses that. And the cancelling is the real content. Checked against three different opening amounts, all three double in exactly the same time. Proportional growth does not care how much you started with. One more, because it looks harder than it is. A balloon is inflated so that its volume grows at a constant rate. What happens to the radius?
The volume is a fixed multiple of the radius cubed. If the volume grows at a constant rate, then the cube of the radius grows at a constant rate. So the cube of the radius is linear in the time, and the radius itself is a cube root of something linear in the time. Measured directly, the rate of change of the cube comes back as the same number at every time it is read. Not four numbers. One.
And that is derived without ever naming the constant sitting in front of the volume, which is the tidy part. Two readings of the radius at two times are enough to pin both constants, and the curve then passes through the pair it was built from. A loose end worth tying, because it looks like a contradiction. This whole family of methods is introduced for equations of first order and first degree.
But degree only exists when the equation is a polynomial in its derivatives. Put the derivative inside a cosine, and there is no degree to speak of. And yet such an equation separates perfectly. Invert the cosine, and the derivative equals a constant, so y is a straight line. Read the equations rather than the heading: a plain first derivative has a degree, the same derivative inside a cosine has none, and both are of order one.
Checked by measurement, the straight line closes the equation for every constant tried. The cosine of the measured slope equals the value on the right. So not first degree and not solvable are two different sentences, and only the first of them is true here. So, all of it together. Separable means the right hand side is an x piece times a y piece, multiplied, and there is a test that settles it without hunting for the factorisation.
Moving the top and bottom of a derivative to opposite sides is legitimate, and the reason belongs before the move rather than after it. Two integrals need only one constant, because a difference of two arbitrary constants is another arbitrary constant. A renaming is not always free. Doubling a constant reaches everything. Exponentiating one loses the negative half line and loses nought. And the big one. Every separation divides by something, and dividing sets aside the values that make it zero. Four of the five values set aside in this topic are constant functions that solve the original equation. The fifth is not a number there at all.
One substitution tells those apart. It costs about ten seconds, and without it the method hands you an answer that is not the whole answer. Which is the honest summary of the easiest technique here: three moves of bookkeeping, one licence worth understanding, and one habit of checking what the division threw away.
Where this fits
Either side of this one
- General against particular: why the arbitrary constants are counted by the orderClass 12 · Ch 9, Differential Equations
- Homogeneous equations, and the substitution that separates the variables for youClass 12 · Ch 9, Differential Equations