How to Solve This Homogeneous Differential Equation?

  • Context: MHB 
  • Thread starter Thread starter nacho-man
  • Start date Start date
  • Tags Tags
    Homogeneous Type
Click For Summary
SUMMARY

The discussion focuses on solving the homogeneous differential equation given by 2xyy' = y^2 - x^2. The user successfully transforms the equation into a first-order homogeneous form and applies the substitution y = vx, leading to the integration of the resulting expression. The final solution is derived as x^2 + y^2 = Cx, where C is a constant. The discussion also addresses the confusion regarding the representation of the constant C in logarithmic form.

PREREQUISITES
  • Understanding of homogeneous differential equations
  • Familiarity with substitution methods in differential equations
  • Knowledge of integration techniques, particularly logarithmic integration
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the method of substitution in solving differential equations
  • Learn about first-order homogeneous differential equations
  • Explore integration techniques involving logarithmic functions
  • Review the concept of arbitrary constants in solutions of differential equations
USEFUL FOR

Students and professionals in mathematics, particularly those studying differential equations, as well as educators seeking to clarify concepts related to homogeneous equations and integration techniques.

nacho-man
Messages
166
Reaction score
0
Hi,
I actually made a similar thread here: Solve this homogeneous type equation
and a user pointed out a mistake in my workings, however i could still not manage to get the solution. So I was wondering if someone could help with the last few parts

Question: 2xyy' = y^2 - x^2y' = (y^2-x^2)/(2xy)

divide through by x^2 to get:
y' = ((y/x)^2-1)/(2(y/x)) = f(y/x)

let y/x = v, thus y = v + x'v
1/x dx = 1/(f(v)-v) dv

f(v)-v= (v^2-1)/2v - v
= (-2v^2+v^2-1)/2v
= -(v^2+1)/2v

integrating:

int(dx/x) = int(2v/-(v^2+1))
ln|x| + c = -ln|v^2+1|
e^(ln(x)+ C)= e^C e^(ln(x))= cx where c= e^C
and, finally, up to the point where I am stuck:
cx= -(v^2+ 1)

The solutions say
x^2+y^2=cx

I am unsure how to get to this, any help is appreciated.
 
Physics news on Phys.org
We are given to solve:

$$2xyy'=y^2-x^2$$

Dividing through by $$2xy$$, we obtain the first order homogenous equation:

$$y'=\frac{1}{2}\left(\frac{y}{x}-\frac{x}{y} \right)$$

Using the substitution:

$$y=vx\,\therefore\,y'=v+xv'$$

we then have:

$$v+xv'=\frac{1}{2}\left(v-\frac{1}{v} \right)$$

$$xv'=-\frac{1}{2}\left(v+\frac{1}{v} \right)$$

$$\frac{2v}{v^2+1}\,dv=-\frac{1}{x}\,dx$$

Integrating, we find:

$$\ln\left(v^2+1 \right)=\ln\left|\frac{C}{x} \right|$$

Choosing $C$ such that $$0<\frac{C}{x}$$ we may write:

$$v^2+1=\frac{C}{x}$$

back substitute for $v$:

$$\frac{y^2}{x^2}+1=\frac{C}{x}$$

multiply through by $x^2$:

$$x^2+y^2=Cx$$
 
MarkFL said:
We are given to solve:

$$\frac{2v}{v^2+1}\,dv=-\frac{1}{x}\,dx$$

Integrating, we find:

$$\ln\left(v^2+1 \right)=\ln\left|\frac{C}{x} \right|$$

Why is it c/x and not ln|x| + c ?
 
nacho said:
Why is it c/x and not ln|x| + c ?

$$\int\left(- \frac{1}{x} \right) dx=- \int \frac{dx}{x}=- \ln \left|x \right|+C= \ln \left|x^{-1} \right|+C= \ln \left| \frac{1}{x} \right|+C.$$
Since the $C$ is an arbitrary constant, you can simply write it as $\ln \left| C \right|$, which gives you MarkFL's result.
 
thanks,
just curious though. If you don't end up writing C as ln|C|, then you get a different answer in the end, don't you - Despite the fact that both are fundamentally the same thing.

This confuses me.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 36 ·
2
Replies
36
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K