Week 2 Lecture 2 - Closure Properties of Regular Languages

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:00 PM on 11/25/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

18 Terms

1
New cards

Give the name for the property where a language is regular because there is an FSA that accepts it.

Closure

2
New cards

Draw the languages:
L1 = {an | n >= 2} and L2 = {abma | m >= 0}

knowt flashcard image
3
New cards

For regular languages L1 and L2, is L1 U L2 regular?

Yes

4
New cards

Give the drawing of L1 U L2
Method not using λ transitions
L1 = {a}{b} and L2 = {aa, ab}

knowt flashcard image
5
New cards

Give the drawing of L1 U L2
Method using λ transitions
L1 = {a}{b} and L2 = {aa, ab}

knowt flashcard image
6
New cards
<p>Draw the generalised pattern for M<sub>1</sub> U M<sub>2 </sub></p>

Draw the generalised pattern for M1 U M2

knowt flashcard image
7
New cards

For regular languages L1 and L2, is L1L2 regular?

Yes

8
New cards
<p>Draw the generalised pattern for M<sub>1</sub>M<sub>2</sub></p>

Draw the generalised pattern for M1M2

knowt flashcard image
9
New cards

Prove by induction that if L1, … , Ln is a regular language, where n >= 1, then L1….Ln is also a regular language

Base case: n = 1
In this case, L1….Ln = L1 and L1 is regular by definition.

Inductive step:

L1….Ln = L1….Ln-1Ln
Ln is a regular language by assumption and L1….Ln-1 is a regular language by inductive hypothesis. So L1….Ln must be a regular language.

10
New cards

What is L*? And is it a regular language

Yes

<p>Yes</p>
11
New cards
<p>Given M<sub>1</sub> is an FSA that accepts L<sub>1</sub>, what is the FSA that accepts L<sub>1</sub>*?</p>

Given M1 is an FSA that accepts L1, what is the FSA that accepts L1*?

The new initial state must be final or λ is not accepted.

<p>The new initial state must be final or λ is not accepted.</p>
12
New cards

What is the complement of L and is it a regular language?

Σ* - L

Yes

13
New cards
<p>Consider the DFA M = (Q, Σ, δ, i, F ) such that L = L(M)</p><p>What is the FSA that accepts the complement? Give the steps</p>

Consider the DFA M = (Q, Σ, δ, i, F ) such that L = L(M)

What is the FSA that accepts the complement? Give the steps

1) Complete M so that it has transitions from every state for every symbol. This is done by adding a junk state.
2) Invert the final + non-final states

<p>1) Complete M so that it has transitions from every state for every symbol. This is done by adding a junk state.<br>2) Invert the final + non-final states</p>
14
New cards
<p>Consider the language L which consists of all binary strings that start and end in a 1. Construct the FSA that accepts the complement:</p>

Consider the language L which consists of all binary strings that start and end in a 1. Construct the FSA that accepts the complement:

knowt flashcard image
15
New cards
<p>Using de Morgans law, prove this is regular:</p>

Using de Morgans law, prove this is regular:

knowt flashcard image
16
New cards
<p>Show the construction of closure under intersection using:</p>

Show the construction of closure under intersection using:

knowt flashcard image
17
New cards
<p>Using these 2 languages L<sub>1</sub> and L<sub>2</sub>, construct the FSA that accepts the intersection</p>

Using these 2 languages L1 and L2, construct the FSA that accepts the intersection

knowt flashcard image
18
New cards

Prove that if L and M are regular languages, so is L - M

knowt flashcard image

Explore top notes

note
APUSH Unit 4
Updated 693d ago
0.0(0)
note
Unit 3 : Macromolecules
Updated 330d ago
0.0(0)
note
AP Gov Ch. 1 and 2
Updated 394d ago
0.0(0)
note
Oceans and Coastal Margins
Updated 687d ago
0.0(0)
note
2024Chem. IMFs ↓↑
Updated 593d ago
0.0(0)
note
PROTEINS!1!!1!1!!!!!
Updated 1099d ago
0.0(0)
note
APUSH Unit 4
Updated 693d ago
0.0(0)
note
Unit 3 : Macromolecules
Updated 330d ago
0.0(0)
note
AP Gov Ch. 1 and 2
Updated 394d ago
0.0(0)
note
Oceans and Coastal Margins
Updated 687d ago
0.0(0)
note
2024Chem. IMFs ↓↑
Updated 593d ago
0.0(0)
note
PROTEINS!1!!1!1!!!!!
Updated 1099d ago
0.0(0)

Explore top flashcards

flashcards
civil war
25
Updated 1239d ago
0.0(0)
flashcards
Units 10-12 Book Units
36
Updated 433d ago
0.0(0)
flashcards
Chapter 11 Exam
32
Updated 1157d ago
0.0(0)
flashcards
Tourism and Travel Vocabulary
60
Updated 284d ago
0.0(0)
flashcards
high five unit 1, 2, 3, 4
100
Updated 1205d ago
0.0(0)
flashcards
civil war
25
Updated 1239d ago
0.0(0)
flashcards
Units 10-12 Book Units
36
Updated 433d ago
0.0(0)
flashcards
Chapter 11 Exam
32
Updated 1157d ago
0.0(0)
flashcards
Tourism and Travel Vocabulary
60
Updated 284d ago
0.0(0)
flashcards
high five unit 1, 2, 3, 4
100
Updated 1205d ago
0.0(0)