Explainer

Mathematical Foundations: A Compact Glossary

A compact, grouped reference to 19 foundational ideas in sets, algebraic structures, functions, and cardinality, with examples.

On this page

Interactive

Functions, injections, surjections, and bijections

A function from A to B

Choose a property to see how the arrows cover A and B.

f: A → B

A function sends each element of A to exactly one element of B. An injection never reuses a target, a surjection covers every target, and a bijection does both.

This is a compact glossary of 19 ideas that recur across mathematics—not a complete textbook or a sequence of analysis theorems. The examples show how the definitions fit together; later courses supply their broader context.

Sets and set operations

1. Set

A set is a collection of distinct objects, called its elements. The notation x∈Xx\in X says that xx belongs to XX. For example, 2∈{1,2,3}2\in\{1,2,3\}.

2. Extensional and intensional definitions

A set may be described by listing its elements (extensionally) or by giving a property that characterizes them (intensionally). For instance, the even integers from 2 through 8 can be written as {2,4,6,8}\{2,4,6,8\} or {n∈Z:2≤n≤8, n is even}\{n\in\mathbb Z:2\le n\le8,\ n\text{ is even}\}.

3. Subset

XX is a subset of YY, written X⊆YX\subseteq Y, if every element of XX belongs to YY:

X⊆Y  ⟺  ∀x (x∈X⇒x∈Y).X\subseteq Y\iff \forall x\,(x\in X\Rightarrow x\in Y).

In particular, {1,2}⊆{1,2,3}\{1,2\}\subseteq\{1,2,3\}.

4–7. Union, intersection, difference, and complement

The union collects elements in at least one set, while the intersection collects elements common to both:

X∪Y={x:x∈X or x∈Y},X∩Y={x:x∈X and x∈Y}.X\cup Y=\{x:x\in X\text{ or }x\in Y\},\qquad X\cap Y=\{x:x\in X\text{ and }x\in Y\}.

The difference X∖YX\setminus Y contains elements of XX not in YY. A complement needs a fixed universe UU; for X⊆UX\subseteq U, it is Xc=U∖XX^c=U\setminus X. For X={1,2}X=\{1,2\}, Y={2,3}Y=\{2,3\}, the difference X∖Y={1}X\setminus Y=\{1\} and intersection is {2}\{2\}.

8. Empty set

The empty set ∅\emptyset has no elements and is a subset of every set.

9. Power set

The power set P(X)={A:A⊆X}\mathcal P(X)=\{A:A\subseteq X\} is the set of all subsets of XX (also written 2X2^X). If XX is finite, then ∣P(X)∣=2∣X∣|\mathcal P(X)|=2^{|X|}. For example, P({a})={∅,{a}}\mathcal P(\{a\})=\{\emptyset,\{a\}\}.

10. Cartesian product

The Cartesian product consists of ordered pairs:

A×B={(a,b):a∈A, b∈B}.A\times B=\{(a,b):a\in A,\ b\in B\}.

More generally, X1×⋯×XnX_1\times\cdots\times X_n contains tuples with iith entry in XiX_i; if all factors are XX, write XnX^n. Order matters: (a,b)(a,b) and (b,a)(b,a) need not be equal.

11. Symmetric difference

The symmetric difference contains elements in exactly one of A,BA,B:

A△B=(A∖B)∪(B∖A)=(A∪B)∖(A∩B).A\triangle B=(A\setminus B)\cup(B\setminus A)=(A\cup B)\setminus(A\cap B).

For the two sets above, X△Y={1,3}X\triangle Y=\{1,3\}.

Algebraic structures and numbers

12. Groups and order

A group is a nonempty set GG with a binary operation ⋅:G×G→G\cdot:G\times G\to G that is associative, has an identity ee, and gives each element an inverse. Thus (xy)z=x(yz)(xy)z=x(yz), ex=xe=xex=xe=x, and xx−1=x−1x=exx^{-1}=x^{-1}x=e. A semigroup has an associative operation; a monoid is a semigroup with an identity. A group is abelian when the operation is commutative. The order of a finite group is its number of elements. The integers under addition form an abelian group with identity 00.

13. Algebraic and transcendental numbers

A complex number is algebraic if it is a root of a nonzero polynomial with rational coefficients; otherwise it is transcendental. For example, 2\sqrt2 is algebraic because it is a root of x2−2x^2-2.

Functions and size

14. Function

A function f:X→Yf:X\to Y assigns exactly one element of YY to each x∈Xx\in X. The sets X,YX,Y are its domain and codomain, and its image is f(X)={f(x):x∈X}⊆Yf(X)=\{f(x):x\in X\}\subseteq Y. For f(x)=x2f(x)=x^2 on R\mathbb R, the image is [0,∞)[0,\infty), not all of its codomain R\mathbb R.

15. Injective, surjective, and bijective functions

A function is injective if f(x1)=f(x2)f(x_1)=f(x_2) implies x1=x2x_1=x_2; surjective if every codomain element is an output; and bijective if both. The map f:R→Rf:\mathbb R\to\mathbb R, f(x)=x3f(x)=x^3, is bijective.

16. Inverse function

A function has an inverse f−1:Y→Xf^{-1}:Y\to X exactly when it is bijective. The identities are f−1(f(x))=xf^{-1}(f(x))=x and f(f−1(y))=yf(f^{-1}(y))=y. For example, the inverse of x↦x3x\mapsto x^3 is y↦y3y\mapsto\sqrt[3]{y}.

17. Equinumerous sets

Sets A,BA,B are equinumerous, written A∼BA\sim B, when a bijection pairs their elements. For finite sets this means they have the same number of elements.

18. Cardinality and countability

The cardinality ∣A∣|A| is the size of AA; for a finite set it is its number of elements. An infinite set in bijection with N\mathbb N is countably infinite. “Countable” commonly includes finite sets as well. The even integers are countably infinite: they can be listed as 0,2,−2,4,−4,…0,2,-2,4,-4,\ldots, giving a bijection with N\mathbb N after choosing its starting convention.

19. Comparing cardinalities

An injection A→BA\to B implies ∣A∣≤∣B∣|A|\le|B|; equal cardinalities mean there is a bijection. In the usual cardinal arithmetic, ∣A∣<∣B∣|A|<|B| means ∣A∣≤∣B∣|A|\le|B| and ∣A∣≠∣B∣|A|\ne|B|. These definitions are a starting vocabulary for comparing sets, not a treatment of infinite cardinal arithmetic.