Random process/experiment

When it takes place, one outcome from some set of outcomes is sure to occur, but it is impossible to predict with certainty which outcome that will be.

Sample Space

The set of all possible outcomes of a random process. An event is a subset of the sample space

Probability

Probability Axioms

Let be a sample space. A probability function from the set of all events in to the set of real numbers satisfies the following axioms for all events and in ,

  1. and
  2. If and are disjoint events (), then

Probability of union of two events

If and are any events in a sample space then

Equally likely probability formula

If is a finite sample space in which all outcomes are equally likely and is an event in , then the probability of , denoted is

Probability of complement of event

Expected Value

Suppos the possible outcomes of a probability experiment are real numbers which occur with probabilities respectively. The expected value of the experiment is:

Conditional Probability

Let and be events in a sample space . If then the conditional probability of given , denoted is

Bayes’ Theorem

Suppose that a sample space is a union of mutually disjoin events . Suppose is an event in and suppose and all the have non-zero probabilities. If is an integer with then

Independent Events

For events and in sample space then they are indepent iff

Mutually Independent

For events and in a sample space . They are pairwise independent iff they satisfy conditons 1-3 below. They are mutually independent iff they satisfy all 4 conditions below.

Counting

Theorem 9.1.1: If and are integers and then there are integers from to inclusive.

Permutations

A permutation of a set of objects is an ordering of distinguishable objects in a row (e.g. abc, acb, cba, bac, bca, cab)
Theorem 9.2.2: The number of permutations of a set with () elements is
Theorem 9.2.3: If and are integers and then the number of r-permutations of a set of n elements or

r-combination

let and be non-negative integers with
An r-combination of a set of elements is a subset of of the elements. or n choose r, or denotes the number of subsets of size r (r-combinations) that can be chosen from a set of n elements.
Theorem 9.5.1:

Pascal’s Formula

Theorem 9.7.1

Possibility trees

e.g. 2 coin tosses
           / \
Coin 1   H     T
        / \   / \
Coin 2 H   T H   T

Multiplication Principle

If an operations consists of steps and the first step can be performed in ways, second step in ways, step in ways, (regardless of how the other steps were performed), then the entire operation can be performed in ways
e.g. number of 4-digit numeric pins is
e.g. number of 4-digit numeric pins without repeating digits is

Addition Rule

If we have ways of doing something and ways of doing another thing and we cannot do both at the same time, then there are ways to choose one of these actions.
Theorem 9.3.1: A finite equals the union of distinct mutually disjoint subsets Then

Difference Rule

Theorem 9.3.2: If is a finite set and , then

Permutations with Indistinguishable Objects

Suppose a collection consists of objects of which: are of type 1 and are indistinguishable from each other, …, are of type and are indistinguishable from each other
The number of distinguishable permutations of the objects is

Binomial Theorem

For real numbers and and non-negative integers

r-combination with repetition

Also known as a multiset of size
A multiset of size chosen from a set of elements is an unordered selection of elements with repetition allowed. It is written as
Theorem 9.6.1: The number of multisets of size r that can be selected from a set of elements is This equals the number of ways objects can be selected from categories of objects with repetitions allowed

Inclusion/Exclusion rule

If , and are finite sets, then

Pigeonhole Principle 2

A function from one finite set to a smaller finite set cannot be injective

Generalised

For any function from a finite set with n elements to a finite set with elements and for any positive integer if then there is some such that is the image of at least distinct elements of
Contrapositive: For any funciton from a finite set with elements to a finite set with elements and for any positive integer , if for each has at most elements, then has at most elements. ()

Summary

Order MattersOrder Doesn’t Matter
Repetition Allowed
Repetition not Allowed