1,942 views
0 0 votes

Is this language a regular language ? If yes why and if No why ?

The last part is “x!=y” cropped in the picture

According to my understanding this is not regular because its says

number of x = number of y

But Finite automata cant compare the number of x and y here with limited memory. Can you please explain ?

1 Answer

0 0 votes

IT IS NOT REGULAR .

As finite automata is memory less model

it have no any memory to know that how much number of x so how it able to compute that must equal to y an in given question its |x| = |y| mean cardinality of x and cardinality of y must same but its not possible

Position:
Show:

Related questions

0 0 votes
2 2 answers
389
389 views
Ebrahim asked Oct 13, 2025
389 views
Please please please help me Answer thisQ1. Given RE to DFA: (0+1)*10*10*Q2. Write the regular expression for: “All strings of {a,b}containing atleast two b’s.” 
0 0 votes
0 0 answers
122
122 views
Karthiga_Sampath asked Oct 3, 2025
122 views
Hi Friends, I have came across this article to calculate no of states needed for mod n , but I couldn't contemplate how to reduce states like this, please help clarify.ht...
1 1 vote
1 1 answer
409
409 views
0 0 votes
1 1 answer
340
340 views
Umesh Shelke asked Sep 30, 2025
340 views
DFA
For the minimum number of states in a DFA, we $count$ the dead state or Not ?