Clear Notion Academy

Differential Equations (Warm Up) Practice: If y'-y=xe x and y(0)=1 , find 3 0 2 e -x y(x) ,dx .

Question

If y′−y=xexy'-y=xe^x and y(0)=1y(0)=1, find 3∫02e−xy(x) dx3\int_0^2 e^{-x}y(x)\,dx.

Answer

Answer: 10

Hint

Apply the quotient/product identity with the exponential factor before integrating again.

Solution

Multiplying by e−xe^{-x} gives (e−xy)′=x(e^{-x}y)'=x. Integrating gives e−xy=x2/2+Ce^{-x}y=x^2/2+C. The initial condition gives C=1C=1. Hence the requested value is 3∫02(1+x2/2)dx=3(2+4/3)=103\int_0^2(1+x^2/2)dx=3(2+4/3)=10. Therefore the answer is 10. The constant from the initial condition contributes to the second integral.

More questions from Differential Equations (Warm Up) Practice

Practise the full set: Differential Equations — Warm Up