All Topics  
Cardinality

 

   Email Print
   Bookmark   Link






 

Cardinality



 
 
In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the cardinality of a set is a measure of the "number of elements
Element (mathematics)

In mathematics, an element or member of a Set is any one of the distinct objects that make up that set....
 of the set". For example, the set A = contains 3 elements, and therefore A has a cardinality of 3. There are two approaches to cardinality – one which compares sets directly using bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
s and injection
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
s, and another which uses cardinal number
Cardinal number

In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
s.

The cardinality of a set A is denoted | A |, with a vertical bar
Vertical bar

The vertical bar has various names including the pipe , verti-bar, vbar, stick, vertical line, vertical slash, think colon, or divider line by others....
 on each side; this is the same notation as absolute value
Absolute value

In mathematics, the absolute value of a real number is its numerical value without regard to its Negative and non-negative numbers. So, for example, 3 is the absolute value of both 3 and -3....
 and the meaning depends on context.

Two sets A and B have the same cardinality if there exists a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
, that is, an injective
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
 and surjective function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
, from A to B.


For example, the set E = of non-negative
Negative and non-negative numbers

A negative number is a real number that is inequality 0 , such as -3. A positive number is a real number that is greater than zero, such as 2....
 even numbers has the same cardinality as the set N = of natural numbers, since the function f(n) = 2n is a bijection from N to E.


Case 2: | A | = | B |
A has cardinality greater than or equal to the cardinality of B if there exists an injective function from B into A.


Case 3: | A | > | B |
A has cardinality strictly greater than the cardinality of B if there is an injective function, but no bijective function, from B to A.


For example, the set R of all real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s has cardinality strictly greater than the cardinality of the set N of all natural numbers, because the inclusion map i : N ? R is injective, but it can be shown that there does not exist a bijective function from N to R.


Cardinal numbers
Above, "cardinality" was defined functionally.






Discussion
Ask a question about 'Cardinality'
Start a new discussion about 'Cardinality'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In mathematics
Mathematics

Mathematics is the study of quantity, structure, space, change, and related topics of pattern and form. Mathematicians seek out patterns whether found in numbers, space, natural science, computers, imaginary abstractions, or elsewhere....
, the cardinality of a set is a measure of the "number of elements
Element (mathematics)

In mathematics, an element or member of a Set is any one of the distinct objects that make up that set....
 of the set". For example, the set A = contains 3 elements, and therefore A has a cardinality of 3. There are two approaches to cardinality – one which compares sets directly using bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
s and injection
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
s, and another which uses cardinal number
Cardinal number

In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
s.

The cardinality of a set A is denoted | A |, with a vertical bar
Vertical bar

The vertical bar has various names including the pipe , verti-bar, vbar, stick, vertical line, vertical slash, think colon, or divider line by others....
 on each side; this is the same notation as absolute value
Absolute value

In mathematics, the absolute value of a real number is its numerical value without regard to its Negative and non-negative numbers. So, for example, 3 is the absolute value of both 3 and -3....
 and the meaning depends on context.

Comparing sets


Case 1: | A | = | B |
Two sets A and B have the same cardinality if there exists a bijection
Bijection

In mathematics, a bijection, or a bijective function is a function f from a set X to a set Y with the property that, for every y in Y, there is exactly one x in X such that f = y....
, that is, an injective
Injective function

In mathematics, an injective function is a function which associates distinct arguments with distinct values.An injective function is called an injection, and is also said to be a one-to-one function ....
 and surjective function
Function (mathematics)

The mathematical concept of a function expresses dependence between two quantities, one of which is known and the other which is produced. A function associates a single output to each input element drawn from a fixed Set , such as the real numbers , although different inputs may have the same output....
, from A to B.


For example, the set E = of non-negative
Negative and non-negative numbers

A negative number is a real number that is inequality 0 , such as -3. A positive number is a real number that is greater than zero, such as 2....
 even numbers has the same cardinality as the set N = of natural numbers, since the function f(n) = 2n is a bijection from N to E.


Case 2: | A | = | B |
A has cardinality greater than or equal to the cardinality of B if there exists an injective function from B into A.


Case 3: | A | > | B |
A has cardinality strictly greater than the cardinality of B if there is an injective function, but no bijective function, from B to A.


