In the following question: $\frac{dx}{x^2}=\frac{dx}{y^2}$=$\frac{dz}{z(x+y)}$
I have to approach the solution in two different methods however both my answer conflicts.
Method 1: Subtracting 1 and 2 and equating with 3rd
$x^{-2}dx$=$y^{-2}dy$
which gives on integrating:
$\frac{-1}{x}+\frac{1}{y}$=$constant$
Method 2:
$\frac{zdx/x}{x}$=$\frac{zdy/y}{y}$=$\frac{dz}{x+y}$
now adding one and two subtracting from third
$\frac{dx}{x}$+$\frac{dy}{y}$=$\frac{dz}{z}$
which gives on integrating,
$xy/z=(constant)$
how ever both are different,in my book they subtract one and two then use the property $x^2-y^2=(x+y)(x-y)$ to cancel it with x+y which gives another constant however I think there are supposed to be only two solutions is there something wrong Iam doing please guide me through
Usig $x^2-y^2=(x+y)(x-y)$ we get the integral $\dfrac{x-y}{z}=c_3$. It says that the expression $\dfrac{x-y}{z}$ is constant along the characteristics.
You got two other expressions, $\dfrac{-1}{x}+\dfrac{1}{y}=c_1$ and $\dfrac{xy}{z}=c_2$, two constants along the characteristics. The point is that we can set $c_3$ from $c_1$ and $c_2$ alone:
$\dfrac{x-y}{xy}=c_1$ and $xy=zc_2$, then
$\dfrac{x-y}{zc_2}=c_1$ or $\dfrac{x-y}{z}=c_1c_2$
Meaning that $c_3=c_1c_2$. So, $c_3$ is not an independent constant. There are only two independent solutions.