Perpendicular in LaTeX (\perp)

⊥\perp
LaTeX command
\perp
Package
No package needed: built into LaTeX
Mode
Math mode only
Copy the Unicode character
⊥U+22A5

Where it is used

Perpendicular relation, marking orthogonal lines, vectors or subspaces, and independence of variables.

Geometry writes AB \perp CD, linear algebra writes u \perp v when \langle u, v \rangle = 0 and W^\perp for an orthogonal complement, and number theory sometimes uses a \perp b for coprime integers. Probabilists write X \perp Y for independence, often doubled as X \perp\!\!\!\perp Y to imitate the dedicated independence symbol. \perp is a relation with spacing on both sides, whereas \bot has the same shape but ordinary spacing, which suits the logical falsum or a bottom element. In a superscript like W^\perp either works, since spacing is suppressed there.

Also listed under: 확률 및 통계, 기하학, 정수론

Minimal compilable example

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

W⊥={v∈V:v⊥w ∀w∈W}W^{\perp} = \{ v \in V : v \perp w \ \forall w \in W \}
\documentclass{article}
\begin{document}
Perpendicular: $\perp$

\[ W^{\perp} = \{ v \in V : v \perp w \ \forall w \in W \} \]
\end{document}

Related symbols

All 관계 및 비교 →

Frequently asked questions

How do I write Perpendicular in LaTeX?
Type \perp in math mode, for example $W^{\perp} = \{ v \in V : v \perp w \ \forall w \in W \}$. It works in plain LaTeX without loading any package.
Which package do I need for \perp?
None. \perp is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \perp in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\perp$ 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로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기