For example, the set R of all real number
Real number

In mathematics, the real numbers may be described informally in several different ways. The real numbers include both rational numbers, such as 42 and −23/129, and irrational numbers, such as pi and the square root of two; or, a real number can be given by an infinite decimal representation, such as 2.4871773339...., where the digits co...
s has cardinality strictly greater than the cardinality of the set N of all natural numbers, because the inclusion map i : N ? R is injective, but it can be shown that there does not exist a bijective function from N to R.


Cardinal numbers


Above, "cardinality" was defined functionally. That is, the "cardinality" of a set was not defined as a specific object itself. However, such an object can be defined as follows.

The relation of having the same cardinality is called equinumerosity
Equinumerosity

In the field of mathematics, two set s A and B are equinumerous if they have the same cardinality, i.e., if there exists a bijection f : A ? B....
, and this is an equivalence relation
Equivalence relation

In mathematics, an equivalence relation is, loosely, a binary relation on a Set that specifies how to split up the set into subsets such that every element of the larger set is in exactly one of the subsets....
 on the class
Class (set theory)

In set theory and its applications throughout mathematics, a class is a collection of Set which can be unambiguously defined by a property that all its members share....
 of all sets. The equivalence class
Equivalence class

In mathematics, given a Set X and an equivalence relation ~ on X, the equivalence class of an element a in X is the subset of all elements in X which are equivalent to a:...
 of a set A under this relation then consists of all those sets which have the same cardinality as A. There are two ways to define the "cardinality of a set":

  1. The cardinality of a set A is defined as its equivalence class under equinumerosity.
  2. A representative set is designated for each equivalence class. The most common choice is the initial ordinal in that class
    Von Neumann cardinal assignment

    The von Neumann cardinal assignment is a cardinal assignment which uses ordinal numbers. For a well-ordered set U, we define its cardinal number to be the smallest ordinal number equinumerous to U....
    . This is usually taken as the definition of cardinal number
    Cardinal number

    In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
     in axiomatic set theory.


The cardinalities of the infinite sets are denoted For each ordinal a, a + 1 is the least cardinal number greater than a.

The cardinality of the natural numbers is denoted aleph-null
Aleph number

In the branch of mathematics known as set theory, the aleph numbers are a sequence of numbers used to represent the cardinality of infinite sets....
 (0), while the cardinality of the real numbers is denoted c, and is also referred to as the cardinality of the continuum
Cardinality of the continuum

In mathematics, the cardinality of the continuum, sometimes also called the power of the continuum, is the size of the Set of real numbers ....
.

Finite, countable and uncountable sets

If the axiom of choice
Axiom of choice

In mathematics, the axiom of choice, or AC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of bins, each containing at least one object, it is possible to make a selection of exactly one object from each bin, even if there are infinite set many bins and there is no "rule" for which object t...
 holds, the law of trichotomy holds for cardinality. Thus we can make the following definitions:

  • Any set X with cardinality less than that of the natural number
    Natural number

    In mathematics, a natural number can mean either an element of the Set = *n = = ? = ? ...
    s, or | X | < | N |, is said to be a finite set
    Finite set

    In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
    .
  • Any set X that has the same cardinality as the set of the natural numbers, or | X | = | N | = 0, is said to be a countably infinite
    Countable set

    In mathematics, a countable set is a Set with the same cardinality as some subset of the set of natural numbers. The term was originated by Georg Cantor; it stems from the fact that the natural numbers are often called counting numbers....
     set.
  • Any set X with cardinality greater than that of the natural numbers, or | X | > | N |, for example | R | = c > | N |, is said to be uncountable
    Uncountable set

    In mathematics, an uncountable set is an infinite Set which is too big to be countable set. The uncountability of a set is closely related to its cardinal number: a set is uncountable if its cardinal number is larger than that of the natural numbers....
    .


Infinite sets

Our intuition gained from finite set
Finite set

In mathematics, finite set is a Set that has a finite number of element . For example,is a finite set with five elements. The number of elements of a finite set is a natural number , and is called the cardinality of the set....
s breaks down when dealing with infinite set
Infinite set

In set theory, an infinite set is a Set that is not a finite set. Infinite sets may be countable set or uncountable set. Some examples are:* the set of all integers, , is a countably infinite set; and...
s. In the late nineteenth century Georg Cantor
Georg Cantor

