Tap the blue circles to see an explanation.
| $$ \begin{aligned}k(k-1)^4(k-2)& \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle1}{\textcircled {1}} \htmlClass{explanationCircle explanationCircle2}{\textcircled {2}} \htmlClass{explanationCircle explanationCircle3}{\textcircled {3}} \htmlClass{explanationCircle explanationCircle4}{\textcircled {4}} } }}}k(1k^4-4k^3+6k^2-4k+1)(k-2) \xlongequal{ } \\[1 em] & \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle5}{\textcircled {5}} } }}}(1k^5-4k^4+6k^3-4k^2+k)(k-2) \xlongequal{ } \\[1 em] & \xlongequal{ \color{blue}{ \text{\normalsize{ \htmlClass{explanationCircle explanationCircle6}{\textcircled {6}} \htmlClass{explanationCircle explanationCircle7}{\textcircled {7}} } }}}k^6-6k^5+14k^4-16k^3+9k^2-2k\end{aligned} $$ | |
| ① | $$ (k-1)^4 = (k-1)^2 \cdot (k-1)^2 $$ |
| ② | Find $ \left(k-1\right)^2 $ using formula. $$ (A - B)^2 = \color{blue}{A^2} - 2 \cdot A \cdot B + \color{red}{B^2} $$where $ A = \color{blue}{ k } $ and $ B = \color{red}{ 1 }$. $$ \begin{aligned}\left(k-1\right)^2 = \color{blue}{k^2} -2 \cdot k \cdot 1 + \color{red}{1^2} = k^2-2k+1\end{aligned} $$ |
| ③ | Multiply each term of $ \left( \color{blue}{k^2-2k+1}\right) $ by each term in $ \left( k^2-2k+1\right) $. $$ \left( \color{blue}{k^2-2k+1}\right) \cdot \left( k^2-2k+1\right) = k^4-2k^3+k^2-2k^3+4k^2-2k+k^2-2k+1 $$ |
| ④ | Combine like terms: $$ k^4 \color{blue}{-2k^3} + \color{red}{k^2} \color{blue}{-2k^3} + \color{green}{4k^2} \color{orange}{-2k} + \color{green}{k^2} \color{orange}{-2k} +1 = k^4 \color{blue}{-4k^3} + \color{green}{6k^2} \color{orange}{-4k} +1 $$ |
| ⑤ | Multiply $ \color{blue}{k} $ by $ \left( k^4-4k^3+6k^2-4k+1\right) $ $$ \color{blue}{k} \cdot \left( k^4-4k^3+6k^2-4k+1\right) = k^5-4k^4+6k^3-4k^2+k $$ |
| ⑥ | Multiply each term of $ \left( \color{blue}{k^5-4k^4+6k^3-4k^2+k}\right) $ by each term in $ \left( k-2\right) $. $$ \left( \color{blue}{k^5-4k^4+6k^3-4k^2+k}\right) \cdot \left( k-2\right) = k^6-2k^5-4k^5+8k^4+6k^4-12k^3-4k^3+8k^2+k^2-2k $$ |
| ⑦ | Combine like terms: $$ k^6 \color{blue}{-2k^5} \color{blue}{-4k^5} + \color{red}{8k^4} + \color{red}{6k^4} \color{green}{-12k^3} \color{green}{-4k^3} + \color{orange}{8k^2} + \color{orange}{k^2} -2k = \\ = k^6 \color{blue}{-6k^5} + \color{red}{14k^4} \color{green}{-16k^3} + \color{orange}{9k^2} -2k $$ |