loading tool…
The LaTeX command for log is \log — logarithm.
\logWrite \log inside math mode — that is, between $…$ for inline math or in a \[ … \] / equation block for display math. It is part of core LaTeX math, so no extra package is required.
$\log_{i=1}^{n} x_i$Prefer to see it live? Paste it into the LaTeX preview and it renders as you type — no compiler, no signup.
Search all 380+ LaTeX symbols →
Use \log in math mode — it needs no extra package. For example, $\log_{i=1}^{n} x_i$.
None — \log is built into LaTeX's math mode, so no extra package is required.