Solving differential equations using substitution

hbomb
Messages
57
Reaction score
0
Solve the differential equation by making an appropriate substitution

x^2dy=(xy+x^2e^\frac{y}{x})

Here was my first attempt:

Let y=ux, dy=udx+xdu

x^2(udx+xdu)=(ux^2+x^2e^\frac{ux}{x})dx
x^2(udx+xdu)=(ux^2+x^2e^u)dx

x^2udx+x^3du=x^2udx+x^2dx+e^udx

x^3du=x^2dx+e^udx

And after that I got stuck.
My teacher said to pick the differential that would be the easiest to integrate and find the substitutions for that. So naturally that would be the dy differential.


So then I did it the other way:

Let x=vy, dx=vdy+ydu

v^2y^2dy=(y^2v+y^2v^2e^2\frac{y}{vy})(vdy+ydu)

vy^2(vdy)=vy^2(1+ve^\frac{1}{v})(vdy+ydu)

vdy=vdy+v^2e^\frac{1}{v}dy+ydv+yve^\frac{1}{v}dv

-v^2e^\frac{1}{v}dy=ydv+yve^\frac{1}{v}dv

-v^2e^\frac{1}{v}dy=y(1+ve^\frac{1}{v})dv

\frac{1}{y}dy=(\frac{1+ve^\frac{1}{v}}{-v^2e^\frac{1}{v}})dv

Integrating this gives me the following result:

ln|y|=-ln|v|-\frac{1}{e^\frac{1}{v}}

substituting \frac{x}{y} back in for v we get

ln|y|=-ln|\frac{x}{y}|-\frac{1}{e^\frac{1}{v}}
 
Last edited:
Physics news on Phys.org
is this your diff eq
x^2dy=(xy+x^2e^\frac{y}{x})
or do you mean this
x^2 \frac{dy}{dx} =(xy+x^2 e^\frac{y}{x})
if the first one was your question and u didnt make a typing eerror then in taht case i can't get a closed form solution the best i can come up with is
y = \frac{y}{x} + e^{\frac{y}{x}}
but i could be wrong!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top