Tensor Product in LaTeX (A \otimes B)
- LaTeX command
A \otimes B- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Tensor product of A and B, combining two tensors or vector spaces into one of higher rank or dimension.
For vector spaces, \dim(V \otimes W) = \dim V \cdot \dim W, and for tensors the components multiply, (A \otimes B)^{ij} = A^i B^j. For matrices the same symbol denotes the Kronecker product, a block matrix with entries a_{ij}B. Quantum mechanics uses it for composite systems, |\psi\rangle \otimes |\phi\rangle. \otimes is a binary operator with automatic spacing; for a product over an index set use the large operator \bigotimes_{i=1}^n V_i, and for repeated factors V^{\otimes k}.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Tensor Product: $A \otimes B$
\[ (A \otimes B)(v \otimes w) = Av \otimes Bw \]
\end{document}Related symbols
- Contraction
T^i_i - Einstein Summation
A^i B_i - Metric Lowering
v_i = g_{ij} v^j - Levi-Civita
\epsilon_{ijk} - Metric Raising
v^i = g^{ij} v_j - Kronecker Delta
\delta^i_j
Frequently asked questions
- How do I write Tensor Product in LaTeX?
- Type A \otimes B in math mode, for example $(A \otimes B)(v \otimes w) = Av \otimes Bw$. It works in plain LaTeX without loading any package.
- Which package do I need for A \otimes B?
- None. A \otimes B is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use A \otimes B in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $A \otimes B$ in running text.
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기