Awesome q2a theme
0 votes
29 views
L1={WWʳ |w€(a+b)*}

L2= Reversal(L1)

What is L1.L2?

What is the answer to this question please don't apply closure property I understood through closure property. My doubt is L1.L2 =W.Wʳ.Wʳ.W and this  isn't accepted by any pda so shouldn't the answer be not cfl ??
ago in Theory of Computation by (6 points) | 29 views
0
See Here L1 and L2 are same.

L1.L2 will be $(L1)^2$ only.

Say if L1=abba

L2 also be abba.

So, ans will be either $(L1)^2$ or $(L2)^2$

yes, it will be CFL, as CFL under concatenation operation is closed.
0
L1 and L2 are not same assume L1 = aabbaa then L2 will be baaaab.
0
How L2 could be baaaab? How a palindrome generate different string in forward and backward?
+1

@Aman kumar jha

as per you, $L_1.L_2 = \{\color{red}{W}\color{green}{W^r}.\color{green}{W^r}\color{red}{W} |\; W∈ (a+b)^* \}$ ?

it is wrong.

$L_1.L_2 = \{\color{red}{W}\color{green}{W^r}.\color{green}{X^r}\color{red}{X} |\; W∈ (a+b)^*,\; X∈ (a+b)^* \}$ ?

if you doesn''t understand, just try with small example.

Let $L_1$={abba,aabbba,abbaabba} then what is $L_2$, $L_1.$$L_2$.

0
I understood thanks this was perfect
0
Because I was taking w= aab then wr=baa. So w.wr= aabbaa and wr.w=baaaab
0

@ShaikMasthan 

Let L1={abba,aabbaa,abbaabba} then what is L2, L1.L2.

 L1 = {abba ,aabbaa,abbaabba}     

L2= {abba,aabbaa,abbaabba}

L1.L2  also contains abbaaabbaa.So how can this be cfl??

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Top Users 2020 Aug 03 - 09
  1. Ashutosh07091999

    18 Points

  2. Mellophi

    13 Points

  3. prashastinama

    6 Points

  4. manas_kulkarni

    4 Points

  5. srestha

    2 Points

  6. Unnayan kumar

    1 Points

  7. aryashah2k

    1 Points

  8. Jhaiyam

    1 Points

  9. prabhat0987

    1 Points

  10. Kushagra गुप्ता

    1 Points

Weekly Top User (excluding moderators) will get free access to GATE Overflow Test Series for GATE 2021
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Aug 2020
  1. Ashutosh07091999

    21 Points

  2. Mellophi

    19 Points

  3. Unnayan kumar

    8 Points

  4. Sourav Kar

    7 Points

  5. anurag_yo

    7 Points

  6. Shaik Masthan

    7 Points

  7. prashastinama

    6 Points

  8. sureshthiyam

    6 Points

  9. manas_kulkarni

    6 Points

  10. srestha

    4 Points

7,688 questions
1,815 answers
11,053 comments
95,077 users