What is the mathematical symbol for range?

119.8k Views Asked by At

An unsophisticated question from a neophyte:

Given the numbers: $1,2,3,4,5$

What is the symbol for the range of the numbers?

i.e. the lowest-highest number in the set. For example, the min max is $1-5$.

The ____ is $1-5$. (insert math symbol into blank).

Should such a beast exist, I'd be particularly interested in it's unicode character...

Tried searching a few online resources, such as: http://rapidtables.com/math/symbols/Basic_Math_Symbols.htm without success.

3

There are 3 best solutions below

1
On BEST ANSWER

You are looking for either:

  1. A closed interval: $[a,b]$ represents the set of all real numbers greater or equal to $a$ and less or equal to $b$.

  2. A integer interval: $[a\ldotp\ldotp b]$ represents all integers in between $a$ and $b$. ($[1\ldotp\ldotp 5] = \{1,2,3,4,5\}$)

2
On

This is a useful wikipedia reference.

It is important to make the distinction between whether or not a particular endpoint is included. Use ( or ) to exclude and [ or ] to include.

For instance

$$(a,b) \;\;\Rightarrow \;\; \{x\in\Bbb R:a<x<b\}$$ $$[a,b] \;\;\Rightarrow \;\;\{x\in\Bbb R:a\le x\le b\}$$ $$\{a..b\} \;\;\Rightarrow \;\;\{x\in\Bbb Z:a\le x\le b\}$$

0
On

I would like to add to Henricus answer as it gives the answer for a integer range but not for ranges of general step sizes, which is something that is very common in programming.

The expression

$$\{s k \mid k \in [a..b] \}$$ would give you a range from $sa$ to $sb$ with increments of s.

So if you wanted to write an expression for the numbers $$\{-3,-2.5, -2, -1.5, -1, -0.5, 0, 0.5, 1, 1.5, 2, 2.5, 3\}$$ that could be written as $$\{\frac{1}{2} k \mid k \in [-6..6] \}.$$