edited by
526 views
2 votes
2 votes

Let $'r'$ be a regular expression, then which of the following statements is/are TRUE for every $'r'$?

$\qquad S1: \text{There exists 'x' which satisfies property } r + x =x$.

$\qquad S1: \text{There exists 'x' which satisfies property } r .x =x$.

  1.  $\text{S1 is FALSE, S2 is FALSE}$
  2.  $\text{S1 is FALSE, S2 is TRUE}$
  3.  $\text{S1 is TRUE, S2 is FALSE}$
  4.  $\text{S1 is TRUE, S2 is TRUE}$
edited by

2 Answers

2 votes
2 votes
I think both the expressions are true

$S1 \Rightarrow$ if you take $x = (\sum)^*$, then $r + x = x$

$S2 \Rightarrow$ if you take $x = \Phi$, then $r .x = x$

Related questions

0 votes
0 votes
0 answers
2
prabhath challa asked 1 day ago
18 views
what will be the regular expression of this DFA using Arden's theorem