How to Solve This Homogeneous Differential Equation?

In summary, the conversation revolves around solving a first order homogeneous equation using substitution and integration. The final solution is given as x^2+y^2=cx, but the confusion arises when discussing the integration constant, which can be written as ln|C| or C/x. This leads to a slightly different final answer, but both are essentially the same.
  • #1
nacho-man
171
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
  • #2
We are given to solve:

\(\displaystyle 2xyy'=y^2-x^2\)

Dividing through by \(\displaystyle 2xy\), we obtain the first order homogenous equation:

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

Using the substitution:

\(\displaystyle y=vx\,\therefore\,y'=v+xv'\)

we then have:

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

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

\(\displaystyle \frac{2v}{v^2+1}\,dv=-\frac{1}{x}\,dx\)

Integrating, we find:

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

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

\(\displaystyle v^2+1=\frac{C}{x}\)

back substitute for $v$:

\(\displaystyle \frac{y^2}{x^2}+1=\frac{C}{x}\)

multiply through by $x^2$:

\(\displaystyle x^2+y^2=Cx\)
 
  • #3
MarkFL said:
We are given to solve:

\(\displaystyle \frac{2v}{v^2+1}\,dv=-\frac{1}{x}\,dx\)

Integrating, we find:

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

Why is it c/x and not ln|x| + c ?
 
  • #4
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.
 
  • #5
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.
 

FAQ: How to Solve This Homogeneous Differential Equation?

What is a homogeneous type equation?

A homogeneous type equation is an algebraic equation where all the terms have the same degree. This means that all the variables in the equation are raised to the same power.

How do you solve a homogeneous type equation?

To solve a homogeneous type equation, you can use a technique called substitution. This involves substituting a new variable for the original variable and then solving the resulting equation.

Can a homogeneous type equation have multiple solutions?

Yes, a homogeneous type equation can have multiple solutions. This is because the substitution technique used to solve the equation can result in different values for the new variable, which then correspond to different solutions for the original equation.

What are the applications of solving homogeneous type equations?

Solving homogeneous type equations is useful in many areas of science and mathematics, such as physics, chemistry, and engineering. It can be used to model and analyze various real-world phenomena and make predictions based on the solutions obtained.

Are there any special cases when solving homogeneous type equations?

Yes, there are some special cases when solving homogeneous type equations. For example, if the equation has a constant term, it can be solved by setting the new variable equal to 1. Additionally, if the equation has only two terms, it can be solved using the quadratic formula.

Back
Top