<s>[INST] Expanding $(x-2)^3$ I was trying to expand $(x-2)^3$. This is what I did


*

*Expanded the term so $(x-2)(x-2)(x-2)$

*Multiplied the first term and second term systematically through each case


The answer I got did not match the one at the back of the book, can someone show me how to do this please?
 [/INST] If you are not familiar with the Binomial Theorem, you can expand $(x - 2)^3$ as follows:
\begin{align*}
(x - 2)^3 & = (x - 2)[(x - 2)(x - 2)]\\
          & = (x - 2)[x(x - 2) - 2(x - 2)]\\
          & = (x - 2)(x^2 - 2x - 2x + 4)\\
          & = (x - 2)(x^2 - 4x + 4)\\
          & = x(x^2 - 4x + 4) - 2(x^2 - 4x + 4)\\
          & = x^3 - 4x^2 + 4x - 2x^2 + 8x - 8\\
          & = x^3 - 6x^2 + 12x - 8
\end{align*}
The key idea here is that we can only multiply two factors at once, so we first find the product of two of the factors, then multiply the result by the third factor.
</s>