28.01.2015 Views

A Probability Course for the Actuaries A Preparation for Exam P/1

A Probability Course for the Actuaries A Preparation for Exam P/1

A Probability Course for the Actuaries A Preparation for Exam P/1

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.

26 BASIC OPERATIONS ON SETS<br />

<strong>Exam</strong>ple 2.13<br />

A total of 35 programmers interviewed <strong>for</strong> a job; 25 knew FORTRAN, 28<br />

knew PASCAL, and 2 knew nei<strong>the</strong>r languages. How many knew both languages<br />

Solution.<br />

Let F be <strong>the</strong> group of programmers that knew FORTRAN, P those who<br />

knew PASCAL. Then F ∩ P is <strong>the</strong> group of programmers who knew both<br />

languages. By <strong>the</strong> Inclusion-Exclusion Principle we have n(F ∪ P ) = n(F ) +<br />

n(P ) − n(F ∩ P ). That is, 33 = 25 + 28 − n(F ∩ P ). Solving <strong>for</strong> n(F ∩ P ) we<br />

find n(F ∩ P ) = 20<br />

Cartesian Product<br />

The notation (a, b) is known as an ordered pair of elements and is defined<br />

by (a, b) = {{a}, {a, b}}.<br />

The Cartesian product of two sets A and B is <strong>the</strong> set<br />

A × B = {(a, b)|a ∈ A, b ∈ B}.<br />

The idea can be extended to products of any number of sets. Given n sets<br />

A 1 , A 2 , · · · , A n <strong>the</strong> Cartesian product of <strong>the</strong>se sets is <strong>the</strong> set<br />

A 1 × A 2 × · · · × A n = {(a 1 , a 2 , · · · , a n ) : a 1 ∈ A 1 , a 2 ∈ A 2 , · · · , a n ∈ A n }<br />

<strong>Exam</strong>ple 2.14<br />

Consider <strong>the</strong> experiment of tossing a fair coin n times. Represent <strong>the</strong> sample<br />

space as a Cartesian product.<br />

Solution.<br />

If S is <strong>the</strong> sample space <strong>the</strong>n S = S 1 × S 2 × · · · × S n where S i , 1 ≤ i ≤ n is<br />

<strong>the</strong> set consisting of <strong>the</strong> two outcomes H=head and T = tail<br />

The following <strong>the</strong>orem is a tool <strong>for</strong> finding <strong>the</strong> cardinality of <strong>the</strong> Cartesian<br />

product of two finite sets.<br />

Theorem 2.4<br />

Given two finite sets A and B. Then<br />

n(A × B) = n(A) · n(B).

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

Saved successfully!

Ooh no, something went wrong!