# Set Notations in LaTeX

Last Updated : 15 Apr, 2024

Set notation –

In set theory and its applications to logic, mathematics, and computer science, set-builder notation is a mathematical notation for describing a set by enumerating its elements or stating the properties that its members must satisfy. For example, empty set is represented as

. So Letâ€™s see the latex code of Set Notations one by one.

Set notation and their Latex Code :

TERM

SYMBOL

LaTeX

Empty Set

âˆ… or {}

\emptyset or \{\}

Universal Set

U

\mathbb{U}

Subset

âŠ† or âŠ‚

\subseteq or \subset

Proper Subset

âŠ‚

\subset

Superset

âŠ‡ or âŠƒ

\supseteq or \supset

Proper Superset

âŠƒ

\supset

Element

âˆˆ

\in

Not an Element

âˆ‰

\notin

Union

âˆª

\cup

Intersection

\cap

Complement

\

\complement

Set Difference

\

\setminus

Power Set

â„˜

\wp

Cartesian Product

Ã—

\times

Cardinality

A

Set Builder Notation

{ x | P(x) }

\{ x | P(x) \}

Set Membership Predicate

P(x) âˆˆ A

P(x) \in A

Set Minus

A – B

A – B

Set Inclusion Predicate

A âŠ† B

A \subseteq B

Set Equality

A = B

A = B

Disjoint Sets

A \cap B = \emptyset

Subset Not Equal to

A âŠŠ B

A \subsetneq B

Superset Not Equal to

A âŠ‹ B

A \supsetneq B

Symmetric Difference

A Î” B

A \triangle B

Subset of or Equal to

A âŠ† B or A = B

A \subseteq B \text{ or } A = B

Proper Subset of or Equal to

A âŠ† B but A â‰  B

A \subseteq B \text{ but } A \neq B

Cartesian Power

A^n

A^{n}

Union of Sets

â‹ƒ A

\bigcup A

Intersection of Sets

â‹‚ A

\bigcap A

Cartesian Product of Sets

â¨‰ A

\bigtimes A

Set of All Functions from A to B

B^A

B^{A}

Set of All Relations from A to B

AÃ—B

A \times B

Previous
Next