Solve Seperable diff eq with substitution

Click For Summary
SUMMARY

The differential equation \( x \frac{dy}{dx} = y + e^{\frac{y}{x}} \) is solved using the substitution \( v = \frac{y}{x} \). The solution process involves rewriting the equation, separating variables, and integrating. The final solution is expressed as \( y = -x \ln\left(\frac{1}{x} - c\right) \), confirming the correctness of the approach and calculations provided in the discussion.

PREREQUISITES
  • Understanding of separable differential equations
  • Familiarity with substitution methods in differential equations
  • Knowledge of integration techniques, particularly with exponential functions
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study advanced techniques in solving nonlinear differential equations
  • Learn about the application of substitution methods in different types of differential equations
  • Explore integration techniques for exponential and logarithmic functions
  • Investigate the implications of initial conditions on the solutions of differential equations
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as professionals seeking to enhance their problem-solving skills in mathematical modeling.

Asphyxiated
Messages
263
Reaction score
0

Homework Statement



Solve the differential equation:

x \frac {dy}{dx} = y + e^{\frac {y}{x}}

with the change of variable:

v = \frac {y}{x}


Homework Equations





The Attempt at a Solution



I would just like to know if I have successfully solved the problem. Thanks!

First if we divide by x the equation becomes:

\frac {dy}{dx} = \frac {y}{x} + \frac {e^{\frac{y}{x}}}{x}

then if:

v = \frac {y}{x}

then:

\frac {dv}{dx} = \frac {x*\frac{dy}{dx} - y}{x^{2}}= \frac {\frac{dy}{dx}}{x}-\frac{y}{x^{2}}

so:

\frac {dy}{dx}= \frac{dv}{dx}x+\frac {y}{x}=\frac{dv}{dx}x+v

now I can substitute this back into the original differential equation:

\frac {dv}{dx}x+v=v+\frac{e^{v}}{x}

the v on both sides will cancel out with subtraction so you get:

\frac{dv}{dx}x=\frac{e^{v}}{x}

or

\frac{dv}{dx} = \frac {e^{v}}{x^{2}}

this can be separated like so:

\frac {dv}{e^{v}}=\frac {dx}{x^{2}}

\int e^{-v}dv= \int x^{-2}dx

-e^{-v}=-\frac {1}{x} + c

e^{-v}=\frac {1}{x} - c

-v = ln ( \frac {1}{x} -c)

v = -ln ( \frac {1}{x} -c)

then to get the y of the original equation:

\frac {y}{x} = -ln ( \frac {1}{x} -c)

y = -xln ( \frac {1}{x} -c)
 
Physics news on Phys.org
Looks good to me.
 
Asphyxiated said:

Homework Statement



Solve the differential equation:

x \frac {dy}{dx} = y + e^{\frac {y}{x}}

with the change of variable:

v = \frac {y}{x}


Homework Equations





The Attempt at a Solution



I would just like to know if I have successfully solved the problem. Thanks!

First if we divide by x the equation becomes:

\frac {dy}{dx} = \frac {y}{x} + \frac {e^{\frac{y}{x}}}{x}

then if:

v = \frac {y}{x}

then:

\frac {dv}{dx} = \frac {x*\frac{dy}{dx} - y}{x^{2}}= \frac {\frac{dy}{dx}}{x}-\frac{y}{x^{2}}
You might find it simpler to write that y= xv so that y'= xv'+ v
Then
y'= xv'+ v= v+ \frac{e^v}{x}
xv'= \frac{e^v}{x}
e^{-v}dv= \frac{dx}{x^2}

so:

\frac {dy}{dx}= \frac{dv}{dx}x+\frac {y}{x}=\frac{dv}{dx}x+v

now I can substitute this back into the original differential equation:

\frac {dv}{dx}x+v=v+\frac{e^{v}}{x}

the v on both sides will cancel out with subtraction so you get:

\frac{dv}{dx}x=\frac{e^{v}}{x}

or

\frac{dv}{dx} = \frac {e^{v}}{x^{2}}

this can be separated like so:

\frac {dv}{e^{v}}=\frac {dx}{x^{2}}

\int e^{-v}dv= \int x^{-2}dx

-e^{-v}=-\frac {1}{x} + c

e^{-v}=\frac {1}{x} - c

-v = ln ( \frac {1}{x} -c)

v = -ln ( \frac {1}{x} -c)

then to get the y of the original equation:

\frac {y}{x} = -ln ( \frac {1}{x} -c)

y = -xln ( \frac {1}{x} -c)
 

Similar threads

Replies
19
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
4
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
3
Views
2K