I can't seem to get my head around the underlined in the proof attached being correct. Plug x as 3, y as 4 and n as 2 and you end up with -7=-14 for example.

What is going on?
Thank you! :)
I can't seem to get my head around the underlined in the proof attached being correct. Plug x as 3, y as 4 and n as 2 and you end up with -7=-14 for example.

What is going on?
Thank you! :)
Putting $x=3$, $y=4$ and $n=2$ gives the same answer: $$3^2-4^2=-7$$ $$(3-2)(3+4)=-7$$
As your left hand side is correct.
Right hand side -
$(3 - 4)(3^1 + 3^0 \cdot 4^1)$
= $(-1)(3 + 1 \cdot 4)$
= (-1)(3 + 4)
= -7
$$ \begin{gathered} x^{\,n} - y^{\,n} \quad \left| \begin{gathered} \;y \ne x \hfill \\ \;x \ne 0 \hfill \\ \end{gathered} \right.\quad = x^{\,n} \left( {1 - \left( {\frac{y} {x}} \right)^{\,n} } \right) = x^{\,n} \left( {1 - \left( {\frac{y} {x}} \right)} \right)\left( {\frac{{1 - \left( {\frac{y} {x}} \right)^{\,n} }} {{1 - \left( {\frac{y} {x}} \right)}}} \right) \hfill \\ = x^{\,n} \left( {1 - \left( {\frac{y} {x}} \right)} \right)\left( {1 + \left( {\frac{y} {x}} \right) + \left( {\frac{y} {x}} \right)^2 + \cdots + \left( {\frac{y} {x}} \right)^{n - 1} } \right) = \hfill \\ = x\left( {1 - \left( {\frac{y} {x}} \right)} \right)x^{\,n - 1} \left( {1 + \left( {\frac{y} {x}} \right) + \left( {\frac{y} {x}} \right)^2 + \cdots + \left( {\frac{y} {x}} \right)^{n - 1} } \right) = \hfill \\ = \left( {x - y} \right)\left( {x^{\,n - 1} y^{\,0} + x^{\,n - 2} y^{\,1} + \cdots + x^{\,0} y^{\,n - 1} } \right) \hfill \\ \end{gathered} $$