Skip to main content

Division of polynomials and the division algorithm: quotient, remainder, missing terms and the identity P = DQ + R

Syllabus dot point

“Divide one polynomial by another using long division, expressing the result in the form P(x) = D(x)Q(x) + R(x) where the remainder has degree less than the divisor, handling missing terms, and writing the result in the rational form P/D = Q + R/D”

HSCMaths Extension 1Polynomials (ME-F2)16 min read

Quick answer

Polynomial long division splits a dividend P(x)P(x) by a divisor D(x)D(x) into a quotient Q(x)Q(x) and a remainder R(x)R(x) that fit the identity P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x), where the remainder has degree less than the divisor (or is zero), which is what makes them unique. At each step divide the leading term of what remains by the leading term of the divisor, multiply back, subtract, and bring down the next term, stopping once the remainder drops below the divisor's degree. Write missing powers as zero coefficients so the columns stay aligned. The same result reads as P/D=Q+R/DP/D = Q + R/D in rational form, and a zero remainder means DD is a factor of PP. Always check by expanding DQ+RDQ + R to recover PP.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Practice questions

What this dot point is asking

This is your first time dividing one polynomial by another, and the skill is the polynomial version of the long division you learned for whole numbers. When you divide 197197 by 1212 you get a quotient of 1616 and a remainder of 55, and you can write the whole story without fractions as 197=12×16+5197 = 12 \times 16 + 5. Polynomial division works the same way: you long-divide a polynomial P(x)P(x) by a divisor D(x)D(x), and you get a quotient Q(x)Q(x) and a remainder R(x)R(x) that fit together as the identity P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x). The one new rule is when to stop: you keep going until the remainder has a smaller degree than the divisor, because once it does you can no longer divide its leading term by the leading term of the divisor.

This is the Year 11 first-contact version. We reason entirely from the long-division algorithm and the P=DQ+RP = DQ + R identity. The shortcuts that let you find a remainder without dividing at all, the remainder theorem and the factor theorem, are the very next page; the applied and exam-heavy treatment that combines division with factorising lives on the Year 12 page on polynomial division and the factor theorem. Here the goal is to carry out the division itself cleanly and to read the result off in both standard and rational form.

The answer

The division algorithm: P = DQ + R

The central result mirrors integer division exactly. Where whole-number division gives a quotient and a remainder smaller than the divisor, polynomial division gives a quotient and a remainder of lower degree than the divisor.

Key fact

The division algorithm for polynomials. If P(x)P(x) (the dividend) and D(x)D(x) (the divisor) are polynomials with D(x)≠0D(x) \ne 0, then there are unique polynomials Q(x)Q(x) (the quotient) and R(x)R(x) (the remainder) such that

P(x)=D(x) Q(x)+R(x),P(x) = D(x)\,Q(x) + R(x),

where either R(x)=0R(x) = 0 or deg⁡R(x)<deg⁡D(x)\deg R(x) < \deg D(x).

When R(x)=0R(x) = 0, the divisor D(x)D(x) is a factor of P(x)P(x), and P(x)=D(x) Q(x)P(x) = D(x)\,Q(x) exactly.

The degree condition deg⁡R<deg⁡D\deg R < \deg D is not an optional tidy-up; it is what makes the quotient and remainder unique. If you stopped early and left a remainder whose degree was still as big as the divisor's, you could divide once more, so you would not yet have the true quotient. The phrase "divide until you cannot any more" means exactly "divide until the remainder has dropped below the degree of the divisor." Two quick consequences worth knowing:

  • Dividing by a linear divisor (degree 11) always leaves a remainder of degree less than 11, that is, a constant (possibly zero).
  • Dividing by a quadratic divisor (degree 22) leaves a remainder that is linear or constant, of the form rx+srx + s.

The long-division method, step by step

The mechanics are a four-move cycle, repeated until the remainder is small enough. Lay the dividend out with its terms in descending powers, set the divisor to the left, and at each pass:

  1. Divide the leading term of what remains by the leading term of the divisor. This single term goes into the quotient, above its matching power column.
  2. Multiply the whole divisor by that quotient term.
  3. Subtract the product from the current dividend. The leading terms cancel by design, dropping the degree by one.
  4. Bring down the next term and repeat, until the running remainder has degree less than the divisor.

The reason the leading terms always cancel is the point of step 1: you chose the quotient term precisely so that, when multiplied by the divisor's leading term, it reproduces the leading term you are trying to remove. Every pass therefore kills the current highest power, and the working marches steadily down through the degrees.

