Sigma in LaTeX (\sigma)

σ\sigma
LaTeX command
\sigma
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
σU+03C3

Where it is used

Lowercase Greek sigma, the standard deviation, activation functions, and the sigma-algebra.

Statistics writes the standard deviation as \sigma and variance as \sigma^2. Machine learning uses \sigma(x) = 1/(1 + e^{-x}) for the logistic sigmoid and \sigma for a generic activation function. Measure theory talks of \sigma-algebras, physics uses \sigma for cross-sections, conductivity, and Pauli matrices \sigma_x, and linear algebra uses \sigma_i for singular values. The final-sigma variant \varsigma resembles a Latin s and is rarely used in math. Do not use the capital \Sigma for summation; that is \sum.

Also listed under: Probability at Statistics, Machine Learning at AI

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

σ(x)=11+e−x\sigma(x) = \frac{1}{1 + e^{-x}}
\documentclass{article}
\begin{document}
Sigma: $\sigma$

\[ \sigma(x) = \frac{1}{1 + e^{-x}} \]
\end{document}

Related symbols

All Mga Simbolo ng Griyego →

Frequently asked questions

How do I write Sigma in LaTeX?
Type \sigma in math mode, for example $\sigma(x) = \frac{1}{1 + e^{-x}}$. It works in plain LaTeX without loading any package.
Which package do I need for \sigma?
None. \sigma is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \sigma in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\sigma$ in running text. If you only need the glyph in text, paste the Unicode character σ instead (with XeLaTeX or LuaLaTeX and a font that has it).
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers