Given a language 𝐿, define 𝐿𝑖 as follows

Given a language 𝐿, define 𝐿𝑖 as follows

Q. Given a language 𝐿, define 𝐿𝑖 as follows:

𝐿0 = {πœ€}

𝐿𝑖 = πΏπ‘–βˆ’1 β‹… 𝐿 π‘“π‘œπ‘Ÿ π‘Žπ‘™π‘™ 𝑖 > 0

The order of a language L is defined as the smallest k such that πΏπ‘˜ =Β Β Β  πΏπ‘˜+1. Consider the language L1 (over alphabet 0) accepted by the following automaton.

The order of L1 is

Ans: 2

Sol:

L1Β = Ξ΅ + 0(00)*
L0Β = Ξ΅
L1Β = Ξ΅ . (Ξ΅ + 0(00)*)
Β  Β  = Ξ΅ + 0(00)* = L1

L2Β = L1Β .Β L1Β =Β L1Β .Β L1
Β  Β  = (Ξ΅ + 0(00)*) (Ξ΅ + 0(00)*)
Β  Β  = Ξ΅ + 0(00)* + 0(00)* + 0(00)* . 0(00)*
Β  Β  = Ξ΅ + 0(00)* + 0(00)* 0(00)* =Β 0*

Given automaton contains epsilon and even number of 0’s and odd numbers of 0’s.

L3Β = L2Β .Β L1
Β  Β  = {0*} . {Ξ΅ + 0(00)*} = 0* 0(00)* = 0*
So, L2Β = L3Β = L2+1
So, smallest value ofΒ k = 2

Gkseries: Gkseries.com is a premier website to provide complete solution for online preparation of different competitive exams like UPSC, SBI PO, SBI clerical, PCS, IPS, IAS, IBPS PO, IBPS Clerical exam etc. & other graduate and post-graduate exams. Learn more on about us page