# How do you divide (-x^4-x^3-x^2-7x-7)/(x-2) ?

Jan 4, 2016

Either use synthetic division or polynomial long division to get:
$\textcolor{w h i t e}{\text{XXX}} - {x}^{3} - 3 {x}^{2} - 7 x - 21$ with a remainder of $\left(- 49\right)$

#### Explanation:

I will so the solution using synthetic division (since it's faster, takes less space, and often less error prone)

{: (color(brown)("[1]"),,"|",color(brown)(x^4),color(brown)(x^3),color(white)("X")color(brown)(x^2),color(white)("XX")color(brown)(x^1),color(white)("XX")color(brown)(x^0)), (color(brown)("[2]"),,"|",-1,-1,-1,color(white)("X")-7,color(white)("X")-7), (color(brown)("[3]"),,"|",,-2,-6,-14,-42), (,bar(color(white)("XXX")),bar(color(white)("XXX")),bar(color(white)("XXX")),bar(color(white)("XXX")),bar(color(white)("XXX")),bar(color(white)("XXX")),bar(color(white)("XXX"))), (color(brown)([4]),xx (color(red)(+)2),"|",color(blue)(-1),color(blue)(-3),color(blue)(-7),color(blue)(-21), color(green)(-49)), (color(brown)([5]),,,color(white)("X")color(brown)(x^3),color(white)("X")color(brown)(x^2),color(white)("X")color(brown)(x^1),color(white)("X")color(brown)(x^0),color(white)("X")color(brown)("R")) :}

Notes:
The entries in $\textcolor{b r o w n}{\text{brown}}$ would not normally be written down; they are only here for clarity.

Remember if dividing by $\left(x \textcolor{red}{-} 2\right)$, the synthetic division multiplier must be $\left(\textcolor{red}{+} 2\right)$