1.3.5 · D4Basic Data & Probability

Exercises — Range — definition and calculation

3,490 words16 min readBack to topic

This page is a self-test. Read each problem, try it on paper, then open the collapsible Solution to check every step. Problems climb from just recognising the formula to building your own dataset to hit a target range.

Everything rests on one idea from the parent note, Range — definition and calculation:

Where a problem is easier to see than to read, a blueprint figure is attached — each caption below tells you exactly what to look for, and repeats the key numbers in text so the figure is never the only source of the information.


Level 1 — Recognition

Goal: can you spot the max, the min, and subtract?

Problem 1.1

Find the range of .

Recall Solution 1.1

Step 1 — biggest. Scan the list: the largest number is . Why: range measures the top of the spread, so we need the highest value.

Step 2 — smallest. The smallest number is . Why: this pins the bottom of the spread.

Step 3 — gap. Why subtract: the gap between top and bottom is the spread. Answer: .

Problem 1.2

A shop records daily sales (in units): . Find the range.

Recall Solution 1.2

Max , min . The repeated changes nothing — range only looks at the two extremes. Answer: units.

Problem 1.3

Find the range of the single-value dataset .

Recall Solution 1.3

With one value, it is both the maximum and the minimum: . Answer: . A dataset with nothing to spread across has no spread. (Note: this is , unlike the empty dataset which is undefined — here we do have a max and min, they simply coincide.)


Level 2 — Application

Goal: handle negatives, decimals, and real units cleanly.

Problem 2.1

Winter lows (°C): . Find the range.

Recall Solution 2.1

Order them on a number line — see figure s01 below, where the amber dots mark the two extremes we care about. The further left a point sits, the smaller it is. So and . Why the sign flip: subtracting a negative means walking rightward on the line, i.e. adding. Answer: .

Figure — Range — definition and calculation
Figure s01 — text description (alt): a horizontal number line from to with a thin white tick grid. Five cyan dots sit at the readings . The two extreme dots, at (labelled "min = -12") and (labelled "max = 0"), are drawn larger and in amber. An amber double-headed arrow spans from to ; the span covers grid ticks, and the caption above it reads "range = 0 - (-12) = 12". What to look for: the amber arrow is the range, and its length in ticks is the answer, .

Problem 2.2

Reaction times (seconds): . Find the range.

Recall Solution 2.2

Step 1 — extremes. Max , min . Why: only the largest and smallest touch the ends of the spread; the three middle times don't reach either end.

Step 2 — gap. Why subtract: the difference is the width of reaction-time variation.

Step 3 — state the unit, concretely. Write " seconds", not a bare "". A stripped "" is ambiguous — it could be read as minutes, or as of something. Because our data were measured in seconds and range keeps the data's units unchanged, the answer is s. Answer: seconds. (This is the units mistake made concrete — always attach the unit.)

Problem 2.3

Two rods are cut. Rod lengths (mm): . A quality rule says the range must stay within mm (i.e. range mm). Does this batch pass?

Recall Solution 2.3

Step 1 — extremes. Max , min .

Step 2 — range.

Step 3 — compare to the rule. The rule allows anything up to mm. Here , so the range is outside the allowed limit and the batch fails. Answer: fails (range mm exceeds the mm limit).


Level 3 — Analysis

Goal: reason about what range hides, and repair a broken statistic.

Problem 3.1

Datasets and . Compute both ranges. What does the comparison teach you?

Recall Solution 3.1

Ranges. Why the same numbers: both sets share the same endpoints ( and ), and range reads only the endpoints — so it must return the same value regardless of what sits between. Identical! Answer: both .

The lesson. Range is blind to everything between the extremes. is tightly bunched at with one far outlier; is genuinely spread. Same range, totally different shapes. This is exactly why we also study Interquartile Range and Standard Deviation, which do look at the middle of the data.

Problem 3.2

Delivery times (min): . The is a logging error. Report the range honestly.

Recall Solution 3.2

With the error: max , min , so This is dominated by one bad value and misrepresents a normal delivery.

Without the outlier (remove , new max ): Honest report: "Range is min, but this is driven entirely by one erroneous value (); excluding it, the range is min." See Outliers for why we flag rather than silently delete.

Problem 3.3

A test's scores have and range . What was the highest score?

Recall Solution 3.3

Rearrange the formula. Starting from , add to both sides: Why this works: the same equation, read backwards. If the gap is and the bottom is , the top sits above it. Answer: .


Level 4 — Synthesis

Goal: build datasets and combine constraints.

Problem 4.1

Build a dataset of 5 positive whole numbers whose range is exactly and whose smallest value is .

