Dot Product in LaTeX (\cdot)
- LaTeX command
\cdot- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⋅
U+22C5
Where it is used
Places a centered dot, used for the dot product and for multiplication between factors.
\cdot is a binary operator sitting at the math axis, as in \mathbf{u} \cdot \mathbf{v} = \sum u_i v_i and in products like 2 \cdot 3. It also marks a placeholder argument, as in \|\cdot\| or f(\cdot). Do not use a period, which sits on the baseline, or \bullet, which is larger. For an ellipsis between multiplied factors use \cdots, which is vertically centered, versus \ldots for lists. Use \times for cross products and scientific notation, keeping \cdot for scalar and inner products.
Also listed under: 선형대수
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Dot Product: $\cdot$
\[ \mathbf{u} \cdot \mathbf{v} = \|\mathbf{u}\|\|\mathbf{v}\| \cos\theta \]
\end{document}Related symbols
All 수학 기호 →Frequently asked questions
- How do I write Dot Product in LaTeX?
- Type \cdot in math mode, for example $\mathbf{u} \cdot \mathbf{v} = \|\mathbf{u}\|\|\mathbf{v}\| \cos\theta$. It works in plain LaTeX without loading any package.
- Which package do I need for \cdot?
- None. \cdot is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \cdot in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\cdot$ 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 poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기