1.3.5 · D3Basic Data & Probability

Worked examples — Range — definition and calculation

2,210 words10 min readBack to topic

This page is a drill through every kind of range problem you can meet. We start from zero: the parent note told you that

Everything below is that one rule, pushed into every corner where a beginner slips.


The scenario matrix

Before working anything, let us list every kind of case a range question can throw at you. Think of this as a checklist — by the end of the page every row has a worked example.

Cell Case class What makes it tricky
A All positive numbers The plain, warm-up case
B Repeated values "Does repetition change the extremes?"
C Mixed positive & negative Subtracting a negative flips a sign
D All negative numbers "Which of two negatives is bigger?"
E Degenerate: all values equal Range collapses to zero
F Single data point The smallest possible list
G Outlier present Formula is right but picture is misleading
H Grouped / class-interval data Extremes come from class boundaries
I Word problem (real world) You must extract the numbers first
J Exam twist: work backwards Range given, find a missing value

The figure below is a map of the whole matrix — a number line showing how each case sits.

Figure — Range — definition and calculation

[!example] Example 1 — Cell A: all positive

Statement: Heights (cm) of 6 plants: . Find the range.

Forecast: Guess the answer before reading on. What are the two dots at the ends?

  1. Sort the numbers in your head, left to right on the line. . Why this step? Sorting makes the smallest and biggest dots jump out — no formula juggling.
  2. Read off the extremes. , . Why this step? Range only ever needs these two; the middle four never enter the arithmetic.
  3. Subtract. cm. Why this step? The rule says max minus min, and that difference is the length of the gap.

Verify: is positive ✓ (must be, since ). Units are cm, same as the data ✓. Sanity: the tallest plant is cm taller than the shortest — plausible ✓.


[!example] Example 2 — Cell B: repeated values

Statement: Hourly wages (₹): . Find the range.

Forecast: Three of the values are . Do the repeats push the minimum around? Guess.

  1. List the distinct extremes. The smallest value present is (it appears three times, but it is still just ""). The largest is . Why this step? Range cares only which value is smallest/largest, not how many times it occurs. A repeated minimum is still the minimum.
  2. Subtract. ₹. Why this step? Same rule as always; repetition never enters it.

Verify: ✓, units ₹ ✓. Cross-check: if I delete two of the three s the list is — extremes unchanged, range still ✓. This proves repeats are irrelevant.


[!example] Example 3 — Cell C: mixed positive & negative

Statement: Winter temperatures (°C): . Find the range.

Forecast: The minimum is a negative number. Do you add or subtract it? Guess first.

  1. Identify extremes on the line. Leftmost dot is (further left = smaller). Rightmost dot is . So , . Why this step? On the number line "smaller" literally means "further left", and is left of everything else.
  2. Substitute into the rule. . Why this step? We never change the rule; we just plug the negative min in honestly.
  3. Resolve the double sign. Subtracting a negative is the same as adding: °C. Why this step? . Geometrically, the gap from to is units to reach plus more — that is total.

The figure shows exactly this: the gap crosses zero, so its length is the two pieces added.

Figure — Range — definition and calculation

Verify: ✓. Count units on the line: is , is , total ✓. Units °C ✓.


[!example] Example 4 — Cell D: all negative

Statement: Freezer readings (°C): . Find the range.

Forecast: Everything is negative. Which one is the maximum? The trap is picking the "biggest-looking" digit.

  1. Remember the rule for negatives: closer to zero = larger. So among the largest is (nearest zero), the smallest is (furthest left). Why this step? sits to the right of on the line; right means bigger. The size of the digit lies to you here.
  2. Substitute. . Why this step? Rule unchanged — max minus min, whatever their signs.
  3. Simplify. °C. Why this step? Subtracting the negative adds .

Verify: ✓ (as required). Gap on line from to is steps ✓. If I had wrongly done , the negative answer would flag the mistake instantly.


[!example] Example 5 — Cell E & F: degenerate cases

Statement (E): . Statement (F): a single reading . Find each range.

