# The Bernoulli Random Variable

Here is a quick overview of the Bernoulli Random Variable from the field of probability and statistics.

Introduction and Example

There are many scenarios out there where there are two possible outcomes and only one of the two outcomes is realized. An example would be if whether or not a sports team will win or lose this evening. We can model this example with the random variable where:

The random variable either takes on the value of 1 or 0 depending on the future outcome of the sports team winning or losing. We use the numerical values of ones and zeros to model success and failure, right or wrong, and true or false.

This random variable is called a Bernoulli random variable, named after the Swiss scientist Jacob Bernoulli. The probability is a probability from 0 to 1. Also will be a probability from 0 to 1. If the probability is , then the Bernoulli random variable is symmetric.

The Bernoulli random variable takes on values of only 0 and 1 and no other numbers (nor in between).

Definition of Bernoulli Random Variable

We define the Bernoulli random variable and its (discrete) probability distribution.

Define as the Bernoulli random variable which takes on values of either x = 0 (failure) or x = 1. (success). The probability mass function associated with the Bernoulli random variable is:

It can also be written as where is the probability of “success” from 0 to 1 inclusive.

There is more to be discussed about the Bernoulli random variable such as expected value but that would be beyond the scope of this post.

The featured image is from https://www.probabilitycourse.com/images/chapter3/bernoulli(p)%20color.png