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.

2.4 MULTIPLE SUMS 39<br />

Multiple summation has an interesting connection with the general operation<br />

of changing the index of summation in single sums. We know by the<br />

commutative law that<br />

t ak = a,(k) 1<br />

&K p(k)EK<br />

if p(k) is any permutation of the integers. But what happens when we replace<br />

k by f(j), where f is an arbitrary function<br />

f: J --+ K<br />

that takes an integer j E J into an integer f(j) E K? The general <strong>for</strong>mula <strong>for</strong><br />

index replacement is<br />

x Of(j) = x ak#f-(k)) (2.35)<br />

jCJ<br />

kEK<br />

where #f-(k) stands <strong>for</strong> the number of elements in the set<br />

f-(k) = {j If(j) = k> y<br />

that is, the number of values of j E J such that f(j) equals k.<br />

It’s easy to prove (2.35) by interchanging the order of summation,<br />

x (h(j)<br />

= x ak [f(j)=k] = x akt[f(j)=k] ,<br />

jEJ jEJ kEK jCJ<br />

&K<br />

since xjEJ[f(j) =k] = #f-(k). In the special case that f is a one-to-one<br />

My other math correspondence between J and K, we have #f-(k) = 1 <strong>for</strong> all k, and the<br />

teacher calls this a<br />

“bijection”; maybe<br />

general <strong>for</strong>mula (2.35) reduces to<br />

171 learn to love<br />

that word some day. x af(j) = t af(j) = xak.<br />

And then again. . .<br />

jEJ f(jlEK kEK<br />

This is the commutative law (2.17) we had be<strong>for</strong>e, slightly disguised.<br />

Our examples of multiple sums so far have all involved general terms like<br />

ok or bk. But this book is supposed to be concrete, so let’s take a look at a<br />

multiple sum that involves actual numbers:

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

Saved successfully!

Ooh no, something went wrong!