Professional Documents
Culture Documents
Unit-2 Contents
UNIT-2 Fundamentals of Regular Languages
Introduction to Regular Expressions (RE)
Finite Automata and Regular Expressions
Regular Expressions Applications
Laws of Algebraic for Regular Expressions
The Arden‘s Theorem
Using Arden‘s theorem to construct RE from FA
Pumping Lemma for RLs
Pumping Lemma Applications
Uniformity of Two FAs
Uniformity of Two REs
Construction of Regular Grammar from RE
Constructing FA from Regular Grammar
Closure properties of RLs, Applications of REs and FAs
2
Converting DFA to Regular Expressions
The Arden‘s Theorem**
Step-01:
Form a equation for each state considering the transitions which comes towards that state.
Add ‘∈’ in the equation of initial state.
Step-02:
Bring final state in the form R = Q + RP to get the required regular expression.
Points to Remember:-
Note-01:-
Arden’s Theorem can be used to find a regular expression for both DFA and
NFA.
Note-02:-
• Add all the regular expressions to get the final regular expression.
Problems Using Arden’s Theorem
Problem-01: Find regular expression for the following DFA using Arden’s
Theorem-
Problem-03:
Find regular expression for the following DFA using Arden’s Theorem-
Problem-04:-
Find regular expression for the following DFA using Arden’s Theorem
Problem5:-Find regular expression for the following DFA using Arden’s
Theorem
References