Consider \(βˆ‘=\{𝑀,π‘₯\}\) and \(𝑇=\{π‘₯,𝑦,𝑧\}\). Define homomorphism \(β„Ž\)…

2019

ConsiderΒ \(βˆ‘=\{𝑀,π‘₯\}\)Β andΒ \(𝑇=\{π‘₯,𝑦,𝑧\}\). Define homomorphismΒ \(β„Ž\)Β by:

\(β„Ž(π‘₯)=π‘₯𝑧𝑦 \\ β„Ž(𝑀)=𝑧π‘₯𝑦𝑦\)

IfΒ \(𝐿\)Β is the regular language denoted byΒ \(π‘Ÿ=(𝑀+π‘₯^βˆ—)(𝑀𝑀)^βˆ—\), then the regular languageΒ \(β„Ž(𝐿)\)Β is given by

  1. A.

    \((𝑧π‘₯𝑦𝑦+π‘₯𝑧𝑦)(𝑧π‘₯𝑦𝑦) \)

  2. B.

    \((𝑧π‘₯𝑦𝑦+(π‘₯𝑧𝑦)^βˆ—)(𝑧π‘₯𝑦𝑦𝑧π‘₯𝑦𝑦)^βˆ— \)

  3. C.

    \((𝑧π‘₯𝑦𝑦+π‘₯𝑧𝑦)(𝑧π‘₯𝑦𝑦)^βˆ— \)

  4. D.

    \((𝑧π‘₯𝑦𝑦+(π‘₯𝑧𝑦)^βˆ—)(𝑧π‘₯𝑦𝑦𝑧π‘₯𝑦𝑦)\)

Attempted by 50 students.

Show answer & explanation

Correct answer: B

Apply the homomorphism to each symbol: h(x)=xzy, h(w)=zxyy

  • Start from the given regular expression (w + x*)(ww)*.

  • Replace each occurrence of w by zxyy and each x by xzy.

  • Convert x* to (xzy)* and (ww)* to (zxyy zxyy)* because h(ww)=h(w)h(w)=zxyy zxyy.

Therefore h(L) = (zxyy + (xzy)^*)(zxyy zxyy)^*

A video solution is available for this question β€” log in and enroll to watch it.

Explore the full course: Mppsc Assistant Professor