Which of the following is NOT a valid identity in regular expression algebra?

2025

Which of the following is NOT a valid identity in regular expression algebra?

Answer: B. R* = ∅In regular expression algebra: Rε=R is valid because concatenating with epsilon (empty string) does not change the expression. R+ = RR∗ is valid because one…

  1. A.

    Rε = R

  2. B.

    R* = ∅

  3. C.

    R+ = RR*

  4. D.

    R + ∅ = R

Attempted by 90 students.

Show answer & explanation

Correct answer: B

In regular expression algebra:

Rε=R is valid because concatenating with epsilon (empty string) does not change the expression.

R+ = RR is valid because one or more repetitions can be expressed as one occurrence followed by zero or more occurrences.
R+∅=R is valid because union with the empty set does not change the language.

However, R =∅ is NOT valid.
The Kleene star R always contains at least the empty string ε, so it can never be equal to the empty set.

Therefore, Option B is correct.

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…