Ruffini's Rule
Dividing a high-degree polynomial by $x-a$ with the general algorithm works, but it is long and easy to get wrong. Ruffini's rule does exactly the same thing using only numbers: one row of coefficients, a value $a$, and a three-row table that gives the quotient and the remainder in seconds.
The mechanics of Ruffini's rule
Write the coefficients of $P(x)$ in a row (with a $0$ for any missing degrees) and the value $a$ separately. The first coefficient is brought down unchanged; each following result is obtained by multiplying the last number in the bottom row by $a$ and adding the coefficient in its column.
Divide the polynomial $P(x) = 3x^3 - 2x^2 + 5x - 4$ by the binomial $x - 2$ using Ruffini's rule, and state the resulting quotient and remainder.
Divide the polynomial $P(x) = 3x^3 - 2x^2 + 5x - 4$ by the binomial $x - 2$ using Ruffini's rule, and state the resulting quotient and remainder.
Apply Ruffini's rule to divide $P(x) = x^4 - 16$ by $x + 2$. Write down clearly the quotient polynomial and the value of the remainder.
Apply Ruffini's rule to divide $P(x) = x^4 - 16$ by $x + 2$. Write down clearly the quotient polynomial and the value of the remainder.
Ruffini also evaluates and confirms roots
The last number in the Ruffini row is the remainder, and the remainder of dividing by $(x-a)$ is, by the remainder theorem, $P(a)$. So Ruffini can be used to calculate the numerical value of a polynomial without substituting term by term, and to check whether a number is a root: if the remainder is $0$, it is.
Check, using Ruffini's rule, whether $x = 3$ is a root of the polynomial $P(x) = x^3 - 4x^2 + x + 6$.
Check, using Ruffini's rule, whether $x = 3$ is a root of the polynomial $P(x) = x^3 - 4x^2 + x + 6$.
Calculate the numerical value of the polynomial $P(x) = -2x^3 + 5x^2 - 3x + 1$ for $x = -1$ by applying the Remainder Theorem using Ruffini's rule.
Calculate the numerical value of the polynomial $P(x) = -2x^3 + 5x^2 - 3x + 1$ for $x = -1$ by applying the Remainder Theorem using Ruffini's rule.
Determine, without performing the full division and using the Remainder Theorem or Ruffini's rule, whether the binomial $x + 1$ is a factor of the polynomial…
Determine, without performing the full division and using the Remainder Theorem or Ruffini's rule, whether the binomial $x + 1$ is a factor of the polynomial $P(x) = x^4 + x^3 - x^2 + x + 2$.
Factorising with a known root
When a root $a$ is already known, Ruffini gives the quotient directly: a factor of one degree lower. By repeating the process with the quotient (if another obvious root appears) you arrive at the complete factorisation.
Factorise the polynomial $P(x) = x^3 - 2x^2 - 5x + 6$ knowing in advance that $x = 1$ is one of its roots.
Factorise the polynomial $P(x) = x^3 - 2x^2 - 5x + 6$ knowing in advance that $x = 1$ is one of its roots.
Fully factorise the polynomial $P(x) = 2x^3 + 3x^2 - 8x + 3$ by finding all its roots.
Fully factorise the polynomial $P(x) = 2x^3 + 3x^2 - 8x + 3$ by finding all its roots.
Unknown parameters from a Ruffini condition
When the polynomial has an undetermined coefficient, a divisibility condition ("it is divisible by $x-a$", "the remainder when dividing by $x-a$ is $c$") turns into an equation with Ruffini: the last number in the row must equal whatever the condition says.
Determine the value of the constant $k$ so that the polynomial $P(x) = x^3 - kx^2 + 3x - 2$ is exactly divisible by $x - 1$.
Determine the value of the constant $k$ so that the polynomial $P(x) = x^3 - kx^2 + 3x - 2$ is exactly divisible by $x - 1$.
Determine the values of the parameters $m$ and $n$ so that the polynomial $P(x) = x^4 - 3x^3 + mx + n$ is exactly divisible by $x - 2$ and, at the same time, gives a…
Determine the values of the parameters $m$ and $n$ so that the polynomial $P(x) = x^4 - 3x^3 + mx + n$ is exactly divisible by $x - 2$ and, at the same time, gives a remainder of $4$ when divided by $x + 1$.
Find the values of $a$ and $b$ so that the polynomial $P(x) = x^4 + ax^3 + bx^2 - 12x + 4$ is divisible by $(x - 2)^2$.
Find the values of $a$ and $b$ so that the polynomial $P(x) = x^4 + ax^3 + bx^2 - 12x + 4$ is divisible by $(x - 2)^2$.
Ruffini in modelling problems
Volumes, profits and trajectories are expressed as polynomials in which it is useful to find factors: a volume that is a product of dimensions, or the moments at which a profit passes through zero.
The volume of a box in the shape of a right rectangular prism is given by the polynomial $V(x) = x^3 + 5x^2 + 2x - 8$. If the height of the box is known to be $x - 1$,…
The volume of a box in the shape of a right rectangular prism is given by the polynomial $V(x) = x^3 + 5x^2 + 2x - 8$. If the height of the box is known to be $x - 1$, determine the polynomial representing the base area $A(x)$.
The profits of a company, in thousands of euros, are modelled during its first years of operation by the polynomial $B(x) = -x^3 + 10x^2 - 31x + 30$, where $x$…
The profits of a company, in thousands of euros, are modelled during its first years of operation by the polynomial $B(x) = -x^3 + 10x^2 - 31x + 30$, where $x$ represents time in years. Find the exact years in which the company's profit was zero (break-even points).
The position of a particle in straight-line motion is given by the equation $s(t) = t^3 - 7t^2 + 14t - 8$, where $t$ is the time in seconds. Determine the instants in…
The position of a particle in straight-line motion is given by the equation $s(t) = t^3 - 7t^2 + 14t - 8$, where $t$ is the time in seconds. Determine the instants in time at which the particle passes through the origin of coordinates ($s(t) = 0$).
When the divisor is not exactly $x-a$
Ruffini is designed for dividing by $x-a$, with coefficient $1$ on the $x$. Dividing by $x-\frac12$ is no problem: $a=\frac12$. But to divide by a binomial such as $2x-3$, you must first take out the $2$ as a factor: $2x-3=2\left(x-\frac32\right)$, apply Ruffini with $a=\frac32$, and then divide the quotient obtained by $2$ to compensate.
Divide the polynomial $P(x) = 2x^3 - 5x^2 + 3x - 1$ by the binomial $x - \frac{1}{2}$ using Ruffini's rule. Express the final result by stating the quotient and…
Divide the polynomial $P(x) = 2x^3 - 5x^2 + 3x - 1$ by the binomial $x - \frac{1}{2}$ using Ruffini's rule. Express the final result by stating the quotient and remainder.
Perform the division of the polynomial $P(x) = 4x^3 - 8x^2 + 7x - 3$ by the binomial $2x - 3$ using Ruffini's rule. Note that you must adapt the divisor to apply the…
Perform the division of the polynomial $P(x) = 4x^3 - 8x^2 + 7x - 3$ by the binomial $2x - 3$ using Ruffini's rule. Note that you must adapt the divisor to apply the algorithm and subsequently adjust the quotient and remainder obtained.
Designing, testing and comparing an algorithm
Ruffini also allows you to evaluate a polynomial. For $P(x)=a_nx^n+\cdots+a_1x+a_0$, the Horner scheme chains together multiplications and additions. First design how you would do it with pencil and paper; then compare your procedure with this pseudocode:
entrada: coeficientes [a_n, ..., a_0] y valor t
v ← a_n
para cada coeficiente c restante, de mayor a menor grado:
v ← v * t + c
devolver v
Each arrow represents the next multiplication and addition:
For a polynomial of degree n, Horner performs n multiplications and n additions. If your direct algorithm calculates each power from scratch by repeated products and then multiplies by its coefficient, it uses $n(n+1)/2$ multiplications and n additions. If it reuses powers, the count changes: always state which algorithm you are comparing. For the cubic above, the general counts are 3 versus 6 multiplications, without simplifying zero terms.
Modify the algorithm to evaluate the same polynomial at a list of values, resetting v for each value. Write down the modification, run it by hand or in a program, and keep a table of input, expected output and actual output. Also check $t=1$: the result must be the sum of the coefficients. Explain why, after processing every coefficient, v represents exactly the nested polynomial $((2t-3)t+0)t+5$.