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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Actually Gauss is<br />

often called the<br />

greatest mathematician<br />

of all time.<br />

So it’s nice to be<br />

able to understand<br />

at least one of his<br />

discoveries.<br />

When in doubt,<br />

look at the words.<br />

Why is it Vlosed,”<br />

as opposed to<br />

L’open”? What<br />

image does it bring<br />

to mind?<br />

Answer: The equation<br />

is “closed ” not<br />

defined in ter;s of<br />

itself-not leading<br />

to recurrence. The<br />

case is “closed” -it<br />

won’t happen again.<br />

Metaphors are the<br />

key.<br />

Is “zig” a technical<br />

term?<br />

OK, we have our solution:<br />

L n = n(n+‘) $1<br />

2 )<br />

1.2 LINES IN THE PLANE 7<br />

<strong>for</strong> n 3 0. (1.6)<br />

As experts, we might be satisfied with this derivation and consider it<br />

a proof, even though we waved our hands a bit when doing the unfolding<br />

and reflecting. But students of <strong>mathematics</strong> should be able to meet stricter<br />

standards; so it’s a good idea to construct a rigorous proof by induction. The<br />

key induction step is<br />

L, = L,-lfn = (t(n-l)n+l)+n = tn(n+l)+l.<br />

Now there can be no doubt about the,closed <strong>for</strong>m (1.6).<br />

Incidentally we’ve been talking about “closed <strong>for</strong>ms” without explicitly<br />

saying what we mean. Usually it’s pretty clear. Recurrences like (1.1)<br />

and (1.4) are not in closed <strong>for</strong>m- they express a quantity in terms of itself;<br />

but solutions like (1.2) and (1.6) are. Sums like 1 + 2 + . . . + n are not in<br />

closed <strong>for</strong>m- they cheat by using ’ . . . ‘; but expressions like n(n + 1)/2 are.<br />

We could give a rough definition like this: An expression <strong>for</strong> a quantity f(n)<br />

is in closed <strong>for</strong>m if we can compute it using at most a fixed number of “well<br />

known” standard operations, independent of n. For example, 2” - 1 and<br />

n(n + 1)/2 are closed <strong>for</strong>ms because they involve only addition, subtraction,<br />

multiplication, division, and exponentiation, in explicit ways.<br />

The total number of simple closed <strong>for</strong>ms is limited, and there are recurrences<br />

that don’t have simple closed <strong>for</strong>ms. When such recurrences turn out<br />

to be important, because they arise repeatedly, we add new operations to our<br />

repertoire; this can greatly extend the range of problems solvable in “simple”<br />

closed <strong>for</strong>m. For example, the product of the first n integers, n!, has proved<br />

to be so important that we now consider it a basic operation. The <strong>for</strong>mula<br />

‘n!’ is there<strong>for</strong>e in closed <strong>for</strong>m, although its equivalent ‘1 .2.. . . .n’ is not.<br />

And now, briefly, a variation of the lines-in-the-plane problem: Suppose<br />

that instead of straight lines we use bent lines, each containing one “zig!’<br />

What is the maximum number Z, of regions determined by n such bent lines<br />

in the plane? We might expect Z, to be about twice as big as L,, or maybe<br />

three times as big. Let’s see:<br />

<<br />

1<br />

2

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

Saved successfully!

Ooh no, something went wrong!