Solve Homogenous Diff EQ: x\sqrt{x^2 - y^2}\,dx = (x+y)(y\,dx - x\,dy)

  • Thread starter Saladsamurai
  • Start date
  • Tags
    Diff eq
In summary: Here is the full solution from reworked (6**)\sqrt{1 - u^2} - u - u^2 = -(1 + u)(u + x\frac{du}{\,dx})\qquad(7)Separable, so we integrate-\int\frac{1 + u}{\sqrt{1 - u^2}}\,du = \int\frac{u+u^2}{x}\,dxLet y = 1 - u^2, hence dy/dx = -2uso-\frac{1}{2}\int\frac{1}{\sqrt{y}}\,dy = \int\frac{1}{x}(1 -
  • #1
Saladsamurai
3,020
7

Homework Statement


I was given:

[tex] x\sqrt{x^2 - y^2}\,dx = (x+y)(y\,dx - x\,dy)\qquad(1)[/tex]

[tex]\Rightarrow x\sqrt{x^2 - y^2}\,dx = xy\,dx - x^2\,dy +y^2\,dx - xy\,dy[/tex]

Dividing by dx we have

[tex]x\sqrt{x^2 - y^2} = xy - x^2\frac{dy}{dx} +y^2 - xy\frac{dy}{dx}[/tex]

[tex]\Rightarrow x\sqrt{x^2 - y^2} -xy - y^2 = -(x^2 +xy)\frac{dy}{dx}\qquad(2)[/tex]

The Attempt at a Solution



Letting y = ux --> dy/dx = u + x(du/dx) and putting into (2) we have

[tex]x\sqrt{x^2(1 - u^2)} - x^2u - u^2x^2 = -(x^2 +x^2u)(u +x\frac{du}{dx})\qquad(3)[/tex]

Dividing by x^2 gives:

[tex]\sqrt{1 - u^2} - u - u^2 = -(1 - u)(\frac{u}{x^2} + \frac{du}{x\,dx})\qquad(4)[/tex]

Here is where I get stuck ... supposed;y this is separable, but I cannot see it. Did I mess up somewhere? Or am I correct so far and cannot see the next step?

Thanks! :smile:
 
Physics news on Phys.org
  • #2
Use y = ux in equation (1). You can put it in the form [tex] M(x) dx = N(u) du.[/tex]
 
  • #3
fzero said:
Use y = ux in equation (1). You can put it in the form [tex] M(x) dx = N(u) du.[/tex]

Hi fzero :smile: Isn't that what I did? I got it to (4) and can not see how to separate u and x.
 
  • #4
Hi Saladsamurai! :wink:

Why are you making this so complicated? :redface:

(ydx - xdy)/x2 = d(y/x) = du …

carry on from there :smile:
 
  • #5
tiny-tim said:
Hi Saladsamurai! :wink:

Why are you making this so complicated? :redface:

(ydx - xdy)/x2 = d(y/x) = du …

carry on from there :smile:

Sorry tiny-tim! I (a) do not understand what you are getting at and (b) don't understand why it matters what form my equation takes? I have done it twice like this and arrive at the same (4). Either way, it should be separable.

I don't understand what "(ydx - xdy)/x2 = d(y/x) = du …"
means. What are you doing?
 
  • #6
i'm using the quotient rule for y/x (or the product rule for y * 1/x) :wink:
 
  • #7
tiny-tim said:
i'm using the quotient rule for y/x (or the product rule for y * 1/x) :wink:

Yeah, but I don't understand your approach. Where is that supposed to go? The approach I have always been taught is that if an EQ is homogenous you take 'u*x' and stick it wherever you see a 'y' and hence you must also replace 'dy' with an appropriate substitution. This is what I did. I simplified (or complicated :smile:) (1) to (2), then replaced all of my y's with (ux)'s and replaced dy/dx with u+x(du/dx) and got (4). I see nothing wrong with what I did. Could you tell me why you think this would not work (forgetting for the moment that there might be an easier way).

Can anyone tell me why my approach is failing? I am kind of desperate here ... I thought I knew how to do these, but now I am worried ... big exam tomorrow.
 
  • #8
Saladsamurai said:
The approach I have always been taught is that if an EQ is homogenous you take 'u*x' and stick it wherever you see a 'y' and hence you must also replace 'dy' with an appropriate substitution. This is what I did. I simplified (or complicated :smile:) (1) to (2), then replaced all of my y's with (ux)'s and replaced dy/dx with u+x(du/dx) and got (4). I see nothing wrong with what I did.

Yes, that is the correct approach (except you should have divided by x2 at the very start).

Unfortunately, you got the signs wrong in your line following (1), and then you complicated everything by switching some of the RHS to the LHS (if you'd left the RHS as it was, things would have cancelled).
 
  • #9
tiny-tim said:
Yes, that is the correct approach (except you should have divided by x2 at the very start).

Unfortunately, you got the signs wrong in your line following (1), and then you complicated everything by switching some of the RHS to the LHS (if you'd left the RHS as it was, things would have cancelled).

I must be going senile. Where do you see a sign error?

Here is the OP with renumbered EQs

Me said:
[tex] x\sqrt{x^2 - y^2}\,dx = (x+y)(y\,dx - x\,dy)\qquad(1)[/tex]

[tex]\Rightarrow x\sqrt{x^2 - y^2}\,dx = xy\,dx - x^2\,dy +y^2\,dx - xy\,dy\qquad(2)[/tex]

Dividing by dx we have

[tex]x\sqrt{x^2 - y^2} = xy - x^2\frac{dy}{dx} +y^2 - xy\frac{dy}{dx}\qquad(3)[/tex]

[tex]\Rightarrow x\sqrt{x^2 - y^2} -xy - y^2 = -(x^2 +xy)\frac{dy}{dx}\qquad(4)[/tex]

The Attempt at a Solution



Letting y = ux --> dy/dx = u + x(du/dx) and putting into (4) we have

[tex]x\sqrt{x^2(1 - u^2)} - x^2u - u^2x^2 = -(x^2 +x^2u)(u +x\frac{du}{dx})\qquad(5)[/tex]

Dividing by x^2 gives:

[tex]\sqrt{1 - u^2} - u - u^2 = -(1 - u)(\frac{u}{x^2} + \frac{du}{x\,dx})\qquad(6)[/tex]
 
  • #10
sorry, the sign mistake isn't until line (4)
 
  • #11
tiny-tim said:
sorry, the sign mistake isn't until line (4)

tiny-tim, I don't mean to sound fresh ... but where is this "sign error" ?! Can you be more explicit? I see no sign error. Perhaps you are mistaken? :redface:EDIT: I found an error, but it is not in sign. If you look at line (6) when I divided the very last term by x^2, I distributed 1/x^2 to both factors, which is clearly not correct. The corrected (6) should be

[tex]\sqrt{1 - u^2} - u - u^2 = -(1 - u)(u + x\frac{du}{\,dx})\qquad(6*)[/tex]

but again, I am not sure that this is separable ...
 
  • #12
oh, you've renumbered the lines, i didn't see that …

your old line (4) is your new line (6)

EDIT: and (6*)
 
  • #13
tiny-tim said:
oh, you've renumbered the lines, i didn't see that …

your old line (4) is your new line (6)

EDIT: and (6*)

I thought I was about to go nutty :redface::biggrin: Ok. Taking into account the sign error AND the fact that I "double divided" the last term in (6) by x^2, the newly corrected line (6) should be:

[tex]
\sqrt{1 - u^2} - u - u^2 = -(1 + u)(u + x\frac{du}{\,dx})\qquad(6**)
[/tex]

which is separable. I did not have the sign error on paper, and it was not what caused the eqaution to be inseparable, it was crappy algebra skills.

Thanks for your patience tiny-tim! :smile: I'll post back with the full solution soon and then I want to try it your crazy d(y/x/) way. I think I now see where you were going with that. Had I divided by x^2 right off the bat, I would have had exactly the expression for du, assuming that I was using y = ux --> u = y/x. However, having never seen that 'trick' before, I never would have thought of it on my own. I definitely am going to try it since it seems like it could be a lifesaver on a test (but only if you know that it's there).
 
  • #14
That trick is so good!

Screenshot2010-10-31at82451PM.png


Screenshot2010-10-31at82510PM.png


Screenshot2010-10-31at82526PM.png
 
  • #15
You've still made things a bit complicated:

[tex]
x\sqrt{x^2 - y^2}\,dx = (x+y)(y\,dx - x\,dy)\qquad(1)
[/tex]

is just

[tex]
x^2\sqrt{1 - u^2}\,dx = x (1+u) du
[/tex]

or

[tex]x\, dx = \sqrt{ \frac{1+u}{1-u} } du.[/tex]
 
  • #16
Hmmm... I don't know. I got the same answer twice with different approaches and it doen't look like that fzero. Either way, I'll take it! :smile:
 
  • #17
Hi Saladsamurai! :wink:

Your dx/x solution looks correct to me

(and you've corrected the mistake in sign I made in my post #4) :smile:
 

FAQ: Solve Homogenous Diff EQ: x\sqrt{x^2 - y^2}\,dx = (x+y)(y\,dx - x\,dy)

What is a homogenous differential equation?

A homogenous differential equation is one in which all the terms have the same degree of the dependent variable. In other words, the variables can be scaled by a constant factor without changing the equation.

How do you solve a homogenous differential equation?

To solve a homogenous differential equation, we can use the substitution method. Let u=y/x and rewrite the equation in terms of u. Then solve for u and substitute back in for y/x to get the general solution.

What is the role of the square root in this homogenous differential equation?

The square root in this homogenous differential equation is used to make the expression homogenous. By taking the square root of the term x^2 - y^2, we can cancel out the x and y terms and make the equation homogenous.

Why is it important to use the substitution method in solving this homogenous differential equation?

The substitution method is important in solving this homogenous differential equation because it allows us to simplify the equation and make it easier to solve. By substituting u for y/x, we can reduce the degree of the equation and make it homogenous.

What are the possible solutions to this homogenous differential equation?

The possible solutions to this homogenous differential equation depend on the values of x and y. The general solution will involve a constant of integration, and specific solutions can be found by plugging in values for x and y.

Back
Top