#NFA to Regular Expresssion conversion using elimination of states method

13 messages Ā· Page 1 of 1 (latest)

prime echo
#

I don't understand the answer to question 4 ii. I need to delete state 2 first so I assumed that I need to look at all the symbols going into state 2 and out of state 2. So that would mean i need to look at Q1 -> Q2 a, Q2->Q3 b, Q2-> Q2 a, Q2 -> Q1 b. Best I got was ab + ( a a ^ kleene star b ) ^ kleene star when i try to delete state 2 first. I just get thrown off by the Q2 -> Q1 b and the Q1 loop of symbol b.

Can someone please help me with this question. I would really appreciate it. I spent quite some time trying to understand but I don't get it. (Edit: it wont let me write the kleeen star * so i wrote kleene star instead in my text).

stable nimbusBOT
#
šŸ‘‹ Welcome to your Help Thread!

Hey @prime echo, Thanks for sharing your math problem with us. While you wait for a Helper to help you, we want to share some vital information with you.

​

ā— Please take a moment to read the helpee guidelines. This will make sure that your post follows the helpee rules of our community.

​

ā— Please don't ping <@&775784618955505685>, <@&1283689826742440016>, <@&819616364188139550>, or <@&624327278137966593> for help because their job is to take care of the server's administrative tasks, not to answer queries directly. However, if you have a problem with how a Helper is acting, you can ping a Helper Moderator.

​

ā— It's always very useful if you can show us the work you've done so far. This makes it easier for our Helpers to find mistakes and help you get to the right answer.

stable nimbusBOT
prime echo
#

wait i just realised, if i delete state 2 first, well that leaves us with states 0,1 and 3. I just need to identify i,j pairs in order to know which transitions to update and how to update? i being the incoming state and j being outgoing state. And the way I see how i can update a transition is by looking at the original nfa before removing states e.g. if i need to update T: (1,b) or (1,1) whatever way u write it, i need to look at how i can get to state 1 going through state 2?

#

so it would be (1,1)' = (1,1) + (1,1) + (1,2) (2,2)* (2,1) ???? idk if this is how u solve these type of questions in general? i would appreciate if someone can refine my way of thinking on how to approach these questions and solve it.

#

is this way of solving applicable to different nfas? just want clarity that's all (i realised i wrote a lot lol)

wooden chasmBOT
alpine mist
#

See the instruction at the bottom of the bot message

stable nimbusBOT
#

@prime echo

:HelpIcon:| Help Reminder

Hello neet97, this is a friendly reminder that your help request has been inactive for more than 24 hours. If you no longer need assistance, please consider closing the thread using the +close command. This thread will be automatically closed in 3 days if it remains inactive.

prime echo
#

+close

stable nimbusBOT
# prime echo +close
Please thank your Helpers before closing!

Please thank the helpers who assisted you by clicking the buttons below. You can thank each helper only once. Once you're done, click "Close Post" to close this thread.

stable nimbusBOT
# stable nimbus

Thank you for your feedback! Cleanse general by deleting it has been awarded 1 helper_points. They now have 112 helper_points. They have 3 helper_points daily left for today.