summaryrefslogtreecommitdiffstats
path: root/sannolikhet/Essential formula of probability.md
blob: 25414fce00279958b22b92f5f813c43a6951116a (plain) (blame)
1
2
3
4
5
6
7
8
9
Also known as the "happy face formula", since we are happy whenever we get to
use it.

If all outcomes are equally likely, then

$$P(A) = \frac{\mathrm{N}(A)}{\mathrm{N}(S)}$$

We can sometimes count using this directly, but usually we need counting
techniques.