Print this page and work through it on paper. Revealed answers are never printed, so you can check one question and still print a clean sheet.

  1. Show the solution to question 1

    (a) Order and linearity. The first equation, , is second order (the highest derivative is ) and linear: and appear to the first power, each multiplied by a function of alone, and the right side involves no . The second, , is second order and nonlinear, because multiplies . The third, , is third order and linear: rearranged as , every term is a derivative of times a function of . The acts on , not on — linearity is a statement about how enters, not about .

    (b) Verify the family, then pick the member. For the chain rule gives . On the other side, , so

    for every and every : the whole family solves the equation. Through we need , so and

    Check: , and while .

    (c) Exponential trial solution. With , , :

    Since is never zero this vanishes exactly when or . So and are solutions, and because the equation is linear and homogeneous any combination is a solution too (superposition). Check on : .

  2. Show the solution to question 2

    (a) Two solutions through the origin. The constant gives and , so it is a solution everywhere, with .

    For the piecewise function: on it is , and both sides of the equation are . On it is , so while because . At the derivative must be checked from the definition: the left-hand difference quotient is , and the right-hand one is . So , which equals . The function is differentiable everywhere and satisfies the equation at every , with . Two different solutions pass through the same point.

    (b) Which hypothesis fails. The existence–uniqueness theorem says: if and are continuous on some open rectangle containing , then , has a solution on some open interval about , and only one. Here and

    which is unbounded as and undefined for . No open rectangle around avoids the line (indeed itself is not even defined below it), so the uniqueness hypothesis fails there and the theorem is silent — and (a) shows uniqueness genuinely fails. Around the rectangle , stays inside , where both and are continuous, so the theorem promises exactly one solution near through .

    (c) Separate, then be honest about the square root. For divide by :

    The condition gives , so and . Check: and . These agree exactly when . So the formula is a solution on and not for : there while the right side is positive. What went wrong is the squaring of , which silently discards the requirement that the square root carried. The largest interval containing on which the formula solves the equation is (it also works at the endpoint itself).

    At the solution reaches , the line where uniqueness breaks down, and there it may be continued to the left as the equilibrium : the function equal to for and to for solves the equation on the whole line, by the same check as in (a).

  3. Show the solution to question 3

    (a) Tabulate the slope . Reading each row at , , in turn:
    along the slopes are ;
    along they are ;
    along they are .

    The isoclines are the curves , that is the parallel lines , all of slope . Segments are horizontal on the isocline , the line ; above that line () every slope is negative, below it every slope is positive.

    (b) The straight-line solution. A line is a solution only if the field's slope along it equals everywhere. On the isocline , the line , every segment has slope , which is the slope of the line itself. Substituting: and , so is a solution. No other line works, since the field's slope along is , constant only when , and then equal to only when .

    (c) The deviation from the line decays. If is any solution and , then

    By the natural-growth theorem (with ) , where . As , : every solution approaches the line , from above if and from below if , and never crosses it, since never changes sign. As , : the solutions fan out away from the line in both directions.

    (d) The sketch. Draw the segments from the table (and the horizontal ones along ), the solution line through and , and two curves.

    Through . Here , so the curve lies above the line for all and settles onto it from above as increases (it passes about against the line's ). At the origin the slope is ; just to the left the point is above , so the curve is falling, and just to the right it is below , so it is rising: the origin is a local minimum, and it is the only place this curve meets , because vanishes only at . Going left the curve climbs steeply ( grows), passing about and leaving the window at the top.

    Through . Here : the curve stays below the line, so it is also below and its slope is always positive (it is at the start). It rises toward the line from below without ever reaching it (about and against the line's and ), and to the left it plunges downward, since , leaving the window at the bottom near .

    Mark the horizontal tangent at the origin, the dashed line of horizontal segments, and the solution line drawn solid.

  4. Show the solution to question 4

    (a) Two steps of size . The slope function is , and each step uses the slope at the current point: .
    Step 0: at the slope is , so .
    Step 1: at the slope is , so .

    So . Note the first step moves nowhere: at the field is flat whatever is.

    (b) Four steps of size . Now .
    Step 0: at the slope is , so .
    Step 1: at the slope is , so .
    Step 2: at the slope is , so .
    Step 3: at the slope is , so .

    So .

    (c) The exact solution and the direction of the error. The equation is separable: for , , so and with any constant (the equilibrium is ). The condition gives :

    Check: and . The errors are and .

    Both estimates are too small, and this could have been predicted. Differentiating the equation, for : the solution is concave up, so each tangent line lies below the curve and every Euler step lands under the true value. Worse, the next slope is then computed from a that is already too small, so the undershoot compounds. Halving reduces the error (here by the factor ). The rule that the accumulated error is proportional to — so that halving halves the error — is a statement about small ; with steps this coarse on a solution that bends this fast it has not yet taken hold, but the trend is the right one.

  5. Show the solution to question 5

    (a) One dropped absolute value. The error is in Step 2. The integral is

    with an absolute value. Writing instead silently assumes , that is , and everything downstream inherits that assumption. Step 3's "every solution lies below " is not a discovery but the assumption read back. Step 4 fails precisely because lies above , outside the region the student had unknowingly restricted to. Step 5 is a separate oversight of the same kind: Step 1 divides by , which is illegal where , so the constant has to be tested on its own — and it is a solution, since both sides are then .

    The existence–uniqueness theorem should have stopped Step 4 on sight. Here and are polynomials, continuous on the whole plane, so through every point, including , there passes a solution, and only one. (The equation is also linear, , so that solution exists on all of .) A method that concludes "no solution" has contradicted a theorem; the method, not the theorem, is wrong.

    (b) The repaired argument. First the equilibrium: makes both sides zero and is a solution. For , separating and integrating correctly,

    Write , which is any nonzero constant; allowing restores . So the complete general solution is

    Solutions with lie above the line and are just as legitimate as those below it. For : , so and

    Check: , while ; and . This solution decreases toward as but never reaches it, which is uniqueness at work: it cannot cross the solution .

  6. Show the solution to question 6

    (a) It depends only on . Dividing by ,

    so the right side is , a function of the ratio alone: the equation is homogeneous. Equivalently, with , replacing by gives . (It is not separable as it stands, since is a difference, not a product.)

    (b) Substitute . Then by the product rule, and the equation becomes

    Integrating (with , so ): , that is with . Nothing was divided by a function of here, so no solution was lost. Replacing and multiplying by ,

    The condition gives , so

    (c) Check, and the interval of validity. Write with , so . Differentiating that relation, , hence . Then

    They agree, and .

    The cube root is defined for every real number, so the formula makes sense for all — but it stops being a solution where , since the original equation has in a denominator. That happens when , i.e. at , and there blows up: the curve arrives at the -axis with a vertical tangent. Going the other way, as the formula tends to but itself is excluded (we divided by ). So the largest interval containing on which the solution is valid is

    The equation's own singularities, at and at , are exactly what ends the interval at each side.

  7. Show the solution to question 7

    (a) The difference of two solutions. By linearity of differentiation,

    on . Next, by the chain rule, since the derivative of is times the derivative of the exponent. Put . By the product rule,

    on . A function whose derivative vanishes on an interval is constant there (a consequence of the Mean Value Theorem), so for some constant , and since is never zero, .

    (b) Uniqueness, and the shape of the general solution. If then , so and on : the two solutions coincide on the whole interval. This is the uniqueness half of the theorem for linear equations, and note that it holds on all of , not merely near .

    For the general solution, let be any one solution. By (a), every solution satisfies for some , so every solution has the form . Conversely each such function is a solution: since ,

    So the solutions are exactly the one-parameter family .

    (c) One known solution is enough. For : and , so on , as required. Here , and on we have , so and , . By (b) the general solution is

    Check of the new term: , and cancels it exactly, so contributes to the left side. No integral of was needed. Notice where the family breaks down: blows up at and , precisely the points where stops being continuous.

  8. Show the solution to question 8

    (a) The balance sheet. The volume is litres, so the tank is full when , at min. Salt enters at kg/min. It leaves at concentration times the outflow rate:

    Hence

    or in standard form : linear, with and . It is not separable, since does not factor into a function of times a function of .

    (b) Integrating factor. . Multiplying through,

    Integrate: , so

    From : , so and

    Check: , while ; and . At the moment the tank is full,

    (c) The concentration comparison. The concentration at is kg/L, below the inflow's kg/L. It had to be: at every moment the tank holds a mixture of the original liquid, at kg/L, and inflow liquid at kg/L, and draining removes mixture without changing its concentration. A blend of two concentrations lies strictly between them, so the tank's concentration stays strictly between and for all . (Sanity check on the amount: L of inflow brine would hold kg, and .)

    (d) After the tank is full. For the volume is fixed at L. Liquid still enters at L/min, so L/min must leave — through the drain and over the rim — all of it at concentration :

    This is autonomous with the single equilibrium , and has , so the equilibrium is stable: kg, the amount that L of the incoming brine would contain. (Explicitly, for , rising from toward .)

  9. Show the solution to question 9

    (a) Equilibria and the phase line. Factor , so the equilibria are , and . The sign of on each gap: for , , , , so . For all three factors are positive, so . For likewise (the factor does not change sign through ). For , , so . On the phase line the arrows point down below , up on , up on , and down above .

    (b) Classification. . At : , unstable, and the phase line agrees (arrows leave it on both sides). At : , stable, and both neighbouring arrows point toward it. At : , so the derivative test is silent and only the sign of can decide. Since on both sides of , solutions below rise toward it while solutions above rise away from it: is semistable — approached from below, abandoned from above. The double factor is what makes touch the axis without crossing it.

    (c) Inflection point of the solution through . This solution starts strictly between the equilibria and , cannot cross either of them by uniqueness, and increases (since there), so it tends to . By the chain rule,

    On the factors and are positive, so the sign of is the sign of : concave up while , concave down once . The solution starts at and rises through exactly once, so it has exactly one inflection point, at the height , where its slope is , the steepest it ever is.

    (d) The sketch. Draw the three horizontal equilibrium lines , , for . Then:

    . Above , so decreasing (, a steep start) and trapped above : it falls toward and flattens onto it. Concavity: for , , and , so — concave up throughout, approaching from above.

    . The S-curve: increasing from to , concave up until it reaches height , then concave down, levelling off just under . Mark the inflection point at .

    . On the solution increases toward and never reaches it. Here and (since ) while , so : it rises concave down, flattening onto from below.

    . Below , where : decreasing, moving away from the unstable equilibrium and never turning back, ever more steeply as grows (for large , ). It leaves the picture through the bottom. (In fact it reaches in finite time, but the sketch only needs "decreasing without bound".)

    The picture should show curves that never cross the equilibrium lines, arrows on the right edge consistent with the phase line, and the two behaviours at — a curve arriving from below, none arriving from above.

  10. Show the solution to question 10

    (a) Two errors and a theorem. Step 1 mishandles the repeated root. The sum is just , a one-parameter family that could never meet two initial conditions. When the characteristic root is repeated the second independent solution is , so

    Step 2 applies the modification rule only once. Because the root is repeated, is itself a complementary solution, so the trial is annihilated by the left side — which is exactly what Step 3 discovered. The rule says: if the trial form still solves the complementary equation after multiplying by , multiply by again. The correct trial is .

    Step 4 is impossible by the existence–uniqueness theorem for linear equations: a constant-coefficient equation with continuous has exactly one solution for any prescribed , , and it exists on the whole line. (Variation of parameters, which needs only , would also have produced a particular solution.) A trial form that gives is telling you the trial form was wrong, never that the equation is unsolvable.

    (b) The correct solution. With ,

    Substituting,

    Setting this equal to gives , so and the general solution is

    Now the initial conditions. . Differentiating, , so and :

    Check. Write with . Then and , so

    Also and . The identity explains the whole episode: any of degree at most gives zero (those are the complementary solutions), which is why the particular solution had to carry an .

  11. Show the solution to question 11

    (a) Energy is dissipated by damping alone. By the chain rule,

    The equation says , so . When this is identically , so is constant. When it is at every instant, so is nonincreasing — it can only decrease, and it does so exactly while the mass is moving.

    (b) Conserved energy bounds the displacement. With , for all . Since ,

    Now take with . Then and

    using . The bound becomes : the energy inequality reproduces the amplitude exactly, and it is attained whenever the velocity vanishes.

    (c) No energy, no motion — and uniqueness. Suppose and . Then . Each term of is a nonnegative multiple of a square, so for all ; and by (a), for either or , is nonincreasing, so for . Hence for all , and then forces for all .

    Now let and be two solutions with and . The equation is linear and homogeneous, so by superposition the difference is again a solution, and it satisfies , . By what was just proved, for all , that is on .

    This is the uniqueness half of the existence–uniqueness theorem for this equation, obtained without ever writing down a solution: a mass at rest at equilibrium has no energy, energy can only leave, and without energy it cannot move. Superposition is what turns that one-solution statement into a statement about any two.

  12. Show the solution to question 12

    (a) The recurrence. With we have and . Shift the index in so that its power is : . The other three pieces already carry after multiplying in:

    where the first two sums may start at because the terms they add are zero. Collecting the coefficient of and setting it to zero,

    The bracket is , so after cancelling ,

    (b) The polynomial solution. Take : . Then , and inductively every odd coefficient beyond vanishes. So the odd part of any solution is just , and is a solution. Directly: gives , , and .

    (c) The even solution. The initial conditions give and , so all odd coefficients are by (b). The even ones come from at :

    Guess for . Induction: it holds for , and if then, with ,

    which is the formula at . Hence

    Radius of convergence: with , the ratio test gives , so the series converges for and diverges for : the radius is . (At the terms are , and that series diverges by comparison with the harmonic series.) This is no accident: the leading coefficient vanishes at , and a series solution about cannot see past the nearest such point.

    (d) The closed form. From and , valid for , subtracting cancels the even powers and doubles the odd ones:

    Therefore , and

    Check of the initial conditions: . Differentiating, with ,

    For a full check, differentiate once more: . Then , , and . The logarithms cancel and what remains is

    So the general solution near is : one solution is a polynomial, the other is not elementary until the series is recognised — exactly the situation the power-series method exists for.

Full solutions sheet →