Exercises

Functions

List of functions recognized by the math engine

List of Supported Functions

The following is a list of functions recognized by the MathMatize math engine. Note that typing the function in the math input field triggers a macro that properly escapes the function name. When properly escaped the function name is printed in an upright serif font (MathMatize conventions). However, when copying and pasting text (and sometimes when an expression is edited after initial input) the macro can fail to trigger. In this case, the function name will be rendered in an italic sans serif font. MathMatize will warn the user to retype the unescaped function name if it is intended to be parsed as a function otherwise it will be interpreted as an implicitly multiplied product. Besides these supported functions, custom functions can also be defined and used within the scope of each MathMatize exercise.

Trigonometric Functions

All trigonometric ratio functions assume an argument that is in radians. To input an angle in degrees enter the degree symbol following the angle.

sin : sine function

cos : cosine function

tan : tangent function

sec : secant function

csc : cosecant function

cot : cotangent function

arcsin : inverse sine function

arccos : inverse cosine function

arctan : inverse tangent function

arcsec : inverse secant function

arccsc : inverse cosecant function

arccot : inverse cotangent function


Hyperbolic Trigonometric Functions

sinh : hyperbolic sine

cosh : hyperbolic cosine

tanh : hyperbolic tangent

arcsinh : inverse hyperbolic sine

arccosh : inverse hyperbolic cosine

arctanh : inverse hyperbolic tangent


Logarithmic and Exponential Functions

log : logarithm base 10

ln : natural logarithm (base e)

log_x : logarithm base x

exp : exponent


Functions of Complex Variables

Re : return the real part of a complex number

Im : return the imaginary part of a complex number

conj : return the complex conjugate of a complex number

abs : return the modulus of a complex number

Arg : return the argument of a complex number


Matrix Functions

det : determinant

tr : trace

transpose : take the transpose of a matrix A by typing A^T


Integer Functions

lcm : returns the least common multiple of 2 or more values lcm(x1, x2, [x3, ...])

gcd : returns greatest common divisor of 2 or more values gcd(x1, x2, [x3, ...])

isPrime : is prime.

round : round to nearest integer

factorial : take the factorial of n by typing n!

choose : choose. The number of unordered sets of k elements chosen from n elements


Elementary Functions

max : maximum. Returns the maximum of one or more values. max(x1, [x2, ...])

min : minimum. Returns the minimum of one or more values. min(x1, [x2, ...])

abs : absolute value. Can also be written as abs(x) of |x|

sqrt : square root. Take the nth-root by typing \sqrt[n]

mod : infix binary operator returns the modulus, i.e. the remainder of an integer division.


See also: