Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Lexicographic order
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{short description|Generalization of the alphabetical order of dictionaries to sequences of elements of an ordered set}} {{more citations needed|date=January 2022}} {{Hatnote|For similarly named ordering systems outside mathematics, see [[alphabetical order]], [[natural sort order]], [[lexicographic preferences]], and [[collation]].}} In [[mathematics]], the '''lexicographic''' or '''lexicographical order''' (also known as '''lexical order''', or '''dictionary order''') is a generalization of the [[alphabetical order]] of the [[dictionaries]] to [[sequence]]s of ordered symbols or, more generally, of elements of a [[totally ordered set]]. There are several variants and generalizations of the lexicographical ordering. One variant applies to sequences of different lengths by comparing the lengths of the sequences before considering their elements. Another variant, widely used in [[combinatorics]], orders [[subset]]s of a given [[finite set]] by assigning a total order to the finite set, and converting subsets into [[Sequence#Increasing_and_decreasing|increasing sequences]], to which the lexicographical order is applied. A generalization defines an order on an ''n''-ary [[Cartesian product]] of [[partially ordered set]]s; this order is a total order if and only if all factors of the Cartesian product are totally ordered.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)