★ Signature method unlocked: the technique this chapter rewards most often, with 3 worked questions.
The full chapter (12 methods · 23 worked questions) comes with Platform Access. See pricing
STEP rewards extracting behaviour before (or instead of) an explicit solution. From the right-hand side of dxdy=F(x,y) alone you can locate stationary points (where F=0), classify them, find limits as x→∞, and compare two equations by comparing their gradients, then sketch.
Trigger: the question says "sketch", "describe the behaviour as t→∞", or compares two similar ODEs.
Instances: (i) set F=0 for stationary points and use the sign of F either side to call maxima/minima; (ii) take x→∞ in the (often separable) solution to read off a horizontal asymptote or limiting value; (iii) compare two integrands/gradients via a pointwise inequality (e.g. e−x3>e−x2 on 0<x<1) to place one solution curve above the other without solving either; (iv) match the asymptotic form (e.g. y≈3−9/x) to fix the far-field shape of the sketch.
Linked questions (3)
STEP 2 2018 · Q8
Use the substitution v=y to solve the differential equation dtdy=αy21−βy(y⩾0,t⩾0), where α and β are positive constants. Find the non-constant solution y1(x) that satisfies y1(0)=0.
Solve the differential equation dtdy=αy32−βy(y⩾0,t⩾0), where α and β are positive constants. Find the non-constant solution y2(x) that satisfies y2(0)=0.
In the case α=β, sketch y1(x) and y2(x) on the same axes, indicating clearly which is y1(x) and which is y2(x). You should explain how you determined the positions of the curves relative to each other.
Worked solution
Part (i). Set v=y, so y=v2 and dtdy=2vdtdv. Substituting into the equation gives 2vdtdv=αv−βv2, and since y⩾0 we may divide through by v>0 (we handle v=0 separately) to obtain 2dtdv=α−βv. Separating variables: α−βv2dv=dt. Integrating both sides: −β2ln∣α−βv∣=t+C. Applying the initial condition y1(0)=0 means v(0)=0, giving C=−β2lnα. Hence ln(αα−βv)=−2βt,soα−βv=αe−βt/2. Solving for v: v=βα(1−e−βt/2), and squaring back: y1(t)=β2α2(1−e−βt/2)2. This is non-constant and satisfies y1(0)=0. As t→∞, y1→α2/β2, a horizontal asymptote. Part (ii). The structure is identical with exponent 32 instead of 21. Try v=y1/3, so y=v3 and dtdy=3v2dtdv. Substituting: 3v2dtdv=αv2−βv3=v2(α−βv), and dividing by v2>0: 3dtdv=α−βv. This is the same structure as part (i) with the factor 3 replacing 2. Separating and integrating with v(0)=0 gives v=βα(1−e−βt/3), so y2(t)=β3α3(1−e−βt/3)3.Part (iii). When α=β, the two solutions simplify to y1(t)=(1−e−t/2)2,y2(t)=(1−e−t/3)3. Both curves start at the origin with gradient 0 (verified by differentiating and setting t=0), and both approach the asymptote y=1 as t→∞. To determine which lies higher, note that for t>0: since 3t<2t, we have e−t/3>e−t/2, so 1−e−t/3<1−e−t/2. Call these values a<b (both in (0,1)). We need to compare a3 with b2. For small t: b≈t/2 and a≈t/3, giving b2≈t2/4≫t3/27≈a3, so y1>y2 near the origin. As t→∞ both a,b→1, and 1−b≈e−t/2≪e−t/3≈1−a, so b2→1 faster than a3→1, confirming y1>y2 throughout. Therefore y1 lies strictly above y2 for all t>0, with both curves increasing from (0,0), both concave (decreasing gradient after the origin), and both having the asymptote y=1.
STEP 2 2019 · Q6
Note: You may assume that if the functions y1(x) and y2(x) both satisfy one of the differential equations in this question, then the curves y=y1(x) and y=y2(x) do not intersect.
(i) Find the solution of the differential equationdxdy=y+x+1that has the form y=mx+c, where m and c are constants.
Let y3(x) be the solution of this differential equation with y3(0)=k. Show that any stationary point on the curve y=y3(x) lies on the line y=−x−1. Deduce that solution curves with k<−2 cannot have any stationary points.
Show further that any stationary point on the solution curve is a local minimum.
Use the substitution Y=y+x to solve the differential equation, and sketch, on the same axes, the solutions with k=0, k=−2 and k=−3.
(ii) Find the two solutions of the differential equationdxdy=x2+y2−2xy−4x+4y+3that have the form y=mx+c.
Let y4(x) be the solution of this differential equation with y4(0)=−2. (Do not attempt to find this solution.)
Show that any stationary point on the curve y=y4(x) lies on one of two lines that you should identify. What can be said about the gradient of the curve at points between these lines?
Sketch the curve y=y4(x). You should include on your sketch the two straight line solutions and the two lines of stationary points.
Worked solution
Part (i).
To find the linear solution, substitute y=mx+c into dxdy=y+x+1. The left-hand side gives m, while the right-hand side gives mx+c+x+1=(m+1)x+(c+1). Equating coefficients of x and the constant: m=m+1 gives m=−1, and then m=c+1 gives c=−2. So the linear solution is y=−x−2.
At a stationary point of y3(x), we have dxdy=0, so the equation gives y+x+1=0, i.e. y=−x−1. Hence all stationary points lie on the line y=−x−1.
Now, y=−x−2 is itself a solution curve. Two distinct solution curves cannot intersect (if they met at (a,b) they would share the same gradient b+a+1 there, and by uniqueness they would be identical — a contradiction). Since the line y=−x−2 is a solution curve, the curve y3(x) cannot cross it. If k<−2, then y3(0)=k<−2, so y3 starts strictly below y=−x−2. The line of stationary points y=−x−1 lies strictly above y=−x−2 (it is parallel, shifted up by 1), so y3 can never reach it and has no stationary points.
To classify any stationary point that does occur, differentiate the equation: dx2d2y=dxdy+1. At a stationary point dxdy=0, so dx2d2y=1>0. Hence every stationary point is a local minimum.
For the substitution, let Y=y+x, so dxdY=dxdy+1. The equation becomes dxdY−1=Y+1, i.e. dxdY=Y+2. Separating variables: ∫Y+2dY=∫dx⟹ln∣Y+2∣=x+c0⟹Y+2=Aex. Back-substituting Y=y+x gives y=Aex−x−2. Applying y3(0)=k yields A=k+2, so y3(x)=(k+2)ex−x−2. The three cases are: k=0⇒y=2ex−x−2; k=−2⇒y=−x−2; k=−3⇒y=−ex−x−2. All three curves share the asymptotic behaviour y≈−x−2 as x→−∞. The curve k=0 has a minimum (on y=−x−1) and grows like 2ex for large x; the line k=−2 is the separating solution; the curve k=−3 lies entirely below the line and decreases to −∞.
Part (ii).
Substitute y=mx+c: the left-hand side is m, and the right-hand side expands as (y−x)2+4(y−x)+3. With y−x=(m−1)x+c, for this to be constant in x we need m−1=0, so m=1. Then y−x=c and the equation gives m=c2+4c+3, i.e. 1=c2+4c+3, so c2+4c+2=0, giving c=−2±2. The two linear solutions are y=x−2+2 and y=x−2−2.
At a stationary point, dxdy=0, so (y−x)2+4(y−x)+3=0, which factorises as (y−x+1)(y−x+3)=0. Hence stationary points lie on y=x−1 or y=x−3.
Between the two lines y=x−1 and y=x−3, we have −3<y−x<−1, so (y−x+1)<0 and (y−x+3)>0, giving dxdy<0. Above both lines or below both lines, both factors carry the same sign and the gradient is positive.
Since y4(0)=−2, the curve starts between the two straight-line solutions (which pass through (0,−2±2)). In this region the gradient is negative, so the curve is decreasing. It will eventually reach the lower stationary-point line y=x−3, where it has a local minimum, then increase toward the upper line y=x−1 where it has a local maximum, and so on. The sketch shows y4 oscillating between the two stationary-point lines, with the two straight-line solutions acting as asymptotic boundaries above and below.
STEP 2 2021 · Q5
(i) Use the substitution y=(x−a)u, where u is a function of x, to solve the differential equation(x−a)dxdy=y−x,where a is a constant.
(ii) The curve C with equation y=f(x) has the property that, for all values of t except t=1, the tangent at the point (t,f(t)) passes through the point (1,t).
(a) Given that f(0)=0, find f(x) for x<1. Sketch C for x<1. You should find the co-ordinates of any stationary points and consider the gradient of C as x→1. You may assume that zln∣z∣→0 as z→0.
(b) Given that f(2)=2, sketch C for x>1, giving the co-ordinates of any stationary points.
Worked solution
Part (i).
Substitute y=(x−a)u into the equation. Differentiating givesdxdy=(x−a)dxdu+u.Plugging into (x−a)dxdy=y−x:(x−a)[(x−a)dxdu+u]=(x−a)u−x.The u terms cancel on both sides, leaving(x−a)2dxdu=−x,i.e.dxdu=(x−a)2−x.To integrate the right-hand side, write −x=−(x−a)−a, sodxdu=(x−a)2−(x−a)−a=−x−a1−(x−a)2a.Integrating term by term:u=−ln∣x−a∣+x−aa+c.Since u=x−ay, multiply through by (x−a):y=−(x−a)ln∣x−a∣+a+c(x−a).Part (ii).
The curve C has equation y=f(x). The condition says: for t=1, the tangent to C at (t,f(t)) passes through (1,t).
The gradient of the tangent at (t,f(t)) is f′(t). But the gradient can also be computed from the two points (t,f(t)) and (1,t):f′(t)=t−1f(t)−t.Rearranging: (t−1)f′(t)=f(t)−t, which is exactly the differential equation from part (i) with x↦t, y↦f(t), and a=1. The general solution is thereforef(t)=−(t−1)ln∣t−1∣+1+c(t−1).Replacing t with x: f(x)=−(x−1)ln∣x−1∣+1+c(x−1).
(a) Apply f(0)=0:0=−(−1)ln1+1+c(−1)=0+1−c⟹c=1.So f(x)=−(x−1)ln∣x−1∣+x for x<1.
Stationary points. From the original ODE, f′(x)=x−1f(x)−x=−ln∣x−1∣. Setting f′(x)=0 gives ∣x−1∣=1, so x=0 or x=2. In the range x<1, the only stationary point is at x=0, where f(0)=0, giving the point (0,0).
Behaviour near x=1. As x→1−, f′(x)=−ln∣x−1∣→+∞, so the curve becomes vertical. Using the given hint zln∣z∣→0 as z→0, we get f(x)→1 as x→1−. As x→−∞, f′(x)→−∞.
Sketch for x<1: the curve passes through (0,0) (a stationary point), rises steeply towards (1,1) with a vertical tangent there, and falls away to the left with f′(x)→−∞.
(b) Apply f(2)=2 to f(x)=−(x−1)ln∣x−1∣+1+c(x−1):2=−(1)ln1+1+c(1)=0+1+c⟹c=1.The formula is again f(x)=−(x−1)ln∣x−1∣+x and f′(x)=−ln∣x−1∣ for x>1. The stationary point from ∣x−1∣=1 in this region is x=2, giving the point (2,2). As x→1+, f′(x)→+∞ (vertical tangent, f(x)→1+). As x→+∞, f′(x)→−∞.
Sketch for x>1: starts near (1,1) with a vertical tangent, rises to a maximum at (2,2), then decreases with ever-steepening negative gradient.