If $x,y$ are distinct real numbers

230 Views Asked by At

If $x,y$ are distinct real numbers, prove that $x+y=-2$ if and only if $(x+1)^2=(y+1)^2$

How would I prove this? do I use contrapositive, contradiction or direct proof?

2

There are 2 best solutions below

4
On BEST ANSWER

If $x+y=-2$ then $ x+1=-1-y $ and therefore $ (x+1)^2=(y+1)^2$.

For the other direction, if $ (x+1)^2=(y+1)^2$ then $(x+1)=(y+1) $ or $ (x+1)=-(y+1)$. Since x and y distinct the first option isn't valid and so $x+1=-y-1$ which implies that $x+y=-2$.

0
On

$(x+1)^2=(y+1)^2 \iff (x+1)^2-(y+1)^2=0\iff (x+1-(y+1))(x+1+y+1)=0$

$ \iff x+1=y+1$ or $x+y+2=0$

Since we are excluding $x+1=y+1$ we have that the first is equivalent to $x+y=-2$.