The answer key objects (for example, 3.2; (6.45, 6.75]) specify the correct answer for the question.
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 |
|
- Two answer key objects must not be placed so that they are less than 1/4 of the distance between two consecutive tickmarks.
- If an answer key object is overlapping a tickmark but the answer is not actually on the tickmark, your tickmark spacing is too small. Decrease the range attribute to a smaller range.
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 |
|
Closed point at x = n |
Single point |
|
Open point at x = n |
Interval |
|
Interval between two closed points |
Interval |
|
Interval between two open points |
Interval |
|
Interval between a closed point at x = n0 and a right parenthesis at x = n1 |
Interval |
|
Interval between a left parenthesis at x = n0 and a closed point at x = n1 |
Interval |
|
Interval between a left bracket at x = n0 and a right bracket at x = n1 |
Interval |
|
Interval between the left infinity arrow and a closed point at x = n |
Interval |
|
Interval between a closed point and the right infinity arrow |
Interval |
|
Entire real line |