Detailed description
A long division: x cubed − 4 x squared + 2x + 3 divided by x − 3. The first line of calculation shows x cubed − 3 x squared and this is subtracted from the original polynomial to give −x squared + 2x + 3. Then −x squared + 3x is subtracted from this to give −x + 3. Finally −x + 3 is subtracted from this to give 0.