
Kenneth G. answered 01/20/14
Tutor
New to Wyzant
Experienced Tutor of Mathematics and Statistics
Problem: Solve for y(x): dy/dx + y = xe-x
Step 1: multiply both sides of the equation by ex to get ex(dy/dx) + yex = x
Step 2: Substitute ex = d(ex)/dx to get ex(dy/dx) + y(dex/dx) = x
Step 3: Apply the product rule in reverse: g(df/dx) + f(dg/dx) = d(fg)/dx to get
d(yex)/dx = x.
Step 5: Integrate both sides with respect to x to get
yex = x2/2 + C
Step 5: Divide both sides by ex, giving y = e-x((x2/2) + C)
Step 6: Multiply by the distributive law to get y = (x2/2)e-x + Ce-x
Kenneth G.
01/20/14