Travou nisso? Resolva com IA
Calculus · real student question

Solve the differential equation dy/dx - y^2 = 0.

Question

Solve the differential equation

dydx−y2=0\frac{dy}{dx}-y^2=0

Step-by-step solution

  1. Rearrange into standard separable form. Moving the y2y^2 across gives

    dydx=y2\frac{dy}{dx}=y^2

    The right side depends on yy only, so the equation separates. Note also the constant solution y=0y=0, which satisfies the equation trivially and will have to be treated apart.

  2. Separate the variables. Assuming y≠0y\neq0, divide by y2y^2:

    dyy2=dx,i.e.y−2 dy=dx\frac{dy}{y^2}=dx,\qquad\text{i.e.}\qquad y^{-2}\,dy=dx

  3. Integrate both sides with the power rule. For n=−2n=-2, ∫yndy=yn+1n+1\int y^{n}dy=\frac{y^{n+1}}{n+1} gives y−1−1=−y−1\frac{y^{-1}}{-1}=-y^{-1} — the ln⁡\ln case does not apply here because the exponent is not −1-1:

    −1y=x+C-\frac{1}{y}=x+C

  4. Solve for y. Multiply by −1-1, then rename the constant (−C-C is just as arbitrary as CC):

    1y=−x−C=C′−x\frac{1}{y}=-x-C=C'-x

    Taking reciprocals,

    y=1C−xy=\frac{1}{C-x}

    writing CC for C′C'. Unlike the linear case y′=yy'=y, here C=0C=0 does not recover y=0y=0; the zero solution is a genuinely separate singular solution lost in step 2.

  5. Note the finite-time blow-up. The solution has a vertical asymptote at x=Cx=C: as x→C−x\to C^- the value ∣y∣→∞|y|\to\infty. So no non-zero solution exists on the whole real line — a hallmark of quadratic growth that linear equations never show.

  6. Verify by differentiation. For y=1C−x=(C−x)−1y=\frac{1}{C-x}=(C-x)^{-1}, the chain rule gives y′=(C−x)−2=y2y'=(C-x)^{-2}=y^2 ✓. Numerically with C=2C=2 at x=0, 0.5, −1.3x=0,\,0.5,\,-1.3, the symmetric difference quotient matches y2y^2 to five digits ✓.

Answer

y=1C−x(together with the singular solution y=0)y=\frac{1}{C-x}\qquad\text{(together with the singular solution }y=0\text{)}

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