Exam technique

Markers reward a clean, column-aligned division that ends in the requested form. Lock in the marks like this:

  • Keep one column per power. Write x3x^3, x2x^2, xx and the constant in fixed columns and never let them drift. A misaligned subtraction is the single biggest source of lost marks here.
  • Insert missing terms as 00. If a power is absent from the dividend (or divisor), write it with a zero coefficient, for example x4+0x3+0x2+0x+1x^4 + 0x^3 + 0x^2 + 0x + 1, so nothing slips into the wrong column.
  • Subtract, do not add. Each pass subtracts the product, so flip the signs carefully; sign slips in the subtraction are the second most common error.
  • Stop at deg⁡R<deg⁡D\deg R < \deg D, then state the form asked for. If the question says "express in the form P=DQ+RP = DQ + R", write that line; if it asks for rational form, write P/D=Q+R/DP/D = Q + R/D. Do not leave the answer as a half-finished tableau.
  • Always check by reconstruction. Expand D×QD \times Q, add RR, and confirm you recover PP exactly. It is fast and it catches every arithmetic slip.

Handling missing terms

A polynomial like x4+1x^4 + 1 has no x3x^3, x2x^2 or xx term, and a dividend with gaps is where divisions go wrong, because a term can silently land in the wrong column. There are two equivalent safeguards, and you should pick one and use it every time:

  • Insert zero coefficients. Rewrite x4+1x^4 + 1 as x4+0x3+0x2+0x+1x^4 + 0x^3 + 0x^2 + 0x + 1. Now every column has an entry and the subtractions line up automatically. This is the more reliable choice and the one used throughout this page.
  • Leave a gap for the missing column. Write nothing in that column but keep the spacing, so later terms still fall under the right power.

The same applies to a divisor with a missing term: treat x2+1x^2 + 1 as x2+0x+1x^2 + 0x + 1 so that, when you multiply and subtract, the middle column is handled rather than skipped.

Writing the result in rational form

The identity P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x) can be divided through by D(x)D(x) to express the original fraction as a polynomial plus a proper remainder fraction:

Formula

P(x)D(x)=Q(x)+R(x)D(x),deg⁡R<deg⁡D.\frac{P(x)}{D(x)} = Q(x) + \frac{R(x)}{D(x)}, \qquad \deg R < \deg D.

This is the polynomial echo of writing 19712=16+512\tfrac{197}{12} = 16 + \tfrac{5}{12} (or the mixed number 1651216\tfrac{5}{12}). The quotient Q(x)Q(x) is the "whole" part and R(x)D(x)\dfrac{R(x)}{D(x)} is the leftover proper fraction, called proper because the degree of its top is less than the degree of its bottom. This form is the one you want for sketching rational functions and, later, for integration, because it splits a hard fraction into an easy polynomial plus a small remainder. A question may ask for either form, so be ready to convert: multiply the rational form through by D(x)D(x) to get back the standard identity, or divide the standard identity by D(x)D(x) to get the rational form.

Verifying by reconstruction

The single best habit in this topic is to check every division by rebuilding the dividend. Because the algorithm guarantees P=DQ+RP = DQ + R, you can expand D(x)×Q(x)D(x) \times Q(x), add R(x)R(x), and you must recover P(x)P(x) term for term. If you do not, there is an arithmetic slip somewhere in the tableau. This check is quick, it is self-marking, and it turns a topic that is easy to fumble into one you can be certain about. Every worked example and practice solution on this page ends with this reconstruction.

A worked long-division tableau

Here is the full layout for dividing x3−2x2−5x+9x^3 - 2x^2 - 5x + 9 by x−3x - 3. The quotient sits above the bar in its power columns, each step subtracts a multiple of the divisor, and the final remainder is at the foot.

Long-division tableau for a cubic divided by a linear divisorThe polynomial x cubed minus two x squared minus five x plus nine is divided by x minus three. The quotient x squared plus x minus two sits above the bar, aligned by power; each step subtracts a multiple of the divisor and brings down the next term, leaving the final remainder three. x² + x − 2 x − 3 x³ − 2x² − 5x + 9 x³ − 3x² x² − 5x + 9 x² − 3x − 2x + 9 − 2x + 6 3 remainder

Reading off the tableau, the quotient is x2+x−2x^2 + x - 2 and the remainder is 33, so

