Skip to content

Mathematics · Ch 10 — Ordinary Differential Equations

Substitution Method

10.6.2

Substitution Method

When an equation has the shape

dydx=f(ax+by+c)\dfrac{dy}{dx}=f(ax+by+c)

— a function of the single linear combination ax+by+cax+by+c, rather than of xx and yy separately — it is not immediately separable, but a linear substitution converts it into an equation that is.

Method.

  1. If a≠0a\ne0 and b≠0b\ne0: substitute z=ax+by+cz=ax+by+c. Then dzdx=a+bdydx\dfrac{dz}{dx}=a+b\dfrac{dy}{dx}, so dydx=1b(dzdx−a)\dfrac{dy}{dx}=\dfrac{1}{b}\left(\dfrac{dz}{dx}-a\right). Substituting into the original equation gives an equation relating zz and xx alone, which reduces the given equation to variables-separable form; solve for z(x)z(x), then replace zz by ax+by+cax+by+c to recover the answer in xx and yy.
  2. If a=0a=0 or b=0b=0, the equation is already separable in xx and yy directly, and no substitution is needed. Worked pattern (Example 10.13). y′=sin⁡2(x−y+1)y'=\sin^2(x-y+1): put z=x−y+1z=x-y+1, so dzdx=1−dydx\dfrac{dz}{dx}=1-\dfrac{dy}{dx}, giving 1−dzdx=sin⁡2z1-\dfrac{dz}{dx}=\sin^2z, i.e. dzdx=1−sin⁡2z=cos⁡2z\dfrac{dz}{dx}=1-\sin^2z=\cos^2z. Separating: sec⁡2z dz=dx\sec^2z\,dz=dx, integrating to tan⁡z=x+C\tan z=x+C, i.e. tan⁡(x−y+1)=x+C\tan(x-y+1)=x+C. Worked pattern (Example 10.14, a fractional right side). dydx=4x+y−12x+y\dfrac{dy}{dx}=\dfrac{4x+y-1}{2x+y}: putting z=4x+2y−1z=4x+2y-1 (chosen to match the denominator's structure after scaling) reduces the equation to dzdx=4+2zz\dfrac{dz}{dx}=4+\dfrac{2z}{z}-type separable form; integrating (using the substitution z=u2z=u^2 to handle the resulting square-root term) and replacing zz back gives the implicit general solution in x,yx,y. …