Skip to main content

Probability: Basics

Overview​

Probability is a measure of the likelihood or chance that a certain event will occur. It is quantified as a number between 0 and 1. An event with a probability of 1 is considered a certainty, while an event with a probability of 0 is considered impossible. The probability of an event is often expressed as a fraction or decimal, and can also be expressed as a percentage.

Formally, probability can be defined in several ways:

  • Classical definition (also known as the mathematical definition) defines probability as the ratio of the number of favorable outcomes to the number of possible outcomes. This definition assumes that all outcomes are equally likely
  • Relative frequency definition of probability defines it as the limit of the frequency of a particular outcome as the number of trials approaches infinity
  • Axiomatic definition, which is the most general and abstract, defines probability based on a set of axioms related to the properties that probabilities should have

Venn Diagrams​

Complement A‾\overline{A} (A′A'): all elements of S that are not in A

Sample Spaces, Events, and Probability Axioms​

Sample space (denoted by S), is the set of all possible outcomes of a random experiment. It encompasses every conceivable outcome that could result from the experiment. For example, when rolling a 6-sided dice, the sample space is S = { 1, 2, 3, 4, 5, 6 }

Determining the sample space involves identifying all possible outcomes of a given random experiment. This process requires careful consideration of the experiment's nature and the potential outcomes it could yield. Various techniques can be employed to determine sample spaces, including enumeration, listing all possible outcomes explicitly, and logical reasoning based on the experiment's conditions and constraints.

For example, when flipping two coins successively, we can determine the sample space by considering all possible combinations of outcomes:

S=HH,HT,TH,TTS = { HH, HT, TH, TT }

  • H heads
  • T tails

Probability Rules and Laws​

Addition rule of probability states that the probability of the union of 2 events B is equal to the sum of their individual probabilities minus the probability of their intersection:

P(A∪B)=P(A)+P(B)−P(A∩B)P(A∪B)=P(A)+P(B)-P(A∩B)

This rule holds for both mutually exclusive and non-mutually exclusive events.

Example

Consider tossing a fair six-sided die. Let event A be rolling an even number (6) and event B be rolling a number less than 4 {1, 2, 3}. The probability of either rolling an even number or a number less than 4 is:

P(A∪B)=P(A)+P(B)−P(A∩B)=36+36−16=56P(A∪B)=P(A)+P(B)-P(A∩B)=\frac{3}{6}+\frac{3}{6}-\frac{1}{6}=\frac{5}{6}

Probability Distributions​

Probability distributions describe the likelihood of various outcomes in a given scenario. Understanding different probability distributions is essential for modeling real-world phenomena and making predictions.