squareroot
- 76
- 0
Homework Statement
okey, so i got stuck at another step in the way of solving de's.I've been studying DE of this form:
y' + P(x)y = Q(x)
Homework Equations
The Attempt at a Solution
So, first we solve y' + P(x)y=0 for y. \frac{dy}{y} = -P(x)dx , we integrate this and get that \int \frac{1}{y}\,dy = -\int P(x)\,dx ln(y) + C= -\int P(x)\,dx y= e^{-C-\int P(x)\,dx} this is my attempt to solve but the textbook says that the answer is C(x)e^{-\int P(x)\,dx } . I don't understand that C(x)...Isn't C just a constant?Why does it depend on x?
Thank you