Skip to main content
NSWMaths Extension 1Syllabus dot point

How can the remainder and factor theorems tell us the result of a division, and even fully factor a polynomial, without carrying out the long division?

Use the remainder theorem (the remainder on division by x - a is P(a)) and the factor theorem ((x - a) is a factor if and only if P(a) = 0), test divisors of the constant term to locate integer zeroes, and combine these with division to find unknown coefficients and to fully factor a polynomial

A first-contact answer to the HSC Maths Extension 1 dot point on the remainder and factor theorems. The remainder on division by (x - a) is P(a); (x - a) is a factor exactly when P(a) = 0; an integer zero must divide the constant term. Find remainders without dividing, find unknown coefficients, and fully factor a cubic, with worked examples.

Generated by Claude Opus 4.817 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

On the previous page you divided one polynomial by another with the full long-division tableau, and you saw that the remainder appears at the foot of the working. That is reliable but slow, and for the most common case, a linear divisor xβˆ’ax - a, there is a shortcut that gets the remainder in a single line. The remainder theorem says that the remainder on dividing P(x)P(x) by xβˆ’ax - a is simply P(a)P(a), the value of the polynomial at x=ax = a. From that one idea everything else on this page follows: the factor theorem (a divisor leaves no remainder exactly when that value is zero), a quick test for which whole numbers could possibly be zeroes, and a clean method to factor a cubic or quartic by hand.

This is the Year 11 first-contact version, reasoned from the division algorithm P(x)=D(x)Q(x)+R(x)P(x) = D(x)Q(x) + R(x) you have already met. The applied, exam-heavy treatment that leans on these theorems lives on the Year 12 page on polynomial division and the factor theorem, and the link from factors to the sum and product of roots is developed at roots and coefficients. Here the goal is to make these two theorems automatic and to use them to factor a polynomial without grinding through repeated long divisions.

The answer

The remainder theorem

Start from the division algorithm with a linear divisor. Dividing P(x)P(x) by xβˆ’ax - a gives a quotient Q(x)Q(x) and a remainder whose degree is less than 11, that is, a constant rr:

P(x)=(xβˆ’a) Q(x)+r.P(x) = (x - a)\,Q(x) + r.

This identity is true for every value of xx, so substitute the one value that kills the quotient term. Putting x=ax = a makes the bracket (aβˆ’a)=0(a - a) = 0, and the whole (xβˆ’a)Q(x)(x - a)Q(x) piece vanishes, leaving P(a)=rP(a) = r. The remainder is exactly P(a)P(a).

The power of this is that a four-line tableau collapses into one substitution. On the previous page the long division of x3βˆ’2x2βˆ’5x+9x^3 - 2x^2 - 5x + 9 by xβˆ’3x - 3 ended with remainder 33. The remainder theorem gets the same number immediately:

P(3)=33βˆ’2(3)2βˆ’5(3)+9=27βˆ’18βˆ’15+9=3.P(3) = 3^3 - 2(3)^2 - 5(3) + 9 = 27 - 18 - 15 + 9 = 3.

The two methods agree, as they must, because P(a)P(a) is the remainder. Long division still earns its keep when you also need the quotient (for example, to finish a factorisation), but for the remainder alone, substitution wins every time.

The factor theorem

A remainder of zero is special: it means the divisor goes in exactly, so xβˆ’ax - a is a factor of P(x)P(x). Combine that with the remainder theorem, which says the remainder is P(a)P(a), and you get a one-step test for factors.

This is the bridge between the two ways of describing a polynomial, its zeroes (where the graph meets the xx-axis) and its factors (how it splits into a product). Every zero x=ax = a corresponds to a factor xβˆ’ax - a, and vice versa, which is the engine behind factoring by hand and behind reading a factored form straight off a graph (developed at graphs of polynomials and multiplicity).

The integer-zero test: which numbers to try

The factor theorem gives a test for a given number, but it does not say which numbers to try. For a polynomial with integer coefficients there is a sharp restriction that cuts the search to a short list.

The reason is short. Suppose x=kx = k is an integer zero of P(x)=anxn+β‹―+a1x+a0P(x) = a_n x^n + \dots + a_1 x + a_0. Then

ankn+anβˆ’1knβˆ’1+β‹―+a1k+a0=0,a_n k^n + a_{n-1}k^{n-1} + \dots + a_1 k + a_0 = 0,

so a0=βˆ’k(anknβˆ’1+β‹―+a1)a_0 = -k\left(a_n k^{n-1} + \dots + a_1\right). Every term on the right has a factor of kk, so kk divides a0a_0. An integer zero therefore cannot be anything except a divisor of the constant term, which is why you only ever test those divisors. (This is the integer case of the wider rational-root idea: a rational zero pq\tfrac{p}{q} in lowest terms has pp dividing the constant term and qq dividing the leading coefficient. For a monic polynomial q=1q = 1, so the only rational zeroes are integers dividing a0a_0.)

So to start factoring x3βˆ’4x2+x+6x^3 - 4x^2 + x + 6 you do not guess wildly: the constant term is 66, so the only possible integer zeroes are Β±1,Β±2,Β±3,Β±6\pm 1, \pm 2, \pm 3, \pm 6. You test those eight numbers with the remainder theorem until one gives zero.

Testing the divisors of the constant termA four step flow for factoring x cubed minus four x squared plus x plus six. Step one reads off the constant term six. Step two lists the integer divisors plus or minus one, two, three, six. Step three evaluates P at each divisor and finds P of minus one equals zero. Step four concludes that x plus one is a factor, to be divided out. Step 1 Β· read the constant term P(x) = xΒ³ βˆ’ 4xΒ² + x + 6   β†’   constant 6 Step 2 Β· list integer divisors of 6 Β±1,   Β±2,   Β±3,   Β±6 Step 3 Β· test each with the remainder theorem until P(a) = 0 P(1) = 4 P(βˆ’1) = 0 first zero found at x = βˆ’1 Step 4 Β· the factor theorem gives a factor (x + 1) is a factor β†’ divide it out Any integer zero must divide the constant term, so only these eight numbers can work.

Fully factoring a polynomial

Putting the three ideas together gives a dependable hand method for factoring a cubic or quartic that does not factor by inspection:

  1. List the candidates. Write down the divisors of the constant term (both signs). These are the only possible integer zeroes.
  2. Find one zero. Test the candidates with the remainder theorem until some P(a)=0P(a) = 0. By the factor theorem, xβˆ’ax - a is then a factor.
  3. Divide it out. Long-divide P(x)P(x) by xβˆ’ax - a to get P(x)=(xβˆ’a)Q(x)P(x) = (x - a)Q(x), dropping the degree by one.
  4. Repeat or finish. Factor the quotient Q(x)Q(x): if it is a quadratic, use the usual methods (or the quadratic formula); if it is still a cubic, repeat the search on Q(x)Q(x). Stop when you have a product of linear factors and, if any quadratic factor has a negative discriminant, leave that quadratic as an irreducible factor over the reals.

Each pass turns one zero into one linear factor and shrinks the problem, so a cubic takes one division and a quartic at most two. The division step is exactly the long division from the previous page; the new content here is using the theorems to find that first factor without trial division.

Handling a non-monic linear factor

A factor like 2xβˆ’12x - 1 is linear but not of the form xβˆ’ax - a. The fix is to find the value of xx that makes it zero. Setting 2xβˆ’1=02x - 1 = 0 gives x=12x = \tfrac{1}{2}, so 2xβˆ’12x - 1 is a factor of P(x)P(x) exactly when P ⁣(12)=0P\!\left(\tfrac{1}{2}\right) = 0. More generally bxβˆ’cbx - c is a factor when P ⁣(cb)=0P\!\left(\tfrac{c}{b}\right) = 0, because cb\tfrac{c}{b} is the zero of that linear expression. You test the fraction, not a whole number, but the logic is identical to the factor theorem.

How exam questions ask about these theorems

The wording is predictable once you map it to the right theorem.

  • "Find the remainder when P(x)P(x) is divided by xβˆ’ax - a." Remainder theorem: evaluate P(a)P(a) and write it down. No division.
  • "Show that xβˆ’ax - a is a factor of P(x)P(x)" or "Show that x=ax = a is a zero." Factor theorem: compute P(a)P(a) and state it equals 00, so xβˆ’ax - a is a factor.
  • "When P(x)P(x) is divided by xβˆ’ax - a the remainder is rr; find the unknown." Set P(a)=rP(a) = r and solve for the unknown coefficient. Two such conditions give two equations to solve simultaneously.
  • "Given xβˆ’ax - a is a factor, find kk." Set P(a)=0P(a) = 0 and solve for kk; "divisible by" and "is a factor" both mean remainder zero.
  • "2xβˆ’a2x - a is a factor; use this to factor P(x)P(x)." Confirm with P ⁣(a2)=0P\!\left(\tfrac{a}{2}\right) = 0, divide it out, then factor the quotient.
  • "Factor P(x)P(x) completely." Run the full method: divisors of the constant, find a zero, divide out, factor the quotient, and check by expanding.

Practice questions

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

foundation2 marksUse the remainder theorem to find the remainder when P(x)=x3+2x2βˆ’5x+7P(x) = x^3 + 2x^2 - 5x + 7 is divided by xβˆ’2x - 2.
Show worked solution β†’

State the theorem. The remainder on division by xβˆ’ax - a is P(a)P(a). Here the divisor is xβˆ’2x - 2, so a=2a = 2 and the remainder is P(2)P(2).

Substitute x=2x = 2.

P(2)=23+2(22)βˆ’5(2)+7=8+8βˆ’10+7=13.P(2) = 2^3 + 2(2^2) - 5(2) + 7 = 8 + 8 - 10 + 7 = 13.

State the remainder. The remainder is 1313. No long division is needed; one substitution does it.

foundation4 marksThe polynomial is P(x)=x3+2x2βˆ’9xβˆ’18P(x) = x^3 + 2x^2 - 9x - 18. Show that x+3x + 3 is a factor, then factor P(x)P(x) completely.
Show worked solution β†’

Apply the factor theorem. The divisor x+3x + 3 equals xβˆ’(βˆ’3)x - (-3), so test x=βˆ’3x = -3. If P(βˆ’3)=0P(-3) = 0 then x+3x + 3 is a factor.

P(βˆ’3)=(βˆ’3)3+2(βˆ’3)2βˆ’9(βˆ’3)βˆ’18=βˆ’27+18+27βˆ’18=0,P(-3) = (-3)^3 + 2(-3)^2 - 9(-3) - 18 = -27 + 18 + 27 - 18 = 0,

so x+3x + 3 is a factor.

Divide out the known factor. Dividing P(x)P(x) by x+3x + 3 gives the quotient x2βˆ’xβˆ’6x^2 - x - 6, so P(x)=(x+3)(x2βˆ’xβˆ’6)P(x) = (x + 3)(x^2 - x - 6).

Factor the quadratic. x2βˆ’xβˆ’6=(xβˆ’3)(x+2)x^2 - x - 6 = (x - 3)(x + 2), hence

x3+2x2βˆ’9xβˆ’18=(x+3)(xβˆ’3)(x+2).x^3 + 2x^2 - 9x - 18 = (x + 3)(x - 3)(x + 2).

Check by expanding back. (x+3)(x2βˆ’xβˆ’6)=x3βˆ’x2βˆ’6x+3x2βˆ’3xβˆ’18=x3+2x2βˆ’9xβˆ’18=P(x)(x + 3)(x^2 - x - 6) = x^3 - x^2 - 6x + 3x^2 - 3x - 18 = x^3 + 2x^2 - 9x - 18 = P(x). The factorisation is correct.

core4 marksFind the value of kk for which xβˆ’2x - 2 is a factor of P(x)=x3βˆ’kx2+2x+8P(x) = x^3 - kx^2 + 2x + 8. Using that value of kk, factor P(x)P(x) completely.
Show worked solution β†’

Use the factor theorem as an equation. If xβˆ’2x - 2 is a factor then P(2)=0P(2) = 0. Substitute x=2x = 2 and treat kk as the unknown:

P(2)=8βˆ’4k+4+8=20βˆ’4k=0,P(2) = 8 - 4k + 4 + 8 = 20 - 4k = 0,

so 4k=204k = 20 and k=5k = 5.

