2 votes 2 votes L = $\left \{a^{*}b \right \}$ what is $L^{2} - L $ Theory of Computation theory-of-computation + – Mk Utkarsh asked Mar 5, 2018 Mk Utkarsh 517 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply reena_kandari commented Mar 5, 2018 reply Follow Share a*ba*b? 1 votes 1 votes Mk Utkarsh commented Mar 5, 2018 reply Follow Share i think the answer by shivanisrivarshini is correct 0 votes 0 votes reena_kandari commented Mar 5, 2018 reply Follow Share i have written the same :P 0 votes 0 votes Mk Utkarsh commented Mar 5, 2018 reply Follow Share oh yeah i misread :p 0 votes 0 votes Please log in or register to add a comment.
Best answer 5 votes 5 votes L = {a*b} has exactly one b in each string L2 ={a*b}{a*b} has exactly 2 b's in each string L2 and L has no common strings So L2 - L = L2 ={a*b}{a*b} shivanisrivarshini answered Mar 5, 2018 • selected Mar 5, 2018 by Mk Utkarsh shivanisrivarshini comment Share Follow See 1 comment See all 1 1 comment reply Mk Utkarsh commented Mar 5, 2018 reply Follow Share i was getting the same but was confused :) thanks 0 votes 0 votes Please log in or register to add a comment.