Nonlinear Homogeneous Differential Equation Solution

In summary, the given equation is homogeneous and the attempt at solving it involves using the substitution v=y/x. Simplifying the expression leads to the solution y=ln|x|+Cx-xln|y|.
  • #1
snowJT
117
0

Homework Statement



I'm told that this is homogenous
[tex](x^2-xy)y'+y^2 = 0[/tex]

2. The attempt at a solution

This is going to be very painful for me to type out...

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

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

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

[tex]v+x\frac{dv}{dx} = \frac{-x^2v^2}{(x^2-x^2v)}[/tex]

[tex]v+x\frac{dv}{dx} = \frac{-x^2v^2}{x^2(1-v)}[/tex]

[tex]v+x\frac{dv}{dx} = \frac{-v^2}{(1-v)}[/tex]

[tex]\frac{v+1-v}{-v^2}dv = \frac {dx}{x}[/tex]

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

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

[tex]v^-^1 =ln|x|+C[/tex]

[tex]\frac{y^-^1}{x^-^1} = ln|x|+C[/tex]

[tex]y^-^1 = x ln|x|+C[/tex]

[tex]\frac{1}{y} = x ln|x|+C[/tex]

[tex]\frac{1}{y} = \frac {ln|x|+C}{x}[/tex]

[tex] 0 = \frac {y ln|x|+C}{x}[/tex]

[tex] -Cx = y ln|x|[/tex]

But the answer is...

[tex] xln|y| - y = Cx[/tex]
 
Last edited:
Physics news on Phys.org
  • #2
snowJT said:

Homework Statement



I'm told that this is homogenous
[tex](x^2-xy)y'+y^2 = 0[/tex]

2. The attempt at a solution

This is going to be very painful for me to type out...

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

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

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

[tex]v+x\frac{dv}{dx} = \frac{-x^2v^2}{(x^2-x^2v)}[/tex]

[tex]v+x\frac{dv}{dx} = \frac{-x^2v^2}{x^2(1-v)}[/tex]

[tex]v+x\frac{dv}{dx} = \frac{-v^2}{(1-v)}[/tex]
Try going from here again. Add another line in if you need to. Put all the v's over a common denominator before you multiply by dx.
 
  • #3
snowJT said:

Homework Statement



I'm told that this is homogenous
[tex](x^2-xy)y'+y^2 = 0[/tex]

2. The attempt at a solution

This is going to be very painful for me to type out...

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

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

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

[tex]v+x\frac{dv}{dx} = \frac{-x^2v^2}{(x^2-x^2v)}[/tex]

[tex]v+x\frac{dv}{dx} = \frac{-x^2v^2}{x^2(1-v)}[/tex]

[tex]v+x\frac{dv}{dx} = \frac{-v^2}{(1-v)}[/tex]
[tex]\frac{-v^2}{1-v}-v= \frac{-v^2-v+v^2}{1-v}= \frac{-v}{1-v}[/tex]
The left hand side in your next line is wrong.

[tex]\frac{v+1-v}{-v^2}dv = \frac {dx}{x}[/tex]

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

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

[tex]v^-^1 =ln|x|+C[/tex]

[tex]\frac{y^-^1}{x^-^1} = ln|x|+C[/tex]

[tex]y^-^1 = x ln|x|+C[/tex]

[tex]\frac{1}{y} = x ln|x|+C[/tex]

[tex]\frac{1}{y} = \frac {ln|x|+C}{x}[/tex]

[tex] 0 = \frac {y ln|x|+C}{x}[/tex]

[tex] -Cx = y ln|x|[/tex]

But the answer is...

[tex] xln|y| - y = Cx[/tex]
 
  • #4
Oh I understand the error, thanks, I'll work it out from there
 
  • #5
I've messed up again...

[tex]v+x\frac{dv}{dx} = \frac{-v^2}{(1-v)}[/tex]
[tex]\frac{v(1-v)}{-v^2}dv = \frac{dx}{(x)}[/tex]
[tex]\frac{v-v^2}{-v^2}dv = \frac{dx}{(x)}[/tex]
[tex]\int v^-^1-1 dv = \int \frac{dx}{(x)}[/tex]
[tex]ln|v|-x = ln|x|+C[/tex]
[tex]ln|\frac {y}{x}|-x = ln|x|+C[/tex]

and no need to go any farter.. I know its wrong...
 
  • #6
is it cus this line

[tex]\frac{v(1-v)}{-v^2}dv = \frac{dx}{(x)}[/tex]

should look like this?

[tex]\frac{v(1-v)}{-v^2} + (1-v)dv = \frac{dx}{(x)}[/tex]
 
  • #7
Try going from this line. Simplify before you multiply by dx.

[tex]v+x\frac{dv}{dx} = \frac{-v^2}{(1-v)}[/tex]

[tex]x\frac{dv}{dx}=\frac{-v^2}{(1-v)}-v=\frac{-v^2-v(1-v)}{(1-v)} [/tex]

Simplify from here, and then carry on!
 

1. What is a homogeneous differential equation?

A homogeneous differential equation is a type of differential equation where all terms involving the dependent variable and its derivatives are of the same degree. This means that the equation can be written in the form f(y', y, x) = 0, where y' represents the first derivative of y with respect to x.

2. How do you solve a homogeneous differential equation?

To solve a homogeneous differential equation, you can use the substitution method. This involves substituting y = vx into the equation, where v is a function of x. This will transform the equation into a separable equation, which can be solved by integrating both sides and then solving for y.

3. What is the difference between a homogeneous and non-homogeneous differential equation?

A homogeneous differential equation only contains terms of the same degree, while a non-homogeneous differential equation contains terms of different degrees. Additionally, the solution to a homogeneous differential equation will always be a linear combination of functions, while the solution to a non-homogeneous differential equation may also include particular solutions.

4. Can a homogeneous differential equation have non-constant coefficients?

Yes, a homogeneous differential equation can have non-constant coefficients. This means that the coefficients in front of the dependent variable and its derivatives can be functions of x. However, the equation can still be considered homogeneous as long as all terms have the same degree.

5. What are the practical applications of homogeneous differential equations?

Homogeneous differential equations have a wide range of practical applications in various fields of science and engineering. They are commonly used in physics to describe the motion of objects, in chemistry to study chemical reactions, and in biology to model population growth. They also have applications in economics, finance, and other areas of mathematics.

Similar threads

  • Calculus and Beyond Homework Help
Replies
19
Views
771
  • Calculus and Beyond Homework Help
Replies
6
Views
546
  • Calculus and Beyond Homework Help
Replies
5
Views
280
  • Calculus and Beyond Homework Help
Replies
4
Views
684
  • Calculus and Beyond Homework Help
Replies
2
Views
537
  • Calculus and Beyond Homework Help
Replies
2
Views
460
  • Calculus and Beyond Homework Help
Replies
6
Views
755
  • Calculus and Beyond Homework Help
Replies
5
Views
616
  • Calculus and Beyond Homework Help
Replies
21
Views
834
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
Back
Top