Basic Probability Rules and Counting Methods

Elementary Event Rule

  • Let SS represent the sample space such that S={e1,e2,,en}S = \{e_1, e_2, \dots, e_n\}.

  • Let EE represent an event within the sample space such that E={e1,e2,,em}E = \{e_1, e_2, \dots, e_m\}.

  • The sum of probabilities of all elementary events in the sample space must equal 1: P(S)=P(e1)+P(e2)++P(en)=1P(S) = P(e_1) + P(e_2) + \dots + P(e_n) = 1

  • The probability of a specific event EE is the sum of the probabilities of the outcomes that compose it:
    P(E)=P(e1)+P(e2)++P(em)=n(E)n(S)P(E) = P(e_1) + P(e_2) + \dots + P(e_m) = \frac{n(E)}{n(S)}

Addition Rule for Two Events

  • For any two events EE and FF in the sample space SS:

    • EFE \cap F denotes the intersection of events EE and FF.

    • EFE \cup F denotes the union of events EE and FF.

  • There are two cases for computing the probability of the union, P(EF)P(E \cup F), depending on whether the events overlap.

Case 1: Mutually Exclusive Events

  • Events EE and FF are mutually exclusive if they cannot occur at the same time (EF=E \cap F = \emptyset).

  • If n(S)=nn(S) = n, n(E)=n1n(E) = n_1, and n(F)=n2n(F) = n_2, then: P(EF)=n1+n2nP(E \cup F) = \frac{n_1 + n_2}{n}

  • Therefore: P(EF)=P(E)+P(F)P(E \cup F) = P(E) + P(F)

Case 2: Non-Mutually Exclusive Events

  • If events EE and FF are not mutually exclusive, they share common elements.

  • The addition rule is: P(EF)=P(E)+P(F)P(EF)P(E \cup F) = P(E) + P(F) - P(E \cap F)

  • Numerical Example:

    • Sample space S={a,b,c,d,e,f,g}S = \{a, b, c, d, e, f, g\}, so n(S)=7n(S) = 7.

    • Event E={c,d,e}E = \{c, d, e\}, so n(E)=3n(E) = 3.

    • Event F={a,b,c}F = \{a, b, c\}, so n(F)=3n(F) = 3.

    • Intersection EF={c}E \cap F = \{c\}, so n(EF)=1n(E \cap F) = 1.

    • Union EF={a,b,c,d,e}E \cup F = \{a, b, c, d, e\}, so n(EF)=5n(E \cup F) = 5.

    • Using the rule: P(EF)=P(E)+P(F)P(EF)=37+3717=57P(E \cup F) = P(E) + P(F) - P(E \cap F) = \frac{3}{7} + \frac{3}{7} - \frac{1}{7} = \frac{5}{7}.

Complement Rule

  • Let GG be an event in the sample space SS.

  • The complement of event EE is denoted as Eˉ\bar{E}.

  • The intersection of an event and its complement is an empty set: EEˉ=E \cap \bar{E} = \emptyset

Conditional Event Rule

  • For any two sets (events) EE and FF, the notation E/FE/F (read as EE given FF) represents the probability that event EE occurs given that event FF has already occurred.

  • If P(F)0P(F) \neq 0, then: P(EF)=P(EF)P(F)P(E|F) = \frac{P(E \cap F)}{P(F)}

  • Conversely, if P(E)0P(E) \neq 0, then: P(FE)=P(EF)P(E)P(F|E) = \frac{P(E \cap F)}{P(E)}

  • Generally, for any events xx and yy: P(xy)=P(xy)P(y)P(x|y) = \frac{P(x \cap y)}{P(y)}

Independent Events

  • Two events EE and FF are considered independent if the occurrence of one does not affect the occurrence of the other.

  • The probability of their intersection is the product of their individual probabilities: P(EF)=P(E)×P(F)P(E \cap F) = P(E) \times P(F)

