Page 1
Wink Notes
B.Tech CSE — 4th Semester
Theory of Automata and Formal Languages
— Unit - 1 —
1. Introduction to Automata Theory
Automata Theory is the study of abstract computational devices (machines) and the mathematical problems they can and cannot solve. It is the absolute theoretical foundation of computer science, compiler design, and artificial intelligence.
Before we build a physical CPU, we must define mathematically what computation is. We start with the simplest possible mathematical machine (a Finite Automaton) and slowly add memory and capabilities until we reach the ultimate theoretical computer (the Turing Machine).
1.1 Core Terminology
- Symbol: An abstract entity that has no meaning by itself. Examples: letters `a`, `b`, digits `0`, `1`, or even a picture. It is the atomic unit of data.
- Alphabet (): A finite, non-empty set of symbols.
Examples:
- Binary Alphabet:
- English Alphabet: - String (or Word): A finite sequence of symbols chosen from a specific alphabet.
Examples: If , valid strings are `001`, `10110`, `0`, etc. - Length of a String (): The total number of symbols in the string . If , then .
- Empty String ( or ): The unique string containing absolutely zero symbols. Its length is exactly 0. (). Do not confuse it with an empty set.