Remainder When Dividing by (ax − b) Explained with Worked Examples

When dividing by , the remainder is .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Remainder when dividing by (ax − b) means

The divisor is zero when , so the remainder is the value of the polynomial there.

This is the remainder theorem for divisors where the coefficient of is not 1.

If the remainder is 0, then is a factor. It is the value in the remainder theorem, a zero gives a factor by the factor theorem, and the quotient is an exercise in partial fractions.

This page is part of Polynomials and the factor theorem in Algebra. Topics that work alongside it: Remainder theorem, Factor theorem, Binomial coefficient, Partial fractions (distinct linear factors), Simultaneous equations: linear and quadratic and Binomial theorem (positive integer n).

What is it used for?

This is the remainder theorem for a divisor such as (ax − b): the remainder is f(b/a).

How to use remainder when dividing by (ax − b)

  1. Set and solve for .
  2. Substitute that value into .
  3. The result is the remainder.
  4. Simplify fractions carefully.

Graph

f(x) = x³ − 2x + 3 and f(−1/2)f(−1/2) = 31/8-2.5-2-1.5-1-0.500.511.52-202468f(x) = x³ − 2x + 3 and f(−1/2)xyf(x)Graph with x from -2.5 to 2 and y from -2 to 8. Shows the curve f(x); point f(−1/2) = 31/8 at (-0.5, 3.875).

Dividing by (2x + 1) leaves the remainder f(−1/2), the height of the curve at x = −1/2.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: divide by 2x − 1

Find the remainder when is divided by .

Worked example
Answer
remainder=2\text{remainder}=2
  1. Find the value of x
    gives .
  2. Substitute
  3. Calculate

Example 2: a negative-fraction root

Find the remainder when is divided by .

Worked example
Answer
318\dfrac{31}{8}
  1. Find the value that makes the divisor zero
  2. Evaluate f at that value

Example 3: finding an unknown

Given that is a factor of , find .

Worked example
Answer
k=7k = 7
  1. The factor is zero when x = 1/2
  2. Substitute
  3. Solve for k

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

2x³ − 3x² + x − 5 ÷ (2x − 1)

f(1/2) = 0.25 − 0.75 + 0.5 − 5

−5.

x² + x + 1 ÷ (3x − 2)

f(2/3) = 4/9 + 2/3 + 1

2.1111.

4x³ − 2x + 3 ÷ (2x + 1)

f(−1/2) = −0.5 + 1 + 3

3.5.

2x² − x − 1 ÷ (2x + 1)

f(−1/2) = 0.5 + 0.5 − 1

0: a factor.

Word problems

Dividing f(x) by (ax − b) leaves remainder f(b/a). A zero remainder means (ax − b) is a factor.

Divisor 2x − 1

Find f(½) for f = 2x³ − 3x² + x − 5.

  1. 0.25 − 0.75 + 0.5 − 5
  2. Check: ✓-5

Divisor 3x − 2

Find f(2/3) for x² + x + 1.

  1. 4/9 + 6/9 + 9/9
  2. Check: ✓2.1111

Divisor 2x + 1 Higher

Find f(−½) for 4x³ − 2x + 3.

  1. −0.5 + 1 + 3
  2. Check: ✓3.5

Factor test Higher

Find f(−½) for 2x² − x − 1.

  1. 0.5 + 0.5 − 1
  2. Check: 0, so (2x + 1) is a factor ✓0

Common mistakes

Using b instead of b/a

f(1) for (2x − 1) ✗

f(1/2) ✓

Divide by a.

Sign of b/a

f(+½) for (2x + 1) ✗

f(−½) ✓

Root of the divisor.

Reading remainder as quotient

confusing ✗

value only ✓

Remainder is a number.

Skipping fractions

rounding early ✗

keep exact ✓

Use fractions.

Exam tips

  1. Solve ax − b = 0.
  2. Remainder f(b/a).
  3. Zero: a factor.
  4. Use fractions.
  5. Check by long division.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. f(½) for 2x² + 3x − 1 Foundation

1

2. f(−½) for x² + x + 1 Foundation

0.75

3. f(2/3) for 3x² − 2x Foundation

0

4. f(½) for 4x³ − 1 Higher

-0.5

5. f(1/3) for 9x² + 3x + 1 Higher

3

6. f(−1.5) for 2x² + 3x Higher

0

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Remainder theorem
Remainder is f(root of divisor).
Divisor
Polynomial you divide by.
Root of divisor
x = b/a.
Factor
Zero remainder.
Quotient
Result of division.
Polynomial
f(x).

Frequently asked questions

What is the remainder on dividing by (ax − b)?

f(b/a).

What if the remainder is 0?

(ax − b) is a factor.

How do I handle (2x + 1)?

Use x = −½.

Why does it work?

The divisor is zero at x = b/a.

Which page covers the factor theorem?

factor theorem.

Which page covers partial fractions?

partial fractions.

More in Algebra and the formula sheets.