SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Given:
Conversion Of ε-NFA To NFA
Note:
1.No Change In Initial State
2.No Change In The Total No. Of States
3.May Be Change In Final States
4. Changes in Transitions
ε-Closure(q0)={q0,q1}
ε-Closure(q1)={q1}
• Let NFA –ε be M=(Q,Σ,δ,q0,F)
NFA be M1= (Q1,Σ,δ1,q0
1,F1)
Initial state of given nfa-ε is {q0}
Now, initial state of nfa will be {q0}
Now find the transition of q0 on inputs 0,1
δ1=(q0,0)=ε-Closure(δ(ε-Closure(q0),0))
=ε-Closure(δ({q0,q1},0))
=ε-Closure(q0)
={q0,q1}
δ1=(q0,1)=ε-Closure(δ(ε-Closure(q1),1))
=ε-Closure(δ({q0,q1},1))
=ε-Closure(q1)
={q1}
δ1=(q1,0)=ε-Closure(δ(ε-Closure(q1),0))
=ε-Closure(δ({q1},0))
=ε-Closure(Φ)
=Φ
δ1=(q1,1)=ε-Closure(δ(ε-Closure(q1)1))
=ε-Closure(δ({q1},1))
=ε-Closure(q1)
={q1}
Resultant NFA is
input
State
0 1
*q0 {q0,q1} {q1}
* q1 Φ {q1}
Final State?
q0 & q1 Both are final states because
ε-Closure(q0)={q0,q1}
ε-Closure(q1)={q1}
NFA - Transition diagram
NFA - Transition table
Example :2
Find δ=(q,a)
Find δ=(q,b)
Find δ=(q,c)
Find δ=(r,a)
Find δ=(r,b)
Find δ=(r,c)
Find δ=(s,a)
Find δ=(s,b)
Find δ=(s,c)
Automata theory -Conversion of ε nfa to nfa

More Related Content

PPTX
Automata theory - NFA ε to DFA Conversion
PPT
Regular Languages
PPT
Minimization of DFA
PDF
TOC 5 | Regular Expressions
PPTX
Theory of Automata and formal languages unit 1
PPTX
Regular Expression to Finite Automata
PPTX
Chomsky Normal Form
PDF
Regular language and Regular expression
Automata theory - NFA ε to DFA Conversion
Regular Languages
Minimization of DFA
TOC 5 | Regular Expressions
Theory of Automata and formal languages unit 1
Regular Expression to Finite Automata
Chomsky Normal Form
Regular language and Regular expression

What's hot (20)

PPTX
Water jug problem ai part 6
PPTX
Moore and mealy machine
PPT
Communication primitives
PPSX
Perceptron (neural network)
PDF
Automata theory
PPT
EULER AND FERMAT THEOREM
PPTX
Role-of-lexical-analysis
PPTX
Forward and Backward chaining in AI
PPT
NFA or Non deterministic finite automata
PPTX
First and follow set
PPTX
Stochastic Gradient Decent (SGD).pptx
PPTX
Introduction TO Finite Automata
PPTX
RECURSIVE DESCENT PARSING
PDF
Deterministic Finite Automata (DFA)
PDF
Artificial Intelligence - Hill climbing.
PPTX
AI_Session 7 Greedy Best first search algorithm.pptx
PPTX
04 Multi-layer Feedforward Networks
PPTX
Syntax-Directed Translation into Three Address Code
PPTX
Graph coloring using backtracking
PPTX
State space search
Water jug problem ai part 6
Moore and mealy machine
Communication primitives
Perceptron (neural network)
Automata theory
EULER AND FERMAT THEOREM
Role-of-lexical-analysis
Forward and Backward chaining in AI
NFA or Non deterministic finite automata
First and follow set
Stochastic Gradient Decent (SGD).pptx
Introduction TO Finite Automata
RECURSIVE DESCENT PARSING
Deterministic Finite Automata (DFA)
Artificial Intelligence - Hill climbing.
AI_Session 7 Greedy Best first search algorithm.pptx
04 Multi-layer Feedforward Networks
Syntax-Directed Translation into Three Address Code
Graph coloring using backtracking
State space search
Ad

Similar to Automata theory -Conversion of ε nfa to nfa (20)

