|
|
|
|
concatenation
|
(Definition)
|
|
|
Let be two words. Loosely speaking, the concatenation, or juxtaposition of and is the word of the form . In order to define this rigorously, let us first do a little review of what words are.
Let be a set whose elements we call letters (we also call an alphabet). A (finite) word or a string on is a partial function
, (where
is the set of natural numbers), such that, if
, then there is an
such that
This is necessarily unique, and is called the length of the word . The length of a word is usually denoted by . The word whose domain is
, the empty set, is called the empty word, and is denoted by . It is easy to see that
. Any element in the range of has the form , but it is more commonly written . If a word is not the empty word, then we may write it as
, where . The collection of all words on is denoted (the asterisk is commonly known as the Kleene star operation of a set). Using the
definition above, we see that
.
Now we define a binary operation on , called the concatenation on the alphabet , as follows: let
with and . Then
is the partial function whose domain is the set
, such that
The partial function
is written , or simply , when it does not cause any confusion. Therefore, if
and
, then
.
Below are some simple properties of concatenation .
is associative:
.
-
.
- As a result,
together with is a monoid.
-
iff
.
- As a result,
is never a group unless
.
- If
where is a letter, then one of is , and the other the empty word .
- If
where are letters, then and .
Given two alphabets , let
. Let be the concatenation on . We can define
, . This is the concatenation of and . When there is no confusion, we write for .
Below are some simple properties of concatenation of sets of letters:
-
; i.e., concatenation of sets of letters is associative.
- Because of the associativity of
, we can inductively define for any positive integer , as , and
.
- It is not hard to see that
.
- 1
- H.R. Lewis, C.H. Papadimitriou Elements of the Theory of Computation. Prentice-Hall, Englewood Cliffs, New Jersey (1981).
|
"concatenation" is owned by CWoo. [ full author list (2) ]
|
|
(view preamble)
See Also: word
| Other names: |
juxtaposition |
| Also defines: |
length, length of a word |
This object's parent.
|
|
Cross-references: integer, positive, group, iff, monoid, associative, properties, binary operation, operation, Kleene star, collection, range, easy to see, empty word, empty set, domain, natural numbers, partial function, string, finite, alphabet, words
There are 86 references to this entry.
This is version 12 of concatenation, born on 2007-06-18, modified 2007-11-11.
Object id is 9617, canonical name is Concatenation.
Accessed 1992 times total.
Classification:
| AMS MSC: | 68Q70 (Computer science :: Theory of computing :: Algebraic theory of languages and automata) | | | 20M35 (Group theory and generalizations :: Semigroups :: Semigroups in automata theory, linguistics, etc.) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|