1.3.5 · D1Basic Data & Probability

Foundations — Range — definition and calculation

1,655 words8 min readBack to topic

This is the "build the toolkit" page for Range. The parent note freely used words like dataset, minimum, number line, and symbols like , , , and . Here we earn every one of them from absolute zero, in the order they must be learned, before you ever compute a range.


1. A number, and the number line

Before "spread" means anything, we need a place to put numbers so that "far apart" becomes a real distance you can see.

Figure — Range — definition and calculation

Look at the figure: the number is not "just a symbol" — it is a location. This is the whole reason range works. Once numbers are places, the phrase "how spread out" turns into a physical gap you can measure with your finger.

Why the topic needs this: Range is a distance on this line. No number line → no notion of distance → no range.


2. A data value and the letter

We do not want to keep writing "one measurement." Mathematicians shorten it to a single letter, almost always .

Why the topic needs this: the range formula must work for whatever numbers you have. A letter is how we say "any number, you fill it in."


3. Many values: the subscript

One measurement is . But data comes in bunches. We need to tell them apart without inventing a new alphabet.

The general one is , read "x-eye", where is a stand-in for any position number: could be , or , or .

Why the topic needs this: the parent writes . Without subscripts we could not point at "the first" versus "the last" value.


4. The dataset and curly braces

The braces are the "bag" holding all five marks. The commas keep the values from running into each other.

So the fully general dataset the parent wrote, reads in plain words: "a bag of values, the first one, the second one, all the way up to the -th (last) one." The ("and so on") just saves us from writing every single slot.


5. Ordering: the symbol

To find "smallest" and "biggest", we must be able to say one number is not larger than another.

Figure — Range — definition and calculation

When we sort a dataset we line the values up so each is the next: Now is guaranteed the leftmost (smallest) and the rightmost (largest) — the picture makes it plain that after sorting, the two ends are exactly the extremes we care about.

Why the topic needs this: finding max and min is finding the two ends of a sorted line.


6. and

For : , .

Why the topic needs this: these are the only two numbers range ever looks at.


7. Subtraction as distance: the minus sign

Here is the heart of it. Range is . But why does subtraction measure a gap?

Figure — Range — definition and calculation

Because we always do (big minus small), we always walk rightward, so the step count is never negative. That is why range is always .

Why the topic needs this: range is this subtraction. If you don't feel subtraction as "steps between two points", the formula is just symbols.


8. Spread / dispersion — the idea range measures

Range is the crudest spread measure: it only checks the two outermost points and ignores everything in between. That simplicity is its strength (easy) and its weakness (blind to the middle) — a theme the parent explores and that Interquartile Range, Variance, and Standard Deviation later fix.


Prerequisite map

Number line

Data value x

Subscript x sub i

Dataset in braces

Count n

Order symbol less or equal

min and max

Subtraction as distance

Range = max minus min

Spread / dispersion idea

Read it top-down: the number line feeds everything; naming values () lets us build a dataset; ordering plus counting lets us find and ; subtraction-as-distance turns those two ends into a single length — the range — which is our first measure of spread.


Equipment checklist

Test yourself — say the answer before revealing.

What does a point on the number line represent?
A single number, shown as a location/place.
Is a multiplication?
No — the small is a name tag (subscript) meaning "the third value."
What do the curly braces around numbers mean?
"This is one set/bag of values grouped together."
What does stand for in ?
The count — how many values are in the dataset.
In words, what does say and where does sit on the line?
" is smaller than or equal to "; is at or left of .
After sorting , which is the max?
, the rightmost (last) value.
Why does never come out negative?
You always subtract the smaller from the larger, so you walk rightward — a non-negative number of steps.
Compute and say why.
; subtracting a negative adds, and walking from to is steps.
What does "spread" mean in one phrase?
How stretched-out vs bunched-up the values are on the number line.

Connections