Write the polynomial with k=5k = 5
P(x)=x3βˆ’5x2+2x+8P(x) = x^3 - 5x^2 + 2x + 8.
Divide out xβˆ’2x - 2
Dividing gives the quotient x2βˆ’3xβˆ’4x^2 - 3x - 4, so P(x)=(xβˆ’2)(x2βˆ’3xβˆ’4)P(x) = (x - 2)(x^2 - 3x - 4).
Factor the quadratic
x2βˆ’3xβˆ’4=(xβˆ’4)(x+1)x^2 - 3x - 4 = (x - 4)(x + 1), hence

x3βˆ’5x2+2x+8=(xβˆ’2)(xβˆ’4)(x+1).x^3 - 5x^2 + 2x + 8 = (x - 2)(x - 4)(x + 1).

Check by expanding back. (xβˆ’2)(x2βˆ’3xβˆ’4)=x3βˆ’3x2βˆ’4xβˆ’2x2+6x+8=x3βˆ’5x2+2x+8=P(x)(x - 2)(x^2 - 3x - 4) = x^3 - 3x^2 - 4x - 2x^2 + 6x + 8 = x^3 - 5x^2 + 2x + 8 = P(x). Correct, with k=5k = 5.

core4 marksThe polynomial P(x)=x3+ax2+bx+6P(x) = x^3 + ax^2 + bx + 6 leaves a remainder of 2424 when divided by xβˆ’2x - 2, and is divisible by x+1x + 1. Find aa and bb.
Show worked solution β†’

Turn each condition into an equation. By the remainder theorem, dividing by xβˆ’2x - 2 gives remainder P(2)P(2), so P(2)=24P(2) = 24. Divisible by x+1x + 1 means the remainder there is zero, so by the factor theorem P(βˆ’1)=0P(-1) = 0.

Form the first equation from P(2)=24P(2) = 24.

P(2)=8+4a+2b+6=4a+2b+14=24β€…β€ŠβŸΉβ€…β€Š2a+b=5.(1)P(2) = 8 + 4a + 2b + 6 = 4a + 2b + 14 = 24 \implies 2a + b = 5. \quad (1)

Form the second equation from P(βˆ’1)=0P(-1) = 0.

P(βˆ’1)=βˆ’1+aβˆ’b+6=aβˆ’b+5=0β€…β€ŠβŸΉβ€…β€Šaβˆ’b=βˆ’5.(2)P(-1) = -1 + a - b + 6 = a - b + 5 = 0 \implies a - b = -5. \quad (2)

Solve the pair. Adding (1)(1) and (2)(2) gives 3a=03a = 0, so a=0a = 0; then b=5b = 5 from (2)(2).

Check both conditions. With P(x)=x3+5x+6P(x) = x^3 + 5x + 6: P(2)=8+10+6=24P(2) = 8 + 10 + 6 = 24 and P(βˆ’1)=βˆ’1βˆ’5+6=0P(-1) = -1 - 5 + 6 = 0. Both hold, so a=0a = 0 and b=5b = 5.

exam5 marksFactor P(x)=x4βˆ’2x3βˆ’7x2+20xβˆ’12P(x) = x^4 - 2x^3 - 7x^2 + 20x - 12 completely over the real numbers.
Show worked solution β†’
List the candidate zeroes
Every coefficient is an integer, so any integer zero must divide the constant term βˆ’12-12. The candidates are Β±1,Β±2,Β±3,Β±4,Β±6,Β±12\pm 1, \pm 2, \pm 3, \pm 4, \pm 6, \pm 12.
Test small candidates with the remainder theorem
P(1)=1βˆ’2βˆ’7+20βˆ’12=0P(1) = 1 - 2 - 7 + 20 - 12 = 0, so xβˆ’1x - 1 is a factor. P(2)=16βˆ’16βˆ’28+40βˆ’12=0P(2) = 16 - 16 - 28 + 40 - 12 = 0, so xβˆ’2x - 2 is a factor. P(βˆ’3)=81+54βˆ’63βˆ’60βˆ’12=0P(-3) = 81 + 54 - 63 - 60 - 12 = 0, so x+3x + 3 is a factor.
Account for the degree
Three distinct factors xβˆ’1x - 1, xβˆ’2x - 2, x+3x + 3 multiply to a cubic, but PP has degree 44, so one zero is repeated. Their product (xβˆ’1)(xβˆ’2)(x+3)(x - 1)(x - 2)(x + 3) has constant term 66, while PP has constant term βˆ’12-12; the missing factor must have constant term βˆ’2-2, identifying the repeat as a second xβˆ’2x - 2.
Write the full factorisation

