Randomness Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Randomness.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Randomness is the quality of having no predictable pattern at the individual level, yet following precise probability rules over many repetitions — outcomes are uncertain one at a time but statistically regular in the long run.

Truly random means you can't predict the next outcome, even with complete information.

Read the full concept explanation →

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Randomness means each single outcome is unpredictable, yet many repetitions follow precise probability rules.

Common stuck point: The procedure for randomness is the easy part; the trap is expecting random sequences to alternate neatly. Asking "Is each single outcome unpredictable while the long-run rates stay fixed?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Is each single outcome unpredictable while the long-run rates stay fixed?

Worked Examples

Example 1

easy
A coin is flipped 10 times and lands heads every time. A student says 'the next flip must be tails.' Explain why this is incorrect (the Gambler's Fallacy) using the concept of randomness.

Answer

P(tails on flip 11)=12P(\text{tails on flip 11}) = \frac{1}{2}. Past flips do not affect future independent flips.

First step

1
Each coin flip is an independent random event with P(H)=P(T)=0.5P(H) = P(T) = 0.5

Full solution

  1. 2
    The coin has no memory — past outcomes do not affect future ones
  2. 3
    Probability of tails on flip 11: still exactly 12\frac{1}{2}, regardless of previous 10 heads
  3. 4
    The Gambler's Fallacy: incorrectly believing that past random events influence future independent ones
Randomness means each trial is independent of all previous trials. The Gambler's Fallacy is one of the most common probability misconceptions. True randomness has no 'memory' — each trial starts fresh regardless of history.

Example 2

medium
A random number generator produces: 3, 7, 1, 9, 2, 8, 5, 4, 6, 10 (each number 1-10 equally likely). Explain what 'truly random' means and distinguish it from 'looking random.'

Example 3

medium
Why does choosing a survey sample by 'picking the first 30 students at the cafeteria entrance' fail to be random?

Example 4

hard
In a sample of 1000 fair coin flips, the law of large numbers says the proportion of heads is close to 0.5. About how many heads do you expect?

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
A student says 'I picked lottery numbers 1,2,3,4,5,6 — these can't win because they're not random.' Evaluate this claim.

Example 2

hard
Design a procedure to randomly assign 20 students into two groups of 10 for an experiment, using a random number table or calculator. Explain why randomization matters.

Example 3

easy
For a fair coin, which is more likely as a single sequence of 6 flips: HTHTHT or HHHTTT?

Example 4

easy
True or false: in true randomness, you cannot predict the next single outcome even with complete information.

Example 5

easy
After 4 heads in a row with a fair coin, what is the probability the next flip is heads?

Example 6

easy
Can a person reliably type a 'random' sequence of H and T by hand the way a fair coin would?

Example 7

easy
Is rolling a fair die a random process at the level of a single roll?

Example 8

easy
Over many fair coin flips, the proportion of heads approaches what value?

Example 9

easy
Is the digit sequence of π\pi (3,1,4,1,5,...) random in the everyday sense of unpredictable to compute?

Example 10

easy
In a truly random sequence of 100 fair coin flips, should you be surprised to see a run of 5 heads in a row?

Example 11

medium
A fair coin is flipped 4 times. How many equally likely outcome sequences are there, and what is the probability of HHHH?

Example 12

medium
Why is the sequence HHHHHH 'less expected' to a human than HTHTTH even though both have probability 1/641/64?

Example 13

medium
A random number generator outputs 0099 uniformly. Over 1000 draws, roughly how many times do you expect the digit 7, and will it be exactly that?

Example 14

medium
A lottery uses truly random draws. Last week's numbers were 4, 8, 15, 16, 23, 42. Are those numbers less likely to come up again next week?

Example 15

medium
Why does a casino profit reliably from random games even though each individual spin is unpredictable?

Example 16

medium
A scientist sees a 'cluster' of 3 disease cases on one street and suspects a cause. Why might pure randomness explain this?

Example 17

medium
Explain why 'random' is not the same as 'each outcome happens equally often in every short run.'

Example 18

medium
In 200 fair coin flips, is it more surprising to see a run of 6 heads somewhere, or to see runs strictly alternating the whole way (HTHT...)? Why?

Example 19

medium
A random shuffle of 5 distinct cards produces the original sorted order. Is this evidence the shuffle is broken?

Example 20

challenge
A fair coin is flipped 3 times. What is the probability of getting at least one head, and why is this not simply 3×123\times\frac{1}{2}?

Example 21

challenge
In 10 fair coin flips, is the most likely single specific sequence (each has probability 1/10241/1024) more or less likely than getting exactly 5 heads (in any order)?

Example 22

challenge
A pseudo-random generator passes every statistical test you apply, yet its entire output is determined by a hidden seed. Is its output truly random? Explain the distinction.

Example 23

easy
A fair die is rolled. After three 6's in a row, what is the probability the next roll is also a 6?

Example 24

easy
Are the digits of 2\sqrt{2} (1.41421356...) generated by a random process?

Example 25

easy
In which scenario is the outcome of a single trial truly random in the everyday sense: shuffling a deck or solving 2x=102x=10?

Example 26

easy
A spinner has 4 equal regions labeled A, B, C, D. What is the probability of landing on B?

Example 27

easy
Identify the random process: (a) the result of 343^4, (b) the next song shuffled on a playlist set to random.

Example 28

easy
Over many fair die rolls, the average value approaches what number?

Example 29

medium
In 20 fair coin flips, is a run of 4 heads in a row surprising?

Example 30

medium
A bag contains 3 red and 7 blue balls. You draw one ball at random. Are the outcomes equally likely?

Example 31

medium
A fair coin is flipped 5 times. What is the probability of getting THTHT exactly?

Example 32

medium
Why is the lottery sequence 17, 22, 31, 38, 41, 46 typically considered 'more random-looking' than 1, 2, 3, 4, 5, 6 even though both have the same probability?

Example 33

medium
A fair die is rolled twice. What is the probability of rolling two 4's?

Example 34

medium
In a class survey of 30 students, the average shoe size came out 8.2; a re-survey gave 8.5. Why might the averages differ even with the same population?

Example 35

medium
You generate 100 random integers from 1 to 5. About how many do you expect to be 3?

Example 36

medium
Three fair coins are flipped. What is the probability of getting at least one tail?

Example 37

medium
A coin is flipped 4 times. How many possible ordered sequences are there?

Example 38

hard
A fair coin is flipped 4 times. What is the probability of exactly 2 heads?

Example 39

hard
A randomized experiment assigns 30 patients to treatment or placebo by coin flip. Why is randomization used?

Example 40

hard
A pseudo-random number generator (PRNG) is seeded with the value 42, producing the same sequence every time. Is this useful for simulation?

Example 41

hard
Six fair coins are flipped. What is the probability of exactly 3 heads?

Example 42

hard
A student claims: 'If a fair die has not landed on 1 in 50 rolls, then a 1 is more likely on the next roll.' Evaluate.

Example 43

hard
Why is a deterministic chess engine like Stockfish considered non-random, even though humans can't predict its move?

Example 44

challenge
You flip a fair coin until you get a head. What is the probability you need exactly 3 flips?

Background Knowledge

These ideas may be useful before you work through the harder examples.

probability