x3−2x2−5x+9=(x−3)(x2+x−2)+3.x^3 - 2x^2 - 5x + 9 = (x - 3)(x^2 + x - 2) + 3.

Building the tableau stage by stage

The same division, shown one cycle at a time. At each stage the newest quotient term and its subtraction are picked out in accent; earlier work is left in plain type. Build your own divisions in exactly this rhythm.

Stage 1, divide and subtract the leading terms. Divide x3x^3 by xx to get x2x^2, the first quotient term. Multiply the divisor: x2(x−3)=x3−3x2x^2(x - 3) = x^3 - 3x^2. Subtract this from the dividend; the x3x^3 terms cancel and you are left with x2−5x+9x^2 - 5x + 9 (the −5x-5x and +9+9 brought straight down).

Long-division stage 1Stage 1: divide the leading terms, multiply back and subtract. Stage 1 x − 3 x³ − 2x² − 5x + 9 x² x³ − 3x² x² − 5x + 9 Divide the leading terms x³ ÷ x = x², multiply back and subtract.

Stage 2, repeat on the new leading term. Divide x2x^2 by xx to get xx, the next quotient term. Multiply: x(x−3)=x2−3xx(x - 3) = x^2 - 3x. Subtract; the x2x^2 terms cancel and the running remainder becomes −2x+9-2x + 9.

Long-division stage 2Stage 2: divide again, subtract and bring down the next term. Stage 2 x − 3 x³ − 2x² − 5x + 9 x² + x x³ − 3x² x² − 5x + 9 x² − 3x − 2x + 9 Divide x² ÷ x = x, multiply back, subtract, bring down.

Stage 3, the last subtraction leaves the remainder. Divide −2x-2x by xx to get −2-2, the final quotient term. Multiply: −2(x−3)=−2x+6-2(x - 3) = -2x + 6. Subtract; the xx terms cancel and you are left with 33. Its degree is 00, less than deg⁡(x−3)=1\deg(x - 3) = 1, so the division stops. The completed quotient is x2+x−2x^2 + x - 2 with remainder 33.

Long-division stage 3Stage 3: the final subtraction leaves the constant remainder. Stage 3 x − 3 x³ − 2x² − 5x + 9 x² + x − 2 x³ − 3x² x² − 5x + 9 x² − 3x − 2x + 9 − 2x + 6 3 remainder Divide −2x ÷ x = −2; the last subtraction leaves remainder 3.

How exam questions ask about polynomial division

The wording is predictable once you map it to the algorithm.

  • "Use long division to divide P(x)P(x) by D(x)D(x), expressing the result in the form P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x)." Run the four-move cycle, stop at deg⁡R<deg⁡D\deg R < \deg D, and write the identity line explicitly. State Q(x)Q(x) and R(x)R(x) clearly.
  • "Write the result in the form PD=Q+RD\dfrac{P}{D} = Q + \dfrac{R}{D}." Do the same division, then divide the identity through by D(x)D(x). The leftover fraction RD\dfrac{R}{D} must be proper (deg⁡R<deg⁡D\deg R < \deg D).
  • "Find the quotient and remainder when P(x)P(x) is divided by D(x)D(x)." Just name Q(x)Q(x) and R(x)R(x) from the tableau; you do not always need the full identity line, but writing it is a safe, mark-earning check.
  • "Show that D(x)D(x) is a factor of P(x)P(x)" or "P(x)P(x) is divisible by D(x)D(x)." Divide and show the remainder is 00; then P(x)=D(x)Q(x)P(x) = D(x)Q(x), and you can quote the quotient as the cofactor.
  • "Find aa and bb so that P(x)P(x) is exactly divisible by D(x)D(x)." Either divide and set the remainder (which will contain aa and bb) to zero, or write P=D×QP = D \times Q with an unknown quotient and equate coefficients. Both are reliable; equating coefficients is often faster for a clean divisor.
  • "What are the possible degrees of the remainder on division by a cubic?" Use deg⁡R<deg⁡D\deg R < \deg D: a cubic divisor (deg⁡3\deg 3) forces the remainder to have degree 00, 11 or 22 (or be zero).
Worked example

Divide a cubic by a linear divisor and write the identity

Divide P(x)=x3−2x2−5x+9P(x) = x^3 - 2x^2 - 5x + 9 by D(x)=x−3D(x) = x - 3, and express the result in the form P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x).

