by Caleb Evans Return to App

expressions documentation

Arithmetic

equal to

a = b
$$a = b$$

not equal to

a \neq b
$$a \neq b$$

approximately equal to

a \approx b
$$a \approx b$$

addition

a + b
$$a + b$$

subtraction

a - b
$$a - b$$

plus or minus

a \pm b
$$a \pm b$$

minus or plus

a \mp b
$$a \mp b$$

division

a \div b
$$a \div b$$

fractions

a \over b
$$a \over b$$

less than or equal to

a \leq b
$$a \leq b$$

greater than or equal to

a \geq b
$$a \geq b$$

Wrappers

parentheses

(a + b)^2
$$(a + b)^2$$

group (semantic)

{a + b} \over {a - b}
$${a + b} \over {a - b}$$

parentheses (stretched)

\left ( {a \over b} \right )
$$\left ( {a \over b} \right )$$

absolute value (stretched)

\left | {a + b} \over {a - b} \right |
$$\left | {a + b} \over {a - b} \right |$$

matrices

\left [
  \matrix {
    a & b \\
    c & d
  }
\right ]
$$\left [ \matrix { a & b \\ c & d } \right ]$$

piecewise

\begin{cases}
  x & x\ge 0 \\
  -x & x\lt 0
\end{cases}
$$\begin{cases} x & x\ge 0 \\ -x & x\lt 0 \end{cases}$$

Exponents

superscripts (exponents)

a^b
$$a^b$$

subscripts

a_b
$$a_b$$

logarithms

\log_b{a}
$$\log_b{a}$$

square roots

\sqrt{a}
$$\sqrt{a}$$

nth roots

\sqrt[n]{a}
$$\sqrt[n]{a}$$

Geometry

degrees symbol

90^\circ
$$90^\circ$$

angle symbol

\angle A
$$\angle A$$

parallel symbol

A \parallel B
$$A \parallel B$$

perpendicular symbol

A \perp B
$$A \perp B$$

congruency

A \cong B
$$A \cong B$$

sine

\sin(x)
$$\sin(x)$$

cosine

\cos(x)
$$\cos(x)$$

tangent

\tan(x)
$$\tan(x)$$

inverse sine (arc sine)

\sin^{-1}(x)
$$\sin^{-1}(x)$$

Greek Symbols

alpha

\alpha
$$\alpha$$

beta

\beta
$$\beta$$

delta

\delta
$$\delta$$

delta (capital)

\Delta
$$\Delta$$

pi

\pi
$$\pi$$

sigma

\sigma
$$\sigma$$

Sigma

\Sigma
$$\Sigma$$

theta

\theta
$$\theta$$

Calculus

infinity

\infty
$$\infty$$

limits

\lim_{x \to a} \ f(x)
$$\lim_{x \to a} \ f(x)$$

integrals

\int_a^b f(x)
$$\int_a^b f(x)$$

sums

\sum_{i=1}^n f(x)
$$\sum_{i=1}^n f(x)$$

Logic

NOT operation

\neg a
$$\neg a$$

AND operation

a \wedge b
$$a \wedge b$$

OR operation

a \vee b
$$a \vee b$$

XOR operation

a \veebar b
$$a \veebar b$$

implication

a \rightarrow b
$$a \rightarrow b$$

double implication

a \leftrightarrow b
$$a \leftrightarrow b$$

logical equivalence

a \Leftrightarrow b
$$a \Leftrightarrow b$$

Whitespace

space

a \ b
$$a \ b$$

5 spaces

a \quad b
$$a \quad b$$

line break

a \\ b
$$a \\ b$$