Algebra · real student question

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

Question

Divide x34x+5x^3-4x+5 by x2+2x^2+2. State the quotient and the remainder.

Step-by-step solution

  1. Write both polynomials with every power shown. The dividend has no x2x^2 term and the divisor has no xx term:

    dividend=x3+0x24x+5,divisor=x2+0x+2\text{dividend}=x^3+0x^2-4x+5,\qquad \text{divisor}=x^2+0x+2

    Because the divisor has degree 22, synthetic division does not apply and long division is the correct tool.

  2. Get the first quotient term from the leading coefficients.

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

    Multiply the divisor by xx: x(x2+2)=x3+2xx\left(x^2+2\right)=x^3+2x. Subtract it from the dividend:

    (x3+0x24x+5)(x3+0x2+2x)=6x+5\left(x^3+0x^2-4x+5\right)-\left(x^3+0x^2+2x\right)=-6x+5

  3. Check whether the algorithm can continue. The leftover 6x+5-6x+5 has degree 11, and the divisor has degree 22. Since 1<21<2 there is no further term to extract, so the process stops immediately after one step:

    quotient=x,remainder=6x+5\text{quotient}=x,\qquad \text{remainder}=-6x+5

    A single-term quotient is expected: the degrees differ by exactly one, so the quotient has degree 32=13-2=1.

  4. Write the two standard forms of the answer.

    x34x+5x2+2=x+6x+5x2+2\frac{x^3-4x+5}{x^2+2}=x+\frac{-6x+5}{x^2+2}

    x34x+5=(x2+2)x+(6x+5)x^3-4x+5=\left(x^2+2\right)x+(-6x+5)

    The second version is the identity to verify since it is fraction-free.

  5. Verify, and note what the remainder tells you. Expanding, (x2+2)x=x3+2x\left(x^2+2\right)x=x^3+2x, and x3+2x6x+5=x34x+5  x^3+2x-6x+5=x^3-4x+5\;\checkmark. Because the remainder is not zero, x2+2x^2+2 is not a factor — consistent with the fact that the roots of x2+2x^2+2 are x=±i2x=\pm i\sqrt2, and substituting x2=2x^2=-2 into the dividend gives x(2)4x+5=6x+50x\cdot(-2)-4x+5=-6x+5\ne 0, exactly the remainder.

Answer

x34x+5x2+2=x+6x+5x2+2,quotient x, remainder 6x+5\frac{x^3-4x+5}{x^2+2}=x+\frac{-6x+5}{x^2+2},\qquad \text{quotient }x,\ \text{remainder }-6x+5

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