Mathematical probability $P(A) = \dfrac{\text{number of outcomes in }A}{\text{total number of outcomes}}$ — holds when all outcomes are equally likely
Mathematical probability is "the fraction that the favorable outcomes take of the whole." A coin toss — 2 outcomes heads/tails (equally likely), "heads" is 1 → $P = 1/2$. A die — 6 (equal), "6" is 1 → $P = 1/6$. Core: count the denominator (total) and numerator (favorable) on the same footing (tree-diagram endpoints).
For this formula to hold, all outcomes must be equally likely (coin heads/tails, die 1~6). If you count "heads/tails combinations" in 2 coin tosses as (HH, HT, TT) 3 ways — heads-tails and tails-heads are different outcomes, so it's (HH, HT, TH, TT) 4 ways. Counting the footing (tree-diagram endpoints) wrong makes the probability wrong.
Let's build the result step by step, instead of memorizing.
$P(A)$ is the "favorable/total" fraction — a fraction, so $0 \le P(A) \le 1$. "Certain" (favorable = total) $P = 1$, "impossible" (0 favorable) $P = 0$. Probability is a fraction between 0 and 1 — as a percent, $P \times 100\%$.
If all outcomes are equally likely, the probability of event $A$ = number of outcomes in $A$ / total number of outcomes. Die "even": even {2,4,6}, 3 / total 6 = $1/2$. "Sum 7" (2 dice): {(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}, 6 / 36 = $1/6$.
Event $A$ not happening (complement $A^{c}$): $P(A^{c}) = 1 - P(A)$. "Not rolling a 6" $= 1 - 1/6 = 5/6$. Subtracting $A$ from the whole (1) gives "not $A$" — hard-to-count "not" cases become easy by "subtracting from 1."
Each step also shows the "why".
The classic ways to lose points on a test.
Three questions to check the core idea. Click an option to see the explanation.
The formula is hiding in familiar scenes. Read it as a story and it sticks.
The probability of winning lotto (6/45) 1st prize is $1/\binom{45}{6} \approx 1/8{,}145{,}060$ — the "1 favorable / total combinations" structure. Count the total combinations with the multiplication principle (tree diagram), and the fraction of that which is "winning" (1) is the probability. Probability is the quantitative expression of a "rare event" — the shared language of lotto, prizes, and drawings.
Factory quality inspection: a 2% defect rate means "defect" probability $0.02$ and "pass" probability $1 - 0.02 = 0.98$ (complement). Expected defects among 100 $= 100 \times 0.02 = 2$. A binomial probability like "the probability of no defects at all" is $(0.98)^{100}$ — multiplication of probabilities (independent events). The mathematics of quality control is exactly probability.