CSCI 2670 Introduction to Theory of Computing Instructor: Shelby Funk.

Slides:



Advertisements
Similar presentations
Chapter 2 Revision of Mathematical Notations and Techniques
Advertisements

Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Review of Mathematical Notation / Terminology
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
CS 310 – Fall 2006 Pacific University Theoretical Computer Science CS 310 Chadd Williams Office Mon 3:00 – 4:00 PM 202 Strain.
CS5371 Theory of Computation Lecture 1: Mathematics Review I (Basic Terminology)
CS 310 – Fall 2006 Pacific University Theoretical Computer Science CS 310 Chadd Williams Office Mon 10:30-11:30 am 202 Strain.
Discrete Mathematics Math 6A Instructor: M. Welling.
Costas Busch - RPI1 Mathematical Preliminaries. Costas Busch - RPI2 Mathematical Preliminaries Sets Functions Relations Graphs Proof Techniques.
CS 454 Theory of Computation Sonoma State University, Fall 2011 Instructor: B. (Ravi) Ravikumar Office: 116 I Darwin Hall Original slides by Vahid and.
Courtesy Costas Busch - RPI1 Mathematical Preliminaries.
Theoretical Computer Science COMP 335 Fall 2004
1 CSCI 2400 section 3 Models of Computation Instructor: Costas Busch.
Set theory Sets: Powerful tool in computer science to solve real world problems. A set is a collection of distinct objects called elements. Traditionally,
Introduction to CS Theory Lecture 1 – Introduction Piotr Faliszewski
 2004 SDU Introduction to the Theory of Computation My name: 冯好娣 My office: 计算中心 430
CS355 - Theory of Computation Lecture 2: Mathematical Preliminaries.
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
Introduction Chapter 0. Three Central Areas 1.Automata 2.Computability 3.Complexity.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
CS 173, Lecture B September 1, 2015 Tandy Warnow.
INTRODUCTION TO THE THEORY OF COMPUTATION INTRODUCTION MICHAEL SIPSER, SECOND EDITION 1.
Mathematical preliminaries Episode 2 0 Sets Sequences Functions Relations Strings.
1 Strings and Languages. 2 Review Sets and sequences Functions and relations Graphs Boolean logic:      Proof techniques: – Construction, Contradiction,
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
1 Chapter 1 Introduction to the Theory of Computation.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 – 7.2 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean.
Set, Combinatorics, Probability & Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Set,
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
September 8, 2009Theory of Computation Lecture 1: Introduction and Preliminaries 1 Welcome to CS 620 – Theory of Computation Fall 2009 Instructor: Marc.
Mathematical Preliminaries. Sets Functions Relations Graphs Proof Techniques.
Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
Fall 2005Costas Busch - RPI1 Mathematical Preliminaries.
Prof. Busch - LSU1 Mathematical Preliminaries. Prof. Busch - LSU2 Mathematical Preliminaries Sets Functions Relations Graphs Proof Techniques.
CompSci 102 Discrete Math for Computer Science
Theory of Computation, Feodor F. Dragan, Kent State University 1 TheoryofComputation Spring, 2015 (Feodor F. Dragan) Department of Computer Science Kent.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Mathematical Preliminaries
THEORY OF COMPUTATION Komate AMPHAWAN 1. 2.
Chapter 2 With Question/Answer Animations. Section 2.1.
Introduction Episode 0 What is TOC (Theory of Computation) about? Giorgi Japaridze Theory of Computability Subject: The fundamental mathematical properties.
CSCI 2670 Introduction to Theory of Computing November 17, 2005.
August 23, 2005 CSCI 2670 Introduction to Theory of Computing August 23, 2005.
Classifications LanguageGrammarAutomaton Regular, right- linear Right-linear, left-linear DFA, NFA Context-free PDA Context- sensitive LBA Recursively.
1 Mathematical Preliminaries. 2 Sets Functions Relations Graphs Proof Techniques.
CSCI 2670 Introduction to Theory of Computing October 13, 2005.
Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1 Chapter 0 Introduction Some slides are in courtesy of Prof.
Theory of computation Introduction theory of computation: It comprises the fundamental mathematical properties of computer hardware, software,
Introduction Why do we study Theory of Computation ?
Chapter 2 1. Chapter Summary Sets (This Slide) The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions.
Chapter 1 INTRODUCTION TO THE THEORY OF COMPUTATION.
Foundations of Computing Science
Introduction Chapter 0.
Formal Language & Automata Theory
BCS2143 – Theory of Computer Science
Introduction to the Theory of Computation
Formal Modeling Concepts
Computer Science Department
Jaya Krishna, M.Tech, Assistant Professor
Teori Bahasa dan Automata Lecture 1: Course Overview and Introduction
INTRODUCTION TO THE THEORY OF COMPUTATION
CSCI-2400 Models of Computation.
A Brief Summary for Exam 1
Teori Bahasa dan Automata Lecture 1: Course Overview and Introduction
Introduction Chapter 0.
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Terminology and Symbols
Presentation transcript:

CSCI 2670 Introduction to Theory of Computing Instructor: Shelby Funk

Today Syllabus Chapter 0 Homework due Tuesday, August 23 –Read pages Chapter 0 You are responsible for all this material even if I don’t cover it in class –Send me an telling me your favorite thing about Athens If you’re new to Athens, tell me your favorite thing about your most recent hometown

Course goals Theoretically explore the capabilities and limitations of computers –Complexity theory What makes some problems computationally hard and others easy? –Computability theory What problems can be solved by a computer? –Automata theory How can we mathematically model computation?

Sets, multisets and sequences Set –Order and repetition don’t matter {7,4,7,3} = {3,4,7} Multiset –Order doesn’t matter, repetition does {7,4,7,3} = {3,4,7,7}  {3,4,7} Sequence –Order and repetition matter (7,4,7,3)  (3,4,7,7) Finite sequence of k elements may be called a k-tuple

Set notation Union: A  B Intersection: A  B Complement: A Cartesian Product: A  B –Also called cross product Power set: P (A)

Example A = {1,2}, B={2,3}, U = {x  N |x < 6} –A  B = –A  B = –A = –A  B = – P (A) = A = {1,2}, B={2,3}, U = {x  N |x < 6} –A  B = {1,2,3} –A  B = {2} –A = {3,4,5} –A  B = {(1,2), (1,3), (2,2), (2,3)} – P (A) = {Ø, {1}, {2}, {1,2}}

Function Mechanism associating each input value with exactly one output value –Domain: set of all possible input values –Range: set containing all possible output values f : D  R nf (n) f : {1, 2, 3, 4}  {2, 4} f : {1, 2, 3, 4}  {1, 2, 3, 4}

Relation Predicate: function whose output value is always either true or false Relation: predicate whose domain is the set A×A×…×A –If domain is all k-tuples of A, the relation is a k-ary relation on A

Graphs Nodes

Graphs Edges

Graphs Degree = 2 Degree = 1 Degree = 3

Graphs Binary tree Subgraph

Directed graphs {(2,1),(3,1),(4,3),(5,2)}

Alphabets and strings Alphabet: any finite set  1 = {1,2,3}  2 = { , ,  } String: finite sequence of symbols from the given alphabet  Empty string, ε, contains no symbols of the alphabet Language: a set of strings

Boolean logic Conjunction ( and )  Disjunction ( or )  Negation ( not )  Exclusive or ( xor )  Equality  Implication 

Proof techniques Construction –Prove a “there exists” statement by finding the object that exists Contradiction –Assume the opposite and find a contradiction Induction –Show true for a base case and show that if the property holds for the value k, then it must also hold for the value k + 1