Algebra · real student question

Divide x^3 + x + 1 by x^2 + 2x - 3. Give the quotient and the remainder.

Question

Divide x3+x+1x^3+x+1 by x2+2x3x^2+2x-3. State the quotient and the remainder.

Step-by-step solution

  1. Notice that synthetic division is not available here. Synthetic division is a shortcut only for divisors of the form xcx-c, that is degree 11 and monic. The divisor x2+2x3x^2+2x-3 has degree 22, so the general algorithm — polynomial long division — is required. Write the dividend with all powers present:

    x3+0x2+x+1x^3+0\cdot x^2+x+1

  2. Divide the leading terms to get the first quotient term. Compare x3x^3 with x2x^2:

    x3x2=x\frac{x^3}{x^2}=x

    Multiply the whole divisor by xx and subtract:

    x3+0x2+x+1(x3+2x23x)=2x2+4x+1x^3+0x^2+x+1-\left(x^3+2x^2-3x\right)=-2x^2+4x+1

  3. Repeat on the new leading term. Now compare 2x2-2x^2 with x2x^2:

    2x2x2=2\frac{-2x^2}{x^2}=-2

    Multiply the divisor by 2-2 and subtract:

    2x2+4x+1(2x24x+6)=8x5-2x^2+4x+1-\left(-2x^2-4x+6\right)=8x-5

    Subtracting a negative is where sign errors cluster: 4x(4x)=8x4x-(-4x)=8x and 16=51-6=-5.

  4. Stop when the degree drops below the divisor. The current leftover 8x58x-5 has degree 11, which is less than the divisor degree 22, so the algorithm terminates:

    quotient=x2,remainder=8x5\text{quotient}=x-2,\qquad \text{remainder}=8x-5

    Note the remainder is a polynomial, not a number — that is normal whenever the divisor has degree 22 or more.

  5. Record and verify the result.

    x3+x+1x2+2x3=x2+8x5x2+2x3\frac{x^3+x+1}{x^2+2x-3}=x-2+\frac{8x-5}{x^2+2x-3}

    Multiplying back, (x2+2x3)(x2)=x32x2+2x24x3x+6=x37x+6(x^2+2x-3)(x-2)=x^3-2x^2+2x^2-4x-3x+6=x^3-7x+6, and x37x+6+(8x5)=x3+x+1  x^3-7x+6+(8x-5)=x^3+x+1\;\checkmark.

  6. Optional cross-check by factoring the divisor. Since x2+2x3=(x+3)(x1)x^2+2x-3=(x+3)(x-1), the remainder 8x58x-5 can be tested at the divisor roots. At x=1x=1: the dividend gives 1+1+1=31+1+1=3 and the remainder gives 85=3  8-5=3\;\checkmark. At x=3x=-3: the dividend gives 273+1=29-27-3+1=-29 and the remainder gives 245=29  -24-5=-29\;\checkmark. Two matching values pin down a degree-11 remainder completely.

Answer

x3+x+1x2+2x3=x2+8x5x2+2x3,quotient x2, remainder 8x5\frac{x^3+x+1}{x^2+2x-3}=x-2+\frac{8x-5}{x^2+2x-3},\qquad \text{quotient }x-2,\ \text{remainder }8x-5

Need to solve a different problem like this? Open the solver →