Notes - Matwa - PAS 2025

P and C

Pkn=n!(n-k)! P sub k to the n-th power equals the fraction with numerator n factorial and denominator open paren n minus k close paren factorial

n n permute k k. Permutation of elements with replacement/repetition. The formula returns all possible samplings of length k k from vector of length n n.

Ckn=(nk)=n!n!⋅(n-k)! C sub k to the n-th power equals the 2 by 1 column matrix n k equals the fraction with numerator n factorial and denominator n factorial times open paren n minus k close paren factorial

n n choose k k. The number of ways to choose k k items from a set of n n distinct items without regard to the order in which they are chosen.

Binomial

(x+y)n=∑k=0n((nk)⋅xn-k⋅yk) open paren x plus y close paren to the n-th power equals the sum from k equals 0 to n of open paren the 2 by 1 column matrix n k times x raised to the n minus k power times y to the k-th power close paren

Events

P⁡(A)=FavorablePossible P of A equals the fraction with numerator Favorable and denominator Possible

The formula for probabilities is just the number of favorable outcomes divided by the number of possible outcomes.

P⁡(A∁)=1-P⁡(A) P of open paren A raised to the complement power close paren equals 1 minus P of A

The probability where A A does not happen is called the complement.

Addition Rule

Use addition when you want A OR B.

P⁡(A∪B)=P⁡(A)+P⁡(B) P of open paren A union B close paren equals P of A plus P of B

The above is the formula if A A and B B are mutually exclusive. Subtract by P⁡(A∩B) P of open paren A intersection B close paren if they aren't mutually exclusive, aka they can happen together.

You should subtract by P⁡(A∩B) P of open paren A intersection B close paren due to the Inclusion Exclusion rule as to not double count occasions where both A A and B B happen.

Multiplication Rule

Use multiplication when we want A AND B to happen together, either at the same time or in sequence.

P⁡(A∩B)=P⁡(A)⋅P⁡(B) P of open paren A intersection B close paren equals P of A times P of B

Use the formula above if A A does not affect B B, such as when throwing a dice and a coin, or throwing 2 2 dice at once.

P⁡(A∩B)=P⁡(A)⋅P⁡(B|⁢A) P of open paren A intersection B close paren equals P of A times P of open paren B vertical bar A close paren

Use the formula above if the probability changes after something happens. P⁡(B|⁢A) P of open paren B vertical bar A close paren is the probability of B B given A A already happened.