MHB How to Solve This Homogeneous Differential Equation?

  • Thread starter Thread starter nacho-man
  • Start date Start date
  • Tags Tags
    Homogeneous Type
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.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top