Question
Show that the set of palindromes over $\{0,1\}$ is not regular using the pumping lemma given in Exercise 22 . [Hint: Consider strings of the form $0^{N} 10^{N} . ]$
Step 1
Step 1: Assume that the set of palindromes over $\{0,1\}$ is regular. Show more…
Show all steps
Your feedback will help us improve your experience
Chris Trentman and 101 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Show that the set $\left\{0^{2 n} 1^{n} | n=0,1,2, \ldots\right\}$ is not regular using the pumping lemma given in Exercise $22 .$
Modeling Computation
Language Recognition
Show that the set $\left\{1^{n^{2}} | n=0,1,2, \ldots\right\}$ is not regular using the pumping lemma from Exercise 22 .
One important technique used to prove that certain sets are not regular is the pumping lemma. The pumping lemma states that if $M=\left(S, I, f, s_{0}, F\right)$ is a deterministic finite-state automaton and if $x$ is a string in $L(M),$ the language recognized by $M,$ with $l(x) \geq|S|,$ then there are strings $u, v,$ and $w$ in $I^{*}$ such that $x=u v w, l(u v) \leq|S|$ and $l(v) \geq 1,$ and $u v^{i} w \in L(M)$ for $i=0,1,2, \ldots$ Prove the pumping lemma. [Hint: Use the same idea as was used in Example $5 . ]$
Transcript
400,000+
Students learning Statistics & Probability with Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD