I want to prove that $a$ and $b$ that satisfy
$\frac{a+b}{a} = \frac{b}{a+b}$
cannot both be real. Is the following argument correct:
$\frac{a+b}{a} = \frac{b}{a+b} \quad \leftrightarrow \quad (a+b)^2=ab \quad \leftrightarrow \quad a^2+b^2=-ab $
Let's assume that both $a$ and $b$ are real. Then, in any case, $a^2+b^2$ is positive. Yet for the right side of the equation to be positive, $ab$ must be negative, so $a$ and $b$ have different signs.
We also have the following:
$(a+b)^2 = ab \quad \leftrightarrow \quad a+b = \sqrt{a}\sqrt{b}$
As either $a$ or $b$ is negative, but not both, either $\sqrt{a}$ or $\sqrt{b}$ is imaginary, but not both. So, $\sqrt{a}\sqrt{b}$ is a complex number. This, in turn, means that either $a$ or $b$ must contribute the imaginary part of the complex number $a+b$. Hence, we have a contradiction, and thus it is not possible for $a$ and $b$ to both be real.
I don't trust myself when it comes to proofs, so I'm looking for reassurance that this is correct or constructive feedback if there is a mistake. Thanks! (:
Your idea is right, just keep it simple. Suppose $a , b \in \mathbb{R}$, then $(a+b)^{2}=ab$ implies $ab\geqslant0$. On the other hand, $a^{2}+b^{2}=-ab$ implies $ab\leqslant0$. So, both the conditions implies $ab=0$. Now, $a\neq0$, so $b=0$ forces $a+b=0$, a contradiction. Therefore, $a,b$ cannot be both real.