CURIUM
How can you describe a coin flip with a single number?

Bernoulli distribution

How can you describe a coin flip with a single number?

Using a Bernoulli distribution, named after Swiss mathematician Jacques Bernoulli: the variable equals 1 for success with probability p, and 0 for failure with probability 1 − p. A coin flip result follows a Bernoulli distribution with parameter 0.5. This parameter p is also the expected value of the variable, since 0 × (1 − p) + 1 × p = p.

MathsProbability and statistics

The three levels

Beginner

How can you describe a coin flip with a single number?

Using a Bernoulli distribution, named after Swiss mathematician Jacques Bernoulli: the variable equals 1 for success with probability p, and 0 for failure with probability 1 − p. A coin flip result follows a Bernoulli distribution with parameter 0.5. This parameter p is also the expected value of the variable, since 0 × (1 − p) + 1 × p = p.

Intermediate

When is the variance of a Bernoulli distribution the largest?

At p = 1/2, where it reaches 1/4. The variance equals p(1 − p): it is zero at p = 0 and p = 1 when the result is certain, and maximum when success and failure are equally likely. The sum of n independent Bernoulli variables with the same parameter follows a binomial distribution (n, p) with variance np(1 − p).

Expert

How many fixed points on average in a random permutation of n elements?

Exactly one on average, regardless of size n. The number N of fixed points is the sum of n Bernoulli variables, the k-th equal to 1 if element k is in position k, each with parameter 1/n; the expected value of the sum is therefore n × 1/n = 1, without needing independence. The variance is also 1, and the distribution of N approaches a Poisson distribution with parameter 1.