1. show abbabaab ∈ L(G) ------------- L = {wwr : w ∈ {a, b}*}
L = {wwr : w ∈ {a, b}*}
Given language says that it must consists of word that has a string w and and wr means every letter must be reversed letter of w.
Given string is "abbabaab". Length of word is 8.
Since length of w and wr is same, so we can partition the given word exactly at 4, so w1=abba and w2=baab.
And every letter in w2 is revered letter of word present on w1 in respective indices, wecan say that w2 is wr of w1.
So, we can say that w=abba and wr=baab
So wwr = abbabaab will definitely belongs to given language.
Mention in comments if any mistakes or errors are found. Thank you.
Get Answers For Free
Most questions answered within 1 hours.