The Number Line mode uses an intuitive syntax to distinguish between objects on the number line. Note that punctuation endpoints refers to the parentheses and bracket graphing symbols.
To Do This: | Use This Notation: | Example | Notes |
|---|---|---|---|
Single closed circle | Expressed as an evaluated number. | | |
Single open circle | Expressed as an evaluated number wrapped in parentheses. | | |
Punctuation endpoints for intervals | Expressed as evaluated numbers with the punctuation mark at the appropriate position. | | Intervals are expressed per usual mathematical notation (i.e., the lower and upper bounds are separated by a comma). |
Multiple objects and intervals | Separated by semicolons. | | |
Specify | | ||
Specify the answer key as no solution | | ||
Specify the answer key as the entire real number line | |
Below are examples of malformed answer keys and the corrected version.
Malformed Example | Why? | Corrected Example |
|---|---|---|
| The intervals overlap. |
or |
| 3 is in the interval [2,4]. |
or |
Syntax examples Since all values must be evaluated to work, no values should include expressions involving operators that are not evaluated. You must use the <eqn> tag to evaluate expressions. The following examples show the proper syntax for the answer field for both single objects and intervals. In the examples, n is an evaluated number. Type Syntax Description Single point n Closed point at x = n Single point (n) Open point at x = n Interval n0, n1 Interval between two closed points Interval (n0), (n1) Interval between two open points Interval n0, n1) Interval between a closed point at x = n0 and a right parenthesis at x = n1 Interval (n0, n1 Interval between a left parenthesis at x = n0 and a closed point at x = n1 Interval [n0, n1] Interval between a left bracket at x = n0 and a right bracket at x = n1 Interval (-infinity, n Interval between the left infinity arrow and a closed point at x = n Interval n, infinity) Interval between a closed point and the right infinity arrow Interval (-infinity, infinity) Entire real line