Lie Bracket in LaTeX ([X, Y])
- LaTeX command
[X, Y]- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Lie bracket of two vector fields: the vector field acting on functions by X(Yf) - Y(Xf).
The bracket is bilinear, antisymmetric and obeys the Jacobi identity [X,[Y,Z]] + [Y,[Z,X]] + [Z,[X,Y]] = 0, making vector fields a Lie algebra. In coordinates its components are X^j\partial_j Y^i - Y^j\partial_j X^i. The same square-bracket notation is the commutator AB - BA of matrices or quantum operators. Plain [ and ] are fine for short arguments; for tall contents use \left[ \right] or \bigl[ \bigr] so the brackets scale. It measures the failure of the flows of X and Y to commute, and coordinate vector fields always satisfy [\partial_i, \partial_j] = 0.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Lie Bracket: $[X, Y]$
\[ [X, Y]f = X(Yf) - Y(Xf) \]
\end{document}Related symbols
- Star
\star - Lie Derivative
\mathcal{L}_X - Connection Form
\omega^i_j - Wedge Product
\alpha \wedge \beta - Curvature Form
\Omega^i_j - Exterior Derivative
d\omega
Frequently asked questions
- How do I write Lie Bracket in LaTeX?
- Type [X, Y] in math mode, for example $[X, Y]f = X(Yf) - Y(Xf)$. It works in plain LaTeX without loading any package.
- Which package do I need for [X, Y]?
- None. [X, Y] is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use [X, Y] in text mode, or only in math mode?
- Both. [X, Y] compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.