- #1
fd25t6
- 10
- 0
Hello all, hoping to get a bit of help with a diff eq problem that goes like this:
Find an explicit solution of the given initial-value problem,
x^2*(dy/dx)=y-xy ; y(-1) = -6
I separated my variables to get:
S (1-x)/x^2 dx = S 1/y dy
Integration of left via partial fractions:
S 1/x^2 dx - S 1/x dx = -1/x - ln|x|
Integration of right :
S 1/y dy = ln|y|
therefore :
-1/x - ln|x| = ln|y| + C
Now this is the first Calc class I have taken in a while so I am assuming more than one error here:
e^(-1/x) -x = y + e^C
y = e^(-1/x) -e^C - x
y = e^(1/x - C) -x
Did I solve for y correctly here? If not is my issue in the integration? Also at what point is it best to solve for C in this equation?
Thank you in advance for any assistance.
Find an explicit solution of the given initial-value problem,
x^2*(dy/dx)=y-xy ; y(-1) = -6
I separated my variables to get:
S (1-x)/x^2 dx = S 1/y dy
Integration of left via partial fractions:
S 1/x^2 dx - S 1/x dx = -1/x - ln|x|
Integration of right :
S 1/y dy = ln|y|
therefore :
-1/x - ln|x| = ln|y| + C
Now this is the first Calc class I have taken in a while so I am assuming more than one error here:
e^(-1/x) -x = y + e^C
y = e^(-1/x) -e^C - x
y = e^(1/x - C) -x
Did I solve for y correctly here? If not is my issue in the integration? Also at what point is it best to solve for C in this equation?
Thank you in advance for any assistance.