Logarithms and exponentials in LaTeX
The natural logarithm is \ln, the common one \log, and the base is added as a subscript. A long exponent of e is easier to read when written with \exp and parentheses.
Logarithms
\ln e = 1, \quad \log_{2} 8 = 3Radioactive decay
N(t) = N_0 \exp\left(-\frac{t \ln 2}{T_{1/2}}\right)Common mistakes
- log without a backslash: the letters are set in italics.
See also
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.