## IsExpanded Scoring Method

The isExpanded method checks that an expression is in its most expanded form

# Description

The isExpanded method checks that an expression is in its most expanded form.

isExpanded doesnâ€™t take any value and is generally used as a supporting method in conjunction with equivSymbolic.

# Additional Options

**Allow thousands separator**

Authors can specify what separators can be used by the student. From the Thousand Separator drop-down menu, you can select dot, comma, and/or space. The Decimal Separator menu contains the option for either a dot or a comma. Note that the specified thousand separators and decimal separator cannot be the same, e.g. both dot.

# Examples

**Example 1**

isExpanded does not take any value, which means when used alone it will validate any mathematical expression presented at its most expanded form.

## Combining Methods

**Example 2**

In this example, we combine isExpanded with equivSymbolic. isExpanded checks if the expression in the response is given in expanded form, and equivSymbolic ensures the expression matches the one in validation, i.e. symbolically equivalent to it.

Note that you do not need to work the answer out for validation - just enter the actual expression in equivSymbolic validation, and add the isExpanded method.