Set up
Every power from x3x^3 to the constant is present, so no zero fillers are needed. Lay the terms out in descending powers.
First pass
Divide the leading terms, x3÷x=x2x^3 \div x = x^2. Multiply the divisor by x2x^2: x2(x−3)=x3−3x2x^2(x - 3) = x^3 - 3x^2. Subtract from the dividend; the x3x^3 cancels and the working becomes x2−5x+9x^2 - 5x + 9.
Second pass
Divide x2÷x=xx^2 \div x = x. Multiply: x(x−3)=x2−3xx(x - 3) = x^2 - 3x. Subtract; the x2x^2 cancels, leaving −2x+9-2x + 9.
Third pass
Divide −2x÷x=−2-2x \div x = -2. Multiply: −2(x−3)=−2x+6-2(x - 3) = -2x + 6. Subtract; the xx cancels, leaving 33.
Stop and read off
The remainder 33 has degree 0<deg⁡(x−3)=10 < \deg(x - 3) = 1, so the division is finished. The quotient is Q(x)=x2+x−2Q(x) = x^2 + x - 2 and the remainder is R(x)=3R(x) = 3. Hence

x3−2x2−5x+9=(x−3)(x2+x−2)+3.x^3 - 2x^2 - 5x + 9 = (x - 3)(x^2 + x - 2) + 3.

Check by reconstruction. (x−3)(x2+x−2)=x3+x2−2x−3x2−3x+6=x3−2x2−5x+6(x - 3)(x^2 + x - 2) = x^3 + x^2 - 2x - 3x^2 - 3x + 6 = x^3 - 2x^2 - 5x + 6, and adding R=3R = 3 gives x3−2x2−5x+9=P(x)x^3 - 2x^2 - 5x + 9 = P(x). The identity holds.


Divide a dividend with missing terms by a linear divisor

Divide P(x)=x4+1P(x) = x^4 + 1 by D(x)=x+1D(x) = x + 1. This dividend has gaps, so manage them carefully.

Insert zero coefficients
Write the dividend as x4+0x3+0x2+0x+1x^4 + 0x^3 + 0x^2 + 0x + 1 so that every column is filled and nothing slips sideways.
First pass
x4÷x=x3x^4 \div x = x^3. Multiply: x3(x+1)=x4+x3x^3(x + 1) = x^4 + x^3. Subtract; the x4x^4 cancels, leaving −x3+0x2+0x+1-x^3 + 0x^2 + 0x + 1.
Second pass
−x3÷x=−x2-x^3 \div x = -x^2. Multiply: −x2(x+1)=−x3−x2-x^2(x + 1) = -x^3 - x^2. Subtract; the x3x^3 cancels, leaving x2+0x+1x^2 + 0x + 1.
Third pass
x2÷x=xx^2 \div x = x. Multiply: x(x+1)=x2+xx(x + 1) = x^2 + x. Subtract; the x2x^2 cancels, leaving −x+1-x + 1.
Fourth pass
−x÷x=−1-x \div x = -1. Multiply: −1(x+1)=−x−1-1(x + 1) = -x - 1. Subtract; the xx cancels, leaving 22.
Read off
The remainder 22 has degree 00, so the division stops. The quotient is Q(x)=x3−x2+x−1Q(x) = x^3 - x^2 + x - 1 and R(x)=2R(x) = 2, giving

x4+1=(x+1)(x3−x2+x−1)+2.x^4 + 1 = (x + 1)(x^3 - x^2 + x - 1) + 2.

Check by reconstruction. (x+1)(x3−x2+x−1)=x4−x3+x2−x+x3−x2+x−1=x4−1(x + 1)(x^3 - x^2 + x - 1) = x^4 - x^3 + x^2 - x + x^3 - x^2 + x - 1 = x^4 - 1, and adding R=2R = 2 gives x4+1=P(x)x^4 + 1 = P(x). Correct.


Divide by a quadratic divisor, both forms

Divide P(x)=2x4−3x3+x−5P(x) = 2x^4 - 3x^3 + x - 5 by D(x)=x2−x+2D(x) = x^2 - x + 2, and give the answer in both the standard and the rational form.

