Is there a simple introduction to the Triangular Distribution?

The Triangular Distribution is a probability distribution used in statistics to model real-world situations with three possible outcomes. It is a continuous probability distribution, meaning that it can take on any value between two given endpoints, and is characterized by its three parameters: the lower and upper endpoints, and the peak of the distribution. The area under the triangular distribution is equal to one and the probability density function for the triangular distribution is a linear function.


The triangular distribution is a continuous probability distribution with a probability density function shaped like a triangle.

It is defined by three values:

  • The minimum value a
  • The maximum value b
  • The peak value c

Triangular distribution

The name of the distribution comes from the fact that the probability density function is shaped like a triangle.

It turns out that this distribution is extremely useful in the real world because we can often estimate the minimum value (a), the maximum value (b), and the most likely value (c) that a will take on, so we can often model the behavior of random variables by using a triangular distribution with the knowledge of just these three values.

For example, a restaurant might estimate that their total sales for the upcoming week will be a minimum of $10,000, a maximum of $30,000, and most likely $25,000.

Example of a triangular distribution

Using just these three numbers, they could use a triangular distribution to find the probability that they’ll achieve a certain number of sales.

Properties of the Triangular Distribution

The triangular distribution has the following properties:

PDF:

PDF for triangular distribution

CDF:

Mean: (a + b + c) / 3

Mode: c

Example of Using the Triangular Distribution

Let’s return to the example from earlier. Suppose a restaurant estimates that their total sales for the upcoming week will be a minimum of $10,000, a maximum of $30,000, and most likely $25,000.

Example of a triangular distribution

What is the probability that the restaurant makes less than $20,000 total sales?

To answer this, we can let x = total sales. We know that x is between the minimum value a of $10k and the peak value c of $25k.

Thus, according to the PDF we can use the following equation to find the probability that the restaurant makes less than $20,000 total sales:

  • P(X < $20,000) = (x-a)2 / ((b-a)(c-a))
  • P(X < $20,000) = (20,000-10,000)2 / ((30,000-10,000)(25,000-10,000))
  • P(X < $20,000) = .333

The probability that the restaurant makes less than $20,000 total sales is .333.

What is the mean expected sales for the restaurant?

We can calculate the mean expected sales using the formula for the mean given earlier:

  • Mean = (a + b + c) / 3
  • Mean = ($10,000 + $30,000 + $25,000) / 3
  • Mean = $21,667

The mean expected sales is 21,667.

The following tutorials provide introductions to other commonly used distributions:

x