Calculus 2Separable Differential Equations

Solve the separable differential equation dy/dx = x/y with y(0) = 2

Homework Question

Solve the initial value problem dydx=xy\frac{dy}{dx} = \frac{x}{y}, y(0)=2y(0) = 2.

Verified Final Answer
y=x2+4y = \sqrt{x^{2} + 4}

Key Formula & Principle

∫dyg(y)=∫f(x) dx\int \frac{dy}{g(y)} = \int f(x)\,dx for dydx=f(x)g(y)\frac{dy}{dx} = f(x)g(y)

Step-by-Step Solution

  1. 1
    Separate the variables: y dy=x dxy\,dy = x\,dx.
  2. 2
    Integrate: y22=x22+C\frac{y^2}{2} = \frac{x^2}{2} + C, so y2=x2+Ky^2 = x^2 + K.
  3. 3
    Apply y(0)=2y(0) = 2: 4=0+K4 = 0 + K, so K=4K = 4.
  4. 4
    Take the positive root (since y(0)>0y(0) > 0): y=x2+4y = \sqrt{x^2 + 4}.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Calculus 2 →