Differential Equations
Solve with .
Separating variables gives , so , and the initial condition forces . The solution is .
It is a solution. It is not the only one. The constant function also satisfies both the equation and the initial condition, and it was destroyed the moment we divided by .
Worse, there are infinitely many more. For any , the function that is up to and afterwards is differentiable everywhere — both one-sided derivatives at are zero — and satisfies the equation throughout. So a single initial value problem has an entire family of solutions.
Nothing pathological was needed to arrange this: the right-hand side has an infinite slope in at the origin, which is exactly what a uniqueness theorem forbids. The practical lesson is the one that costs marks: dividing by an expression is only legal where that expression is non-zero, and every root of the divisor must be checked separately as a possible solution.
1. Order, degree and forming an equation
The order of a differential equation is the highest derivative it contains. Its degree is the power of that highest derivative once the equation has been made a polynomial in all the derivatives — and if it cannot be, the degree is undefined. An equation such as has order one and no degree at all.
Forming an equation runs the other way. A family of curves with arbitrary constants is described by an equation of order : differentiate times and eliminate the constants between the resulting relations.
Illustration 1
Form the differential equation of all circles that touch the -axis at the origin.
Such circles have centre and radius , so their equation is — one arbitrary constant, so a first-order equation is expected. Differentiating,
Substituting this into and clearing denominators gives
The count is the check: one constant, one differentiation, first order. If eliminating the constants had required two differentiations, the family would have been described wrongly.
Illustration 2
Form the differential equation of all circles of fixed radius whose centres lie on the -axis.
Such circles are , with the only arbitrary constant. Differentiating,
Substituting back into the equation of the family eliminates and gives
Note that survives, because it is not arbitrary — it was given as fixed. Distinguishing a genuinely arbitrary constant from a stated parameter is the step that decides the order, and reading the phrase "of fixed radius" carelessly turns a first-order answer into a second-order one.
The general rule follows the count. A family such as carries two arbitrary constants, so its equation is of order two, and differentiating twice gives with both constants gone. All parabolas carry three and satisfy .
2. Separable equations, and what separation costs
An equation of the form separates into , and both sides are integrated. The division by is the step to watch: every root of gives a constant solution, and none of them appears in the general solution obtained afterwards.
Three words are used precisely here and are worth separating. The general solution of an equation of order contains arbitrary constants. A particular solution is what remains once initial conditions fix those constants.
A singular solution satisfies the equation but is obtainable from the general solution for no value of the constants at all, and it is exactly what a careless division produces. The opening example had both a particular solution and infinitely many singular ones through the same point, which is why the phrase "the solution" should be treated as a claim to be checked rather than an assumption.
Illustration 3
Solve completely.
Separating, , and partial fractions give , so
But the division assumed , and both and satisfy the original equation. The first is recovered by taking ; the second is not obtainable for any finite and is a genuinely singular solution that must be stated separately.
3. Homogeneous equations and near misses
If can be written as a function of alone, the substitution makes the equation separable. Differentiating the substitution gives , and the equation becomes , which separates.
Geometrically the substitution works because such an equation assigns the same slope at every point of a ray through the origin, so the solution curves are scaled copies of one another.
Illustration 4
Solve .
Dividing by shows the right-hand side depends only on , so put :
Separating and integrating, , so and, restoring ,
These are circles through the origin only if the sign works out; in general they are hyperbolas, and the check is to differentiate the answer and recover the original equation.
Illustration 5
Solve .
The right-hand side is a ratio of linear expressions, but the two lines are parallel, so no shift of origin makes it homogeneous. Instead substitute , giving and
Separating, , so and, restoring ,
When the two lines are not parallel, the alternative is to shift the origin to their point of intersection, which removes both constants and leaves a homogeneous equation.
When the two lines are not parallel the shift works cleanly. For the lines and meet at , so putting and leaves the constants behind and gives , which is homogeneous and yields to . The shift changes neither derivative, since and , so nothing is lost.
4. Linear equations, with the integrating factor derived
A first-order linear equation has the form . Multiplying through by a function gives
and the left side is the derivative of precisely when . That is itself a separable equation, with solution . So the integrating factor is not a formula to remember but the answer to the question "what makes the left side a single derivative?"
With that in hand, , and integrating gives
Illustration 6
Solve .
Divide by to reach standard form: , so and . The equation becomes , giving
Here the left side was already a derivative before multiplying, which is worth noticing: whenever an equation reads , the left side is and no integrating factor need be computed.
Illustration 7
Solve .
As it stands this is neither separable nor linear in . But inverting both sides,
which is linear in with and . Then , and integrating by parts twice,
Treating as the dependent variable is the standard rescue when the equation is linear in one variable and not the other, and Advanced sets it deliberately.
Illustration 8
Solve .
The right side carries a power of , so this is not linear — but dividing throughout by makes it so. Writing , so that ,
a linear equation with . The general recipe is that becomes linear under .
5. Recognising a differential you already know
Some equations are neither separable nor linear but become trivial once a familiar combination is spotted. The four worth carrying are
Each is the quotient or product rule read backwards, and the tell is always the combination appearing in the numerator. When it does, the right move is to divide by whatever makes one of these four exact rather than to expand.
Illustration 9
Solve .
Dividing throughout by makes the left side exact:
Integrating both sides gives , so .
Attacking this as a homogeneous equation also works, but it takes a substitution, a partial-fraction integration and a resubstitution to reach the same place. Recognition is worth several minutes here.
6. Curves defined by a geometric condition
A tangent or normal condition translates into a differential equation through two standard lengths. At a point on a curve, the subtangent is and the subnormal is ; the tangent meets the axes at points whose coordinates are read off the tangent's equation.
Illustration 10
Find the curves whose subnormal at every point is a constant .
The condition is , which separates immediately to , that is . The curves are parabolas with axis along the -axis, which is the classical characterisation of a parabola by its subnormal.
Illustration 11
Find the curve through for which the normal at every point passes through the origin.
The normal at has slope , and the line joining to the origin has slope . Equating them,
Separating gives , that is , and the point fixes .
So the curve is the unit circle, and more generally the only curves whose normals all pass through a fixed point are circles centred there — which is the geometric fact the calculation has just proved.
7. Orthogonal trajectories
A family of curves has a differential equation. The family cutting it at right angles everywhere has the same equation with replaced by , since perpendicular slopes multiply to .
Illustration 12
Find the orthogonal trajectories of the family .
First eliminate : differentiating gives , and , so the family satisfies .
Replacing by gives , that is , which integrates to
The trajectories are ellipses. The elimination of before the replacement is essential: substituting into an equation that still contains the parameter produces nonsense.
8. Growth, decay and mixing
Any statement that a rate is proportional to a quantity is a first-order equation, and the modelling step is to write down which quantity and with what sign.
Illustration 13
A body cools so that the rate of fall of its temperature is proportional to the excess over the surrounding temperature . Find .
Newton's law says with . Separating,
where is the initial temperature. The excess decays exponentially and the body approaches, but never reaches, the surrounding temperature — which is the check that the sign of was chosen correctly.
Illustration 14
A tank holds litres of pure water. Brine containing g of salt per litre enters at litres per minute, and the well-stirred mixture leaves at the same rate. Find the amount of salt after minutes.
Let be the salt in grams. Salt enters at g/min and leaves at g/min, so
a linear equation with . Solving with gives .
The long-run value g is the concentration of the incoming brine times the tank volume, which is the physical check the algebra must reproduce.
Illustration 15
The population of a colony grows at a rate proportional to its size and doubles in hours. How long does it take to become eight times its initial size?
From we get , and doubling in hours gives . Then needs , so and hours.
Recognising that eight is the cube of two removes the need to compute at all.
Summary
Dividing by an expression while separating variables destroys every solution on which that expression vanishes, and those solutions must be listed separately. The equation with has infinitely many solutions for exactly this reason, so a general solution with one arbitrary constant need not be the whole story.
The order of an equation is the highest derivative and the degree is its power once the equation is polynomial in the derivatives, with no degree at all otherwise. A family with arbitrary constants yields an equation of order , obtained by differentiating times and eliminating.
An equation whose slope depends only on becomes separable under , because it assigns the same direction all along each ray from the origin. A ratio of linear expressions is handled by shifting the origin to the intersection of the two lines, or, when they are parallel, by substituting for the repeated combination.
Some equations are neither separable nor linear and yield instead to recognition: the combination signals one of the four standard exact differentials, and dividing by the right factor turns the whole equation into a single integration.
The integrating factor is the solution of , which is the condition that the left side collapse into one derivative. When an equation is not linear in , check whether it is linear in , and whether a power on the right can be removed by . Geometric conditions enter through the subtangent and the subnormal , and orthogonal trajectories are found by eliminating the parameter first and only then replacing by .
