Infinity & Countability
Infinity
Infinity is an important part of mathematics. Unlike what most people think, infinity, written as , is not a number, so it is also not a real number . Instead it is a concept that represents a quantity that is larger than any number. It is used to represent a quantity that can grow indefinitely large or extend without bounds. Depending on the context, infinity might however frustratively be used differently.
For example, in calculus, infinity is used in limits to represent a quantity that grows indefinitely large. So means that as grows indefinitely large, also grows indefinitely large. This can also be done for negative infinity, , which means that as grows indefinitely small, also grows indefinitely small.
In set theory, infinity is used to represent the size of a set. A set is said to be infinite if it has more elements than any finite set. For example, the set of natural numbers is infinite.
Operations with Infinity
Infinity is not a number, so it does not follow the same rules as numbers. However, there are some operations that can be performed with infinity. These can be summarized as follows:
- Addition: for any real number . This is because no matter how large is, adding it to infinity will still result in infinity, there is no number larger than infinity. This also applies to adding two infinities together, and also applies to adding negative infinity to a number, for any real number . The only exception is adding positive and negative infinity, .
- Subtraction: for any real number . This also applies to negative infinity, for any real number . Subtracting two infinities is also undefined, as it is just a different way of adding positive and negative infinity.
- Multiplication: for any positive real number . If is negative, then . This also applies to negative infinity, for any positive real number and for any negative real number . If , then the result is undefined, . Multiplying two infinities works as you would expect, and and .
- Division: for any positive real number . If is negative, then . The idea here is that dividing a large number by a small number results in a large number. This also applies to negative infinity, for any positive real number and for any negative real number . If , then the result is undefined, . If infinity is in the denominator, then the result is , for any real number . The idea here is very similar to the idea of dividing a large number by an even larger number, the result is very small. Dividing two infinities is always undefined. Something l'hopital's rule can be used to evaluate the limit of a fraction with infinities in the numerator and denominator?
Finite Sets
A set is finite if it has a definite number of elements. In other words we count the number of elements in the set and if the number is a natural number, then the set is finite. For example, the set of natural numbers is finite because we can count the number of elements in the set and it is 5. The number of elements of a set is called the cardinality of the set and is denoted by as seen in the section on sets.
More formally, a set is finite if there exists a bijective function, a one-to-one matching, between and the set for some natural number . This means that we can count the number of elements in the set and it is a natural number. If , then the set on the right is the empty set and the set is also the empty set. So the empty set is also finite.
Examples of finite sets:
- The set of natural numbers is finite.
- The set of even numbers is finite.
- The set of letters in the latin alphabet is finite.
- The empty set is finite.
Examples of non-finite sets:
- The set of natural numbers is infinite.
- The set of integers is infinite.
- The set of real numbers is infinite.
Infinite Sets
A set is infinite if it has more elements than any finite set. This means that the set cannot be counted. The set of natural numbers is an example of an infinite set. Intuitively, we can think of this as any set where we end up writing ... The cardinality of such a set is then .
Examples of infinite sets:
- The set of natural numbers is infinite.
- The set of integers is infinite.
- The set of real numbers is infinite.
- The set of all even numbers is infinite.
- The set of all possible words using the latin alphabet is infinite.
Countable Sets
We have already seen that for a set to be finite, you need to be able to define some number such that there is a one-to-one matching between the set and the set . These finite sets of course can be counted. However, there are also infinite sets that can be counted. These sets are called countable sets. A set is countable if there exists a bijective function between the set and the set of natural numbers . These is the key difference between countable and finite sets.
Examples of countable sets:
- The set of natural numbers is countable.
- The set of integers is suprisingly countable. This is because we can define a bijective function between the set of natural numbers and the set of integers. For example, we can define the function such that , , , , , and so on. This function is a bijection between the set of natural numbers and the set of integers.
- The set of all even numbers is countable.
- The set of odd numbers is countable.
- The set of prime numbers is countable. Because it is a subset of the natural numbers.
Examples of uncountable sets:
- The set of real numbers is uncountable.
- The set of irrational numbers is uncountable. This is because the set of irrational numbers is a subset of the real numbers and the real numbers are uncountable.
Uncountable Sets
There are sets that are so large that they cannot be counted. These sets are called uncountable sets. The set of real numbers is an example of an uncountable set. This means that there is no way to define a bijective function between the set of real numbers and the set of natural numbers. Intuitively, we can understand why the real numbers might be uncountable. The real numbers are continuous so for any two real numbers, there are infinitely many real numbers between them. This makes it impossible to define a bijective function between the set of real numbers and the set of natural numbers.
Cantor's Diagonal Argument
Cantor's diagonal argument is a proof for uncountable sets. It shows that the set of real numbers is uncountable.