I want to prove that $a$ and $b$ that satisfy
$$\frac{a+b}{a} = \frac{b}{a+b}$$
cannot both be real.
Here is the natural solution.
$$(a+b)\times (a+b)=ab$$ $$a^2+2ab+b^2=ab$$ $$a^2+ab+b^2=0$$
$a=0$ makes denominator zero. Hence $a\ne 0$, dividing by $a^2$ and put $\frac {b}{a}=t$ we get $t^2+t+1=0$ . But, discrimimant is negative $D=1-4=-3$. So there are not real solutions.
I just have some questions about how the following "bogus" solution works. Of course I'm not sure.I copied the latex text and added it here.
Let
$$\frac{a+b}{a} = \frac{b}{a+b}=k$$
Since $\thinspace ab≠0\thinspace $ and $\thinspace a+b\thinspace $ exists on both sides of the equation with the same sign, then $\thinspace a\thinspace $ and $\thinspace b\thinspace $ can not have opposite signs. This implies that, $\thinspace ab>0\thinspace $ or $\thinspace \dfrac ab>0\thinspace$, which means $\thinspace k>0\thinspace .$
Terefore, you have :
$$ \begin{align}0<k&=\frac {a+b-b}{a-a-b}=-\frac ab<0\end{align} $$
A contradiction .
How can $ab > 0$ without knowing the sign of $a+b$ ? My other question is, according to what rule is $\frac{a+b}{a} = \frac{b}{a+b}=\frac {a+b-b}{a-a-b}=-\frac {a}{b}$ true and why?
Thank you for references.
Your solution makes a couple of leaps of logic that need more justification, i.e. you are a bit hand-wavy.
This is confusing. First off, $ab\neq 0$ has not been established yet (although it is true). But yes, the general gist is that the sign of $a$ and $b$ must be equal, however I would simply write that if you just look at the signs of both sides of the equation, you get $$\mathrm{sgn}(a+b)\cdot \mathrm{sgn}(a)=\mathrm{sgn}(a+b)\cdot\mathrm{sgn}(b)$$ which means $\mathrm{sgn}(a)=\mathrm{sgn}(b)$.
However, your major mistake comes later on, when you write:
$$0<k=\frac {a+b-b}{a-a-b}=-\frac ab<0$$
In this inequality, you wrote down the equation $k=\frac {a+b-b}{a-a-b}$, yet you have zero explanation as to where that equation comes from. You defined, originally, that $k=\frac{a+b}{a}$ (and equivalently, that $k=\frac b{a+b}$). You then do not mention $k$ at all, until it appears all of a sudden in your argument in the equation $k=\frac {a+b-b}{a-a-b}$. Where did this come from?