Inkerval

Random variables practice problems

A random variable attaches a number to each outcome. Example: defective chips in a batch. You compute probabilities with three tools. The PMF lists each value's probability for a discrete variable. The PDF gives probability as area under a curve for a continuous variable. The CDF gives the probability that X is at most x.

A problem belongs here when it gives a probability table, a density, or an F(x) and asks for the probability of a range.

You will practice: PMF sums, PDF integrals, CDF conversions, max and min.

12 problems, each with a worked answer. Work them on paper, in order — the difficulty ramps gently.

1.

A quality-control station tests microchips in batches of 3. The number of defective chips X in a batch has PMF p(0) = 0.5, p(1) = 0.3, p(2) = c, p(3) = 0.05 for some constant c. Find P(X ≥ 2).

Show answer

Answer:

The PMF must sum to 1, which fixes c. Then add the two top masses.

2.

The lifetime T (in years) of a temperature sensor has PDF f(t) = t/8 for 0 ≤ t ≤ 4 and f(t) = 0 otherwise. Find the probability that a sensor fails within its first 2 years, P(T ≤ 2).

Show answer

Answer:

Integrate the PDF from 0 to 2.

3.

In a football league, the number of goals X that Rovers score in a match has PMF p(0) = 0.2, p(1) = 0.35, p(2) = 0.25, p(3) = 0.15, p(4) = 0.05. Find the probability that Rovers score at least 2 goals in a match.

Show answer

Answer:

At least 2 goals means X equals 2, 3, or 4, so sum those point masses. As a check, all five masses sum to 1, so the PMF is valid.

4.

A delivery drone's flight time X (in minutes) has PDF f(x) = 2x/25 for 0 ≤ x ≤ 5 and f(x) = 0 otherwise. Find the probability that a flight lasts more than 3 minutes.

Show answer

Answer:

Probability is the area under the density beyond 3. Equivalently take 1 minus the area up to 3.

5.

At a ceramics studio, the number of cracked mugs X in one kiln firing has PMF p(0) = 0.4, p(1) = k, p(2) = 0.15, p(3) = 0.05. Find P(X ≤ 1).

Show answer

Answer:

The PMF must sum to 1, which fixes k. Then add the first two masses.

6.

The wait time X (in minutes) in line at a food truck has PDF f(x) = 1/6 for 0 ≤ x ≤ 6 and f(x) = 0 otherwise. Find P(2 ≤ X ≤ 5).

Show answer

Answer:

Probability is the area under the flat PDF over the interval from 2 to 5.

7.

A campus bike-share station records the number of helmets X borrowed with each rental. X has PMF p(0) = 0.6, p(1) = 0.3, and p(2) is the only other possible value. Find p(2).

Show answer

Answer:

The point masses must sum to 1.

8.

The time X (in minutes) you wait for an elevator has CDF F(x) = x/5 for 0 ≤ x ≤ 5, with F(x) = 0 for x < 0 and F(x) = 1 for x > 5. Find P(X ≤ 2).

Show answer

Answer:

The CDF gives P(X ≤ x) directly, so plug in x = 2.

9.

The daily amount of water X (in liters) a potted fern absorbs has PDF f(x) = x/2 for 0 ≤ x ≤ 2 and f(x) = 0 otherwise. Find P(X ≤ 1).

Show answer

Answer:

Probability is the area under the PDF from 0 to 1.

10.

At a cafe, the number of espresso shots X in a random customer's drink has PMF p(1) = 0.5, p(2) = 0.3, p(3) = 0.15, p(4) = 0.05. Find P(X ≥ 3).

Show answer

Answer:

Add the point masses at 3 and 4.

11.

The time X (in minutes) a solver spends on one crossword clue has CDF F(x) = x³/27 for 0 ≤ x ≤ 3, with F(x) = 0 for x < 0 and F(x) = 1 for x > 3. Find P(1 ≤ X ≤ 2).

Show answer

Answer:

An interval probability is a difference of CDF values.

12.

At an orchard stand, the number X of apple varieties in a sampler box takes the values 1, 2, 3, 4 with P(X = x) = cx for some constant c. Find P(X = 3).

Show answer

Answer:

Normalize first: the masses c, 2c, 3c, 4c must sum to 1.

Inkerval is handwritten math practice for iPad and Apple Pencil. You solve by hand; it remembers what you know and brings it back when it should.

$29 a month, after a 14-day free trial. The waitlist is open now.

Be first in when the doors open. No spam, ever.

More probability practice