Partitioned Event Rule

  • Consider a population divided into kk various partitions (sub-populations):

    • Subpop 1 contains N1N_1 items.

    • Subpop 2 contains N2N_2 items.

    • Subpop kk contains NkN_k items.

    • The total population is N=N1+N2++NkN = N_1 + N_2 + \dots + N_k.

  • Suppose a sample of size nn is taken, consisting of:

    • n1n_1 items from Subpop 1.

    • n2n_2 items from Subpop 2.

    • nkn_k items from Subpop kk.

    • The total sample size is n=n1+n2++nkn = n_1 + n_2 + \dots + n_k.

  • Let EiE_i be the event of selecting nin_i items from sub-population ii for all i=1,2,,ki = 1, 2, \dots, k.

  • The probability P(E)P(E) is calculated using permutations or combinations (CC): P(E)=n(E)n(S)=(N1n1)×(N2n2)××(Nknk)(Nn)P(E) = \frac{n(E)}{n(S)} = \frac{\binom{N_1}{n_1} \times \binom{N_2}{n_2} \times \dots \times \binom{N_k}{n_k}}{\binom{N}{n}}

Counting Methods

Multiplication Principle

  • Let E1E_1 and E2E_2 be any two events of interest.

  • Let n1=n(E1)n_1 = n(E_1) be the number of occurrences of E1E_1.

  • Let n2=n(E2)n_2 = n(E_2) be the number of occurrences of E2E_2.

  • The total number of ways both E1E_1 and E2E_2 can occur is: n1×n2=n(E1)×n(E2)n_1 \times n_2 = n(E_1) \times n(E_2)

The Factorial Formula

  • Consider an experiment involving the assignment of nn students to nn projects.

  • Let EiE_i be the event of assigning project ii to student ii for i=1,2,,ni = 1, 2, \dots, n.

  • The number of ways of assigning project ii (n(Ei)n(E_i)) decreases as slots are filled:

    • n(E1)=nn(E_1) = n

    • n(E2)=n1n(E_2) = n - 1

    • n(E3)=n2n(E_3) = n - 2

    • n(En)=1n(E_n) = 1

  • For example, assigning 10 students to projects results in 10×9×8×7××110 \times 9 \times 8 \times 7 \times \dots \times 1

  • The total number of ways of assigning nn students to nn projects is: n(E1)×n(E2)×n(E3)××n(En)=n×(n1)×(n2)×(n3)××1=n!n(E_1) \times n(E_2) \times n(E_3) \times \dots \times n(E_n) = n \times (n-1) \times (n-2) \times (n-3) \times \dots \times 1 = n!

  • n!n! is read as "nn factorial."

Permutations and Combinations

Permutation

  • Consider an experiment of assigning nn students to rr projects where r < n.

  • The number of ways of assigning projects is given by the permutation: P(n,r)=n(E1)×n(E2)××n(Er)P(n, r) = n(E_1) \times n(E_2) \times \dots \times n(E_r)

  • This simplifies to the formula: P(n,r)=n!(nr)!P(n, r) = \frac{n!}{(n - r)!}

  • A permutation is defined as the number of ways items can be arranged in a given order.

Combination

  • If the order of arranging items is not important, the event is called a Combination (C(n,r)C(n, r) or nCr^nC_r).

  • The formula is: C(n,r)=n!r!(nr)!=P(n,r)r!C(n, r) = \frac{n!}{r! (n - r)!} = \frac{P(n, r)}{r!}

Permutation of Non-Distinct Items

  • Consider an experiment where nn students are assigned to nn projects that are partitioned into kk groups.

  • The projects are distributed as follows:

    • n1n_1 projects are of type 1.

    • n2n_2 projects are of type 2.

    • nkn_k projects are of type kk.

    • The sum of all types equals the total: n1+n2++nk=nn_1 + n_2 + \dots + n_k = n.

  • If EiE_i is the event of assigning nin_i projects of type ii to students, the number of ways to perform this assignment is: P(n1,n2,n3,,nk)=n!n1!×n2!×n3!××nk!P(n_1, n_2, n_3, \dots, n_k) = \frac{n!}{n_1! \times n_2! \times n_3! \times \dots \times n_k!}