Recall Solution 4.1

Fix the endpoints first. Min must be . Since range , we need .

Fill the middle freely with any values in — they can't change the range. One valid answer: Check: . ✓ Answer (one of many): . The middle three are your choice as long as they stay between and .

Problem 4.2

You have (current range ). Add one value so the new range becomes . Find all values that work.

Recall Solution 4.2

The new value can enlarge the range only by becoming the new max or new min. Figure s02 below draws both moves — the amber dots are the two candidate points that stretch the bar to length .

Case A — new maximum. Keep min , need .

Case B — new minimum. Keep max , need .

Any value strictly inside leaves the range at — no good. So exactly two answers: Answer: or .

Figure — Range — definition and calculation
Figure s02 — text description (alt): a horizontal number line from to with a white tick grid. Four cyan dots mark the original data . A white double-headed arrow between and is labelled "current range = 7". Two larger amber dots mark the candidate new values: one on the right at ("new max -> 19") and one on the left at ("new min -> -4"). An amber arrow from to and another from to are each labelled "range = 15". What to look for: the range can be stretched to from either end — pushing the max up to , or pulling the min down to .

Problem 4.3

Class X has range (marks); Class Y has range . Both are merged into one big class. What is the smallest possible range of the merged class? Is there a largest?

Recall Solution 4.3

Let X span and Y span . The merged range is (overall max) (overall min).

Smallest merged range. Slide X entirely inside Y (choose and ). Then Y's endpoints are the overall extremes, so the merged range equals Y's range . It can never drop below , because the merged spread must be at least the larger of the two individual spreads (Y's extremes are both present in the merged set). Smallest .

Largest merged range. The problem places no limit on where the two classes sit, so we may push them arbitrarily far apart: put all of X far below all of Y with a huge gap between them. The overall min comes from X, the overall max from Y, and the gap can be as large as we like — so the merged range is unbounded (no largest value). If the problem additionally required the two ranges to touch end-to-end (X's top equal to Y's bottom, no gap), then the merged range would be — but that extra condition is not given here. Answer: smallest ; no largest (unbounded) unless a "no-gap" condition is imposed, giving .


Level 5 — Mastery

Goal: prove a general fact and dissect a subtle claim.

Problem 5.1

Prove that for any dataset, if you add a constant to every value, the range is unchanged. Then handle multiplication by a constant , covering both and .

Recall Solution 5.1

Setup. Let the original max and min be and , so .

Adding . Every value shifts by the same amount, so the largest stays largest and the smallest stays smallest: new max , new min . The terms cancel — the whole dataset slides along the line but its width is untouched. Range is unchanged.

Multiplying by . Multiplying by a positive number keeps order (bigger stays bigger), so new max , new min . Range scales by . ✓ (This is why converting cm→mm multiplies a range by .)

Multiplying by (the flipped case). A negative multiplier reverses order: the value that was largest, , becomes the most negative (), and the old min becomes the largest (). So new max and new min — they swap roles. Then Since , , so the result is positive, as a range must be. Range scales by . ✓ (E.g. multiplying every value by mirrors the data but keeps the same width, so the range is unchanged: .)

Combined rule. For any linear change : shift does nothing to the range, and scale multiplies it by .

Problem 5.2

A student claims: "Range largest smallest, so if I sort the data and subtract the last term from the first, I get the range." True or false? Explain, using .

Recall Solution 5.2

False as stated — it depends on sort direction. Sorted ascending: . "Last minus first" ✓ (this happens to work). Sorted descending: . "Last minus first" ✗ (negative, wrong).

The safe rule never mentions position; it names the values: Answer: false in general — "last minus first" only works if you promise to sort ascending. Always anchor to max and min, not to array positions.

Problem 5.3

Five numbers have mean , and every value lies in the interval . What is the largest possible range of these five numbers, and give one dataset that achieves it?

Recall Solution 5.3

Upper bound. Since all values sit in , the max is at most and the min is at least , so No dataset inside this interval can beat .

Can we reach while keeping mean ? We need a and a to be present (to hit both ends), and the five values must sum to (that is what "mean " means). Take and (their sum is ); the remaining three must total while staying inside . One clean choice is again: Check: sum so mean ✓; all values in ✓; range ✓. Answer: largest possible range , achieved e.g. by .


[!recall]- Quick self-check

(Cover the right side; each line is prompt then its answer.)

Range formula
(big minus small)
Range of
Range of
C
Range of the empty dataset
undefined (no max or min exist)
Add to every value — new range?
unchanged
Multiply every value by — new range?
multiplied by
Two datasets, same range — same spread?
not necessarily; range ignores the middle

Connections