Georg Ferdinand Ludwig Philipp Cantor was a Germany mathematician, born in Russia. He is best known as the creator of set theory, which has become a foundations of mathematics in mathematics....
, Gottlob Frege
Gottlob Frege

Friedrich Ludwig Gottlob Frege was a Germany mathematics who became a logician and philosophy. He helped found both modern mathematical logic and analytic philosophy....
, Richard Dedekind
Richard Dedekind

Julius Wilhelm Richard Dedekind was a Germany mathematics who did important work in abstract algebra, algebraic number theory and the foundations of the real numbers....
 and others rejected the view of Galileo (which derived from Euclid
Euclid

Euclid , floruit 300 BC, also known as Euclid of Alexandria, was a Greek mathematics and is often referred to as the Father of Geometry. He was active in Alexandria during the reign of Ptolemy I ....
) that the whole cannot be the same size as the part. One example of this is Hilbert's paradox of the Grand Hotel
Hilbert's paradox of the Grand Hotel

Hilbert's paradox of the Grand Hotel is a mathematical paradox about infinite sets presented by German mathematician David Hilbert ....
.

The reason for this is that the various characterizations of what it means for set A to be larger than set B, or to be the same size as set B, which are all equivalent for finite sets (sets having some number of elements), are no longer equivalent for infinite sets. Taking different ones of these characterizations yields wildly different results - in the popular characterization of size chosen by Cantor, sometimes an infinite set A is larger (in that sense) than an infinite set B. Contrastingly, other characterizations may yield that an infinite set A is always the same size as an infinite set B.

Additionally, different characterizations of size, when extended to infinite sets, will break different "rules" which held for finite sets. Which rules are broken varies from characterization to characterization. For example, Cantor's characterization, while preserving the rule that sometimes one set is larger than another, breaks the rule that deleting an element makes the set smaller. Another characterization may preserve the rule that deleting an element makes the set smaller, but break another rule. Furthermore, some characterization may not "directly" break a rule, but it may not "directly" uphold it either, in the sense that whichever is the case depends upon a controversial axiom such as the axiom of choice or the continuum hypothesis. Thus there are three possibilities. Each characterization will break some rules, uphold some others, and may be indecisive about some others.

