shseo0315
- 19
- 0
Homework Statement
x dy/dx -y = 2x^2 y, y(1)=1
Homework Equations
The Attempt at a Solution
x dy/dx = y(2x^2 + 1)
int 1/y dy = int (2x^2+1)/x dx
int 1/y dy = int 2x dx + int 1/x dx
ln y = x^2 + lnx + c
y = exp(x^2 + c) + x and in this case initial condition doesn't work.
please help. I can't find what went wrong.
The answer turns out to be y = x exp(x^2-1).
help~~