Watch the missing term
The dividend has no x2x^2 term, so read it as 2x4−3x3+0x2+x−52x^4 - 3x^3 + 0x^2 + x - 5. The divisor is complete.
First pass
Divide leading terms, 2x4÷x2=2x22x^4 \div x^2 = 2x^2. Multiply: 2x2(x2−x+2)=2x4−2x3+4x22x^2(x^2 - x + 2) = 2x^4 - 2x^3 + 4x^2. Subtract; the x4x^4 cancels, leaving −x3−4x2+x−5-x^3 - 4x^2 + x - 5.
Second pass
−x3÷x2=−x-x^3 \div x^2 = -x. Multiply: −x(x2−x+2)=−x3+x2−2x-x(x^2 - x + 2) = -x^3 + x^2 - 2x. Subtract; the x3x^3 cancels, leaving −5x2+3x−5-5x^2 + 3x - 5.
Third pass
−5x2÷x2=−5-5x^2 \div x^2 = -5. Multiply: −5(x2−x+2)=−5x2+5x−10-5(x^2 - x + 2) = -5x^2 + 5x - 10. Subtract; the x2x^2 cancels, leaving −2x+5-2x + 5.
Stop at the degree condition
The remainder −2x+5-2x + 5 has degree 1<deg⁡D=21 < \deg D = 2, so the division is complete. The quotient is Q(x)=2x2−x−5Q(x) = 2x^2 - x - 5 and R(x)=−2x+5R(x) = -2x + 5.
Standard form

2x4−3x3+x−5=(x2−x+2)(2x2−x−5)+(−2x+5).2x^4 - 3x^3 + x - 5 = (x^2 - x + 2)(2x^2 - x - 5) + (-2x + 5).

Rational form. Dividing through by D(x)D(x),

2x4−3x3+x−5x2−x+2=2x2−x−5+−2x+5x2−x+2.\frac{2x^4 - 3x^3 + x - 5}{x^2 - x + 2} = 2x^2 - x - 5 + \frac{-2x + 5}{x^2 - x + 2}.

Check by reconstruction. (x2−x+2)(2x2−x−5)=2x4−x3−5x2−2x3+x2+5x+4x2−2x−10=2x4−3x3+0x2+3x−10(x^2 - x + 2)(2x^2 - x - 5) = 2x^4 - x^3 - 5x^2 - 2x^3 + x^2 + 5x + 4x^2 - 2x - 10 = 2x^4 - 3x^3 + 0x^2 + 3x - 10. Adding R=−2x+5R = -2x + 5 gives 2x4−3x3+x−5=P(x)2x^4 - 3x^3 + x - 5 = P(x). The identity holds.


Use a zero remainder to factorise

Divide P(x)=x3+2x2−11x−12P(x) = x^3 + 2x^2 - 11x - 12 by D(x)=x−3D(x) = x - 3, and use the result to write P(x)P(x) as a product.

Divide
x3÷x=x2x^3 \div x = x^2; x2(x−3)=x3−3x2x^2(x - 3) = x^3 - 3x^2, leaving 5x2−11x−125x^2 - 11x - 12. Then 5x2÷x=5x5x^2 \div x = 5x; 5x(x−3)=5x2−15x5x(x - 3) = 5x^2 - 15x, leaving 4x−124x - 12. Then 4x÷x=44x \div x = 4; 4(x−3)=4x−124(x - 3) = 4x - 12, leaving 00.
Interpret the zero remainder
The remainder is 00, so x−3x - 3 is a factor and P(x)=(x−3)(x2+5x+4)P(x) = (x - 3)(x^2 + 5x + 4).
Factor the quotient further
The quadratic factors as x2+5x+4=(x+1)(x+4)x^2 + 5x + 4 = (x + 1)(x + 4), so

x3+2x2−11x−12=(x−3)(x+1)(x+4).x^3 + 2x^2 - 11x - 12 = (x - 3)(x + 1)(x + 4).

Check by reconstruction. (x−3)(x2+5x+4)=x3+5x2+4x−3x2−15x−12=x3+2x2−11x−12=P(x)(x - 3)(x^2 + 5x + 4) = x^3 + 5x^2 + 4x - 3x^2 - 15x - 12 = x^3 + 2x^2 - 11x - 12 = P(x). (Long division is the engine that turns one known factor into a full factorisation; the factor theorem is how you find that first factor without dividing.)