Forecast: Can the range be zero? Can a one-number list even have a range?

  1. Case E — all equal. Here and (same dot). Why this step? Every value is the same point on the line, so the leftmost and rightmost dots coincide.
  2. Compute. . Why this step? No gap means no spread — the data has literally zero variability.
  3. Case F — single point. With one value, , so . Why this step? A lone dot cannot be spread from anything but itself; the gap is zero.

Verify: Both give , which is the smallest allowed range (never negative) ✓. This is the "everyone is the same height" picture — no stretch at all. It matches Property 2 in the parent note.


[!example] Example 6 — Cell G: outlier present

Statement: Daily visitors: . Find the range and comment.

Forecast: The formula will run fine — but will the number describe the data honestly?

  1. Apply the rule. , , so . Why this step? The rule is mechanical and gives correctly.
  2. Now compute the range without the suspicious value . Of : , , range . Why this step? Comparing against exposes that one point is doing all the "stretching".
  3. Report both. "Range , but this is dominated by a single outlier (). Excluding it, the typical range is ." Why this step? Statistics is interpretation, not just computation. A correct number can still mislead.

Verify: ✓ and ✓. The huge gap between and confirms extreme outlier sensitivity — exactly why Interquartile Range and Standard Deviation exist as robust alternatives.


[!example] Example 7 — Cell H: grouped data

Statement: A frequency table of marks:

Class interval Frequency
4
9
6
2

Find the range.

Forecast: You don't have the raw numbers, only bins. Where do the extremes come from?

  1. Take the boundaries of the outer classes. The data can be as low as the bottom of the lowest class () and as high as the top of the highest class (). Why this step? With grouped data we no longer know individual values, so we use the outermost class limits as the best estimate of the extremes.
  2. Subtract. marks. Why this step? Same max-minus-min rule; the "max" and "min" are now the top and bottom class limits.

Verify: ✓, units marks ✓. Frequencies () never entered the arithmetic — correct, because range ignores how many fall in each bin, only how far the bins stretch. (Some textbooks use class boundaries and , giving ; state which convention you use.)


[!example] Example 8 — Cell I: real-world word problem

Statement: A shop recorded daily earnings over a week: Monday ₹1200, Tuesday ₹950, Wednesday ₹1450, Thursday ₹1100, Friday ₹1600, Saturday ₹2100, Sunday ₹800. On which two days does the range live, and what is it?

Forecast: The numbers are buried in words. Guess the best and worst day before computing.

  1. Extract the dataset. . Why this step? You cannot find extremes until the numbers are pulled out of the sentences.
  2. Find the extremes. Best day = Saturday , worst day = Sunday . So , . Why this step? Range questions in words always reduce to "highest minus lowest".
  3. Subtract. ₹. Why this step? The gap between the best and worst trading day is what "spread of earnings" means here.

Verify: ✓, units ₹ ✓. The range "lives" between Saturday and Sunday — check both are genuinely the outer dots (nothing exceeds , nothing below ) ✓.


[!example] Example 9 — Cell J: exam twist, work backwards

Statement: A dataset has range , and is the largest value. Find .

Forecast: You are given the range and must recover a missing number. Which equation do you invert?

  1. Locate the current known extremes among the fixed numbers. Of , the smallest is . We are told is the largest, so and . Why this step? To use the range rule we need to know which value plays "max" and which plays "min".
  2. Write the rule as an equation. becomes . Why this step? The same rule now becomes a solvable equation with one unknown.
  3. Solve for . Add to both sides: . Why this step? We invert the subtraction — the reverse of "max minus min" is "range plus min".

Verify: Put back: dataset , extremes and , range ✓. And really is the largest, matching the condition ✓.


[!recall]- Quick self-test on the matrix

Which cell does each match?

All values equal, range is
Cell E (degenerate)
Data has , answer
Cell C (mixed signs)
Given range, find a missing value
Cell J (exam twist / work backwards)
One value of dwarfs the rest
Cell G (outlier)
Only class intervals, no raw numbers
Cell H (grouped data)

[!mnemonic] One-line summary of the whole page

"Sort on the line, take the two ends, subtract — answer is always ." Every one of the ten cells above is that single sentence in a different disguise.


Connections