Skip to content

Linear order

In mathematics, a total order or linear order is a partial order in which any two elements are comparable.

Version
v2 · 2026-11-14 · History
Domain-specific #
10420
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomain
Order Theory → Mathematics

Core Idea

Linear order is treated here as the recurring mathematicslogicstatistics identity summarized by this source-grounded definition: In mathematics, a total order or linear order is a partial order in which any two elements are comparable. In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X , which satisfies the following for all a, b and c in X. If a \leq b and b \leq c then a \leq c (transitive).

How would you explain it like I'm…

Everything in One Line

Imagine kids standing in one straight line. Pick any two kids, and you can always say which one is ahead. Nobody is left off to the side where you can't tell. That is a linear order.

Line-Up Order

A linear order is a way of ranking things so that every pair can be compared. If A comes before B and B comes before C, then A comes before C. Two different things can't each come before the other. And for any two things, one of them is always at or before the other, so everything fits on a single line, like numbers on a number line.

Total (Linear) Order

In math, a linear order (also called a total order) is a rule, written a ≤ b, for comparing elements of a set. It must be transitive (a ≤ b and b ≤ c give a ≤ c), antisymmetric (a ≤ b and b ≤ a force a = b), and every pair must be comparable (a ≤ b or b ≤ a). The first two rules plus reflexivity make a partial order, where some pairs might not be comparable at all, like sets ordered by 'is a subset of'. A linear order is the special case with no incomparable pairs, so everything fits on a single line. The whole numbers with the usual ≤ are the standard example.

 

In order theory, a linear (total) order on a set X is a binary relation ≤ satisfying the partial-order axioms plus a connectivity axiom. Concretely: transitivity (a ≤ b and b ≤ c imply a ≤ c), antisymmetry (a ≤ b and b ≤ a imply a = b), and strong connectedness or totality (a ≤ b or b ≤ a for all a, b). The first conditions define a partial order; strong connectedness forces every pair to be comparable, and since it applies to a = b it also yields reflexivity. Familiar examples are the usual order on the integers or reals and alphabetical order on words. Non-examples include subset inclusion on a power set, where {1} and {2} are incomparable, which is only a partial order. The defining test is comparability of every pair — merely having some ordering, or a familiar example, does not suffice.

Scope of Application

  • Strict and non-strict total orders. For delimitation purposes, a total order as defined above is sometimes called non-strict order.

  • Examples. If is any set and an injective function from to a totally ordered set then induces a total ordering on by setting if and only if.

  • Orders on the Cartesian product of totally ordered sets. A real function of n real variables defined on a subset of R n defines a strict weak order and a corresponding total preorder on that subset.

  • Documented setting. A set equipped with a total order is a totally ordered set; the terms simply ordered set, linearly ordered set, toset and loset are also used.

  • Strict and non-strict total orders. For each (non-strict) total order \leq there is an associated relation , called the strict total order associated with \leq that can be defined in two equivalent ways.

Clarity

A clear use of Linear order names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is In mathematics, a total order or linear order is a partial order in which any two elements are comparable.

Manages Complexity

Linear order compresses multiple mathematicslogicstatistics details into a stable diagnostic relation. The source shows both the central mechanism—the lexicographical order on the Cartesian product of a family of totally ordered sets, indexed by a well ordered set, is itself a total order.—and the practical consequence—reflexivity (1.) already follows from strong connectedness (4.), but is required explicitly by many authors nevertheless, to indicate the kinship to partial orders.

Abstract Reasoning

  1. Type the carrier. Identify the mathematicslogicstatistics entities to which the claim applies.
  2. State the relation. Use the source-grounded identity: In mathematics, a total order or linear order is a partial order in which any two elements are comparable.
  3. Check operation and conditions. The set of real numbers ordered by the usual "less than or equal to" (≤) or "greater than or equal to" (≥) relations is totally ordered.
  4. Demand recognition evidence.

Knowledge Transfer

Within the home domain. Knowledge about Linear order transfers literally when a new case preserves the same carrier type, relation, and recognition test. For delimitation purposes, a total order as defined above is sometimes called non-strict order. If is any set and an injective function from to a totally ordered set then induces a total ordering on by setting if and only if. Beyond the home domain. No canonical parent is asserted for Linear order.

Relationships to Other Abstractions

Local relationship map for Linear orderParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Linear orderDOMAINPrime abstraction: Order — is a kind ofOrderPRIMEDomain-specific abstraction: Scattered order — is a kind ofScattered orderDOMAIN

Current abstraction Linear order Domain-specific

Parents (1) — outgoing typed relations

  • Linear order is a kind of Order Prime

    A linear order is an order in which every pair of elements is comparable.

Children (1) — abstractions linked here by typed relations

  • Scattered order Domain-specific is a kind of Linear order

    A scattered order is a linear order whose differentia is containing no nontrivial densely ordered subset.

Hierarchy paths (3) — routes to 3 parentless roots

Neighborhood in Abstraction Space

Linear order sits in a crowded region of the domain-specific corpus (31st percentile for distinctiveness): several abstractions share nearly its structure, so a description that fits it tends to fit its neighbors too.

Family — Algebraic Structures & Order Relations (18 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14