Exercise · ZW-INTEGRATING-FACTOR-005 · ★☆☆ Basic
With \(\mu=e^{x}\), the equation \(y'+y=x\) becomes \((e^{x}y)'=xe^{x}\). What is its general solution?
Choose one option.
Show answer
- B. \(y=x-1+Ce^{-x}\)
Exercise · ZW-INTEGRATING-FACTOR-005 · ★☆☆ Basic
Choose one option.
By parts, \(\int xe^{x}\,dx=(x-1)e^{x}+C\). Dividing by \(e^{x}\): \(y=x-1+Ce^{-x}\). The constant must be divided too.
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.