Ruffini's Rule 1 Ruffini's Rule

Total Page:16

File Type:pdf, Size:1020Kb

Ruffini's Rule 1 Ruffini's Rule Ruffini's rule 1 Ruffini's rule In mathematics, Ruffini's rule is an efficient technique for dividing a polynomial by a binomial of the form x − r. It was described by Paolo Ruffini in 1809. Ruffini's rule is a special case of synthetic division when the divisor is a linear factor. Algorithm The rule establishes a method for dividing the polynomial by the binomial to obtain the quotient polynomial and a remainder s. The algorithm is in fact the long division of P(x) by Q(x). To divide P(x) by Q(x): 1. Take the coefficients of P(x) and write them down in order. Then write r at the bottom left edge, just over the line: | a a ... a a n n-1 1 0 | r | ----|--------------------------------------------------------- | | 2. Pass the leftmost coefficient (a ) to the bottom, just under the line: n | a a ... a a n n-1 1 0 | r | ----|--------------------------------------------------------- | a n | | = b n-1 | 3. Multiply the rightmost number under the line by r and write it over the line and one position to the right: | a a ... a a n n-1 1 0 | r | b r n-1 ----|--------------------------------------------------------- | a n | | = b n-1 | Ruffini's rule 2 4. Add the two values just placed in the same column | a a ... a a n n-1 1 0 | r | b r n-1 ----|--------------------------------------------------------- | a a +(b r) n n-1 n-1 | | = b = b n-1 n-2 | 5. Repeat steps 3 and 4 until no numbers remain | a a ... a a n n-1 1 0 | r | b r ... b r b r n-1 1 0 ----|--------------------------------------------------------- | a a +(b r) ... a +b r a +b r n n-1 n-1 1 1 0 0 | | = b = b ... = b = s n-1 n-2 0 | The b values are the coefficients of the result (R(x)) polynomial, the degree of which is one less than that of P(x). The final value obtained, s, is the remainder. As shown in the polynomial remainder theorem, this remainder is equal to P(r), the value of the polynomial at r. Uses of the rule Ruffini's rule has many practical applications; most of them rely on simple division (as demonstrated below) or the common extensions given still further below. Polynomial division by x − r A worked example of polynomial division, as described above. Let: We want to divide P(x) by Q(x) using Ruffini's rule. The main problem is that Q(x) is not a binomial of the form x − r, but rather x + r. We must rewrite Q(x) in this way: Now we apply the algorithm: 1. Write down the coefficients and r. Note that, as P(x) didn't contain a coefficient for x, we've written 0: | 2 3 0 -4 | -1 | ----|---------------------------- | | Ruffini's rule 3 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 we've finished: | 2 3 0 -4 | -1 | -2 -1 1 ----|---------------------------- | 2 1 -1 -3 |{result coefficients}{remainder} So, if original number = divisor×quotient+remainder, then , where and Polynomial root-finding − The rational root theorem tells us that for a polynomial f(x) = a xn + a xn 1 + ... + a x + a all of whose n n−1 1 0 coefficients (a through a ) are integers, the real rational roots are always of the form p/q, where p is an integer n 0 divisor of a and q is an integer divisor of a . Thus if our polynomial is 0 n then the possible rational roots are all the integer divisors of a (−2): 0 (This example is simple because the polynomial is monic (i.e. a = 1); for non-monic polynomials the set of possible n roots will include some fractions, but only a finite number of them since a and a only have a finite number of n 0 integer divisors each.) In any case, for monic polynomials, every rational root is an integer, and so every integer root Ruffini's rule 4 is just a divisor of the constant term. It can be shown that this remains true for non-monic polynomials, i.e. to find the integer roots of any polynomials with integer coefficients, it suffices to check the divisors of the constant term. So, setting r equal to each of these possible roots in turn, we will test-divide the polynomial by (x − r). If the resulting quotient has no remainder, we have found a root. You can choose one of the following three methods: they will all yield the same results, with the exception that only through the second method and the third method (when applying Ruffini's rule to obtain a factorization) can you discover that a given root is repeated. (Neither method will discover irrational or complex roots.) Method 1 We try to divide P(x) by the binomial (x − each possible root). If the remainder is 0, the selected number is a root (and vice versa): | +1 +2 -1 -2 | +1 +2 -1 -2 | | +1 | +1 +3 +2 -1 | -1 -1 +2 ----|---------------------------- ----|--------------------------- | +1 +3 +2 0 | +1 +1 -2 0 | +1 +2 -1 -2 | +1 +2 -1 -2 | | +2 | +2 +8 +14 -2 | -2 0 +2 ----|---------------------------- ----|--------------------------- | +1 +4 +7 +12 | +1 0 -1 0 Method 2 We start just as in Method 1 until we find a valid root. Then, instead of restarting the process with the other possible roots, we continue testing the possible roots against the result of the Ruffini on the valid root we've just found until we only have a coefficient remaining (remember that roots can be repeated: if you get stuck, try each valid root twice): | +1 +2 -1 -2 | +1 +2 -1 -2 | | -1 | -1 -1 +2 -1 | -1 -1 +2 ----|--------------------------- ----|--------------------------- | +1 +1 -2 | 0 | +1 +1 -2 | 0 | | +2 | +2 +6 +1 | +1 +2 ------------------------- ------------------------- | +1 +3 |+4 | +1 +2 | 0 | -2 | -2 ------------------- | +1 | 0 Ruffini's rule 5 Method 3 • Determine the set of the possible integer or rational roots of the polynomial according to the rational root theorem. • For each possible root r, instead of performing the division P(x)/(x -r), apply the polynomial remainder theorem, which states that the remainder of this division is P(r), i.e. the polynomial evaluated for x = r. Thus, for each r in our set, r is actually a root of the polynomial if and only if P(r) = 0 This shows that finding integer and rational roots of a polynomial neither requires any division nor the application of Ruffini's rule. However, once a valid root has been found, call it r : you can apply Ruffini's rule to determine 1 Q(x) = P(x)/(x-r ). 1 This allows you to partially factorize the polynomial as P(x) = (x -r )·Q(X) 1 Any additional (rational) root of the polynomial is also a root of Q(x) and, of course, is still to be found among the possible roots determined earlier which have not yet been checked (any value already determined not to be a root of P(x) is not a root of Q(x) either; more formally, P(r)≠0 → Q(r)≠0 ). Thus, you can proceed evaluating Q(r) instead of P(r), and (as long as you can find another root, r ) dividing Q(r) by 2 (x-r ). 2 Even if you're only searching for roots, this allows you to evaluate polynomials of successively smaller degree, as the factorization proceeds. If, as is often the case, you're also factorizing a polynomial of degree n, then: •• if you've found p=n rational solutions you end up with a complete factorization (see below) into p=n linear factors; • if you've found p<n rational solutions you end up with a partial factorization (see below) into p linear factors and another non-linear factor of degree n-p, which, in turn, may have irrational or complex roots. Examples: Finding roots without applying Ruffini's Rule P(x) = x³ +2x² -x -2 Possible roots = {1, -1, 2, -2} • P(1) = 0 → x = 1 1 • P(-1) = 0 → x = -1 2 • P(2) = 12 → 2 is not a root of the polynomial and the remainder of (x³ +2x² -x -2)/(x-2) is 12 • P(-2) = 0 → x = -2 3 Ruffini's rule 6 Finding roots applying Ruffini's Rule and obtaining a (complete) factorization P(x) = x³ +2x² -x -2 Possible roots = {1, -1, 2, -2} • P(1) = 0 → x = 1 1 Then, applying Ruffini's Rule: (x³ +2x² -x -2) / (x -1) = (x² +3x +2) → → x³ +2x² -x -2 = (x-1)(x² +3x +2) Here, r =-1 and Q(x) = x² +3x +2 1 • Q(-1) = 0 → x = -1 2 Again, applying Ruffini's Rule: (x² +3x +2) / (x +1) = (x +2) → → x³ +2x² -x -2 = (x-1)(x² +3x +2) = (x-1)(x+1)(x+2) As it was possible to completely factorize the polynomial, it's clear that the last root is -2 (the previous procedure would have given the same result, with a final quotient of 1). Polynomial factoring Having used the "p/q" result above (or, to be fair, any other means) to find all the real rational roots of a particular polynomial, it is but a trivial step further to partially factor that polynomial using those roots.
Recommended publications
  • College Algebra with Trigonometry This Course Covers the Topics Shown Below
    College Algebra with Trigonometry This course covers the topics shown below. Students navigate learning paths based on their level of readiness. Institutional users may customize the scope and sequence to meet curricular needs. Curriculum (556 topics + 614 additional topics) Algebra and Geometry Review (126 topics) Real Numbers and Algebraic Expressions (14 topics) Signed fraction addition or subtraction: Basic Signed fraction subtraction involving double negation Signed fraction multiplication: Basic Signed fraction division Computing the distance between two integers on a number line Exponents and integers: Problem type 1 Exponents and signed fractions Order of operations with integers Evaluating a linear expression: Integer multiplication with addition or subtraction Evaluating a quadratic expression: Integers Evaluating a linear expression: Signed fraction multiplication with addition or subtraction Distributive property: Integer coefficients Using distribution and combining like terms to simplify: Univariate Using distribution with double negation and combining like terms to simplify: Multivariate Exponents (20 topics) Introduction to the product rule of exponents Product rule with positive exponents: Univariate Product rule with positive exponents: Multivariate Introduction to the power of a power rule of exponents Introduction to the power of a product rule of exponents Power rules with positive exponents: Multivariate products Power rules with positive exponents: Multivariate quotients Simplifying a ratio of multivariate monomials:
    [Show full text]
  • Math 135 Synthetic Division Examples Polynomial Long Division Is A
    Math 135 Synthetic Division Examples Polynomial long division is a tedious process which can be shortened considerably in the special case when the divisor is a linear factor. By the factor theorem, if we divide a polynomial p(x) by the linear polynomial x − c, then p(c) is the remainder and p(c) = 0 if and only if (x − c) is a factor of p(x). This observation suggest that in order to factor a polynomial p(x) of large degree it suffices to look for numbers c such that p(c) = 0. This is equivalent to long division by (x−c), which can be extremely drawn out. The method of synthetic division accomplishes division by a linear factor quickly and is done as follows: x6−64 Example 1. Divide x−2 . Begin as with polynomial long division but write only the coefficients of x6−64 making sure to list all of them. [2] 1 0 0 0 0 0 -64 0 1 Carry the coefficient of the leading term as shown and then multiply by c = 2, add to the next column and repeat. Thus [2] 1 0 0 0 0 0 -64 0 2 4 8 16 32 64 1 2 4 8 16 32 [0] The numbers below the line are the coefficients of a polynomial of one degree lower, i.e. x5 + 2x4 + 4x3 + 8x2 + 16x + 32 and the last number is the remainder. Therefore, x6 − 64 = x5 + 2x4 + 4x3 + 8x2 + 16x + 32 x − 2 Observe that finding roots of any polynomial p(x) is now reduced to finding a number c (that would play the role of 2 above) such that the remainder of the synthetic division, namely p(c), is zero.
    [Show full text]
  • Polynomial Functions
    Polynomial Functions 6A Operations with Polynomials 6-1 Polynomials 6-2 Multiplying Polynomials 6-3 Dividing Polynomials Lab Explore the Sum and Difference of Two Cubes 6-4 Factoring Polynomials 6B Applying Polynomial Functions 6-5 Finding Real Roots of Polynomial Equations 6-6 Fundamental Theorem of A207SE-C06-opn-001P Algebra FPO Lab Explore Power Functions 6-7 Investigating Graphs of Polynomial Functions 6-8 Transforming Polynomial Functions 6-9 Curve Fitting with Polynomial Models • Solve problems with polynomials. • Identify characteristics of polynomial functions. You can use polynomials to predict the shape of containers. KEYWORD: MB7 ChProj 402 Chapter 6 a211se_c06opn_0402_0403.indd 402 7/22/09 8:05:50 PM A207SE-C06-opn-001PA207SE-C06-opn-001P FPO Vocabulary Match each term on the left with a definition on the right. 1. coefficient A. the y-value of the highest point on the graph of the function 2. like terms B. the horizontal number line that divides the coordinate plane 3. root of an equation C. the numerical factor in a term 4. x-intercept D. a value of the variable that makes the equation true 5. maximum of a function E. terms that contain the same variables raised to the same powers F. the x-coordinate of a point where a graph intersects the x-axis Evaluate Powers Evaluate each expression. 2 6. 6 4 7. - 5 4 8. (-1) 5 9. - _2 ( 3) Evaluate Expressions Evaluate each expression for the given value of the variable. 10. x 4 - 5 x 2 - 6x - 8 for x = 3 11.
    [Show full text]
  • 1 UNIT 4. POLYNOMIAL Operations with Polynimials
    UNIT 4. POLYNOMIAL A polynomial is an expression of finite length constructed from variables (also known as indeterminates), usually represented by lettres and constants (called the coefficients of the terms), using only the operations of addition, subtraction, multiplication, and non-negative integer exponents. For example, x2 − 4x + 7 is a polynomial, but x2 − 4/x + 7x3/2 is not, because its second term involves division by the variable x (4/x) and because its third term contains an exponent that is not an integer (3/2). The exponent on a variable in a term is called the degree of that variable in that term, the degree of the term is the sum of the degrees of the variables in that term, and the degree of a polynomial is the largest degree of any one term. For example, x3- 4x + 2 is a polynomial whose degree is three and the degree of y3x + 8x4y2 is six. A term with no variables is called a constant term, or just a constant. The degree of a (nonzero) constant term is 0. For example: is a term. The coefficient is –5, the variables are x and y, the degree of x is in the term two, while the degree of y is one. The degree of the entire term is the sum of the degrees of each variable in it, so in this example the degree is 2 + 1 = 3. Forming a sum of several terms produces a polynomial. For example, the following is a polynomial: It consists of three terms: the first is degree two, the second is degree one, and the third is degree zero.
    [Show full text]
  • Dividing Polynomials
    4.3 Dividing Polynomials EEssentialssential QQuestionuestion How can you use the factors of a cubic polynomial to solve a division problem involving the polynomial? Dividing Polynomials Work with a partner. Match each division statement with the graph of the related cubic polynomial f(x). Explain your reasoning. Use a graphing calculator to verify your answers. f(x) f(x) a. — = (x − 1)(x + 2) b. — = (x − 1)(x + 2) x x − 1 f(x) f(x) c. — = (x − 1)(x + 2) d. — = (x − 1)(x + 2) x + 1 x − 2 f(x) f(x) e. — = (x − 1)(x + 2) f. — = (x − 1)(x + 2) x + 2 x − 3 A. 4 B. 8 −6 6 −8 8 −4 −4 6 C. 4 D. −6 6 −8 8 −4 −2 E. 4 F. 4 −6 6 −6 6 REASONING ABSTRACTLY −4 −4 To be profi cient in math, you need to understand a situation abstractly and Dividing Polynomials represent it symbolically. Work with a partner. Use the results of Exploration 1 to fi nd each quotient. Write your answers in standard form. Check your answers by multiplying. a. (x3 + x2 − 2x) ÷ x b. (x3 − 3x + 2) ÷ (x − 1) c. (x3 + 2x2 − x − 2) ÷ (x + 1) d. (x3 − x2 − 4x + 4) ÷ (x − 2) e. (x3 + 3x2 − 4) ÷ (x + 2) f. (x3 − 2x2 − 5x + 6) ÷ (x − 3) CCommunicateommunicate YourYour AnswerAnswer 3. How can you use the factors of a cubic polynomial to solve a division problem involving the polynomial? Section 4.3 Dividing Polynomials 173 hhsnb_alg2_pe_0403.inddsnb_alg2_pe_0403.indd 173173 22/5/15/5/15 111:051:05 AMAM 4.3 Lesson WWhathat YYouou WWillill LLearnearn Use long division to divide polynomials by other polynomials.
    [Show full text]
  • Remainder Pdf, Epub, Ebook
    REMAINDER PDF, EPUB, EBOOK Tom McCarthy | 288 pages | 17 Aug 2015 | Alma Books Ltd | 9781846883804 | English | Surrey, United Kingdom Remainder PDF Book The sign bit becomes 0, so the result is always non-negative. Or something like that. See More First Known Use of remainder Noun 14th century, in the meaning defined at sense 1 Adjective , in the meaning defined above Verb , in the meaning defined above History and Etymology for remainder Noun Middle English, from Anglo-French, from remaindre , verb Keep scrolling for more Learn More about remainder Share remainder Post the Definition of remainder to Facebook Share the Definition of remainder on Twitter Time Traveler for remainder. But if the remainder is 0, it is not positive, even though it is called a "positive remainder". It is somewhat easier than solving a division problem by finding a quotient answer with a decimal. Embed Share via. Long Division Calculator with Remainders. Namespaces Article Talk. Whereas 'coronary' is no so much Put It in the 'Frunk' You can never have too much storage. The rings for which such a theorem exists are called Euclidean domains , but in this generality, uniqueness of the quotient and remainder is not guaranteed. In this case you could divide 32 into 48 straight away. Sign in with Github Sign in with Google. How do I calculate the remainder of 24 divided by 7? Flaws and Assumptions Render Ash St. The Vertebrate Skeleton Sidney H. Chinese remainder theorem Divisibility rule Egyptian multiplication and division Euclidean algorithm Long division Modular arithmetic Polynomial long division Synthetic division Ruffini's rule , a special case of synthetic division Taylor's theorem.
    [Show full text]
  • 3.2 the Factor Theorem and the Remainder Theorem 257
    3.2 The Factor Theorem and The Remainder Theorem 257 3.2 The Factor Theorem and The Remainder Theorem Suppose we wish to find the zeros of f(x) = x3 + 4x2 − 5x − 14. Setting f(x) = 0 results in the polynomial equation x3 + 4x2 − 5x − 14 = 0. Despite all of the factoring techniques we learned1 in Intermediate Algebra, this equation foils2 us at every turn. If we graph f using the graphing calculator, we get The graph suggests that the function has three zeros, one of which is x = 2. It's easy to show that f(2) = 0, but the other two zeros seem to be less friendly. Even though we could use the `Zero' command to find decimal approximations for these, we seek a method to find the remaining zeros exactly. Based on our experience, if x = 2 is a zero, it seems that there should be a factor of (x − 2) lurking around in the factorization of f(x). In other words, we should expect that x3 + 4x2 − 5x − 14 = (x − 2) q(x), where q(x) is some other polynomial. How could we find such a q(x), if it even exists? The answer comes from our old friend, polynomial division. Dividing x3 + 4x2 − 5x − 14 by x − 2 gives x2 + 6x + 7 x−2 x3 + 4x2 − 5x − 14 −x3 −2x2 6x2 − 5x −6x2 −12x) 7x − 14 − (7x −14) 0 As you may recall, this means x3 + 4x2 − 5x − 14 = (x − 2) x2 + 6x + 7, so to find the zeros of f, we now solve (x − 2) x2 + 6x + 7 = 0.
    [Show full text]
  • Paolo Ruffini Was Aware of the Technique for Dividing a Australian Senior Mathematics Journal Vol
    Ghosts of mathematicians past: Paolo Ruffini John Fitzherbert Ivanhoe Girls’ Grammar School jfi[email protected] aolo Ruffini (1765–1822) may be something of an unknown in high school Pmathematics; however his contributions to the world of mathematics are a rich source of inspiration. Ruffini’s rule (often known as synthetic division) is an efficient method of dividing a polynomial by a linear factor, with or without a remainder. Although not described by Ruffini, the process can be generalised to non-linear divisors. Ruffini’s rule can be further generalised to evaluation of derivatives at a given point, does not require technology and, most importantly, it is not beyond the reach of high school mathematics students to prove why the rule works for polynomials of a specific degree. Introduction This article does not propose to discuss the origins of the method for long division of polynomials known to many as synthetic division, nor to discuss whether it should be known as Horner’s method as ascribed to William Horner by Augustus De Morgan (Robertson & O’Connor, 2005) or as some cousin of the Chinese remainder theorem developed by Qin Jiushao (Joseph, 2011). It is known however that Paolo Ruffini was aware of the technique for dividing a Australian Senior Mathematics Journal vol. 30 no. 2 polynomial dividend by a linear divisor with greater efficiency than algebraic long division. Whether or not Ruffini knew that the technique could be extended to polynomial divisors of higher degree is largely irrelevant to this article, because the focus of this discussion is on the implications of the technique for high school mathematics.
    [Show full text]