Definition · Numbers and algebra
Distance on the number line
Definition from the chapter Mathematics · Numbers, equations and algebra of TOLC-S (Science), with the exercises in which it is used.
Distance on the number line
The real numbers, whose set is denoted by , are the rational numbers together with the numbers having infinitely many decimal digits and no repeating block, such as ; they are represented as points of a line. The absolute value of a real number , denoted by , is the distance from zero of the point representing . The points and are both at distance from zero, so and . As a formula, if and if ; for example .
Likewise, is the distance between the points and : between and the distance is . For the points at distance less than from are those between and :
The symbol is read “if and only if” and means that the two statements are true for the same values of . The other two cases are the following.
- The equality holds for the two points at distance from , namely and .
- The inequality holds for the points at distance greater than , that is, for or .
With and in place of and the endpoints and are also included. For the equality is true only for .
The midpoint between two points and of the line is the point at the same distance from both, and it is computed as the average . Between and the midpoint is , which is at distance from both, because and .
A double inequality such as contains two conditions to be satisfied together: the distance of from is at least and is less than . The condition gives . The condition gives or . The numbers that satisfy both are those with or .
Read it in the chapter Mathematics · Numbers, equations and algebra →
Exercises where this definition is used
Worked examples
Practice exercises
The same result in other chapters: TOLC-I
All the definitions and theorems of TOLC-S (Science) → · All the theorems on the site →