CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Let be the set of all bijections from {1,.....,5} to {1,.....,5}. where id denotes the identity function, i.e. id(j) = j, j. Let denote composition on functions.

For a string x=x1x2...xnϵn,n0,letπ(x)=x1x2....xn

Consider the language L = {xϵπ(x)=id} The minimum number of states in any DFA accepting L is
  1. 2

Open in App
Solution

The correct option is A 2
The DFA for accepting L will have 5! = 120 states, since we need one state for every possible permutation function on 5 elements. The statrting state will be "id" state, named as (1234512345) and from there n! arrows will go the n! states each named with a distinct permutation of the set {1, 2, 3, 4, 5}. Since composition of permutation function is closed every arrow has to go to some permutation and hence some state.

Since the language only has those strings where π(x)=id only the starting state ("id" state) will be the final state. Sample machine with only 2 states is shown below







flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Adjoint and Inverse of a Matrix
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon