Skip to content
Omnikalc

Is x − r a factor of your polynomial?

Enter the four coefficients of a cubic and the value of r: get the quotient, the remainder and the roots of the quotient.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Value out of range

Value out of range

Results

Remainder (also P(r))

0.0000

The remainder is 0: x − r is a factor and r is a root
Quotient: coefficient of x²
2.0000
Quotient: coefficient of x
7.0000
Quotient: constant term
3.0000
Discriminant of the quotient
25.0000
The quotient has real roots
First real root of the quotient
-0.5000
Second real root of the quotient
-3.0000

Synthetic division is a shortcut for dividing a polynomial by a linear factor x − r. It uses only the coefficients and repeats one simple step: multiply by r, then add. This calculator divides a cubic, a x³ + b x² + c x + d, by x − r. It returns the quotient, the remainder and, when the division is exact, the remaining roots from the quadratic formula.

How the calculation works

  • Bring down the leading coefficient: q₂ = a
  • Multiply by r and add the next coefficient: q₁ = b + r × q₂
  • Repeat: q₀ = c + r × q₁
  • The last step gives the remainder = d + r × q₀, which equals P(r)
  • The quotient is q₂x² + q₁x + q₀, and its roots come from the discriminant q₁² − 4 q₂ q₀

Example

Divide 2x³ + 3x² − 11x − 6 by x − 2. Bring down 2, then 3 + 2 × 2 = 7, then −11 + 2 × 7 = 3, then −6 + 2 × 3 = 0. The quotient is 2x² + 7x + 3 and the remainder is 0, so x − 2 is a factor. The discriminant of the quotient is 49 − 24 = 25, giving the roots −0.5 and −3. The polynomial therefore has the three roots 2, −0.5 and −3.

When to use it

Use it to test whether a number is a root, to factor a polynomial once you have found one root by trial, and to evaluate a polynomial quickly at a point, which is the idea behind Horner’s method. It is a staple of algebra courses and of root-finding with the rational root theorem: list the possible rational roots, test each, and reduce the degree whenever one works.

Good to know

Always write the polynomial in descending powers and put a 0 for any missing term, for example x³ − 7x + 6 has b = 0. For a divisor of the form x + 3, use r = −3. If the remainder is not zero, the polynomial equals the quotient times (x − r), plus the remainder. When the discriminant of the quotient is negative, the other two roots are complex numbers.

To solve a cubic directly, use the cubic equation calculator, and for a quadratic, the quadratic formula calculator. The matrix and linear system calculators cover other algebra tasks.

Frequently asked questions

What is synthetic division?

A short way to divide a polynomial by a linear factor of the form x − r. Instead of full long division, you bring down the leading coefficient and repeat a multiply-and-add step.

What does the remainder tell me?

By the remainder theorem, the remainder equals the value of the polynomial at r. If it is 0, then x − r is a factor and r is a root.

How do I divide by x + 3?

Rewrite it as x − (−3) and enter r = −3. The sign of r is always the opposite of the sign in the divisor.

Can I use it with a divisor like 2x − 1?

Not directly. Factor out the 2, divide by x − 1/2 and then divide the quotient by 2.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.