09.12.2012 Views

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

Concrete mathematics : a foundation for computer science

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

As opposed to a<br />

cassette function.<br />

2.6 FINITE AND INFINITE CALCULUS 47<br />

2.6 FINITE AND INFINITE CALCULUS<br />

We’ve learned a variety of ways to deal with sums directly. Now it’s<br />

time to acquire a broader perspective, by looking at the problem of summation<br />

from a higher level. Mathematicians have developed a “finite calculus,”<br />

analogous to the more traditional infinite calculus, by which it’s possible to<br />

approach summation in a nice, systematic fashion.<br />

Infinite calculus is based on the properties of the derivative operator D,<br />

defined by<br />

Df(x) = :rnO<br />

f(x+ h) - f(x)<br />

h ’<br />

Finite calculus is based on the properties of the difference operator A, defined<br />

by<br />

Af(x) = f(x + 1) -f(x). (2.42)<br />

This is the finite analog of the derivative in which we restrict ourselves to<br />

positive integer values of h. Thus, h = 1 is the closest we can get to the<br />

“limit” as h + 0, and Af(x) is the value of (f(x + h) - f(x))/h when h = 1.<br />

The symbols D and A are called operators because they operate on<br />

functions to give new functions; they are functions of functions that produce<br />

functions. If f is a suitably smooth function of real numbers to real numbers,<br />

then Df is also a function from reals to reals. And if f is any real-to-real<br />

function, so is Af. The values of the functions Df and Af at a point x are<br />

given by the definitions above.<br />

Early on in calculus we learn how D operates on the powers f(x) = x"'.<br />

In such cases Df(x) = mxmP’. We can write this in<strong>for</strong>mally with f omitted,<br />

D(xm) = mx”-‘,<br />

It would be nice if the A operator would produce an equally elegant result;<br />

un<strong>for</strong>tunately it doesn’t. We have, <strong>for</strong> example,<br />

A(x3) = (x+~)~-x’ = 3x 2 +3x+1.<br />

Math power. But there is a type of “mth power” that does trans<strong>for</strong>m nicely under A,<br />

and this is what makes finite calculus interesting. Such newfangled mth<br />

powers are defined by the rule<br />

m factors<br />

A<br />

XE = Ix(x-l)...(x-mmlj, integer m 3 0. (2.43)<br />

Notice the little straight line under the m; this implies that the m factors<br />

are supposed to go down and down, stepwise. There’s also a corresponding

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!