# 4.1: Two Types of Random Variables

## Learning Objectives

- Learn to distinguish between the two types of random variables: continuous and discrete.

The word discrete means countable. For example, the number of students in a class is countable or discrete. The value could be or students but it cannot be or students. The cost of a loaf of bread is also discrete, say , where we are counting dollars and cents, but not fractions of a cent.

However, if we are measuring the tire pressure in an automobile, we are dealing with a continuous variable. The air pressure can take values from psi to some large amount that would cause the tire to burst. Another example is the height of your fellow students in your classroom. The values could be anywhere from, say, to . In general, quantities such as pressure, height, mass, weight, density, volume, temperature, and distance are examples of continuous variables. Discrete random variables come usually from counting, say, the number of chickens in a coop, or the number of passing scores on an exam or the number of voters who showed up to the polls.

One way of distinguishing discrete and continuous variables is between any two values of a continuous variable, there are an infinite number of other valid values. This is not the case for discrete variables; between any two discrete values, there are an integer number of valid values. For a discrete variable, these are considered **countable** values since you could count a whole number of them.

## Discrete Random Variables and Continuous Random Variables

Random variables that assume a *countable number of values* are called discrete.

Random variables that can take any of the *countless number of values* are called continuous.

**Example:**

Here is a list of discrete random variables:

- The number of cars sold by a car dealer in one month:
- The number of students who were protesting the tuition increase last semester: Notice that could become very large.
- The number of applicants who have applied for the vacant position at a company:
- The number of typographical errors in a rough draft of a book:

**Example:**

Here is a list of continuous random variables:

- The length of time it took the truck driver to go from New York city to Miami: , where is the time.
- The depth of oil drilling to find oil: , where is the maximum depth possible.
- The weight of a truck in a truck weighing station: , where is the maximum weight possible.
- The amount of water loaded in a bottle in a bottle filling operation:

## Lesson Summary

- A
**random variable**represents the numerical value of a simple event of an experiment. - Random variables that assume a
**countable**number of values are called**discrete**. - Random variables that can take any of the
**countless**number of values are called**continuous**.