In mathematics, cardinality describes a relationship between sets which compares their relative size.[1] For example, the sets and are the same size as they each contain 3 elements. Beginning in the late 19th century, this concept was generalized to infinite sets, which allows one to distinguish between different types of infinity, and to perform arithmetic on them. There are two notions often used when referring to cardinality: one which compares sets directly using bijections and injections, and another which uses cardinal numbers.[2] The cardinality of a set may also be called its size, when no confusion with other notions of size is possible.[a]
When two sets, and , have the same cardinality, it is usually written as ; however, if referring to the cardinal number of an individual set , it is simply denoted , with a vertical bar on each side;[3] this is the same notation as absolute value, and the meaning depends on context. The cardinal number of a set may alternatively be denoted by , , , or .
Cite error: There are <ref group=lower-alpha>
tags or {{efn}}
templates on this page, but the references will not show without a {{reflist|group=lower-alpha}}
template or {{notelist}}
template (see the help page).