PDF
Theory of Computation FSM Conversions and Problems
PPTX
1.7. eqivalence of nfa and dfa
PPTX
Automata theory - NFA to DFA Conversion
PDF
NFA DFA Equivalence theorem
PDF
Nondeterministic Finite Automata
PDF
Ch03 lexical analysis nfa_2_dfa_2019
PDF
TOC 4 | Non-deterministic Finite Automata
PDF
PPTX
1.4. finite automaton with ε moves
PPTX
Automata theory - RE to DFA Conversion
PPTX
NFA and DFA
PPT
Lecture03 (1).ppt
PPT
Lecture 03 lexical analysis
PPTX
INTRODUTION Formal Language and Automatic Theory.pptx
PDF
Formal Languages and Automata Theory Unit 1
PDF
Nondeterministic Finite Automata AFN.pdf
PPT
Nfa egs
PPTX
Non-Deterministic Finite Automata_Theory of Computation.pptx
PPTX
4-Regular expression to Deterministic Finite Automata (Direct method)-05-05-2...
Theory of Computation FSM Conversions and Problems
1.7. eqivalence of nfa and dfa
Automata theory - NFA to DFA Conversion
NFA DFA Equivalence theorem
Nondeterministic Finite Automata
Ch03 lexical analysis nfa_2_dfa_2019
TOC 4 | Non-deterministic Finite Automata
1.4. finite automaton with ε moves
Automata theory - RE to DFA Conversion
NFA and DFA
Lecture03 (1).ppt
Lecture 03 lexical analysis
INTRODUTION Formal Language and Automatic Theory.pptx
Formal Languages and Automata Theory Unit 1
Nondeterministic Finite Automata AFN.pdf
Nfa egs
Non-Deterministic Finite Automata_Theory of Computation.pptx
4-Regular expression to Deterministic Finite Automata (Direct method)-05-05-2...
Ad

More from Akila Krishnamoorthy (10)

PPTX
Automata Theory - Turing machine
PPTX
Automata theory - Push Down Automata (PDA)
PPTX
Automata theory -RE to NFA-ε
PPTX
Automata theory -- NFA and DFA construction
PPTX
Intro to automata theory
PPTX
Automata theory - CFG and normal forms
PPTX
PPTX
CLR AND LALR PARSER
PPTX
Linear data structure concepts
PPTX
Keypoints c strings
Automata Theory - Turing machine
Automata theory - Push Down Automata (PDA)
Automata theory -RE to NFA-ε
Automata theory -- NFA and DFA construction
Intro to automata theory
Automata theory - CFG and normal forms
CLR AND LALR PARSER
Linear data structure concepts
Keypoints c strings

Recently uploaded (20)

PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPT
Project quality management in manufacturing
PPTX
additive manufacturing of ss316l using mig welding
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Well-logging-methods_new................
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Mechanical Engineering MATERIALS Selection
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Digital Logic Computer Design lecture notes
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
UNIT 4 Total Quality Management .pptx
Internet of Things (IOT) - A guide to understanding
Project quality management in manufacturing
additive manufacturing of ss316l using mig welding
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Operating System & Kernel Study Guide-1 - converted.pdf
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Well-logging-methods_new................
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
R24 SURVEYING LAB MANUAL for civil enggi
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Mechanical Engineering MATERIALS Selection
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
CYBER-CRIMES AND SECURITY A guide to understanding
Lecture Notes Electrical Wiring System Components
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Digital Logic Computer Design lecture notes
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...

Automata theory -Conversion of ε nfa to nfa

  • 1. Given: Conversion Of ε-NFA To NFA Note: 1.No Change In Initial State 2.No Change In The Total No. Of States 3.May Be Change In Final States 4. Changes in Transitions
  • 2. ε-Closure(q0)={q0,q1} ε-Closure(q1)={q1} • Let NFA –ε be M=(Q,Σ,δ,q0,F) NFA be M1= (Q1,Σ,δ1,q0 1,F1) Initial state of given nfa-ε is {q0} Now, initial state of nfa will be {q0} Now find the transition of q0 on inputs 0,1 δ1=(q0,0)=ε-Closure(δ(ε-Closure(q0),0)) =ε-Closure(δ({q0,q1},0)) =ε-Closure(q0) ={q0,q1} δ1=(q0,1)=ε-Closure(δ(ε-Closure(q1),1)) =ε-Closure(δ({q0,q1},1)) =ε-Closure(q1) ={q1} δ1=(q1,0)=ε-Closure(δ(ε-Closure(q1),0)) =ε-Closure(δ({q1},0)) =ε-Closure(Φ) =Φ δ1=(q1,1)=ε-Closure(δ(ε-Closure(q1)1)) =ε-Closure(δ({q1},1)) =ε-Closure(q1) ={q1}
  • 3. Resultant NFA is input State 0 1 *q0 {q0,q1} {q1} * q1 Φ {q1} Final State? q0 & q1 Both are final states because ε-Closure(q0)={q0,q1} ε-Closure(q1)={q1} NFA - Transition diagram NFA - Transition table
  • 4. Example :2 Find δ=(q,a) Find δ=(q,b) Find δ=(q,c)