zoukankan      html  css  js  c++  java
  • synthetic division

    Synthetic Division: The Process (page 1 of 4)

    Sections:Introduction, Worked examples, Finding zeroes, Factoring polynomials


    Synthetic division is a shorthand, or shortcut, method of polynomial division in the special case of dividing by a linear factor -- and it only works in this case. Synthetic division is generally used, however, not for dividing out factors but for finding zeroes (or roots) of polynomials. More about this later.

    If you are given, say, the polynomial equation y = x2 + 5x + 6, you can factor the polynomial as y = (x+ 3)(x + 2). Then you can find the zeroes of y by setting each factor equal to zero and solving. You will find that x = –2 and x = –3 are the two zeroes of y.

    You can, however, also work backwards from the zeroes to find the originating polynomial. For instance, if you are given that x = –2 and x = –3 are the zeroes of a quadratic, then you know that x + 2 = 0, sox + 2 is a factor, and x + 3 = 0, so x + 3 is a factor. Therefore, you know that the quadratic must be of the form y = a(x + 3)(x + 2).

    Anyway, the above is a long-winded way of saying that, if xn is a factor, then x = nis a zero, and ifx = n is a zero, then xn is a factor. And this is the fact you use when you do synthetic division.(The extra number "a" in that last sentence is in there because, when you are working backwards from the zeroes, you don't know toward which quadratic you're working. For any non-zero value of "a", your quadratic will still have the same zeroes. But the issue of the value of "a" is just a technical consideration; as long as you see the relationship between the zeroes and the factors, that's all you really need to know for this lesson.)

    Let's look again at the quadratic from above: y = x2 + 5x + 6. From the Rational Roots Test, you know that ± 1, 2, 3, and 6 are possible zeroes of the quadratic. (And, from the factoring above, you know that the zeroes are, in fact, –3 and –2.) How would you use synthetic division to check the potential zeroes? Well, think about how long polynomial divison works. If we guess that x = 1 is a zero, then this means that x – 1 is a factor of the quadratic. And if it's a factor, then it will divide out evenly; that is, if we divide x2 + 5x + 6 by x – 1, we would get a zero remainder. Let's check:

    long division: remainder 12

    As expected (since we know that x – 1 is not a factor), we got a non-zero remainder. What does this look like in synthetic division? Copyright © Elizabeth Stapel 2002-2011 All Rights Reserved

    First, write the coefficients ONLY inside an upside-down division symbol:

    write coefficients in upside-down division symbol

    Make sure you leave room inside, underneath the row of coefficients, to write another row of numbers later.

    Put the test zero, x = 1, at the left:

    write test zero at left   

    Take the first number inside, representing the leading coefficient, and carry it down, unchanged, to below the division symbol:

    carry down leading coefficient   

    Multiply this carry-down value by the test zero, and carry the result up into the next column:

    multiply by test zero, and carry result up into next column   

    Add down the column:

    add down the column   

    Multiply the previous carry-down value by the test zero, and carry the new result up into the last column:

    multiply result by test zero, and carry result into next column    

    Add down the column:

    This last carry-down value is the remainder.

    add down the column   

    Comparing, you can see that we got the same result from the synthetic division, the same quotient (namely, 1x + 6) and the same remainder at the end (namely, 12), as when we did the long division:

    long division: x + 6, remainder 12 synthetic division: 1   6   12

    The results are formatted differently, but you should recognize that each format provided us with the result, being a quotient of x + 6, and a remainder of 12.

    You already know (from the factoring above) that x+ 3 is a factor of the polynomial, and therefore thatx = –3 is a zero. Now compare the results of long division and synthetic division when we use the factor x + 3 (for the long division) and the zero x = –3 (for the synthetic division):

     

    comparative animations

    As you can see above, while the results are formatted differently, the results are otherwise the same:

    In the long division, I divided by the factor x + 3, and arrived at the result of x + 2 with a remainder of zero. This means that x + 3 is a factor, and that x + 2 is left after factoring out the x + 3. Setting the factors equal to zero, I get that x = –3 and x = –2 are the zeroes of the quadratic.

    In the synthetic division, I divided by x = –3, and arrived at the same result of x + 2 with a remainder of zero. Because the remainder is zero, this means that x + 3 is a factor and x = –3 is a zero. Also, because of the zero remainder, x + 2 is the remaining factor after division. Setting this equal to zero, I get that x = –2 is the other zero of the quadratic.

    I will return to this relationship between factors and zeroes throughout what follows; the two topics are inextricably intertwined.

    picked from  :http://www.purplemath.com/modules/synthdiv.htm

  • 相关阅读:
    OP_REQUIRES failed at conv_ops.cc:386 : Resource exhausted: OOM when allocating tensor with shape..
    Python中*args和**kwargs的区别
    命令行运行Python脚本时传入参数的三种方式
    关于 initWithNibName 和 loadNibNamed 的区别和联系-iPhone成长之路
    NSBundle介绍
    UIView总结
    iPhone How-to:如何调整UIView的Z-Order
    有关View的几个基础知识点-IOS开发
    NSNumber与NSInteger的区别
    iOS第三方开源库的吐槽和备忘
  • 原文地址:https://www.cnblogs.com/johnchain/p/2769299.html
Copyright © 2011-2022 走看看