In this section we cover how to actual write sets and specifically domains, codomains, and ranges.

Notating Sets: how we write domains, codomains, and ranges.

An important piece of the mathematical language is properly writing sets, and there are a number of ways to do this. One such way, which we will outline below, is the so-called ‘set-builder notation’. This is essentially building a set by listing the properties that each element of the set has. Consider the following statement: The above statement has a number of very important symbols.

The braces on either end are the notation for a set. Essentially the braces are saying ‘this is a set/collection of things’. The variable in the first part (before the colon) is a generic placeholder for something in the set. The colon is a delimiter that transitions from the notation for the generic representative to the notation that is telling you the properties that the thing must have. Finally, the content after the colon is a (comma-separated) list of traits the elements of that set have.

That may seem pretty dense and hard to understand, but it helps to translate the set that we wrote into English. That set, if you translate it literally, says: ‘This is the set of things (which we will call for a second), such that each of those is a drink in the vending machine’. In a more human translation you would say that ‘this is the set of drinks in the vending machine’.

There are a number of commonly used symbols and notations that we list next with description.

:
This symbol is the set of all natural numbers. Specifically it is the numbers , ie all strictly positive integers. Note that, in some courses, the natural numbers may include zero, but not in this course (this is a weirdly hot debated topic among some mathematicians).
:
This symbol is the set of all integers. Specifically it is the numbers . These are all the positive and negative whole numbers.
:
This symbol is the set of all rational numbers. Specifically, all fractions that have integers for their numerator and denominator.
:
This symbol is the set of all real numbers. Specifically, it includes all numbers that do not include the imaginary unit .
:
This symbol is the set of all complex-valued numbers. Specifically it includes all real numbers and all multiples of real numbers and the imaginary unit .
:
This symbol is translated as “in” or “is an element/member of”. For example, you would see and read it as “ is an element of the natural numbers.
:
This symbol is the “empty set”. Specifically it is the set with nothing in it; which is distinct from the set containing the number .
1 : Which of the following would be the best set-builder notation to describe “the set of all positive real numbers”?
all positive real numbers.
2 : Which of the following is the English-translation of the following: ?
The set of everything between negative thirty and fourty five. The set of integers (strictly) between negative thirty and fourty five. The set of complex numbers (strictly) between negative thirty and forty five. Dear God Why? Wait no... the set of Dear God Why?
3 : Which of the following symbols would we use to represent “all real numbers”?
4 : Which of the following symbols would we use to represent “all integers”?

Here is a video on this content!

_