Let the rotational closure of language A be RC(A) = {yx

Chapter , Problem 1.67

(choose chapter or problem)

Get Unlimited Answers
QUESTION:

Let the rotational closure of language A \text { be } R C(A)=\{y x \mid x y \in A\}.

a. Show that for any language \(A\), we have \(R C(A)=R C(R C(A))\).
b. Show that the class of regular languages is closed under rotational closure.

Questions & Answers

QUESTION:

Let the rotational closure of language A \text { be } R C(A)=\{y x \mid x y \in A\}.

a. Show that for any language \(A\), we have \(R C(A)=R C(R C(A))\).
b. Show that the class of regular languages is closed under rotational closure.

ANSWER:

Step 1 of 2

Given,  rotational closure of language \(A\) is \(R C(A)=\{y x \mid x y \in A\}\).

We have to show that for any language \(A\), we have \(R C(A)=R C(R C(A))\).

First, for any language \(A\), let's consider a string \(w \in A\). Then set of all possible strings over the alphabet is given by \(\Sigma^{*}\). Then \(w \in \Sigma^{*}\) and will contain the empty string \(\varepsilon\) and thus \(\varepsilon \in A\).

Let \(A=w \varepsilon\)

We know that \(w \varepsilon=\varepsilon w=w\).

Now, consider LHS, \(R C(A)\)

So, \(R C(A)=R C(w \varepsilon)=\varepsilon w=w\).

RHS is given by, \(R C(R C(A))\)

\(R C(R C(A))=R C(R C(w \varepsilon))=R C(\varepsilon w)=w \varepsilon=w\).

Thus LHS = RHS. Hence \(R C(A)=R C(R C(A))\).

 

Add to cart


Study Tools You Might Need

Not The Solution You Need? Search for Your Answer Here:

×

Login

Login or Sign up for access to all of our study tools and educational content!

Forgot password?
Register Now

×

Register

Sign up for access to all content on our site!

Or login if you already have an account

×

Reset password

If you have an active account we’ll send you an e-mail for password recovery

Or login if you have your password back