How to Type Math
Division /
Divides things
x+32/2
$$x+\frac{32}{2}$$
Invisible Brackets {}
Groups elements together
{x+32}/{2}
$$\frac{x+32}{2}$$
Visible Brackets ()
Groups elements together too but are visible!
(x+32)/{2}
$$\frac{(x+32)}{2}$$
Superscripts and Exponents ^
Puts an exponent (ensure to use brackets to group items you want in the exponent).
e^{i pi}
$${e^{{i \pi }}}$$
x^{n+2}
$$x^{n+2}$$
Subscripts _
Puts a subscript (ensure to use brackets to group items you want in the subscript).
x_{1} + x_{2}
$$x_{1} + x_{2}$$
text text{}
Write non italicized text. Alternativelty you can also use mathrm{}.
f(x) = text{hello world!}
$${f{ \left( x \right) } = \text {hello world!}}$$
Calculus
Limits lim
lim_{h -> 0}
$$\lim_{h \to 0}$$
Derivative Definition
f'(x) = lim_{h -> 0} {f(x+h) - f(x)}/h
$${f'{ \left( x \right) } = \lim _{{h \to 0}} \frac{{f{ \left( x+h \right) } - f{ \left( x \right) }}}{h}}$$
Lebiniz Derivative
{dy}/{dx}
$$\frac{dy}{dx}$$
Partial Derivative
{partialy}/{partialx}
$$\frac{\partial y}{\partial x}$$
Integration
int^{infty}_{0}f(x)
integral^{infty}_{0}f(x)
$${ \int _{0}^{ \infty }f{ \left( x \right) }}$$
Summation sum
sum^{n}_{i=1}i = {n(n+1)}/2
$${ \sum ^{n}_{{i=1}}i = \frac{{n{ \left( n+1 \right) }}}{2}}$$
Product prod
prod^{n}_{i=1}nlogn
$${ \prod ^{n}_{{i=1}}\log n}$$
Chemistry
Ions
An ion
H^{1+}_(g)
$$H^{1+}_{(g)}$$
Basic Chemical Equation
Basic chemical equation
CH_{4(g)} + O_{2(g)} -> H_2O_{(g)} + CO_{2(g)}
$${CH_{{4{ \left( g \right) }}} + O_{{2{ \left( g \right) }}} \to H_{2}O_{{{ \left( g \right) }}} + CO_{{2{ \left( g \right) }}}}$$
Special characters (examples)
Use a capital letter to denote the capital version of the letter
Delta
\(\Delta\)
delta
\(\delta\)
Omega
\(\Omega\)
sigma
\(\sigma\)
epsilon
\(\epsilon\)
alpha
\(\alpha\)