Exercise · ZW-SEPARABLE-EQUATION-009 · ★★★ Advanced

Solve \(y'=-x/y\), \(y(0)=2\).

Choose one option.

Show answer
  • B. \(y=\sqrt{4-x^2}\)

Explanation

\(y\,dy=-x\,dx\) gives \(y^2=C-x^2\); with \(y(0)=2\), \(C=4\). Since \(y(0)=2>0\) we take the positive root, and the solution exists only for \(|x|<2\).

Study Differential equations in ZWMath →

Review the concept: Separable equation

A separable equation is a first-order differential equation whose derivative is the product of a function \(g\) of \(x\) alone and a function \(h\) of \(y\) alone.

\[\frac{dy}{dx}=g(x)\,h(y)\;\Longrightarrow\;\int\frac{dy}{h(y)}=\int g(x)\,dx\]

More practice problems: separable equation

← ZW-SEPARABLE-EQUATION-008 ZW-SEPARABLE-EQUATION-010 →