3,079 views
2 2 votes
$L_{1}=\left\{a^{n}b^{n}c^{n}|n>=0\right\}\\
L_{2}=\left\{b^{i}c^{j}|i,j>=0\right\}\\
Find \ out\ L_{1}/L_{2}$

2 Answers

2 2 votes
  • L1= {anbncn | >=0}
  • L2 = {b*c*}

L1 / L2 =  {$\epsilon$ , abc/$\epsilon$ , abc /b , abc/c , aabbcc/ $\epsilon$ , aabbcc/b, aabbcc/bb, aabbcc/c, aabbcc/cc, aabbcc/bbc, aabbcc/bbcc........}​​

 = {$\epsilon$ abc, ab, aabbcc, aabbc, aabb, aab, aa......}

= {a* , anbncn, anbn , anbncn-1, ....}

= {anbncn| >=0 } - {bncn| >=0} -{cn| >=0}$\cup$ $\epsilon$ $\cup${ anbn| >=0 } $\cup$ {an| >=0} $\cup$ many more

• edited by
1 1 vote

L = L1/L2

L = {x | such that xy belongs to L1 and y belongs to L2}

It means L will consider those strings from the language L1 which have suffix from the language L2, and L removes the suffix part and keep it in the language.

$L1 = {a^nb^nc^n | n>=0}$
$L2 = {b^*c^*}$

L1/L2 = {$a^n b^n c^n$ | n>=0} U {$a^n$ | n>=1} U {$a^n b^n$ | n>=1} U {$a^nb^nc^*$}

Strings in L1/L2 = eps, a, ab, abc, aabbc, aabbcc etc..

• edited by
Position:
Show:

Related questions

2 2 votes
1 1 answer
76
76 views
GO Classes asked 5 days ago
76 views
For languages $X,Y\subseteq\Sigma^*$, define$$X/Y = \{w:\exists y\in Y,\ wy\in X\}$$ Suppose $X$ is regular, but nothing is assumed about $Y$.Which statement is always tr...
3 3 votes
1 1 answer
2.3k
2.3k views
Shubhanshu asked Oct 31, 2017
2,309 views
For drawing the DFA for right quotient I have referred following link:-Ref :- https://www.seas.upenn.edu/~cit596/notes/dave/closure5.htmlBut unable to get the dfa for the...
0 0 votes
1 1 answer
38
38 views
GO Classes asked 2 days ago
38 views
For every $n\geq 0$, define $L_n=\{a^nb^n\}$.Which statement is correct?Every $L_n$ is nonregular, but $\bigcup_{n=0}^{\infty}L_n$ is regular. Every $L_n$ is regular, and...