Ruffini's rule


In mathematics, Ruffini's rule is a method for computation of the Euclidean division of a polynomial by a binomial of the form x − r. It was described by Paolo Ruffini in 1809. The rule is a special case of synthetic division in which the divisor is a linear monic factor.

Algorithm

The rule establishes a method for dividing the polynomial:
by the binomial:
to obtain the quotient polynomial:
The algorithm is in fact the long division of P by Q.
To divide P by Q:
  1. Take all the coefficients of P, including zero for any missing terms, and write them down in order of their decreasing degrees. Then, write r at the bottom-left edge just over the line:
  2. :
  3. Pass the leftmost coefficient to the bottom just under the line.
  4. :
  5. Multiply the rightmost number under the line by r, and write it over the line and one position to the right.
  6. :
  7. Add the two values just placed in the same column.
  8. :
  9. Repeat steps 3 and 4 until no numbers remain.
  10. :
The b values are the coefficients of the result polynomial, the degree of which is one less than that of P. The final value obtained, s, is the remainder. The polynomial remainder theorem asserts that the remainder is equal to P, the value of the polynomial at r.

Example

Here is an example of polynomial division as described above.
Let:
P will be divided by Q using Ruffini's rule. The main problem is that Q is not a binomial of the form xr, but rather x + r. Q must be rewritten as
Now the algorithm is applied:

  1. Write down the coefficients and r. Note that, as P didn't contain a coefficient for x, 0 is written:

    | 2 3 0 | -4
    | |
    -1 | |
    ----|--------------------|-------
    | |
    | |

  2. Pass the first coefficient down:

    | 2 3 0 | -4
    | |
    -1 | |
    ----|--------------------|-------
    | 2 |
    | |

  3. Multiply the last obtained value by r:

    | 2 3 0 | -4
    | |
    -1 | -2 |
    ----|--------------------|-------
    | 2 |
    | |

  4. Add the values:

    | 2 3 0 | -4
    | |
    -1 | -2 |
    ----|--------------------|-------
    | 2 1 |
    | |

  5. Repeat steps 3 and 4 until it's finished:

    | 2 3 0 | -4
    | |
    -1 | -2 -1 | 1
    ----|----------------------------
    | 2 1 -1 | -3
    ||

So, if original number = divisor × quotient + remainder, then

Application to polynomial factorization

Ruffini's rule can be used when one needs the quotient of a polynomial by a binomial of the form
A typical example, where one needs the quotient, is the factorization of a polynomial for which one knows a root :
The remainder of the Euclidean division of by is, and, if the quotient is the Euclidean division is written as
This gives a factorization of which can be computed with Ruffini's rule. Then, can be further factored by factoring
The fundamental theorem of algebra states that every polynomial of positive degree has at least one complex root. The above process shows the fundamental theorem of algebra implies that every polynomial can be factored as
where are complex numbers.

History

The method was invented by Paolo Ruffini, who took part in a competition organized by the Italian Scientific Society. The challenge was to devise a method to find the roots of any polynomial. Five submissions were received. In 1804 Ruffini's was awarded first place and his method was published. He later published refinements of his work in 1807 and again in 1813.