MathMath

Help › Functions

Symbolic keywords

simplify expand factor float solve collect coeffs series substitute parfrac assume laplace invlaplace ztrans invztrans

expr simplify → As in Mathcad

The expression in a simpler form.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

x−1x2−1​ simplify→x+1

expr expand → As in Mathcad

The expression multiplied out.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

(x+1)3 expand→x3+3⋅x2+3⋅x+1

expr factor → As in Mathcad

The expression as a product of factors.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

x2−5⋅x+6 factor→(x−3)⋅(x−2)

expr float, [n] → As in Mathcad

The expression as a decimal number, to 20 significant digits, or to n with float, n.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

π float→3.1415926535897932385

expr solve, x → As in Mathcad

The values of x that make an equation true, or an expression zero.

Several solutions come as a vector. Type the equation with an ordinary =.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

x2−4=0 solve,x→(−22​)

expr collect, x → As in Mathcad

The expression with the terms in x gathered together.

The answer is a polynomial in x, highest power first, as in Mathcad. Terms in anything else, as sin(x), are left as they are.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

(x+a)⋅(x+b) collect,x→x2+(a+b)⋅x+a⋅b

expr coeffs, x → As in Mathcad

The coefficients of a polynomial in x, as a vector from the constant term up.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

3⋅x2+2⋅x+1 coeffs,x→⎝⎛​123​⎠⎞​

expr series, x, n → As in Mathcad

The series of the expression in x about 0, up to the power n.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

ex series,x,4→1+x+21​⋅x2+61​⋅x3+241​⋅x4

expr substitute, x = value → As in Mathcad

The expression with x replaced by another expression.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

x2+y substitute,x=y+1→(y+1)2+y

expr parfrac, x → As in Mathcad

The expression in partial fractions in x.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

x2−11​ parfrac,x→x−121​​−x+121​​

expr assume, condition → As in Mathcad

The expression worked out under a condition on a variable, as x > 0.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

√x2 assume,x>0→x

expr laplace, t → As in Mathcad

The Laplace transform of an expression in t: a function of s.

invlaplace goes back. A step is Φ(t) and an impulse Δ(t).

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

e−2⋅t laplace,t→s+21​

expr invlaplace, s → As in Mathcad

The inverse Laplace transform of an expression in s: a function of t.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

s+21​ invlaplace,s→e−2⋅t

expr ztrans, n → As in Mathcad

The z-transform of an expression in n: a function of z.

invztrans goes back.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

2n ztrans,n→z−2z​

expr invztrans, z → As in Mathcad

The inverse z-transform of an expression in z: a function of n.

Type the expression, then choose the keyword from the Keywords menu, or type → (Ctrl+.) after it. Sheet variables with values are put in first; names without values stay as symbols.

z−2z​ invztrans,z→2n