Theory of Automata Chapter 2
Theory of Automata Chapter 2
CHAPTER 2
KLEENE STAR CLOSURE
• Given Σ, then the kleene star closure of the alphabet Σ, denoted by Σ*, is the collection of all
strings defined over Σ, including Λ.
• It is to be noted that kleene star closure can be defined over any set of strings.
Languages generated by Kleene Star
Closure of set of strings, are infinite
languages. (By infinite language, it is
supposed that the language contains
infinite many words, each of finite
length).
PLUS OPERATION (+)
• Plus operation is same as kleene star closure except that it does not generate Λ (null string),
automatically.
It is to be noted that Kleene Star can also be
operated on any string i.e. a* can be considered
to be all possible strings defined over {a},
which shows that a* generates Λ, a, aa, aaa, …
It may also be noted that a+ can be considered
to be all possible non empty strings defined
over {a}, which shows that a+ generates a, aa,
aaa, aaaa, …
RECURSIVE DEFINITION OF LANGUAGES
• Step 1: 1 is in INTEGER.
• Step 2: if x is in integer then x+1 and x-1 are also in integer.
• Step 3: no strings except those constructed in above, are allowed to be in integer.
EXAMPLE 2
• Step 1: 2 is in EVEN.
• Step 2: if x is in even then x+2 and x-2 are also in even.
• Step 3: no strings except those constructed in above, are allowed to be in even.
EXAMPLE