Dictionary entry

cardinality

nountechnical

Last updated

UK/ˌkɑːdɪˈnæləti/
US/ˌkɑːrdɪˈnæləti/

Meanings

  1. nouncountable or uncountablemathematics

    The number of items in a set or collection.

    Grammar: Often used with 'of': the cardinality of the set. Can be countable in phrases like 'different cardinalities'.

    Patterns

    • the cardinality of something
    • a set of cardinality n
    • countable/uncountable cardinality

    The cardinality of the set {a, b, c} is three.

    In database design, cardinality refers to the number of relationships between two tables.

    Mathematicians compare the cardinalities of infinite sets using one-to-one correspondence.

  2. noununcountablecomputing

    The number of distinct values in a column of a database table.

    Grammar: Used in computing contexts, often without an article: 'high cardinality'.

    Patterns

    • high/low cardinality
    • cardinality of a column

    A column with many unique values has high cardinality.

    Indexes work best on columns with high cardinality.

    The query optimizer uses cardinality estimates to choose a plan.

Word forms

pluralcardinalities

Common combinations

the cardinality of a set
The cardinality of a set is the number of its elements.
high cardinality
High cardinality columns can slow down some operations.
low cardinality
Low cardinality means few distinct values.
countable cardinality
The integers have countable cardinality.
uncountable cardinality
The real numbers have uncountable cardinality.

Synonyms and how they differ

size
General word for how big something is; cardinality is the technical term for the number of elements in a set.
count
Emphasizes the result of counting; cardinality is the mathematical property itself.

Word family

cardinal adjective
Relating to the number of elements; also a number like one, two, three.

Commonly confused: cardinality or ordinality?

cardinality vs ordinality

Ordinality refers to position in a sequence (first, second), while cardinality refers to the number of items.

Practice

What is the cardinality of the set {red, green, blue}?

Make it your own

Write a sentence using “cardinality”, then check it and compare it with the examples above.

Your sentence stays on this page and is not sent anywhere.

Explore more words