Q42.Marks: +2.0UGC NET Paper 2: Computer Science 2nd January 2026 Shift 1
Let P and Q be two regular expressions over Σ. If P does not contain ε, then the following equation in R namely, R = Q + RP has a unique solution given by,
1.R = Q* P*
2.R = QP*✓ Correct
3.R = PQ*
4.R = Q* + P* R
Solution
The correct answer is R = QP*.
Key Points
Given equation in regular expressions: R = Q + RP
This is a standard linear equation of the form: X = A + XB
By Arden’s Theorem: If B does not contain ε, then the unique solution is X = AB*.
Comparing terms: X → R, A → Q, B → P.
Therefore the solution becomes: R = QP*.
Additional Information
Arden’s Theorem:
If X = A + XB and ε ∉ B, then X = AB*.
Used to solve regular expression equations in automata theory.
Important Points:
Condition ε ∉ P guarantees unique solution.
This theorem is widely used in DFA → RE conversions.