Solve 2*dy/dx - y = e^x at y(0) = 0
The Attempt at a Solution
So the integrating factor is e^-x
Multiplying through by e^-x:
2e^-x(dy/dx) - ye^-x = 1
Now this is where I'm having a slight problem, isn't the left hand side meant to contract via the product rule to d/dx(...) ?
Except that the derivative of 2e^-x is not -e^-x
What have I done wrong?