Say if $x_0$ and $y_0$ are integers. I have $(x_0+y_0)(x_0+y_0)$. I know this is equal to $x_0x_0 + 2x_0y_0 + y_0y_0$, but I want to prove this using the mathematical axioms.
What would be the best thing to do. I was considering using the distributivity law for integers to get: $x_0(x_0+y_0)$ + $y_0(x_0+y_0)$. Then I would have $x_0x_0+x_0y_0 + y_0x_0 + y_0y_0$, then using commutativity of multiplication $x_0x_0+x_0y_0 + x_0y_0 + y_0y_0$. I could then just assume $x_0y_0 + x_0y_0 = 2x_0y_0$ ?, giving me the correct final answer ?
I am unsure on how to start this as I am sure I am missing a step or two. I am also unsure whether I can assume $x_0y_0 + x_0y_0 = 2x_0y_0$. Thanks : )