Example1. Find multiplication of `x^3-4x^2+4x-8` and `x-2`
Solution: `(x^3-4x^2+4x-8) * (x-2)`
`=x^3*(x-2)-4x^2*(x-2)+4x*(x-2)-8*(x-2)`
`=x^4-2x^3-4x^3+8x^2+4x^2-8x-8x+16`
`=color{fuchsia}{ x^4}color{maroon}{ - 2x^3}color{maroon}{ - 4x^3}color{blue}{ + 8x^2}color{blue}{ + 4x^2}color{green}{ - 8x}color{green}{ - 8x}color{red}{ + 16}`
`=color{fuchsia}{ x^4}color{maroon}{ - 6x^3}color{blue}{ + 12x^2}color{green}{ - 16x}color{red}{ + 16}`
|