How can I show that the language $L=\{ w \in \{a,b\}^*: \text{ the word w contains an even number of a and an odd number of b} \}$ is regular using the closure properties?
Asked
Active
Viewed 79 times
1 Answers
3
Suppose $A$ is the set of words that have an even number of as, and $B$ is the set of words that have an odd number of bs. Then $L = A\cap B$. Do you know anything about regular languages and intersections?
MJD
- 65,394
- 39
- 298
- 580
aba, and language $B$ includes the wordbbbbb. – MJD Jan 28 '14 at 14:38