x4βˆ’2x3βˆ’7x2+20xβˆ’12=(xβˆ’1)(xβˆ’2)2(x+3).x^4 - 2x^3 - 7x^2 + 20x - 12 = (x - 1)(x - 2)^2(x + 3).

Check by expanding back. (xβˆ’1)(x+3)=x2+2xβˆ’3(x - 1)(x + 3) = x^2 + 2x - 3 and (xβˆ’2)2=x2βˆ’4x+4(x - 2)^2 = x^2 - 4x + 4; multiplying, (x2+2xβˆ’3)(x2βˆ’4x+4)=x4βˆ’2x3βˆ’7x2+20xβˆ’12=P(x)(x^2 + 2x - 3)(x^2 - 4x + 4) = x^4 - 2x^3 - 7x^2 + 20x - 12 = P(x). The factorisation is verified.

exam5 marksThe polynomial P(x)=2x3+ax2+bx+6P(x) = 2x^3 + ax^2 + bx + 6 has 2xβˆ’12x - 1 as a factor, and leaves a remainder of βˆ’6-6 when divided by xβˆ’1x - 1. Find aa and bb, then factor P(x)P(x) completely.
Show worked solution β†’

Convert the non-monic factor into a substitution. 2xβˆ’1=02x - 1 = 0 at x=12x = \tfrac{1}{2}, so 2xβˆ’12x - 1 being a factor means P ⁣(12)=0P\!\left(\tfrac{1}{2}\right) = 0.

P ⁣(12)=2β‹…18+aβ‹…14+bβ‹…12+6=14+a4+b2+6=0.P\!\left(\tfrac{1}{2}\right) = 2 \cdot \tfrac{1}{8} + a \cdot \tfrac{1}{4} + b \cdot \tfrac{1}{2} + 6 = \tfrac{1}{4} + \tfrac{a}{4} + \tfrac{b}{2} + 6 = 0.

Multiplying through by 44 gives 1+a+2b+24=01 + a + 2b + 24 = 0, so a+2b=βˆ’25.(1)a + 2b = -25. \quad (1)

Use the remainder condition. The remainder on division by xβˆ’1x - 1 is P(1)=βˆ’6P(1) = -6:

P(1)=2+a+b+6=a+b+8=βˆ’6β€…β€ŠβŸΉβ€…β€Ša+b=βˆ’14.(2)P(1) = 2 + a + b + 6 = a + b + 8 = -6 \implies a + b = -14. \quad (2)

Solve the pair. Subtracting (2)(2) from (1)(1) gives b=βˆ’11b = -11; then a=βˆ’3a = -3 from (2)(2).

Factor with a=βˆ’3a = -3, b=βˆ’11b = -11. So P(x)=2x3βˆ’3x2βˆ’11x+6P(x) = 2x^3 - 3x^2 - 11x + 6. Dividing out 2xβˆ’12x - 1 gives the quotient x2βˆ’xβˆ’6=(xβˆ’3)(x+2)x^2 - x - 6 = (x - 3)(x + 2), hence

2x3βˆ’3x2βˆ’11x+6=(2xβˆ’1)(xβˆ’3)(x+2).2x^3 - 3x^2 - 11x + 6 = (2x - 1)(x - 3)(x + 2).

Check by expanding back. (xβˆ’3)(x+2)=x2βˆ’xβˆ’6(x - 3)(x + 2) = x^2 - x - 6, and (2xβˆ’1)(x2βˆ’xβˆ’6)=2x3βˆ’2x2βˆ’12xβˆ’x2+x+6=2x3βˆ’3x2βˆ’11x+6=P(x)(2x - 1)(x^2 - x - 6) = 2x^3 - 2x^2 - 12x - x^2 + x + 6 = 2x^3 - 3x^2 - 11x + 6 = P(x). The factorisation is verified, with a=βˆ’3a = -3, b=βˆ’11b = -11 and zeroes 12,3,βˆ’2\tfrac{1}{2}, 3, -2.

Related dot points