Unit_2
Unit_2
Q2
1
Q
~@
b
3 ,
y:
..
,
, l I
'
Sj~itl b
.r\-o-b \l, fof 'Fir l!A I
c..... b
h
\
~~,3 .j 1-t;j . .
1 'C!p 11,
3
3
)l- 1' q; (j)
'· '
" '· ?- -4 () 3.
- -lJ:,, 3 j
tt,_\<_ e__ pCJJ' h, .l_ 1,_ I 3 j (9
@) ( 6 lti,3) ,4 ) - -~u"u) u.su,,,o)
,,..
- g Clt l b) \) ~( 3, h J
-
).
,,
.
U3
-- 3 .
'
T'h CJ 'n s ~'er() ta--1, le.., fr«
' '
D F,4 ,
f-uy 11 p 5J rnb~ qi b . --
t) a___ b
l2.,~~ 11 .
i., 3 j llt \ 5j
• I
-~-~1~.3 .y 3 '
Lt
I
·3
3
',t-½
'
'tp
.
b
f>-_
C.y_~0~'1'\t ,: \ p 5::lrn.bv-1 •
S'~e..
0 \
.. r--____
- -
©o ©, {Qo I °'2__
C\ . (Q 0
t CD,_,
~t, -
~<9of(Q_lj
~QI 1 (QLJ ({10 J ©2- J
·r.p. 0
{(9 l' (]L} tCQo 1 ©z
©.1 ;
©2- COo
TOC
Semester -VI 43
TOC
Semester -VI 44
TOC
Semester -VI 45
TOC
Semester -VI 46
TOC
Semester -VI 47
TOC
Semester -VI 48
TOC
Semester -VI 49
TOC
Semester -VI 50
TOC
Definition of Finite Automata:
Basis Step: As shown below the languages , { } and { a } for any symbol a
in are accepted by an FA.
Inductive Step: We are going to show that for any languages L1 and L2 if they are
accepted by FAs, then L1 L2 , L1L2 and L1* are accepted by FAs. Since any regular
language is obtained from { } and { a } for any symbol a in by using union,
concatenation and Kleene star operations, that together with the Basis Step would
prove the theorem.
Suppose that L1 and L2 are accepted by FAs M1 = < Q1 , , q1,0 , 1 , A1 > and M2 = <
Qc = Q1 Q2
qc,0 = q1,0
c= 1 2 { (q, , { q2,0 } ) | q A1 }
Ac = A2
Regular expression
Regular expressions are used to denote regular languages. They can represent
regular languages and operations on them.
The set of regular expressions over an alphabet is defined recursively as below.
Any element of that set is a regular expression.
1. ∅ ,^ and a are regular expressions corresponding to languages ∅ , { }and
{a}, respectively, where a is an element of .
2. If r and s are regular expressions corresponding to languages Lr and Ls ,
then ( r + s ) , ( rs ) and ( r*) are regular expressions corresponding to
languages Lr ∪ Ls , LrLs and Lr* , respectively.