Basic Math Syntax in the System

When entering expressions in Text Mode (2-D or graphing calculator-style) or Symbol Mode (WYSIWYG) with the Math Editor, keep in mind the following.

 

Writing Mathematical Expressions

The basic syntax for entering a mathematical formulas or expressions in the system enables you to quickly enter expressions using 2-D notation. You can enter formulas using standard mathematical notation (similar to that used in a graphing calculator) and, in general, the system correctly interprets it.

 

For example, the following formula is acceptable.

(x^2-2x+1) 2sin(x)(x^2+1)e^(-x^2)

 

Note: If a product includes one or more variables, always use an asterisk "*". For example, specify 2*$A.

 

 

 

The most common mistake is to forget parentheses "()".  For example, the expression:

1/(x+1)

is different from

1/x+1

which the system interprets that as:

(1/x) + 1

 

Alternatively, you can use the symbolic math editor to enter expressions.  

 

Place the argument of a function in parentheses.  For example, enter sqrt(3x) not sqrt 3x,which is interpreted as (sqrt(3))*x.

 

Variable Names

Make sure that the variables you use in responses are exactly the same as displayed in the question.  

 

Note: The grading system is case sensitive with respect to variable names.
If the correct answer is:  

(t+1)^2

then the response

T^2 + 2T +1

is graded wrong, but

t^2 + 2t +1

is correct.

 

Beware of case inconsistencies, like x and X or v and V. Make sure that your variables match the case of the variables in questions.

Operator and Function Syntax

 

For:

 

For more information, see the Mathematical Functions and Operations table.

 

See Also:

Entering and Editing Formulas

Equivalent Responses

Math Functions & Operations

Shortcut Keys