0 0 votes Let $X$ and $Y$ be regular languages. Their symmetric difference is$$X\triangle Y=\{w:w\text{ belongs to exactly one of }X,Y\}$$. Which expression correctly represents $X\triangle Y$ and proves that it is regular?$(X\cap Y)\cup(\overline X\cap\overline Y)$ $(X\cap\overline Y)\cup(\overline X\cap Y)$ $\overline{X\cup Y}$ $X\cap Y$ Theory of Computation goclasses goclasses-cs-dpp theory-of-computation goclasses-cs-dpp-day-377 goclasses-toc-practice-questions closure-property regular-language multiple-selects + – GO Classes 87 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote A string belongs to the symmetric difference when:it is in $X$ but not $Y$, or it is in $Y$ but not $X$.Therefore, $$X\triangle Y = (X\cap\overline Y) \cup (\overline X\cap Y)$$Regular languages are closed under:$$\text{complement},\qquad \text{intersection},\qquad \text{union}$$Hence $X\triangle Y$ is regular. GO Classes answered Sep 21 • edited Sep 21 by GO Classes GO Classes comment Share Follow 0 reply Please log in or register to add a comment.