Understanding the Pumping Lemma: A Key Concept in Formal Language Theory π
Learn what the pumping lemma is and why itβs essential for analyzing regular languages. Discover how this theorem helps in proving whether a language is regular or not.

lydia
170.8K views β’ Nov 5, 2020

About this video
Every regular language must satisfy the pumping lemma. The formal statement of the pumping lemma is this:
If A is a regular language, then there is a pumping length p, where if s is any string in A that is at least length p, then s may be divided into 3 pieces, s = xyz, satisfying the following conditions:
1. for each i β₯ 0, xyβ±z β A
2. |y|οΉ₯0
3. |xy| β€ p
The lemma can be a little tricky to understand at first, and hopefully this video can help with that.
This video only covers the basics of the pumping lemma. If you want to know how the pumping lemma is used to prove that a language is not regular, check out this video instead:
____________________
Additional resources:
https://youtu.be/PK3wL7DXuuw
- My previous video on another property of regular languagesβthe closure property under the regular operations.
Michael Sipser. 2006. Introduction to the Theory of Computation (2nd. ed.). International Thomson Publishing.
- The main source of my Theory of Computation knowledge (a textbook). Read Chapter 1.4: Nonregular Languages to learn more about the pumping lemma and the pigeonhole principle (and the formal proofs for showing nonregularity).
_____________________
And as always, this video project could not have been done without the support and guidance of Audrey St. John at Mount Holyoke College, a truly incredible professor-mentor-human.
If A is a regular language, then there is a pumping length p, where if s is any string in A that is at least length p, then s may be divided into 3 pieces, s = xyz, satisfying the following conditions:
1. for each i β₯ 0, xyβ±z β A
2. |y|οΉ₯0
3. |xy| β€ p
The lemma can be a little tricky to understand at first, and hopefully this video can help with that.
This video only covers the basics of the pumping lemma. If you want to know how the pumping lemma is used to prove that a language is not regular, check out this video instead:
____________________
Additional resources:
https://youtu.be/PK3wL7DXuuw
- My previous video on another property of regular languagesβthe closure property under the regular operations.
Michael Sipser. 2006. Introduction to the Theory of Computation (2nd. ed.). International Thomson Publishing.
- The main source of my Theory of Computation knowledge (a textbook). Read Chapter 1.4: Nonregular Languages to learn more about the pumping lemma and the pigeonhole principle (and the formal proofs for showing nonregularity).
_____________________
And as always, this video project could not have been done without the support and guidance of Audrey St. John at Mount Holyoke College, a truly incredible professor-mentor-human.
Video Information
Views
170.8K
Likes
5.1K
Duration
5:11
Published
Nov 5, 2020
User Reviews
4.7
(34) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.
Trending Now