FACTOID # 38: Southern European women hugely outnumber their menfolk amongst the unemployed.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > Lexicographic order

In mathematics, the lexicographical order, or dictionary order, is a natural order structure of the cartesian product of two ordered sets. Given A and B, two ordered sets, the lexicographical order in the cartesian product A × B is defined as

(a,b) ≤ (a′,b′) if and only if a < a′, or a = a′ and bb′.

The name comes from its generalizing the order given to words in a dictionary: a sequence of letters (i.e. a word)

a1a2 ... ak

appears in a dictionary before a sequence

b1b2 ... bk

if and only if the first ai which is different from bi comes before bi in the alphabet. That assumes both have the same length; what is usually done is to pad out the shorter word for symbols for 'blanks', and to consider that a blank is a new minimum ('bottom') element.


For the purpose of dictionaries, etc., one may assume that all words have the same length, by adding blank spaces at the end, and considering the blank space as a special character which comes before any other letter in the alphabet. This also allows ordering of phrases. See alphabetical order.


An important property of the lexicographical order is that it preserves well-orders, that is, if A and B are well-ordered sets, then the product set A × B with the lexicographical order is also well-ordered.


Case of multiple products

Suppose

is a collection of sets, with respective to total orderings

The dictionary ordering

of

is then

That is, if one of the terms

and all the preceding terms are equal.


Informally,

represents the first letter,

the second and so on when looking up a word in a dictionary, hence the name.


This could be more elegantly defined recursively by defining the ordering of any set

represented by

This will satisfy

where


Or, more simply put, compare the first terms if they are equal compare the second — and so on.


Monomials

In algebra it is traditional to order terms in a polynomial, by ordering the monomials in the indeterminates. This is fundamental, in order to have a normal form. Such matters are typically left implicit in discussion between humans, but must of course be dealt with exactly in computer algebra. In practice one has an alphabet of indeterminates X, Y, ... and orders all monomials formed from them by a variant of lexicographical order. For example if one decides to order the alphabet by

X > Y > ...

and also to look at higher terms first, that means ordering

... > X3 > X2 > X

and also

X > Yk for all k.

There is some flexibility in ordering monomials, and this can be exploited in Gröbner basis theory.


  Results from FactBites:
 
PlanetMath: lexicographic order (114 words)
The lexicographic order yields a total order on the field of complex numbers.
If the original set is well-ordered, the lexicographic ordering on the product is also a well-ordering.
This is version 10 of lexicographic order, born on 2005-05-04, modified 2006-10-16.
Order theory - Wikipedia, the free encyclopedia (4062 words)
Order theory is a branch of mathematics that studies various kinds of binary relations that capture the intuitive notion of a mathematical ordering.
Orders appear everywhere - at least as far as mathematics and related areas, such as computer science, are concerned.
These are graphs where the vertices are the elements of the poset and the ordering relation is indicated by both the edges and the relative positioning of the vertices.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.