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

Solve \(y'+2y=4\) with \(y(0)=3\).

Choose one option.

Show answer
  • D. \(y=2+e^{-2x}\)

Explanation

The general solution is \(y=2+Ce^{-2x}\). With \(y(0)=3\): \(2+C=3\), so \(C=1\). The condition is applied to the general solution, not to \(q\).

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-007 ZW-INTEGRATING-FACTOR-009 →