Calculus · real student question

Solve the differential equation 3(1 + t^2) dy/dt = 2ty(y^3 - 1).

Question

Solve

3(1+t2)dydt=2ty(y31)3\left(1+t^2\right)\frac{dy}{dt}=2ty\left(y^3-1\right)

Step-by-step solution

  1. Spot the equilibrium solutions first. The right side vanishes when y=0y=0 or y3=1y^3=1, and a constant yy has dydt=0\tfrac{dy}{dt}=0, so

    y0andy1y\equiv 0\qquad\text{and}\qquad y\equiv 1

    both solve the equation. Finding these up front matters, because the substitution below divides by yy.

  2. Recognise the Bernoulli shape. Dividing by 3(1+t2)3(1+t^2) and expanding the right side:

    dydt2t3(1+t2)y=2t3(1+t2)y4\frac{dy}{dt}-\frac{2t}{3(1+t^2)}\,y=\frac{2t}{3(1+t^2)}\,y^{4}

    This is Bernoulli with exponent n=4n=4, and the standard cure is v=y1n=y3v=y^{1-n}=y^{-3}.

  3. Substitute v=y3v=y^{-3}. Then dvdt=3y4dydt\dfrac{dv}{dt}=-3y^{-4}\dfrac{dy}{dt}, and using dydt=2ty(y31)3(1+t2)\dfrac{dy}{dt}=\dfrac{2ty(y^3-1)}{3(1+t^2)}:

    dvdt=3y42ty(y31)3(1+t2)=2t(1y3)1+t2\frac{dv}{dt}=-3y^{-4}\cdot\frac{2ty(y^3-1)}{3(1+t^2)}=-\frac{2t\left(1-y^{-3}\right)}{1+t^2}

    so

    dvdt2t1+t2v=2t1+t2\frac{dv}{dt}-\frac{2t}{1+t^2}\,v=-\frac{2t}{1+t^2}

    Note the sign: the coefficient of vv is negative. Getting it positive here is the single most common slip in this problem, and it flips the final answer.

  4. Find the integrating factor. With P(t)=2t1+t2P(t)=-\dfrac{2t}{1+t^2},

    μ(t)=exp ⁣(Pdt)=exp(ln(1+t2))=11+t2\mu(t)=\exp\!\left(\int P\,dt\right)=\exp\left(-\ln\left(1+t^2\right)\right)=\frac{1}{1+t^2}

    Multiplying through turns the left side into a single derivative:

    ddt(v1+t2)=2t(1+t2)2\frac{d}{dt}\left(\frac{v}{1+t^2}\right)=-\frac{2t}{\left(1+t^2\right)^2}

  5. Integrate both sides. The right side is itself a substitution (u=1+t2u=1+t^2):

    2t(1+t2)2dt=11+t2+C\int-\frac{2t}{\left(1+t^2\right)^2}\,dt=\frac{1}{1+t^2}+C

    so v1+t2=11+t2+C\dfrac{v}{1+t^2}=\dfrac{1}{1+t^2}+C, that is

    v=1+C(1+t2)v=1+C\left(1+t^2\right)

  6. Return to yy and verify. Since v=y3v=y^{-3},

    1y3=1+C(1+t2)y=[1+C(1+t2)]1/3\frac{1}{y^{3}}=1+C\left(1+t^{2}\right)\quad\Longrightarrow\quad y=\left[1+C\left(1+t^{2}\right)\right]^{-1/3}

    Checking numerically with C=0.7C=0.7 at t=1.7t=1.7: the left side 3(1+t2)y=1.604485673(1+t^2)y'=-1.60448567 and the right side 2ty(y31)=1.604485672ty(y^3-1)=-1.60448567. \checkmark (C=0C=0 recovers the equilibrium y1y\equiv1.)

Answer

y=[1+C(1+t2)]1/3,together with y0y=\left[1+C\left(1+t^{2}\right)\right]^{-1/3},\qquad\text{together with }y\equiv 0

Need to solve a different problem like this? Open the solver →