← RGPV CS-501 Theory of Computation December 2025 Solved Question Paper
Question
Explain regular expressions and Arden’s theorem.
Asked in: CS-501 | December 2025 | 3(a)
Answer
A regular expression denotes a regular language. The basic expressions ∅, ε and a denote the empty language, the language containing the empty word and the singleton language containing symbol a. Union R+S denotes alternatives, concatenation RS denotes successive words, and R* denotes zero or more concatenations of words in R. Star binds more tightly than concatenation, which binds more tightly than union.
Arden’s theorem
For languages P and Q, the equation X=PX∪Q has solution X=P*Q. If ε is not in P, this solution is unique. Substitution gives P(P*Q)∪Q=P*Q. Every solution must contain PⁿQ for each n≥0 by repeated substitution. Conversely, when ε is absent from P, repeatedly removing a prefix from P strictly decreases word length, so every word in a solution must eventually come from Q. Thus no other words are possible.
For the right-sided equation X=XP∪Q, the corresponding solution is QP*. The order matters because concatenation is not commutative.
Example
Consider a state with a self-loop on a and a transition b to an accepting state with no outgoing edges. Its accepted suffix language satisfies X=aX+b. Arden’s theorem gives X=a*b, recognizing b, ab, aab and so on. The theorem converts finite automata to regular expressions by solving state-language equations.

← RGPV CS-501 Theory of Computation December 2025 Solved Question Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion