Math Fundamentals18 sections · 814 units
Open in Course

Set-Builder Notation

Defining with rules

Set-builder notation describes sets using rules instead of listing elements. For example, {xx>0}\{x \mid x > 0\} means "all xx such that xx is greater than 00."

Another example: {n2nN}\{n^2 \mid n \in \mathbb{N}\} is the set of all perfect squares (0,1,4,9,16,0, 1, 4, 9, 16, \ldots). The vertical bar \mid means "such that."

Set-builder notation is useful when you cannot list all elements. For infinite sets or sets defined by conditions, this notation is cleaner than trying to write out everything.