고급 연산자

이항 연산자, 텐서곱, 직합 및 합성.

LaTeX operators: circle plus, times, dot and big operators

LaTeX operators fall into two groups. Binary operators sit between two terms with medium spacing: \times, \cdot, \ast, \circ, and the circled family \oplus (circle plus, ⊕), \otimes (⊗), \odot (⊙) and \ominus. Big operators take limits and grow in display math: \sum, \prod, \bigoplus, \bigotimes and \bigcup. All of these are built in. Named operators like \max, \sin and \det are predefined, and you can declare your own with \DeclareMathOperator from amsmath. The table lists the LaTeX operators people use most; the full list follows below.

Quick reference: binary and big operators

SymbolCommandUsePackageCopy
⊕\oplus
\oplusCircle plus: direct sum, XORbuilt in
⊗\otimes
\otimesCircle times: tensor productbuilt in
⊙\odot
\odotCircle dot: Hadamard productbuilt in
⊖\ominus
\ominusCircle minusbuilt in
⊘\oslash
\oslashCircle slashbuilt in
×\times
\timesCross product, multiplicationbuilt in
⋅\cdot
\cdotCentered dotbuilt in
∗\ast
\astAsterisk operator, convolutionbuilt in
∘\circ
\circCompositionbuilt in
⋆\star
\starStar operatorbuilt in
⨁i=1nVi\bigoplus_{i=1}^{n} V_i
\bigoplus_{i=1}^{n} V_iDirect sum over an indexbuilt in
⨂i=1nVi\bigotimes_{i=1}^{n} V_i
\bigotimes_{i=1}^{n} V_iTensor product over an indexbuilt in

Defining your own operators

To add a named operator such as a trace or argmax, declare it once in the preamble. The starred form puts limits underneath in display math:

\usepackage{amsmath}
\DeclareMathOperator{\Tr}{Tr}
\DeclareMathOperator*{\argmax}{arg\,max}

Frequently asked questions about LaTeX operators

How do I write circle plus in LaTeX?
Use \oplus for ⊕, the circle plus used for direct sums and XOR. It is a built-in binary operator: $A \oplus B$. For a direct sum over many terms, use the big operator \bigoplus_{i=1}^{n} V_i.
How do I write the odot (circle dot) operator in LaTeX?
\odot prints ⊙ and is used for the Hadamard (element-wise) product, $A \odot B$. The large version is \bigodot. Both are built in.
How do I define a new operator in LaTeX?
Load amsmath and write \DeclareMathOperator{\Tr}{Tr} in the preamble; \Tr(A) then prints an upright Tr with operator spacing. Use \DeclareMathOperator* when limits should go underneath, as for \argmax. For a one-off, \operatorname{Tr} does the same inline.
⊕\oplus
⊗\otimes
⊙\odot
⊖\ominus
⊘\oslash
⋆\star

Star

\star
∗\ast
∘\circ
∙\bullet

Bullet

\bullet
⋄\diamond

Diamond

\diamond
◯\bigcirc

Big Circle

\bigcirc
△\triangle

Triangle Up

\triangle
▽\triangledown

Triangle Down

\triangledown
∇\nabla

Nabla

\nabla
□\square

Square

\square
∧\wedge

Wedge

\wedge
∨\vee

Vee

\vee
∪\cup

Cup

\cup
∩\cap

Cap

\cap
⨿\amalg
†\dagger

Dagger

\dagger
‡\ddagger
≀\wr
∖\setminus

Set Minus

\setminus