Peregrine
- 22
- 0
Simple Diff Eq Help
I am trying to solve the following Diff Eq:
\frac{d^2x}{dy^2}+(\frac{y}{2}-\frac{1}{y})\frac{dx}{dy}=0
I tried to solve by setting \frac{dx}{dy}=z
so: \frac{dz}{dy}+(\frac{y}{2}-\frac{1}{y})z=0
I know the general solution to this is:
z=-e^{-\int{\frac{y}{2}-\frac{1}{y}dy}}\int{0}dy
This then yields:
z=-C_1e^{ln(y)-1/4y^2}=\frac{dx}{dy}
And trying to integrate again, Using u-substitution, u = ln(y) -1/4y^2
du=(\frac{1}{y} - \frac{y}{2}) dy
dy = \frac{2}{2-y^2} du
Now, can I leave that y tern in the u-substitution? Or did I make a mistake along the way?
Also, is there an easier way to solve this integral than the path I've taken? Thanks.
I am trying to solve the following Diff Eq:
\frac{d^2x}{dy^2}+(\frac{y}{2}-\frac{1}{y})\frac{dx}{dy}=0
I tried to solve by setting \frac{dx}{dy}=z
so: \frac{dz}{dy}+(\frac{y}{2}-\frac{1}{y})z=0
I know the general solution to this is:
z=-e^{-\int{\frac{y}{2}-\frac{1}{y}dy}}\int{0}dy
This then yields:
z=-C_1e^{ln(y)-1/4y^2}=\frac{dx}{dy}
And trying to integrate again, Using u-substitution, u = ln(y) -1/4y^2
du=(\frac{1}{y} - \frac{y}{2}) dy
dy = \frac{2}{2-y^2} du
Now, can I leave that y tern in the u-substitution? Or did I make a mistake along the way?
Also, is there an easier way to solve this integral than the path I've taken? Thanks.
Last edited: