RANDOM
VARIABLES
OBJECTIVES
1. Define random variable.
2. Distinguish between a discrete and
a continuous random variable.
3. Actively participates to the
activities/tasks given
RANDOM
VARIABLES
RANDOM
VARIABLES
EXAMPLE
Suppose you test 2 laptops to see if they are non-defective. Assign N for
non-defective and D for defective. List all possible outcomes and the
number of non-defective laptops for each outcome.
The random variable X represents the number of non-defective laptops
in a given outcome.
Sample space = NN, ND,
DN,DD
The possible values of X are 0, 1, and 2, which
represent all potential scenarios for the two laptops.
X= 0, 1, 2
TYPES OF RANDOM VARIABLES
EXAMPLES OF DISCRETE RANDOM
VARIABLES
TYPES OF RANDOM VARIABLES
EXAMPLES OF CONTINUOUS
RANDOM VARIABLES
1. Age of people in a group
• DISCRETE
2. Speed of a moving car in km/h
• CONTINUOUS
3. Weight of a loaf of bread in grams:
• CONTINUOUS
4. Number of books in a library:
• DISCRETE
5. Number of cars in a parking lot
• DISCRETE
6. Hours spent in exercising
• CONTINUOUS
7. A number of siblings a person has
• DISCRETE
8. Number of classes missed from Jan to
December
• DISCRETE
POSSIBLE
VALUES OF
RANDOM
VARIABLES
Steps to Find Possible Values of
Random Variables
1. Identify the experiment or activity and its
outcomes.
2. Define the Random Variable: Decide what you
are measuring or counting.
3. List the Possible Outcomes: Based on the
experiment, determine all the values the
random variable can take.
EXAMPLES
A BOX CONTAINS 5 RED CRAYONS AND 4 BLUE CRAYONS. 2
CRAYONS ARE DRAWN ONE AFTER THE OTHER WITHOUT PUTTING
THEM BACK. LET Z REPRESENT THE NUMBER OF BLUE CRAYONS
PICKED. FIND ALL POSSIBLE VALUES OF Z AND THE OUTCOMES
FOR EACH VALUE.
LET B REPRESENTS THE BLUE CRAYON AND RED FOR THE RED
CRAYON.
GROUP 1. Tossing a Coin Three Times
4. Number of Goals Scored in a
WORK
Soccer Match
Problem:
A coin is tossed three times. Let X be the random
Problem: variable representing the number of heads
The random variable Y represents obtained.
the number of goals scored by a •Task: List all possible outcomes and the values
team in a soccer match. The team of X.
can score anywhere between 0
2. Length of a Rope
and 10 goals in a single match.
Problem:
•Task: Identify the possible values The length of a rope is measured in meters. Let Y
of Y. represent the length of the rope, which could
range from 1.5 meters to 5 meters.
5. Weight of Luggage •Task: Determine the possible values for Y.
Problem:
Passengers' luggage is weighed at 3. Temperature in a City
the airport. Let X represent the Problem:
weight of a single bag (in The random variable YYY represents the
temperature in a city measured in degrees
kilograms), which ranges from 5
Celsius throughout the day. The temperature
kg to 50 kg. ranges from 20°C to 35°C.
•Task: Determine the possible •Task: Determine the range of possible values of
values of X. YYY.
6. A teacher randomly selects classrooms to count the number of
students who passed a recent math quiz. The random variable XXX
represents the number of students who passed in a selected
classroom. Suppose each classroom has 5 students.
Task: Identify the possible values of XXX.
7. A student has a bag containing 4 pencils (P) and 7 ballpens (B). The
student randomly selects 2 items from the bag. The random variable X
repreents the number of pencils selected.
FIND ALL THE POSSIBLE OUTCOMES AND THE VALUES OF X.