06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

“mcs” — 2017/3/3 — 11:21 — page 736 — #744<br />

736<br />

Chapter 17<br />

Events and Probability Spaces<br />

The two-event Inclusion-Exclusion equation above generalizes to any finite set<br />

of events in the same way as the corresponding Inclusion-Exclusion rule <strong>for</strong> n<br />

sets. Boole’s inequality also generalizes to both finite and countably infinite sets of<br />

events:<br />

Rule 17.5.4 (Union Bound).<br />

PrŒE 1 [ [ E n [ PrŒE 1 C C PrŒE n C : (17.8)<br />

The Union Bound is useful in many calculations. For example, suppose that E i is<br />

the event that the i-th critical component among n components in a spacecraft fails.<br />

Then E 1 [ [ E n is the event that some critical component fails. If P n<br />

iD1 PrŒE i<br />

is small, then the Union Bound can provide a reassuringly small upper bound on<br />

this overall probability of critical failure.<br />

17.5.3 Uni<strong>for</strong>m Probability Spaces<br />

Definition 17.5.5. A finite probability space S is said to be uni<strong>for</strong>m if PrŒ! is the<br />

same <strong>for</strong> every outcome ! 2 S.<br />

As we saw in the strange dice problem, uni<strong>for</strong>m sample spaces are particularly<br />

easy to work with. That’s because <strong>for</strong> any event E S,<br />

PrŒE D jEj<br />

jSj : (17.9)<br />

This means that once we know the cardinality of E and S, we can immediately<br />

obtain PrŒE. That’s great news because we developed lots of tools <strong>for</strong> computing<br />

the cardinality of a set in Part III.<br />

For example, suppose that you select five cards at random from a standard deck<br />

of 52 cards. What is the probability of having a full house? Normally, this question<br />

would take some ef<strong>for</strong>t to answer. But from the analysis in Section 15.7.2, we know<br />

that<br />

!<br />

jSj D 52<br />

5<br />

and<br />

jEj D 13 <br />

!<br />

4<br />

12 <br />

3<br />

where E is the event that we have a full house. Since every five-card hand is equally<br />

!<br />

4<br />

2

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

Saved successfully!

Ooh no, something went wrong!