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

About Polynomials Again

 

In this section we reexamine the asymptotic behavior of polynomials in n. In Section gif we showed that tex2html_wrap_inline58171. That is, f(n) grows asymptotically no more quickly than tex2html_wrap_inline58679. This time we are interested in the asymptotic lower bound rather than the asymptotic upper bound. We will see that as n gets large, the term involving tex2html_wrap_inline58679 also dominates the lower bound in the sense that f(n) grows asymptotically as quickly as tex2html_wrap_inline58679. That is, that tex2html_wrap_inline58689.

Theorem  Consider a polynomial  in n of the form

eqnarray1551

where tex2html_wrap_inline58169. Then tex2html_wrap_inline58689.

extbfProof We begin by taking the term tex2html_wrap_inline58697 out of the summation:

eqnarray1805

Since, n is a non-negative integer and tex2html_wrap_inline58169, the term tex2html_wrap_inline58697 is positive. For each of the remaining terms in the summation, tex2html_wrap_inline58705. Hence

eqnarray1811

Note that for integers tex2html_wrap_inline58185, tex2html_wrap_inline58709 for tex2html_wrap_inline58711. Thus

eqnarray1825

Consider the term in parentheses on the right. What we need to do is to find a positive constant c and an integer tex2html_wrap_inline57693 so that for all integers tex2html_wrap_inline57727 this term is greater than or equal to c:

displaymath58671

We choose the value tex2html_wrap_inline57693 for which the term is greater than zero:

eqnarray1842

The value tex2html_wrap_inline58723 will suffice! Thus

  eqnarray1856

From Equation gif we see that we have found the constants tex2html_wrap_inline57693 and c, such that for all tex2html_wrap_inline57727, tex2html_wrap_inline58731. Thus, tex2html_wrap_inline58689.

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_inline58689.


next up previous index

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