Question

For Automata class: Let L be a regular language over the binary alphabet. Consider the following...

For Automata class:

Let L be a regular language over the binary alphabet. Consider the following language over the same alphabet: L' = {w | |w| = |u| for some u ∈ L}. Prove that L' is regular.

Homework Answers

Answer #1

Your Explanation :

------------------------

L is regular, there is a DFA D that accepts the language L

For each transition in DFA having

A -> B on symbol x

Change it to have each and every symbol in the alphabet

For example if A -> B is on 0
Alphabet is {0, 1}

Make it like
A -> B on 0
A -> B on 1

This way we have an NFA now which accepts the language L0.

So, L0 is regular.

------------------------------------------------------------------------------------------------------------

Note : Please thankful the answer, if you like it, as it would be of great help to me..!!

------------------------------------------------------------------------------------------------------------

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Do a Push Down Automata for the following language: L = { binary strings of the...
Do a Push Down Automata for the following language: L = { binary strings of the form w#wR where w is any binary string and wR is the reverse of w } Show your work please.
Let s and p be two particular strings over an alphabet Σ. Prove that the following...
Let s and p be two particular strings over an alphabet Σ. Prove that the following language M = {w ∈ Σ ∗ | w contains u as a substring but does not contain v as a substring} is regular. plz provide DFA and also simplified the DFA thx !
Do a Push Down Automata for the following language: L = { binary strings of the...
Do a Push Down Automata for the following language: L = { binary strings of the form 0N1N for N >= 1 } Show your work please.
Let L be any non-empty language over an alphabet Σ. Show that L^2⊆L^3 if and only...
Let L be any non-empty language over an alphabet Σ. Show that L^2⊆L^3 if and only if λ∈L.
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
5 A Non-Regular language Prove that the language}L={www∣w∈{0,1}​∗​​} is not regular.
Consider the language L3 over alphabet Σ = { a, b }, L3 = { w...
Consider the language L3 over alphabet Σ = { a, b }, L3 = { w ∈ Σ* | w is a palindrome of any length}. Construct a PDA that recognizes L3. Implement that PDA in JFLAP
Let Σ = {a}, and let L be the language L={an :nisamultipleof3butnisNOTamultipleof5}. Is L a regular...
Let Σ = {a}, and let L be the language L={an :nisamultipleof3butnisNOTamultipleof5}. Is L a regular language? HINT: Maybe instead of an explicit DFA or regular expression, you can find another argument.
What is the regular expression for the language L={w| w starts with 1 and has odd...
What is the regular expression for the language L={w| w starts with 1 and has odd length}? The alphabet of the language is {0, 1};
3. Consider the following “theorem". If L is a regular language then ∀ words w ∈...
3. Consider the following “theorem". If L is a regular language then ∀ words w ∈ L where |w| > 1 ∃ an expression w = xyz where (a) ∀i≥0.xyiz∈L (b) |y| ≥ 1 Explain whether this is a (true) theorem or not ( the question want us to explain why this theorem does not work alone)
Using Pumping lemma to prove the below language is not regular Let Σ2 = {[ 0...
Using Pumping lemma to prove the below language is not regular Let Σ2 = {[ 0 0 ] , [ 0 1 ] , [ 1 0 ] , [ 1 1 ]} . Consider each row to be a binary number and let L3 = w ∈ Σ ∗ 2 | the bottom row of w is the square of the top row of w . For example, [ 0 1 ] [ 0 0 ] [ 1 0...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT