Question

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.

Homework Answers

Answer #1

Solution for the problem is provided below, please comment if any doubts:

Here we need to prove that, “L^2L^3 if and only if λL.”

Proof by contradiction:

  • First assume that λ not belongs to L
  • L^2 is generated by concatenating all the strings of “L” with all strings of “L” itself.
  • If L has “n” strings, then L^2 will have “n2” strings in it.
  • Since the empty string λ not belongs to L, no strings in L will be there in L^2, because the strings will we L^2L^3 concatenated with non empty strings.
  • L^3 is generated by concatenating strings in L^2 by strings I L.
  • Since λ not there in L, the strings in L^3 will be an extended version of L^2 strings by concatenating it with strings in L.
  • That is L^3 will not contain the strings of L^2.
  • That is L^2 is can’t be the sub set of L^3 if λ not belongs to L.
  • That is our assumption is wrong.

That is, “L^2L^3 if and only if λL.”

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
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.
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 L ⊆ Σ* be a regular language. Suppose a ∈ Σ and define L\a =...
Let L ⊆ Σ* be a regular language. Suppose a ∈ Σ and define L\a = {x : ax ∈ L }. Show that L\a is regular.
Let L be a regular language over {0, 1}. Show how we can use the previous...
Let L be a regular language over {0, 1}. Show how we can use the previous result to show that in order to determine whether or not L is empty, we need only test at most 2n − 1 strings.
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 !
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.
For any string ,over alphabet Σ,we define the string SHIFT(σ) as follows: if σ=aw,a∈Σ,w∈Σ∗then SHIFT(σ)=wa. For...
For any string ,over alphabet Σ,we define the string SHIFT(σ) as follows: if σ=aw,a∈Σ,w∈Σ∗then SHIFT(σ)=wa. For example, SHIFT(0111)=1110,SHIFT(10110)=01101.Prove that if L is regular, then so is SHIFT(L)={SHIFT(σ):σ∈L}
Show that language B = {〈A〉| A is a DFA and L(A) = Σ* } is...
Show that language B = {〈A〉| A is a DFA and L(A) = Σ* } is decidable.
Please answer True or False on the following: 1. Let L be a set of strings...
Please answer True or False on the following: 1. Let L be a set of strings over the alphabet Σ = { a, b }. If L is infinite, then L* must be infinite (L* is the Kleene closure of L) 2. Let L be a set of strings over the alphabet Σ = { a, b }. Let ! L denote the complement of L. If L is finite, then ! L must be infinite. 3. Let L be...
Let Σ = {a, b, c}. Use the Pumping lemma to show that the language A...
Let Σ = {a, b, c}. Use the Pumping lemma to show that the language A = {arbsct | r + s ≥ t} is not regular.
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • The earth's magnetic field can affect the electron beam in an oscilloscope or a television tube....
    asked 6 minutes ago
  • The Huntington Boys and Girls Club is conducting a fundraiser by selling chili dinners to go....
    asked 15 minutes ago
  • 2. Please determinate the correctness of the following statements and justify your answers (preferably by examples)....
    asked 20 minutes ago
  • Explain the various methods of intelligence collection, specifically human intelligence and signals intelligence.
    asked 23 minutes ago
  • The provided file has syntax and/or logical errors. Determine the problem and fix the program. using...
    asked 26 minutes ago
  • What new items will you need to replace a failing processor? Select all that apply.   ...
    asked 45 minutes ago
  • A system is to be developed for an airport. When passengers have boarded an aircraft, a...
    asked 53 minutes ago
  • After reading Module 5 PowerPoint 1 - The Philosophy of Human Existance and Health Care Policy,...
    asked 1 hour ago
  • 1. Do you feel play has a place in supporting literacy development in early childhood? Explain...
    asked 1 hour ago
  • How should roles be selected for the Emergency Operations Center (EOC)?  Is seniority less important than experience?...
    asked 1 hour ago
  • Discuss routing issues and solutions namely, count-to-infinity, split horizon, split horizon with poison reverse, and hold-down...
    asked 1 hour ago
  • Find an optimal parenthesization of a matrix-chain product whose sequence of dimensions is〈5,10,3,12,5,50,6〉.
    asked 1 hour ago