Rewrite the expression in long division form .
Divide the first term of the dividend by the first term of the divisor
So the first term of the quotient is z3. Multiply the (z – 1) by z3 and subtract.
\Divide the first term of the next row by the first term of the divisor
So the next term of the quotient is . Multiply the (z – 1) by
and subtract.
Divide the first term of the next row by the first term of the divisor
So the next term of the quotient is . Multiply the (z – 1) by
and subtract.
The quotient is z3 – 2z2 – 4, and the remainder is 0. Therefore,
\.