Solving Differential Equation: {x^2} - 3{y^2}+6xy

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
drawar
Messages
130
Reaction score
0
Sorry I couldn't think of any more relevant title. Here's the equation:

[itex]{x^2} - 3{y^2} + 6xy\frac{{dy}}{{dx}} = 0[/itex]

I'm thinking of rewriting the above to [itex]\frac{{dy}}{{dx}} = \frac{{3{y^2} - {x^2}}}{{6xy}}[/itex] followed by a change of variable u=y/x. But should I rule out the case when either x=0 or y=0 first? I'd also love to see if there's any alternative way to solve this ODE, thanks!
 
Physics news on Phys.org
drawar said:
Sorry I couldn't think of any more relevant title. Here's the equation:

[itex]{x^2} - 3{y^2} + 6xy\frac{{dy}}{{dx}} = 0[/itex]

I'm thinking of rewriting the above to [itex]\frac{{dy}}{{dx}} = \frac{{3{y^2} - {x^2}}}{{6xy}}[/itex] followed by a change of variable u=y/x. But should I rule out the case when either x=0 or y=0 first? I'd also love to see if there's any alternative way to solve this ODE, thanks!

Notice that
[tex]\frac{3y^2- x^2}{6xy}= \frac{\frac{3y^2- x^2}{xy}}{6}= \frac{1}{6}(3\frac{y}{x}- \frac{x}{y})[/tex]
Which suggests that the substitution v= y/x would be useful (actually, the fact that both numerator and denominator are of second degree first suggested that).

If v= y/x then y= xv so that y'= xv'+ v. The differential equation becomes
[tex]x\frac{dv}{dx}+ v= \frac{1}{6}\left(3v- \frac{1}{v}\right)[/tex]
[tex]x\frac{dv}{dx}= \frac{1}{6}\left(3v- \frac{1}{v}\right)- v= \frac{1}{6}\left(-3v- \frac{1}{v}\right)[/tex]
[tex]x\frac{dv}{dx}= -\frac{1}{6}\left(\frac{3v^2+ 1}{v}\right)[/tex]
[tex]\frac{v}{3v^2+ 1}dv= -\frac{1}{6x}dx[/tex]