James889
- 190
- 1
Hi,
I have the first order differential equation y+y' = x
y(0) = 0
First i tried to assume a solution of the form Ax+b, that didn't quite work.
Then i tried to use the Integrating factor technique, work follows
e^{\int1} = e^x
\int e^x(y+y') = \int{xe^x}
ye^x = \int xe^x
let u = x, du=1
v = e^x dv=e^x
So i end up with:
ye^x = xe^x -e^x
which is wrong...
Any ideas?
I have the first order differential equation y+y' = x
y(0) = 0
First i tried to assume a solution of the form Ax+b, that didn't quite work.
Then i tried to use the Integrating factor technique, work follows
e^{\int1} = e^x
\int e^x(y+y') = \int{xe^x}
ye^x = \int xe^x
let u = x, du=1
v = e^x dv=e^x
So i end up with:
ye^x = xe^x -e^x
which is wrong...
Any ideas?