Probability

Bernoulli Distribution

A pupil looks at two separate probability bars beside a coin.

Bernoulli Distribution definition

A Bernoulli distribution models a random variable that equals 1 on success and 0 on failure in one trial.

In Spanish
distribución de Bernoulli
Topic
Probability distributions

Bernoulli Distribution in a picture

Bernoulli Distribution diagramThe two bars represent the only possible values, 0 and 1.Probability01
The two bars represent the only possible values, 0 and 1.

How it works

If success has probability p, then P(X = 1) = p and P(X = 0) = 1 − p. The mean is p because the expected value is 1 × p + 0 × (1 − p). The variance is p(1 − p). A binomial distribution counts successes from a fixed number of independent Bernoulli trials with the same p.

Worked examples

For p = 0.3, find P(X = 0).

0.7.

For p = 0.25, find the mean and variance.

Mean 0.25 and variance 0.25 × 0.75 = 0.1875.

What happens if p = 1?

The variable always equals 1.

Common mistake

The random variable’s values are 0 and 1. The probability p is the weight assigned to 1.

Quick check

What value represents failure?

Show answer

0.

What is the mean?

Show answer

p.

How does this distribution relate to a binomial with n = 1?

Show answer

They are the same distribution.

Sources

Flashcard

Bernoulli Distribution

Reveal the definition

A Bernoulli distribution models a random variable that equals 1 on success and 0 on failure in one trial.

Effortless Math. “Bernoulli Distribution.” Math Dictionary.