A ride at a fair admits riders at least 120 centimeters tall but under 190. That sentence describes a stretch of the number line with one end included and the other end left out. Calculus talks about such stretches all the time, when it asks where a function is defined, where it increases or what happens just to one side of a point. Every bracket and every endpoint is a yes or no decision about membership, and this lesson is about making each one on purpose.
Key terms
Real number line
Definition The real number line is a line on which each point corresponds to exactly one real number and each real number to exactly one point. A chosen point stands for , a chosen unit length fixes where is, and numbers increase to the right. For real numbers and , the statement means that lies to the left of . Unless a problem says otherwise, every variable in this course ranges over the real numbers.
In plain words Every real number has its own spot on the line, including fractions and numbers like and , with no gaps between them.
Example The numbers , , and sit on the line in that order from left to right. Note that , because is farther left, even though is larger than .
Inequality
Definition An inequality compares two real quantities with one of the symbols , , or . A strict inequality ( or ) excludes equality, so is false when . A weak inequality ( or ) includes equality, so is true when . A double inequality means that both and hold. When you multiply or divide both sides of an inequality by a negative number, the direction of the inequality reverses.
In plain words The line under the symbol says the boundary number itself is allowed. No line means the boundary is left out.
Example The ride condition reads , where is height in centimeters. A rider of exactly centimeters gets on, and a rider of exactly does not. Solving means dividing by , which reverses the sign and gives . A check with gives , which is true.
Interval
Definition An interval is a set of real numbers that contains every number lying between any two of its members. For real numbers the bounded intervals are written as follows.
| Interval | Meaning |
|---|---|
The numbers and are the endpoints. The notation for an interval is the same as for a point in the plane, and the context tells you which is meant.
The definition also admits sets that have no two different members, because for them there is nothing to check. A single point and the empty set both count as intervals in this sense and are called degenerate. They rarely matter, and when calculus speaks of a function on an interval it almost always means one with more than one point, and such an interval contains infinitely many numbers. The unbounded intervals in the section on infinity below also satisfy the definition.
In plain words An interval is one unbroken piece of the number line, with no gaps inside it. Interval notation names the two ends and uses the bracket shape to say whether each end belongs.
Example The condition is the interval . It contains , and , but not and not . The set of allowed values found later on this page is not an interval, since and belong to it but , which lies between them, does not.
Open and closed endpoints
Definition An endpoint is closed when it belongs to the set. It is written with a square bracket and drawn on a number line as a filled dot. An endpoint is open when it does not belong to the set. It is written with a round parenthesis and drawn as a hollow dot. A strict inequality produces an open endpoint and a weak inequality produces a closed one.
In plain words Square bracket and filled dot mean the number is in. Round parenthesis and hollow dot mean it is out.
Example The ride interval is drawn with a filled dot at , a hollow dot at and the segment between them shaded. Each of the three pieces of the picture answers one question. Is in? Yes. Is in? No. Is everything in between in? Yes.
Infinity in interval notation
Definition The symbols and are not real numbers. In interval notation they record that the set has no upper or no lower bound. Neither symbol is a member of any set of real numbers, so each always gets a round parenthesis. For a real number the unbounded intervals are
and the whole line is .
In plain words Infinity means the shading keeps going forever in that direction. It is a direction, not a place you can stand on, so it is never bracketed.
Example The condition is . On a number line it is a filled dot at with an arrow running to the right. Writing is incorrect, because it claims that is a member of the set.
Union
Definition The union of two sets and is the set
where “or” is inclusive, so a number belongs to when it belongs to at least one of the two sets. Unions describe conditions made of separate pieces, which a single interval cannot express.
In plain words A number is in the union if it passes at least one of the tests.
Example The condition ” or ” is
The number is in it, so is , and is not. The number is not in it either, since it fails both tests. Writing the condition as would be wrong, because no number is both at least and less than .
Allowed values
Definition The allowed values of a formula in one real variable are the real inputs for which every step of the calculation is defined in the real numbers. The two most common restrictions at this stage are that a denominator may not be and that the expression under an even root, such as a square root, must be greater than or equal to . A real situation may restrict the inputs further, for example to times .
In plain words Allowed values are the inputs the formula can actually handle. Find what could go wrong, and remove those inputs.
Example The formula needs , so its allowed values are . The formula needs , so its allowed values are
The formula
needs both conditions at once, which gives . The number is allowed, since it gives .
Check yourself
- Write in interval notation and describe its number line picture.
Show the answer
The interval is . Draw a filled dot at , a hollow dot at and shade the segment between them.
- Write ” or ” in interval notation. Is in the set? Is ?
Show the answer
The set is . The number is not in it, since and are both false. The number is in it, since is true.
- Find the allowed values of
Show the answer
The root needs , so , and the denominator needs . The allowed values are .