Exercise · ZW-INTEGRATING-FACTOR-007 · ★★☆ Intermediate

For \(x>0\), solve \(xy'+2y=x^2\).

Choose one option.

Show answer
  • C. \(y=\dfrac{x^2}{4}+\dfrac{C}{x^2}\)

Explanation

First divide by \(x\): \(y'+\frac{2}{x}y=x\). Then \(\mu=x^2\) and \((x^2y)'=x^3\), so \(x^2y=\frac{x^4}{4}+C\).

Study Differential equations in ZWMath →

Review the concept: Integrating factor

An integrating factor is a function \(\mu\) that, when multiplied by a first-order linear equation with coefficient \(p\), turns the left side into the derivative of a product.

\[\mu(x)=e^{\int p(x)\,dx}\]

More practice problems: integrating factor

← ZW-INTEGRATING-FACTOR-006 ZW-INTEGRATING-FACTOR-008 →