# Bernoulli distribution

**Topic:** Maths · Probability and statistics  
**Page:** https://curium.ctopass.com/en/c/loi-de-bernoulli  
**Updated:** 2026-09-28

## 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.

## Explore next

- [Binomial distribution](https://curium.ctopass.com/en/c/loi-binomiale.md)
- [Random variable](https://curium.ctopass.com/en/c/variable-aleatoire.md)
- [Independence](https://curium.ctopass.com/en/c/independance.md)
- [Normal distribution](https://curium.ctopass.com/en/c/loi-normale.md)
- [Median](https://curium.ctopass.com/en/c/mediane.md)
- [Arithmetic mean](https://curium.ctopass.com/en/c/moyenne-arithmetique.md)
- [Monty Hall problem](https://curium.ctopass.com/en/c/paradoxe-de-monty-hall.md)
- [St Petersburg paradox](https://curium.ctopass.com/en/c/paradoxe-de-saint-petersbourg.md)
- [Birthday paradox](https://curium.ctopass.com/en/c/paradoxe-des-anniversaires.md)
- [Simpson's paradox](https://curium.ctopass.com/en/c/paradoxe-de-simpson.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
