Polynomial LongDivision What would be the result of $x^3-4x^2-5$ divided by $x-3$ ? I am getting $4$ as my solution can someone prove me wrong, this is very confusing.

The remainder when dividing by $x-3$ is also the polynomial evaluated at $x=3$, which is $27-4\cdot 9-5=-14$.
Indeed,
$$\begin{align}x^3-4x^2-5&=x^2\cdot(x-3)-x^2-5\\&=(x^2-x)(x-3)-3x-5\\&=(x^2-x-3)(x-3)-14\end{align}$$
