Proof of closure of regular languages under intersection

December 4, 2026 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

← RGPV CS-501 (CBGS) Theory of Computation November 2019 Solved Paper

Question

Prove that regular sets are closed under intersection.

Asked in: CS-501 | November 2019 | 2(a)

Answer

Let M₁=(Q₁,Σ,δ₁,s₁,F₁) and M₂=(Q₂,Σ,δ₂,s₂,F₂) recognize regular languages L₁ and L₂. Construct the product DFA M with states Q₁×Q₂, start (s₁,s₂), accepting set F₁×F₂ and transition δ((p,q),a)=(δ₁(p,a),δ₂(q,a)).

By induction on input length, the extended transition reaches the pair of states reached by the original machines. The base case is ε; the induction step follows directly from the componentwise transition. Thus M accepts w exactly when both original machines accept w.

Since the Cartesian product is finite, M is a DFA and L₁∩L₂ is regular. For example, intersecting strings of even length with strings ending in a gives a regular language.

← RGPV CS-501 (CBGS) Theory of Computation November 2019 Solved Paper

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion