Vectors and matrices

u⊥v\mathbf{u} \perp \mathbf{v} Perpendicular / independent

Orthogonal (at right angles, dot product zero); doubled, statistically independent.

In ML papers

u⊥v\mathbf{u} \perp \mathbf{v} says the two vectors are orthogonal: u⊤v=0\mathbf{u}^\top \mathbf{v} = 0. A superscript gives the orthogonal complement: S⊥S^\perp is every vector orthogonal to everything in SS.

A doubled tack, X⊥ ⁣ ⁣ ⁣⊥YX \perp\!\!\!\perp Y, means XX and YY are statistically independent: p(x,y)=p(x) p(y)p(x, y) = p(x)\,p(y). With a bar, X⊥ ⁣ ⁣ ⁣⊥Y∣ZX \perp\!\!\!\perp Y \mid Z is conditional independence given ZZ, the language of causal and graphical models. Many papers write a single ⊥\perp for independence too; if the things on each side are random variables, read it that way.

Other meanings, by context

How to type it

LaTeXShows
\perp⊥\perp
\perp\!\!\!\perp independence, double tack⊥ ⁣ ⁣ ⁣⊥\perp\!\!\!\perp

A worked example

(1,2)⊥(2,−1)since1×2+2×(−1)=0(1, 2) \perp (2, -1) \quad \text{since} \quad 1 \times 2 + 2 \times (-1) = 0

A zero dot product means a right angle.

Common confusions

Related

⟨x,y⟩\langle \mathbf{x}, \mathbf{y} \rangleInner product (angle brackets)p(y∣x)p(y \mid x)Given (conditional bar)p(x),  q(z)p(\mathbf{x}), \; q(\mathbf{z})Probability p(x)x⊤y\mathbf{x}^\top \mathbf{y}Transpose

Decode this example →