Solve Seperable diff eq with substitution

In summary,The conversation is about solving a differential equation with the change of variable v=y/x. The equation is divided by x and then substituted with v, leading to a new equation. This new equation is then separated and integrated to solve for v. Finally, v is substituted back into the original equation to solve for y. The person asking the question confirms that the solution looks correct.
  • #1
Asphyxiated
264
0

Homework Statement



Solve the differential equation:

[tex] x \frac {dy}{dx} = y + e^{\frac {y}{x}} [/tex]

with the change of variable:

[tex] v = \frac {y}{x} [/tex]


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:

[tex] \frac {dy}{dx} = \frac {y}{x} + \frac {e^{\frac{y}{x}}}{x} [/tex]

then if:

[tex] v = \frac {y}{x} [/tex]

then:

[tex] \frac {dv}{dx} = \frac {x*\frac{dy}{dx} - y}{x^{2}}= \frac {\frac{dy}{dx}}{x}-\frac{y}{x^{2}} [/tex]

so:

[tex] \frac {dy}{dx}= \frac{dv}{dx}x+\frac {y}{x}=\frac{dv}{dx}x+v [/tex]

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

[tex] \frac {dv}{dx}x+v=v+\frac{e^{v}}{x} [/tex]

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

[tex] \frac{dv}{dx}x=\frac{e^{v}}{x} [/tex]

or

[tex] \frac{dv}{dx} = \frac {e^{v}}{x^{2}} [/tex]

this can be separated like so:

[tex] \frac {dv}{e^{v}}=\frac {dx}{x^{2}} [/tex]

[tex] \int e^{-v}dv= \int x^{-2}dx [/tex]

[tex] -e^{-v}=-\frac {1}{x} + c [/tex]

[tex] e^{-v}=\frac {1}{x} - c [/tex]

[tex] -v = ln ( \frac {1}{x} -c) [/tex]

[tex] v = -ln ( \frac {1}{x} -c) [/tex]

then to get the y of the original equation:

[tex] \frac {y}{x} = -ln ( \frac {1}{x} -c) [/tex]

[tex] y = -xln ( \frac {1}{x} -c) [/tex]
 
Physics news on Phys.org
  • #2
Looks good to me.
 
  • #3
Asphyxiated said:

Homework Statement



Solve the differential equation:

[tex] x \frac {dy}{dx} = y + e^{\frac {y}{x}} [/tex]

with the change of variable:

[tex] v = \frac {y}{x} [/tex]


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:

[tex] \frac {dy}{dx} = \frac {y}{x} + \frac {e^{\frac{y}{x}}}{x} [/tex]

then if:

[tex] v = \frac {y}{x} [/tex]

then:

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

so:

[tex] \frac {dy}{dx}= \frac{dv}{dx}x+\frac {y}{x}=\frac{dv}{dx}x+v [/tex]

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

[tex] \frac {dv}{dx}x+v=v+\frac{e^{v}}{x} [/tex]

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

[tex] \frac{dv}{dx}x=\frac{e^{v}}{x} [/tex]

or

[tex] \frac{dv}{dx} = \frac {e^{v}}{x^{2}} [/tex]

this can be separated like so:

[tex] \frac {dv}{e^{v}}=\frac {dx}{x^{2}} [/tex]

[tex] \int e^{-v}dv= \int x^{-2}dx [/tex]

[tex] -e^{-v}=-\frac {1}{x} + c [/tex]

[tex] e^{-v}=\frac {1}{x} - c [/tex]

[tex] -v = ln ( \frac {1}{x} -c) [/tex]

[tex] v = -ln ( \frac {1}{x} -c) [/tex]

then to get the y of the original equation:

[tex] \frac {y}{x} = -ln ( \frac {1}{x} -c) [/tex]

[tex] y = -xln ( \frac {1}{x} -c) [/tex]
 

What is a separable differential equation?

A separable differential equation is a type of differential equation where the variables can be separated into individual functions through algebraic manipulation. This allows for the equation to be solved by integrating both sides separately.

How do you recognize a separable differential equation?

A separable differential equation will have the form dy/dx = f(x)g(y), where f(x) and g(y) are functions of x and y, respectively. It may also have the form dy/dx = f(x)/g(y) or dy/dx = g(y)/f(x).

What is the substitution method for solving separable differential equations?

The substitution method involves substituting y = u(x) into the original differential equation to create a new equation with only one variable, u. This new equation can then be solved by integrating both sides and then substituting the original variable back in at the end.

Can all separable differential equations be solved with the substitution method?

No, not all separable differential equations can be solved with the substitution method. Some equations may require other techniques such as integration by parts or using an integrating factor.

How do you know if a solution to a separable differential equation is valid?

To check the validity of a solution, you can substitute it back into the original differential equation to see if it satisfies the equation. Additionally, the solution should not produce any undefined values or violate any initial conditions given in the problem.

Similar threads

  • Calculus and Beyond Homework Help
Replies
19
Views
774
  • Calculus and Beyond Homework Help
Replies
5
Views
619
  • Calculus and Beyond Homework Help
Replies
2
Views
575
  • Calculus and Beyond Homework Help
Replies
2
Views
462
  • Calculus and Beyond Homework Help
Replies
4
Views
690
  • Calculus and Beyond Homework Help
Replies
6
Views
759
  • Calculus and Beyond Homework Help
Replies
21
Views
1K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
21
Views
839
  • Calculus and Beyond Homework Help
Replies
2
Views
543
Back
Top