- Published on
Markdown Notation
- Authors
- Name
- Kevin Navarrete-Parra
The following table is a recreation of Table 1.2 found in A Mathematics Course for Political & Social Research by Will H. Moore and David A. Siegel, with a few additions and changes1. This table is a quick reference for mathematical notation in Markdown and RMarkdown, and it can also be useful for formatting math equations in LaTeX. Additionally, it is worth noting that any of these inline code snippets can also be expressed as code blocks in markdown and Rmarkdown by wrapping them in double dollar signs, e.g., $$a + b$$
.
Symbol | Meaning | Inline Code |
---|---|---|
Addition | $a + b$ | |
Subtraction | $a - b$ | |
Multiplication | $a \times b$ $a \ast b$ $a \cdot b$ | |
Division | $a / b$ $a \div b$ $\frac{a}{b}$ | |
Modulo | $5\mod 2 = 1$ | |
Plus or Minus | $\pm a$ | |
Exponent | $a^n$ | |
Radical | $\sqrt[n]{a}$ | |
Factorial | $3!=3 \times 2 \times 1$ | |
Change in x | $\Delta x$ | |
Pi | $\pi$ | |
Euler's constant | $e$ | |
Infinity | $\infty$ $-\infty$ | |
Sum of from index to | $\displaystyle\sum_{i = k}^l x_i$ | |
Product of from index to | $\displaystyle\prod_{i = k}^l x_i$ | |
Continued progression | $...$ | |
Total derivative with respect to x | $\frac{d}{dx}$ | |
Partial derivative with respect to x | $\frac{\partial}{\partial x}$ | |
Integral over x | $\int dx$ | |
Set union | $a \bigcup b | |
Set intersection | $a \bigcap b$ | |
Cartesian product of sets | $a \times b$ | |
Set difference | $\setminus$ | |
Complement of set A | $A^{c}$ | |
A is an empty (or null) set | $A = \emptyset$ | |
Set membership | $x \in A$ | |
Not a member of a set | $x \notin A$ | |
Such that | $\mid$ $\ni$ $:$ | |
Proper subset | $a \subset b$ | |
Subset | $a \subseteq b$ | |
and | Less than and greater than | $< $ and $ > $ |
and | Less than or equal to and greater than or equal to | $\leq$ and $\geq$ |
Approximately equal to | $\approx$ | |
Equivalent to | $\equiv$ | |
Not equal to | $\neq$ | |
For all | $\forall$ | |
There exists | $\exists$ | |
Implies | $\Rightarrow$ | |
If and only if | $\Leftrightarrow$ | |
Because | $\because$ | |
Therefore | $\therefore$ | |
Negation | $\neg$ | |
Function | $f(x)$ | |
Delimiter for a discrete set | ${a, b}$ | |
Closed interval | $[a, b]$ | |
Open interval | $(a, b)$ |
Footnotes
I've added some additional symbols and changed the formatting slightly for my purposes. ↩