Common traps
Skipping a missing power
Leaving out the 0x20x^2 in a dividend like x4+1x^4 + 1 shifts later terms into the wrong column and corrupts every subtraction below it. Always write the gaps as zero coefficients (or leave a clear blank column).
Adding instead of subtracting
Each pass subtracts the product of the divisor and the new quotient term. Forgetting to flip every sign, especially on a negative quotient term, is the classic slip; bracket the product and subtract the whole bracket.
Stopping too early or too late
Keep dividing while the running remainder still has degree at least that of the divisor, and stop the instant it drops below. A "remainder" of the same degree as the divisor means you have not finished.
Misreading the quotient term's degree
The quotient term is the leading term of the remainder divided by the leading term of the divisor; line it up above the matching power column. Putting it in the wrong column scrambles the multiply-and-subtract.
Quoting the remainder as a fraction in the standard form
In P=DQ+RP = DQ + R the remainder R(x)R(x) is a polynomial (here a constant or a linear expression), not a fraction. The fraction RD\dfrac{R}{D} only appears in the rational form.
Exam technique

A few habits separate a full-mark division from a fumbled one:

  • Rewrite with zero coefficients before you start. Spend two seconds turning x4+1x^4 + 1 into x4+0x3+0x2+0x+1x^4 + 0x^3 + 0x^2 + 0x + 1; it removes the single biggest error in the topic.
  • Work in clean columns. One power per column, quotient terms above their columns, products lined up directly under what they cancel. Neatness here is correctness.
  • Announce the stop. Write a short note like "remainder has degree 1<1 < degree of divisor, so stop" to show the marker you applied the rule deliberately.
  • Give exactly the form requested. Standard P=DQ+RP = DQ + R, or rational P/D=Q+R/DP/D = Q + R/D; convert between them by multiplying or dividing by D(x)D(x).
  • End with the reconstruction check. Expand DQ+RDQ + R and confirm it equals PP. It is the fastest insurance against arithmetic slips and costs almost nothing.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation3 marks
Use long division to divide P(x)=x3+4x2−7x−3P(x) = x^3 + 4x^2 - 7x - 3 by D(x)=x−1D(x) = x - 1, and write the result in the form P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x).
Show worked solution →
Set up the division
All powers from x3x^3 down to the constant are present, so no gaps are needed. Divide leading term by leading term at each step.
Divide, multiply back, subtract, bring down
x3÷x=x2x^3 \div x = x^2; then x2(x−1)=x3−x2x^2(x - 1) = x^3 - x^2, and subtracting leaves 5x2−7x5x^2 - 7x. Next 5x2÷x=5x5x^2 \div x = 5x; then 5x(x−1)=5x2−5x5x(x - 1) = 5x^2 - 5x, and subtracting leaves −2x−3-2x - 3. Finally −2x÷x=−2-2x \div x = -2; then −2(x−1)=−2x+2-2(x - 1) = -2x + 2, and subtracting leaves the remainder −5-5.
Read off the quotient and remainder
The quotient is Q(x)=x2+5x−2Q(x) = x^2 + 5x - 2 and the remainder is R(x)=−5R(x) = -5, a constant of degree 00, which is less than deg⁡D=1\deg D = 1 as required.
Write the identity

x3+4x2−7x−3=(x−1)(x2+5x−2)−5.x^3 + 4x^2 - 7x - 3 = (x - 1)(x^2 + 5x - 2) - 5.

Check by reconstruction. Expanding, (x−1)(x2+5x−2)=x3+5x2−2x−x2−5x+2=x3+4x2−7x+2(x - 1)(x^2 + 5x - 2) = x^3 + 5x^2 - 2x - x^2 - 5x + 2 = x^3 + 4x^2 - 7x + 2, and adding R=−5R = -5 gives x3+4x2−7x−3=P(x)x^3 + 4x^2 - 7x - 3 = P(x). The identity holds.

foundation3 marks
Divide P(x)=x3−8P(x) = x^3 - 8 by D(x)=x−2D(x) = x - 2. State the quotient and remainder, and say what the zero remainder tells you about x−2x - 2.
Show worked solution →
Insert the missing terms
Only x3x^3 and the constant appear, so write the dividend with zero coefficients to keep the columns aligned: x3+0x2+0x−8x^3 + 0x^2 + 0x - 8.
Carry out the division
x3÷x=x2x^3 \div x = x^2; x2(x−2)=x3−2x2x^2(x - 2) = x^3 - 2x^2, leaving 2x2+0x−82x^2 + 0x - 8. Then 2x2÷x=2x2x^2 \div x = 2x; 2x(x−2)=2x2−4x2x(x - 2) = 2x^2 - 4x, leaving 4x−84x - 8. Then 4x÷x=44x \div x = 4; 4(x−2)=4x−84(x - 2) = 4x - 8, leaving 00.
State the result
The quotient is Q(x)=x2+2x+4Q(x) = x^2 + 2x + 4 and the remainder is R(x)=0R(x) = 0, so

x3−8=(x−2)(x2+2x+4).x^3 - 8 = (x - 2)(x^2 + 2x + 4).

Interpret the zero remainder. Because the remainder is zero, x−2x - 2 is a factor of x3−8x^3 - 8, and the division has factorised the dividend exactly. (This is the difference-of-cubes pattern a3−b3=(a−b)(a2+ab+b2)a^3 - b^3 = (a - b)(a^2 + ab + b^2) with b=2b = 2.)

Check by reconstruction. (x−2)(x2+2x+4)=x3+2x2+4x−2x2−4x−8=x3−8=P(x)(x - 2)(x^2 + 2x + 4) = x^3 + 2x^2 + 4x - 2x^2 - 4x - 8 = x^3 - 8 = P(x).

core4 marks
Divide P(x)=x4−2x3+3x2−x+5P(x) = x^4 - 2x^3 + 3x^2 - x + 5 by the quadratic D(x)=x2+1D(x) = x^2 + 1. Express the answer in both the form P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x) and the rational form P(x)D(x)=Q(x)+R(x)D(x)\dfrac{P(x)}{D(x)} = Q(x) + \dfrac{R(x)}{D(x)}.
Show worked solution →
Note the missing term in the divisor
Write D(x)=x2+0x+1D(x) = x^2 + 0x + 1 so the middle column is accounted for when you subtract. The dividend already has every power present.
Divide leading term by leading term
x4÷x2=x2x^4 \div x^2 = x^2; then x2(x2+1)=x4+x2x^2(x^2 + 1) = x^4 + x^2, and subtracting from x4−2x3+3x2−x+5x^4 - 2x^3 + 3x^2 - x + 5 leaves −2x3+2x2−x+5-2x^3 + 2x^2 - x + 5.
Repeat
−2x3÷x2=−2x-2x^3 \div x^2 = -2x; then −2x(x2+1)=−2x3−2x-2x(x^2 + 1) = -2x^3 - 2x, and subtracting leaves 2x2+x+52x^2 + x + 5. Then 2x2÷x2=22x^2 \div x^2 = 2; then 2(x2+1)=2x2+22(x^2 + 1) = 2x^2 + 2, and subtracting leaves x+3x + 3.
Stop at the right point
The remainder x+3x + 3 has degree 11, which is less than deg⁡D=2\deg D = 2, so the division is complete. The quotient is Q(x)=x2−2x+2Q(x) = x^2 - 2x + 2 and R(x)=x+3R(x) = x + 3.
Write both forms

x4−2x3+3x2−x+5=(x2+1)(x2−2x+2)+(x+3),x^4 - 2x^3 + 3x^2 - x + 5 = (x^2 + 1)(x^2 - 2x + 2) + (x + 3),

x4−2x3+3x2−x+5x2+1=x2−2x+2+x+3x2+1.\frac{x^4 - 2x^3 + 3x^2 - x + 5}{x^2 + 1} = x^2 - 2x + 2 + \frac{x + 3}{x^2 + 1}.

Check by reconstruction. (x2+1)(x2−2x+2)=x4−2x3+2x2+x2−2x+2=x4−2x3+3x2−2x+2(x^2 + 1)(x^2 - 2x + 2) = x^4 - 2x^3 + 2x^2 + x^2 - 2x + 2 = x^4 - 2x^3 + 3x^2 - 2x + 2, and adding R=x+3R = x + 3 gives x4−2x3+3x2−x+5=P(x)x^4 - 2x^3 + 3x^2 - x + 5 = P(x).

