Title: Theory%20of%20Computing
1Theory of Computing
- Topics
- Formal languages
- automata
- computability and related matters
- Purposes
- To know the foundations and principles of
computer science - To learn the material that is useful in
subsequent course
- Prerequisites
- Fundamentals of data structures and algorithms
- Discrete mathematics that includes set,
functions, relations, logic, and mathematical
reasoning
2Chapter 1 Introduction to The Theory of
Computation
1.1.1 Sets
Definition 1. A set is a group of objects.The
objects in a set are called the elements, or
members, of the set.
Definition 2. Two sets are equal if and only if
they have the same elements.
3- A set can be described by using a set builder
notation.
- A set can be described by using a Venn diagram.
4(No Transcript)
5 6(No Transcript)
7Table 1 Set Identities
Identity
Name
Identity laws
Domination laws
Idempotent laws
Complementation laws
Commutative laws
Associative laws
Distributive laws
De Morgans law
8(No Transcript)
91.1.2 Functions and Relations
The domain of G is the set AAdams, Chou,
Goodfriend, Rodriguez, Stevens, and the range of
G is the set A,B,C,F.
10Considering the function whose domain and range
are in the set of integers. We are often
interested only in the behavior of these
functions as their arguments become very large.
Example 2
11 Definition 3 Let A and B be the sets. A relation
R from A to B is a subset of .
- Functions can be consider as relations, but
relations are more general than functions.
12(No Transcript)
13(No Transcript)
141.1.3 Graphs and Trees
15(No Transcript)
16Definition 3 A tree is a directed graph that has
no cycles. There is a one distinct vertex in
tree, called the root.
171.1.4 A Proof TechniqueMathematical Induction
18(No Transcript)