Probability & Counting formulas

All 20 formulas in this topic

Basic ProbabilityP(A)=favourable outcomestotal outcomesP(A) = \frac{\text{favourable outcomes}}{\text{total outcomes}}Basic Probability calculates the likelihood of an event by dividing favorable outcomes by the total number of possible outcomes.Complement RuleP(Ac)=1−P(A)P(A^c) = 1 - P(A)Find the probability of the opposite event by subtracting from 1 — use this when it's easier to calculate what doesn't happen.Addition RuleP(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)The Addition Rule calculates the probability that at least one of two events occurs by adding individual probabilities and subtracting their overlap.Multiplication RuleP(A∩B)=P(A) P(B∣A)P(A \cap B) = P(A)\,P(B \mid A)Find the probability that two events both occur when one might affect the chance of the other using multiplication of probabilities.Independent EventsP(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B)When events are independent, multiply their individual probabilities together to find the probability that both events occur.Conditional ProbabilityP(A∣B)=P(A∩B)P(B)P(A \mid B) = \frac{P(A \cap B)}{P(B)}Conditional probability calculates the likelihood of one event given that another event has definitely already occurred, denoted P(A|B).Bayes' TheoremP(A∣B)=P(B∣A)P(A)P(B)P(A \mid B) = \frac{P(B \mid A)P(A)}{P(B)}Bayes' Theorem updates the probability of a hypothesis given observed evidence, answering what's true given what you now know.PermutationsP(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!}Permutations count the number of ways to arrange a set of objects in a specific order, where changing the order creates a different arrangement.Combinations(nr)=n!r!(n−r)!\binom{n}{r} = \frac{n!}{r!(n-r)!}Combinations count the ways to select items from a group when order doesn't matter; they are used for choosing unordered subsets.Fundamental Counting PrincipleN=n1×n2×⋯×nkN = n_1 \times n_2 \times \cdots \times n_kMultiply the number of choices at each step to find the total number of different possible outcomes when making sequential selections or decisions.Permutations with Repetitionn!n1! n2!⋯nk!\frac{n!}{n_1!\,n_2!\cdots n_k!}Counts the distinct arrangements of n total objects when some are identical; use this when items repeat in groups and order matters.Binomial ProbabilityP(X=k)=(nk)pk(1−p) n−kP(X = k) = \binom{n}{k}p^{k}(1-p)^{\,n-k}Binomial Probability finds the likelihood of exactly k successes in n independent identical trials, each with fixed probability p.Expected ValueE(X)=∑xi P(xi)E(X) = \sum x_i\,P(x_i)Expected value is the average outcome you'd get if you repeated an experiment many times, weighted by how likely each outcome is.Variance of a Random VariableVar⁡(X)=E(X2)−[E(X)]2\operatorname{Var}(X) = E(X^2) - \big[E(X)\big]^2Variance measures how spread out a random variable's values are around its mean, using the formula Var(X) = E(X²) - [E(X)]².Geometric ProbabilityP(X=k)=(1−p) k−1pP(X = k) = (1-p)^{\,k-1}pGeometric Probability tells you the probability that the first success in a series of independent trials occurs on exactly the k-th attempt.Mutually Exclusive EventsP(A∩B)=0  ⟹  P(A∪B)=P(A)+P(B)P(A \cap B) = 0 \implies P(A \cup B) = P(A) + P(B)When two events cannot happen at the same time, use this formula to find the probability that at least one of them occurs.Oddsodds=P(A)1−P(A)\text{odds} = \frac{P(A)}{1 - P(A)}Odds tell you the ratio of the probability an event happens to the probability it doesn't, used when you want to compare likelihood of success to failure.Law of Large Numbersxˉn→μ as n→∞\bar{x}_n \to \mu \text{ as } n \to \inftyThe Law of Large Numbers tells you that the sample mean gets arbitrarily close to the true population mean as your sample size increases.Sample SpaceS={all possible outcomes}S = \{ \text{all possible outcomes} \}The sample space lists all possible outcomes of an experiment, forming the foundation for probability calculations and predictions.Poisson DistributionP(X=k)=λke−λk!P(X = k) = \frac{\lambda^{k}e^{-\lambda}}{k!}The Poisson Distribution gives the probability of a specific number of independent events occurring in a fixed interval when the average rate is known.