Data Structures and Algorithms with Object-Oriented Design Patterns in Ruby
next up previous index

About Polynomials

 

In this section we examine the asymptotic behavior of polynomials in n. In particular, we will see that as n gets large, the term involving the highest power of n will dominate all the others. Therefore, the asymptotic behavior is determined by that term.

Theorem  Consider a polynomial  in n of the form

eqnarray1551

where tex2html_wrap_inline58169. Then tex2html_wrap_inline58171.

extbfProof Each of the terms in the summation is of the form tex2html_wrap_inline58173. Since n is non-negative, a particular term will be negative only if tex2html_wrap_inline58177. Hence, for each term in the summation, tex2html_wrap_inline58179. Recall too that we have stipulated that the coefficient of the largest power of n is positive, i.e., tex2html_wrap_inline58169.

eqnarray1559

Note that for integers tex2html_wrap_inline58185, tex2html_wrap_inline58187 for tex2html_wrap_inline58189. Thus

  equation1571

From Equation gif we see that we have found the constants tex2html_wrap_inline58191 and tex2html_wrap_inline58193, such that for all tex2html_wrap_inline57727, tex2html_wrap_inline58197. Thus, tex2html_wrap_inline58171.

This property of the asymptotic behavior of polynomials is used extensively. In fact, whenever we have a function, which is a polynomial in n, tex2html_wrap_inline58203 we will immediately ``drop'' the less significant terms (i.e., terms involving powers of n which are less than m), as well as the leading coefficient, tex2html_wrap_inline58209, to write tex2html_wrap_inline58171.


next up previous index

Bruno Copyright © 2004 by Bruno R. Preiss, P.Eng. All rights reserved.