Pushdown Automaton (PDA) for Non-Regular Language {0^n 1^n}

This example illustrates the construction of a Pushdown Automaton (PDA) for the non-regular language {0^n 1^n : n ≥ 0}. Additionally, we provide tips for solving other PDA problems.

Pushdown Automaton (PDA) for Non-Regular Language {0^n 1^n}
Easy Theory
100.3K views • Oct 24, 2020
Pushdown Automaton (PDA) for Non-Regular Language {0^n 1^n}

About this video

Here we derive a PDA for the infamous non-regular language {0^n 1^n : n at least 0}. We give some tips as well for how to solve other PDAs. The general aspect here is to "match" 0s with 1s by pushing 0s onto the stack, and popping the 1s in tandem. There is some complication with popping an empty stack, so we push a "dummy" character on the stack to detect when the matching has concluded to avoid this problem.

What is a pushdown automaton? It is a finite state machine, where on each transition, items can be pushed or popped off of a stack it has, which has unlimited height. See https://www.youtube.com/watch?v=Br44Zxv84-Q&ab_channel=EasyTheory for more details.

Easy Theory Website: https://www.easytheory.org
GoFundMe: https://www.gofundme.com/f/easy-theory-video-studio
Patreon: https://www.patreon.com/EasyTheoryYT
Fourthwall: https://easy-theory-llc-shop.fourthwall.com
Problem Solving channel: ​⁠ @easytheoryprobsolve

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

100.3K

Likes

2.0K

Duration

11:16

Published

Oct 24, 2020

User Reviews

4.7
(20)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.

Trending Now