core4 marks
Divide P(x)=2x4−3x2+5P(x) = 2x^4 - 3x^2 + 5 by D(x)=x+2D(x) = x + 2. Take care with the missing terms, and write the result in the form P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x).
Show worked solution →
Fill the gaps with zeroes
Two powers are missing, so write the dividend as 2x4+0x3−3x2+0x+52x^4 + 0x^3 - 3x^2 + 0x + 5. Skipping a column here is the most common way to get a polynomial division wrong.
Divide step by step
2x4÷x=2x32x^4 \div x = 2x^3; 2x3(x+2)=2x4+4x32x^3(x + 2) = 2x^4 + 4x^3, leaving −4x3−3x2+0x+5-4x^3 - 3x^2 + 0x + 5. Then −4x3÷x=−4x2-4x^3 \div x = -4x^2; −4x2(x+2)=−4x3−8x2-4x^2(x + 2) = -4x^3 - 8x^2, leaving 5x2+0x+55x^2 + 0x + 5. Then 5x2÷x=5x5x^2 \div x = 5x; 5x(x+2)=5x2+10x5x(x + 2) = 5x^2 + 10x, leaving −10x+5-10x + 5. Then −10x÷x=−10-10x \div x = -10; −10(x+2)=−10x−20-10(x + 2) = -10x - 20, leaving 2525.
State the result
The quotient is Q(x)=2x3−4x2+5x−10Q(x) = 2x^3 - 4x^2 + 5x - 10 and the remainder is R(x)=25R(x) = 25, a constant, so

2x4−3x2+5=(x+2)(2x3−4x2+5x−10)+25.2x^4 - 3x^2 + 5 = (x + 2)(2x^3 - 4x^2 + 5x - 10) + 25.

Check by reconstruction. (x+2)(2x3−4x2+5x−10)=2x4−4x3+5x2−10x+4x3−8x2+10x−20=2x4−3x2−20(x + 2)(2x^3 - 4x^2 + 5x - 10) = 2x^4 - 4x^3 + 5x^2 - 10x + 4x^3 - 8x^2 + 10x - 20 = 2x^4 - 3x^2 - 20, and adding R=25R = 25 gives 2x4−3x2+5=P(x)2x^4 - 3x^2 + 5 = P(x).

exam5 marks
The polynomial P(x)=x4+ax3−3x2+bx+6P(x) = x^4 + ax^3 - 3x^2 + bx + 6 is exactly divisible by x2+2x−3x^2 + 2x - 3. Find the values of aa and bb, and state the quotient.
Show worked solution →

Use the meaning of exact divisibility. Exactly divisible means the remainder is zero, so P(x)=(x2+2x−3) Q(x)P(x) = (x^2 + 2x - 3)\,Q(x) for some quotient Q(x)Q(x). Since PP has degree 44 and the divisor has degree 22, the quotient is a monic quadratic; write Q(x)=x2+cx+dQ(x) = x^2 + cx + d.

Expand the product.

(x2+2x−3)(x2+cx+d)=x4+(c+2)x3+(d+2c−3)x2+(2d−3c)x−3d.(x^2 + 2x - 3)(x^2 + cx + d) = x^4 + (c + 2)x^3 + (d + 2c - 3)x^2 + (2d - 3c)x - 3d.

Equate coefficients with P(x)P(x). Matching x4+ax3−3x2+bx+6x^4 + ax^3 - 3x^2 + bx + 6 term by term:

  • constant: −3d=6-3d = 6, so d=−2d = -2;
  • coefficient of x2x^2: d+2c−3=−3d + 2c - 3 = -3, so d+2c=0d + 2c = 0, giving 2c=22c = 2 and c=1c = 1;
  • coefficient of x3x^3: c+2=ac + 2 = a, so a=3a = 3;
  • coefficient of xx: 2d−3c=b2d - 3c = b, so b=2(−2)−3(1)=−7b = 2(-2) - 3(1) = -7.

State the answer. a=3a = 3, b=−7b = -7, and the quotient is Q(x)=x2+x−2Q(x) = x^2 + x - 2, so

x4+3x3−3x2−7x+6=(x2+2x−3)(x2+x−2).x^4 + 3x^3 - 3x^2 - 7x + 6 = (x^2 + 2x - 3)(x^2 + x - 2).

Check by reconstruction. (x2+2x−3)(x2+x−2)=x4+x3−2x2+2x3+2x2−4x−3x2−3x+6=x4+3x3−3x2−7x+6(x^2 + 2x - 3)(x^2 + x - 2) = x^4 + x^3 - 2x^2 + 2x^3 + 2x^2 - 4x - 3x^2 - 3x + 6 = x^4 + 3x^3 - 3x^2 - 7x + 6, which matches P(x)P(x) with a=3a = 3 and b=−7b = -7. (Long-dividing PP by x2+2x−3x^2 + 2x - 3 gives the same quotient x2+x−2x^2 + x - 2 with remainder 00.)

Practise this

Sources & how we know this

ExamExplained