If one extends to multisets, further rules are broken (assuming Cantor's approach), which hold for finite multisets. If we have two multisets A and B, A not being larger than B and B not being larger than A does not imply A has the same size as B, not in general. This rule holds for multisets that are finite. Needless to say, the law of trichotomy is explicitly broken in this case, as opposed to the situation with sets, where it is equivalent to the axiom of choice.

Dedekind simply defined an infinite set as one having the same size (in Cantor's sense) as at least one of its "proper" parts; this notion of infinity is called Dedekind infinite. This definition only works in the presence of some form of the axiom of choice, however, so will not be considered to work by some mathematicians.

Cantor introduced the above-mentioned cardinal numbers
Aleph number

In the branch of mathematics known as set theory, the aleph numbers are a sequence of numbers used to represent the cardinality of infinite sets....
, and showed that (in Cantor's sense) some infinite sets are greater than others. The smallest infinite cardinality is that of the natural numbers (0).

Cardinality of the continuum


One of Cantor's most important results was that the cardinality of the continuum
Cardinality of the continuum

In mathematics, the cardinality of the continuum, sometimes also called the power of the continuum, is the size of the Set of real numbers ....
 (c) is greater than that of the natural numbers (0); that is, there are more real numbers R than whole numbers N. Namely, Cantor showed that .

The continuum hypothesis
Continuum hypothesis

In mathematics, the continuum hypothesis is a hypothesis, advanced by Georg Cantor, about the possible sizes of infinite Set . Cantor introduced the concept of cardinal number to compare the sizes of infinite sets, and he gave two proofs that the cardinality of the set of integers is strictly smaller than that of the set of real numbers....
 states that there is no cardinal number
Cardinal number

In mathematics, cardinal numbers, or cardinals for short, are a generalization of the natural numbers used to measure the cardinality of Set ....
 between the cardinality of the reals and the cardinality of the natural numbers, that is, . However, this hypothesis can neither be proved nor disproved within the widely accepted ZFC axiomatic set theory, if ZFC is consistent.

Cardinal arithmetic can be used to show not only that the number of points in a real number line is equal to the number of points in any segment
Line segment

In geometry, a line segment is a part of a line that is bounded by two end Point , and contains every point on the line between its end points....
 of that line, but that this is equal to the number of points on a plane and, indeed, in any finite-dimensional space. These results are highly counterintuitive, because they imply that there exist proper subsets and proper supersets of an infinite set S that have the same size as S, although S contains elements that do not belong to its subsets, and the supersets of S contain elements that are not included in it.

The first of these results is apparent by considering, for instance, the tangent function, which provides a one-to-one correspondence between the interval
Interval

Interval may refer to:* Interval , a range of numbers * Interval measurements or interval variables in statistics is a level of measurement* Interval , the relationship between two notes...
 (−½p, ½p) and R (see also Hilbert's paradox of the Grand Hotel
Hilbert's paradox of the Grand Hotel

Hilbert's paradox of the Grand Hotel is a mathematical paradox about infinite sets presented by German mathematician David Hilbert ....
).

The second result was first demonstrated by Cantor in 1878, but it became more apparent in 1890, when Giuseppe Peano
Giuseppe Peano

Giuseppe Peano was an Italy mathematician, whose work was of exceptional philosopher value. The author of over 200 books and papers, he was a founder of mathematical logic and set theory, to which he contributed much notation....
 introduced the space-filling curve
Space-filling curve

In mathematical analysis, a space-filling curve is a curve whose range contains the entire 2-dimensional unit square . Because Giuseppe Peano was the first to discover one, space-filling curves in the Plane are commonly called Peano curves....
s, curved lines that twist and turn enough to fill the whole of any square, or cube, or hypercube
Hypercube

In geometry, a hypercube is an n-dimensional analogue of a Square and a cube . It is a Closed set, Compact space, Convex set figure whose 1-skeleton consists of groups of opposite parallel line segments aligned in each of the space's dimensions, at right angles to each other and of the same length....
, or finite-dimensional space. These curves are not a direct proof that a line has the same number of points as a finite-dimensional space, but they can be easily used to obtain such a proof
Space-filling curve

In mathematical analysis, a space-filling curve is a curve whose range contains the entire 2-dimensional unit square . Because Giuseppe Peano was the first to discover one, space-filling curves in the Plane are commonly called Peano curves....
.

Cantor also showed that sets with cardinality strictly greater than exist (see his generalized diagonal argument
Cantor's diagonal argument

Cantor's diagonal argument, also called the diagonalisation argument, the diagonal slash argument or the diagonal method, was published in 1891 by Georg Cantor as a mathematical proof that there are infinity Set which cannot be put into bijection with the infinite set of natural numbers....
 and theorem
Cantor's theorem

In elementary set theory, Cantor's theorem states that, for any Set A, the set of all subsets of A has a strictly greater cardinality than A itself....
). They include, for instance:

  • the set of all subsets of R, i.e., the power set
    Power set

    In mathematics, given a Set S, the power set of S, written , P, ℘ or Power set#Representing subsets as functions, is the set of all subsets of S....
     of R, written P(R) or 2R
  • the set RR of all functions from R to R


Both have cardinality .

The cardinal equalities
Cardinality of the continuum

In mathematics, the cardinality of the continuum, sometimes also called the power of the continuum, is the size of the Set of real numbers ....
  and can be demonstrated using cardinal arithmetic:

Examples and properties

  • If X = and Y = , then | X | = | Y | because is a bijection between the sets X and Y. The cardinality of each of X and Y is 3.
  • If | X | < | Y |, then there exists Z such that | X | = | Z | and Z ? Y.


  • Sets with cardinality c
    Cardinality of the continuum

    In mathematics, the cardinality of the continuum, sometimes also called the power of the continuum, is the size of the Set of real numbers ....


See also

  • Aleph number
    Aleph number

    In the branch of mathematics known as set theory, the aleph numbers are a sequence of numbers used to represent the cardinality of infinite sets....
  • Beth number
    Beth number

    In mathematics, the infinite cardinal numbers are represented by the Hebrew letter indexed with a subscript that runs over the ordinal numbers . The second Hebrew alphabet is used in a related way, but does not necessarily index all of the numbers indexed by ....
  • Ordinality