Polynomial long division
From Wikipedia, the free encyclopedia
In algebra, polynomial long division is an algorithm for dividing a polynomial by another polynomial of the same or lower degree, a generalised version of the familiar arithmetic technique called long division. It can be done easily by hand, because it separates an otherwise complex division problem into smaller ones.
For any polynomials f(x) and g(x), with g(x) not identically zero, there exist unique polynomials q(x) and r(x) such that
with r(x) having smaller degree than g(x).
Synthetic division will find the quotient q(x) and remainder r(x) given a numerator f(x) and nonzero denominator g(x). The problem is written down like a regular (non-algebraic) long division problem:
- .
All terms with exponents less than the largest one must be written out explicitly, even if their coefficients are zero.
Contents |
[edit] Example
Find:
The problem is written like this (note that, as explained above, the x term is included explicitly, regardless of the coefficient):
The quotient and remainder can then be determined as follows:
- Divide the first term of the numerator by the highest term of the denominator. Place the result above the bar (x3 ÷ x = x2).
- Multiply the denominator by the result you just obtained (the first term of the eventual quotient). Write the result under the first two terms of the numerator (x2 · (x − 3) = x3 − 3x2).
- Subtract the product you just obtained from the appropriate terms of the original numerator, and write the result underneath. This can be tricky at times, because of the sign. ((x3 − 12x2) − (x3 − 3x2) = −12x2 + 3x2 = −9x2) Then, "pull down" the next term from the numerator.
- Repeat the previous three steps, except this time use the two terms that you have just written as the numerator.
- Repeat step 4. This time, there is nothing to "pull down".
The polynomial above the bar is the quotient, and the number left over (−123) is the remainder.
This method is entirely reminiscent of the long division learned in elementary arithmetic classes.
[edit] Synthetic division
Synthetic division is a method of performing polynomial long division without having to maintain long records of the process of long division as above, though the processes are still the same. It, however, only deals with division by monic linear polynomials -- that is, binomials of the form (x-b), where b is any rational number.
The change of sign of b when dividing by (x + b) (i.e. −b is written to the left of the bar rather than b) allows us to do additions rather than subtractions that are found in regular long division. This reduces the chance for error when the division is done by hand.
Synthetic division is also called division through Ruffini's rule and was described by Paolo Ruffini in 1809.
Performing the same example as before:
We concern ourselves basically with the coefficients. We write
Note the change of sign from −3 to 3, the sign doesn't actually change, the value you are using (3 in this case) is the value that x would have to be in order for the polynomial to equal 0. Drop the first coefficient after the bar.
Multiply the dropped number by the number before the bar, and place it in the next column.
Perform an addition in that column.
Repeat the previous two steps, the following is obtained
All the numbers on the last row besides the farthest right correspond to coefficients in the quotient; the last number indicates a remainder. The terms are written with increasing degree from right to left, starting to the left of the remainder with degree 0.
The result of our division is:
[edit] Higher degree synthetic division
The technique of synthetic division described above works only with linear denominators. A similar shortcut method exists for dividing by a quadratic or higher degree monic polynomial.
For instance, let's try to perform the following division:
Create the table as with ordinary synthetic division, using the negative coefficients of the denominator following the leading term. We write
Next, underline the leading coefficient of the right-hand side, multiply it by the left-hand coefficients and write the products beneath the next columns on the right.
Now perform an addition:
Repeat the preceding two steps upon the bottom row of the right-hand side.
The underlined numbers correspond to the coefficients of the quotient, the remaining numbers in the bottom row correspond to the coefficients of the remainder. The terms are written with increasing degree from right to left, with the last terms of the quotient and remainder each having degree 0.
The result of our division is
[edit] See also
- Polynomial remainder theorem
- Gröbner basis
- Greatest common divisor of two polynomials
- Step By Step Long Polynomial Division WebGraphing.com