Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7045755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:34:08+00:00 2026-05-28T02:34:08+00:00

For the above automaton, the regular expression that has been given in my textbook

  • 0

enter image description here

For the above automaton, the regular expression that has been given in my textbook is the following :

a*(a*ba*ba*ba*)*(a+a*ba*ba*ba*)

I am having trouble deriving this…the following is my attempt at it :

aa* + aa*(ba*ba*ba*)* + ba*ba*ba* + ba*ba*ba*(ba*ba*ba*)*

Either I am wrong or I am not being able to simplify it into the form given in the book. Can someone please guide me here, point out the mistake or explain it to me step-by-step?

I’d really really thankful and appreciate that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:34:09+00:00Added an answer on May 28, 2026 at 2:34 am

    Check this out. It presents three good, algorithmic methods for answering questions like these. Learn one of them, or all three of them if you have the time or inclination. State removal is fairly intuitive, although I like Kleene’s transitive closure method.

    http://krchowdhary.com/toc/dfa-to-reg-exp.pdf

    EDIT: Your RE is equivalent to the one provided. here’s the reduction of theirs to yours:

    0. a*(a*ba*ba*ba*)*(a+a*ba*ba*ba*)
    
    1. = a*(a*ba*ba*ba*)*a + a*(a*ba*ba*ba*)*a*ba*ba*ba*
    
    2. = a*(ba*ba*ba*)*a + a*(ba*ba*ba*)*ba*ba*ba*
    
    3. = a*a + a*(ba*ba*ba*)*a + a*(ba*ba*ba*)*ba*ba*ba*
    
    4. = aa* + a*(ba*ba*ba*)*ba*ba*ba*a + a*(ba*ba*ba*)*ba*ba*ba*
    
    5. = aa* + a*(ba*ba*ba*)*ba*ba*ba*
    
    6. = aa* + aa*(ba*ba*ba*)*ba*ba*ba* + (ba*ba*ba*)*ba*ba*ba*
    
    7. = aa* + aa*(ba*ba*ba*)* + (ba*ba*ba*)*ba*ba*ba*
    
    8. = aa* + aa*(ba*ba*ba*)* + ba*ba*ba* + (ba*ba*ba*)*ba*ba*ba*
    
    9. = aa* + aa*(ba*ba*ba*)* + ba*ba*ba* + ba*ba*ba*(ba*ba*ba*)*
    

    Step 1 is right since r(s+t) = rs + rt.

    Step 2 is right since r*(r*sr*)* = r*(sr*)*.

    Step 3 is right since r = r + s if L(s) is a subset of L(r).

    Step 4 is right since r*r = rr* and rs + rq*s = rs + rqq*s.

    Step 5 is right since rs + r = r.

    Step 6 is right since r*s = rr*s + s.

    Step 7 is right since rs + rqq*s = rs + rq*s.

    Step 8 is right since r = r + s if L(s) is a subset of L(r).

    Step 9 is right since r*r = rr*.

    Please feel free to ask any questions or point out any mistakes I may have made.

    EDIT2: If you are interested in these kinds of questions, show some love for the new Computer Science StackExchange by going to this link and committing!!!

    http://area51.stackexchange.com/proposals/35636/computer-science-non-programming?referrer=rpnXA1_2BNYzXN85c5ibxQ2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The above expression is working fine. this expression means first leter should start with
this is a pretty rough area (fuzzy logic image comparison) that is way above
Attempted translation of the above question from non-native English to English: This is a
I want to apply a certain regular expression substitution globally to about 40 Javascript
Edit: My original title has been sort of changed. I suspect the current title
On a regular basis I have to do the following manually in a web
This is trouble shooting question. Our application's development environment is VS2005 C/C++, VB6 based
The above error message comes up just before SQL Server marks the database as
See above. I need to move my bitmaps around a Form, or perhaps inside
In Java 5 and above you have the foreach loop, which works magically on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.