• edited by
29,037 views
64 64 votes

Consider the languages $L_1 = \phi$ and $L_2 = \{a\}$. Which one of the following represents $L_1 {L_2}^* \cup {L_1}^*$ ?

  1. $\{\epsilon\}$
  2. $\phi$
  3. $a^*$
  4. $\{\epsilon, a\}$

5 Answers

Best answer
131 131 votes

Concatenation of empty language with any language will give the empty language and ${L_1}^ * = \phi^* = \epsilon$.
 

Therefore,

$L_1L_2^* \cup L_1^*   $
$=\phi.(L_2)^* \cup \phi^ *$
$= \phi \cup \{\epsilon\} \left(\because \phi \text{ concatenated with anything is } \phi \text{ and }\phi^* = \{\epsilon\} \right)  $
$= \{\epsilon \} $.

Hence, option (A) is true.

PS: $\phi^* = \epsilon$, where $\epsilon$ is the regular expression and the language it generates is $\{\epsilon\}$. 

• edited by
7 7 votes
L1.anything is empty language and empty union empty* is epsilon hence a
Answer:
Position:
Show:

Related questions

53 53 votes
5 answers 5 answers
17.5k
17.5k views
Arjun asked Sep 24, 2014
17,451 views
Which of the following is/are undecidable?$G$ is a CFG. Is $L(G) = \phi$?$G$ is a CFG. Is $L(G) = \Sigma^*$?$M$ is a Turing machine. Is $L(M)$ regular?$A$ is a DFA and $N...
69 69 votes
5 answers 5 answers
25.4k
25.4k views
Arjun asked Sep 24, 2014
25,374 views
Consider the DFA $A$ given below. Which of the following are FALSE?Complement of $L(A)$ is context-free.$L(A) = L((11^*0+0)(0 + 1)^*0^*1^*) $For the language accepted by ...
52 52 votes
4 answers 4 answers
25.4k
25.4k views
Arjun asked Sep 24, 2014
25,425 views
Consider the following languages.$L_1 = \left \{ 0^p1^q0^r \mid p,q,r \geq 0 \right \}$$L_2 = \left \{ 0^p1^q0^r \mid p,q,r \geq 0, p\neq r \right \}$Which one of the fol...
26 26 votes
1 answers 1 answer
10.0k
10.0k views
Arjun asked Sep 23, 2014
9,985 views
Which of the following statements are TRUE?The problem of determining whether there exists a cycle in an undirected graph is in $P$.The problem of determining whether the...