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$. $\text{S1 is FALSE, S2 is FALSE}$ $\text{S1 is FALSE, S2 is TRUE}$ $\text{S1 is TRUE, S2 is FALSE}$ $\text{S1 is TRUE, S2 is TRUE}$ Theory of Computation theory-of-computation regular-expression + – Shivani gaikawad asked Mar 30, 2018 • edited Mar 30, 2018 by Sukanya Das Shivani gaikawad 526 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
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$ pankaj_vir answered Mar 30, 2018 pankaj_vir comment Share Follow See all 4 Comments See all 4 4 Comments reply Sayan Bose commented Apr 20, 2018 reply Follow Share How can both be true simultaneously? Either you can take x as Σ* or take x as a phi 0 votes 0 votes abhishekmehta4u commented Apr 20, 2018 reply Follow Share both are diffrent question so we can take . 1 votes 1 votes pankaj_vir commented Apr 20, 2018 reply Follow Share Where is written "simultaneously"? 1 votes 1 votes Sayan Bose commented Apr 20, 2018 reply Follow Share Okay 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes both are true. Shivani gaikawad answered May 6, 2018 Shivani gaikawad comment Share Follow See all 0 reply Please log in or register to add a comment.