Differential Equations | The Maths Tailor — UK Methods
Differential Equations
11 methods · 22 questions
When the ODE is polynomial in dxdy rather than linear in it (a quadratic, quartic, etc. in p=y′, with no y′′), do not panic: solve for p exactly as if it were an ordinary algebraic equation, then integrate each root separately. The trigger is any (dxdy)2 or higher power of y′ with the rest in x (and possibly y).
Trigger: a power of y′ appears (no y′′); the equation factorises or solves by the quadratic formula in p.
Instances: (i) quadratic ap2+bp+c=0: use the formula p=2a−b±b2−4ac, giving two solution families (one per sign), often with the boundary condition y′>0 picking a branch; (ii) recognise the discriminant as a perfect/known form (e.g. u2+2usinhx−1=0 has sinh2x+1=coshx) so the surd integrates; (iii) higher powers: (y′)4=g gives y′=±g1/4 and a separable equation in each branch; (iv) singular solutions: constant y (so y′=0) may satisfy the equation and must be listed alongside the families.
Linked questions (2)
STEP 3 2006 — Q7
Solve the equation u2+2usinhx−1=0 giving u in terms of x.
Find the solution of the differential equation (dxdy)2+2dxdysinhx−1=0 that satisfies y=0 and dxdy>0 at x=0.
Find the solution, not identically zero, of the differential equation sinhy(dxdy)2+2dxdy−sinhy=0 that satisfies y=0 at x=0, expressing your solution in the form coshy=f(x). Show that the asymptotes to the solution curve are y=±(−x+ln4).
Voir la correctionMasquer la correction
Part (i).
The equation u2+2usinhx−1=0 is a quadratic in u. Using the quadratic formula:u=2−2sinhx±4sinh2x+4=−sinhx±sinh2x+1=−sinhx±coshx.Since coshx>0, this gives u=e−x or u=−ex.
Now treat the differential equation: replace u by dxdy. The two cases give:dxdy=e−x⇒y=−e−x+C1,dxdy=−ex⇒y=−ex+C2.Applying y=0 and dxdy>0 at x=0: the second branch gives dxdy∣x=0=−1<0, so it is rejected. The first branch gives dxdy∣x=0=1>0 and 0=−1+C1, so C1=1. The required solution is:y=1−e−x.Part (ii).
Divide through by sinhy (justified because we seek a non-trivial solution, so y=0 generically):(dxdy)2+sinhy2dxdy−1=0.This is the same quadratic form as Part (i) but with sinhy replaced by sinhy1. Setting v=dxdy, the quadratic v2+sinhy2v−1=0 gives:v=sinhy−1±coshy.Hence dxdy=sinhycoshy−1 or dxdy=sinhy−(coshy+1), i.e.:dydx=coshy−1sinhyordydx=coshy+1−sinhy.Integrate each: the first gives x=ln(coshy−1)+C1, and the second x=−ln(coshy+1)+C2. Only the first branch can satisfy y=0 at x=0 (the second gives x=−ln2+C2 at y=0; with x=0 that puts C2=ln2, so coshy+1=2e−x, which holds also). Actually applying x=0,y=0 to the first: 0=ln(cosh0−1)+C1=ln0+C1, which is −∞. So the first branch does not satisfy the initial condition. The second branch with C2=ln2 gives:x=ln2−ln(coshy+1)=lncoshy+12.Rearranging:ex=coshy+12⇒coshy+1=2e−x⇒coshy=2e−x−1.Asymptotes.
As x→−∞, e−x→+∞, so coshy→+∞, meaning y→±∞ (since cosh is even). In that regime coshy≈2e∣y∣, so:2e∣y∣≈2e−x⇒e∣y∣≈4e−x⇒∣y∣≈−x+ln4.For y>0: y→−x+ln4. For y<0: y→x−ln4, equivalently y=−(−x+ln4). These are the asymptotes y=±(−x+ln4), as required. Note that for x>0 we need 2e−x>1, i.e. e−x>21, i.e. x<ln2, so the curve only exists for x<ln2.
STEP 3 2008 — Q6
In this question, p denotes dxdy.
Given that y=p2+2xp, show by differentiating with respect to x that dpdx=−2−p2x. Hence show that x=−32p+Ap−2, where A is an arbitrary constant.
Find y in terms of x if p=−3 when x=2.
Given instead that y=2xp+plnp, and that p=1 when x=−41, show that x=−21lnp−41 and find y in terms of x.
Voir la correctionMasquer la correction
This question explores Clairaut-type and related ODEs, where treating p=dxdy as the variable and inverting the roles of x and p turns a nonlinear problem into a linear one.
Part (i).
Differentiate y=p2+2xp with respect to x:p=2pdxdp+2p+2xdxdp.Collect and rearrange:p−2p=(2p+2x)dxdp⟹−p=2(p+x)dxdp.Divide through by dxdp and invert to get dpdx:dpdx=−p2(p+x)=−2−p2x,as required.
This is a linear first-order ODE in x(p):dpdx+p2x=−2.The integrating factor is e∫(2/p)dp=p2. Multiplying through:dpd(p2x)=−2p2.Integrate:p2x=−32p3+C⟹x=−32p+Ap−2,where A=C is an arbitrary constant.
To find y, apply the initial condition p=−3, x=2:2=−32(−3)+A(−3)−2=2+9A⟹A=0.So x=−32p, giving p=−23x. Substitute into the original equation:y=p2+2xp=49x2+2x(−23x)=49x2−3x2=−43x2.Part (ii).
Differentiate y=2xp+plnp with respect to x:p=2p+2xdxdp+(lnp+1)dxdp.Rearrange:−p=(2x+lnp+1)dxdp.Invert:dpdx=−p2x+lnp+1=−p2x−plnp+1.This is again linear with integrating factor p2:dpd(p2x)=−p(lnp+1).Integrate the right-hand side using integration by parts (∫plnpdp=2p2lnp−4p2):p2x=−2p2lnp+4p2−2p2+B=−2p2lnp−4p2+B.Divide by p2:x=−21lnp−41+Bp−2.Apply p=1, x=−41:−41=0−41+B⟹B=0.So x=−21lnp−41, giving lnp=−2x−21, hence p=e−2x−1/2.
Substitute into y=2xp+plnp:y=p(2x+lnp)=e−2x−1/2(2x+(−2x−21))=e−2x−1/2⋅(−21)=−21e−2x−1/2.