Sets, shapes and definitions

x∈Rd\mathbf{x} \in \mathbb{R}^d Element of

“Is in” or “belongs to”: x ∈ S says x is a member of the set S.

In ML papers

x∈Sx \in S reads "xx is an element of SS". It declares types and shapes (x∈Rd\mathbf{x} \in \mathbb{R}^d), ranges (i∈{1,…,N}i \in \{1, \ldots, N\}, γ∈[0,1)\gamma \in [0, 1)) and memberships ((x,y)∈D(\mathbf{x}, y) \in \mathcal{D}). Under a sum, ∑x∈D\sum_{x \in \mathcal{D}} runs over every element.

How to type it

LaTeXShows
\in∈\in
\notin not an element of∉\notin

A worked example

3∈{1,2,3},0.5∈[0,1],4∉{1,2,3}3 \in \{1, 2, 3\}, \quad 0.5 \in [0, 1], \quad 4 \notin \{1, 2, 3\}

Common confusions

Equations that use it

Related

W∈Rd×kW \in \mathbb{R}^{d \times k}Real numbers (ℝ) and shapesD={(xi,yi)}i=1N\mathcal{D} = \{(\mathbf{x}_i, y_i)\}_{i=1}^{N}Set braces∀i\forall iFor all

Decode this example →