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

Discussion Overview

The discussion revolves around solving a homogeneous differential equation, specifically the equation \(2xyy' = y^2 - x^2\). Participants explore various methods of solving the equation, including substitutions and integration techniques, while addressing points of confusion regarding the integration constants and their implications on the final solution.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a method involving the substitution \(y/x = v\) and derives an expression for \(y'\) before integrating, leading to the equation \(cx = -(v^2 + 1)\).
  • Another participant reformulates the original equation into a first-order homogeneous form and uses a different substitution, arriving at \(x^2 + y^2 = Cx\) after integration.
  • A question arises regarding the form of the integration constant, specifically why it is expressed as \(C/x\) rather than \(\ln|x| + C\), prompting further clarification on the nature of arbitrary constants in integration.
  • There is a discussion about the implications of writing the constant in different forms and whether this leads to fundamentally different answers, indicating some confusion about the nature of constants in differential equations.

Areas of Agreement / Disagreement

Participants express differing views on the treatment of the integration constant and its representation, indicating that there is no consensus on this aspect of the solution process. The discussion remains unresolved regarding the implications of these representations on the final solution.

Contextual Notes

Participants note that the integration steps and the treatment of constants may depend on specific assumptions or definitions, which are not fully explored in the discussion.

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
7K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K