Chapter 1 · Week 1
Real Numbers, Intervals, and Measurements
Work with exact values, numerical approximations, sets, and units.
Prerequisites: Arithmetic with signed numbers and fractions.
Learning objectives
- Classify exact and approximate numerical values.
- Translate interval and set notation.
- Track units and measurement tolerance in a calculation.
A length of metres and a length reported as metres can have the same numerical value while carrying different information. The fraction may be an exact result of a geometric construction. The decimal may be a rounded reading from an instrument. Before calculating with either, we need to distinguish the mathematical number from the measurement it represents.
We will use exact numbers to establish relationships, then approximate them when a numerical decision requires it. Keeping the units and the allowed inputs with a calculation will also prevent several algebraic mistakes later in the book.
Numbers on a line
Integers include zero, positive whole numbers, and their negatives. A rational number has the form for integers with . Its decimal expansion terminates or eventually repeats. For example, and . The bar identifies the repeating block; a displayed decimal without a bar or a stated continuation is a finite number.
The real numbers also include irrational numbers such as . To see why cannot be a fraction in lowest terms, suppose . Then , so is even. Writing gives , so is also even, contradicting lowest terms. The diagonal of a unit square therefore introduces a real length that integer ratios cannot express.
Each real number is a point on the real line. The absolute value is its distance from zero, so . More generally, is the distance between and . Distance is nonnegative even when the coordinates are negative.
Sets describe allowed values
The interval includes both endpoints; excludes them. Mixed brackets include just one endpoint. Thus describes . Infinity is a direction of unbounded extent rather than an endpoint number, so we write with a parenthesis at infinity.
Union combines allowed sets, while intersection retains values belonging to both. If a quantity must satisfy and , its allowed set is the intersection . If it may instead lie below or above , the set is .
Set-builder notation names the condition directly: . Since the distance from 4 is less than , this is . We will use this form when a restriction is easier to state than to list.
Exact arithmetic and approximation
Evaluate by first carrying out the parentheses, then the power, then multiplication and division, and finally addition and subtraction. The result is . A negative sign outside a power acts differently from a negative base: , whereas .
The exact diagonal of a square of side 2 is . Reporting it as introduces an approximation. If a tolerance requires error below , rounding to three decimal places is sufficient here; a stated exact formula remains useful when later calculations would amplify rounding.
For a measured value and reference value , absolute error is and relative error is . An error of one centimetre is small for a road length and substantial for a two-centimetre component. At reference value zero, this relative-error formula is undefined, so use an appropriate absolute tolerance.
Units participate in the calculation
A conversion multiplies by a ratio equal to one. Since one hour is 60 minutes,
The cancelled unit identifies why the conversion factor has this orientation. For area, square the length conversion: . Using 100 instead would convert only one of the two length factors.
Suppose a rod is reported as centimetres with an absolute tolerance of centimetre. The specification gives . If two such rod lengths are added, their sum lies in . This is a worst-case interval statement, requiring no probability model for the errors.
Exercises
- Write as one interval.
- Express as an interval.
- Evaluate .
- Convert kilometres per hour to metres per second.
- A measurement is 49.5 while a nonzero reference is 50. Find absolute and relative error.
- Two lengths lie in and metres. Bound their sum and the first minus the second.
Worked solutions
- Both conditions hold for , so the intersection is .
- Distance at most 3 from gives .
- The first two terms are and , which cancel. The remaining term is 9.
- Multiply by , giving metres per second.
- Absolute error is and relative error is , or 1%.
- The sum lies in . The difference is smallest at and largest at , giving .