Kleene Closure in TOC
Kleene Closure TOC is used to represent zero or more repetitions of strings from a language.
What is Kleene Closure?
The Kleene Closure, also called Kleene Star, of a language L is represented by:
L*
It contains zero or more concatenations of strings from L.
Formally:
L* = {ε} ∪ L ∪ L² ∪ L³ ∪ …
Here, ε (epsilon) represents the empty string.
Example of Kleene Closure
Suppose:
L = {a}
Then:
L* = {ε, a, aa, aaa, aaaa, …}
So, a can occur zero or more times.
- Zero times → ε
- One time → a
- Two times → aa
- Three times → aaa
Kleene Closure of an Alphabet
Suppose:
Σ = {0, 1}
Then:
Σ*
represents all finite strings that can be formed using 0 and 1, including the empty string.
Examples:
ε, 0, 1, 00, 01, 10, 11, 000, 101, …
Kleene Closure vs Positive Closure
Kleene Closure and Positive Closure are closely related but have one important difference:
| Feature | Kleene Closure | Positive Closure |
| Notation | L* | L⁺ |
| Repetition | Zero or more times | One or more times |
| Contains ε? | Yes | Not necessarily |
| Example for L = {a} | {ε, a, aa, aaa, …} | {a, aa, aaa, …} |
The relationship is:
L* = L⁺ ∪ {ε}
Key Points
- Kleene Closure is represented by *.
- It means zero or more repetitions.
- ε is always included in L*.
- It can be applied to a symbol, language, or regular expression.
- It is widely used in regular expressions and formal languages.
Conclusion
Kleene Closure in TOC represents zero or more repetitions of strings from a language. It is denoted by L* and always contains the empty string ε. It is a fundamental concept used in regular expressions and regular languages.

