1520s, "condition of being a cardinal," from cardinal (n.) + -ity. Mathematical sense is from 1935 (see cardinal (adj.)).
Entries linking to cardinality
cardinal n.
early 12c., "one of the ecclesiastical princes who constitute the sacred college," from Medieval Latin cardinalis, originally as a noun "one of the presbyters of the chief (cardinal) churches of Rome," short for cardinalis ecclesiae Romanae or episcopus cardinalis, from Latin cardinalis (adj.) "principal, chief, essential" (see cardinal (adj.)).
The North American songbird (Cardinalis virginianus) is attested from 1670s, so named for its fine red color, resembling the cardinals in their red robes.
-ity
word-forming element making abstract nouns from adjectives and meaning "condition or quality of being ______," from Middle English -ite, from Old French -ete (Modern French -ité) and directly from Latin -itatem (nominative -itas), suffix denoting state or condition, composed of -i- (from the stem or else a connective) + the common abstract suffix -tas (see -ty (2)).
Roughly, the word in -ity usually means the quality of being what the adjective describes, or concretely an instance of the quality, or collectively all the instances; & the word in -ism means the disposition, or collectively all those who feel it. [Fowler]
cardinal adj.
"chief, pivotal," early 14c., from Latin cardinalis "principal, chief, essential," a figurative use, literally "pertaining to a hinge," from cardo (genitive cardinis) "that on which something turns or depends; pole of the sky," originally "door hinge," which is of unknown origin. Related: Cardinally.
The cardinal numbers (1590s) are "one, two, three," etc. as opposed to ordinal numbers "first, second, third," etc.; they are so called because they are the principal numbers and the ordinals depend on them.
The cardinal points (1540s) are north, south, east, west. The cardinal sins were so called from c. 1600. The cardinal virtues (early 14c.) were divided into natural (justice, prudence, temperance, fortitude) and theological (faith, hope, charity). The natural ones were the original classical ones, which were amended by Christians. But typically in Middle English only the first four were counted as the cardinal virtues:
Of þe uour uirtues cardinales spekeþ moche þe yealde philosofes. ["Ayenbite of Inwyt," c. 1340]
By analogy of this, and cardinal winds (late 14c.), cardinal signs (four zodiacal signs marking the equinoxes and the solstices, late 14c.), etc., the adjective in Middle English acquired an association with the number four.