22C:19 Discrete Math Introduction and Scope Propositions Fall 2011 Sukumar Ghosh.

Slides:



Advertisements
Similar presentations
CSE 311: Foundations of Computing Fall 2013 Lecture 3: Logic and Boolean algebra.
Advertisements

(CSC 102) Discrete Structures Lecture 14.
Basic Structures: Sets, Functions, Sequences, Sums, and Matrices
Goals Determine the true value of statements with AND, OR, IF..THEN. Negate statements with the connectives above Construct truth tables Understand when.
Discrete Mathematics Lecture 1 Logic of Compound Statements Harper Langston New York University.
Chapter 9: Boolean Algebra
Discrete Mathematics Math 6A Instructor: M. Welling.
First Order Logic. Propositional Logic A proposition is a declarative sentence (a sentence that declares a fact) that is either true or false, but not.
CSE115/ENGR160 Discrete Mathematics 01/20/11 Ming-Hsuan Yang UC Merced 1.
Adapted from Discrete Math
The Laws of Logic: Boolean Algebra A State High Math Club Presentation START==TRUE.
IB Math Studies – Topic 3. IB Course Guide Description.
Predicates & Quantifiers Goal: Introduce predicate logic, including existential & universal quantification Introduce translation between English sentences.
CSCI2110 – Discrete Mathematics Tutorial 8 Propositional Logic Wong Chung Hoi (Hollis)
Discrete Mathematics Goals of a Discrete Mathematics Learn how to think mathematically 1. Mathematical Reasoning Foundation for discussions of methods.
The Foundations: Logic and Proofs
COS 150 Discrete Structures Assoc. Prof. Svetla Boytcheva Fall semester 2014.
Mathematical Structures A collection of objects with operations defined on them and the accompanying properties form a mathematical structure or system.
BY: MISS FARAH ADIBAH ADNAN IMK. CHAPTER OUTLINE: PART III 1.3 ELEMENTARY LOGIC INTRODUCTION PROPOSITION COMPOUND STATEMENTS LOGICAL.
MATH 224 – Discrete Mathematics
CSci 2011 Textbook ^Discrete Mathematics and Its Applications,  Rosen  6th Edition  McGraw Hill  2006.
CS 2210 (22C:019) Discrete Structures Introduction and Scope: Propositions Spring 2015 Sukumar Ghosh.
Copyright © Curt Hill Mathematical Logic An Introduction.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Chapter 7 Review Important Terms, Symbols, Concepts 7.1. Logic A proposition is a statement (not a question.
MATH 224 – Discrete Mathematics
CS 381 DISCRETE STRUCTURES Gongjun Yan Aug 25, November 2015Introduction & Propositional Logic 1.
CS201: Data Structures and Discrete Mathematics I
September1999 CMSC 203 / 0201 Fall 2002 Week #1 – 28/30 August 2002 Prof. Marie desJardins.
1 IS 2150 / TEL 2810 Introduction to Security James Joshi Associate Professor, SIS Lecture 3 September 15, 2009 Mathematical Review Security Policies.
Propositional Logic ITCS 2175 (Rosen Section 1.1, 1.2)
Chapter 1: The Foundations: Logic and Proofs
Chapter 1: The Foundations: Logic and Proofs
CSNB143 – Discrete Structure Topic 4 – Logic. Learning Outcomes Students should be able to define statement. Students should be able to identify connectives.
CSci 2011 Recap ^Propositional operation summary not andorconditionalBi-conditional pq ppqqpqpqpqpqpqpqpqpq TTFFTTTT TFFTFTFF FTTFFTTF FFTTFFTT.
Copyright © Peter Cappello 2011 Predicates & Quantifiers.
Discrete Mathematics Lecture # 1. Course Objectives  Express statements with the precision of formal logic.  Analyze arguments to test their validity.
رياضيات متقطعة لعلوم الحاسب MATH 226. Text books: (Discrete Mathematics and its applications) Kenneth H. Rosen, seventh Edition, 2012, McGraw- Hill.
1 Georgia Tech, IIC, GVU, 2006 MAGIC Lab Rossignac Lecture 01: Boolean Logic Sections 1.1 and 1.2 Jarek Rossignac.
Foundations of Discrete Mathematics Chapter 1 By Dr. Dalia M. Gil, Ph.D.
CS 270 Lecture 1 In Class Problems. Q1: Logic Puzzle You arrive at the end of a long hallway. There are two knights guarding two doors. One knight always.
Chapter 1 Propositional Logic
Propositional Logic.
22C:19 Discrete Structures Introduction and Scope: Propositions
CSE15 Discrete Mathematics 01/23/17
DISCRETE MATHEMATICS CHAPTER I.
CS 2210:0001 Discrete Structures Introduction and Scope: Propositions
CSNB 143 Discrete Mathematical Structures
Lecture 1 – Formal Logic.
CS 202, Spring 2008 Epp, sections 1.1 and 1.2
Niu Kun Discrete Mathematics Chapter 1 The Foundations: Logic and Proof, Sets, and Functions Niu Kun 离散数学.
Lecture 03 Logic and Propositional Calculus Profs. Koike and Yukita
Citra Noviyasari, S.Si, MT
MATH 245 Spring 2009 This is mathematics for computer science
(CSC 102) Discrete Structures Lecture 2.
CPCS222 Discrete Structures I
Boolean Algebra A Boolean algebra is a set B of values together with:
CSCI 3310 Mathematical Foundation of Computer Science
Set Operations Section 2.2.
Propositional Equivalences
Information Technology Department
CS201: Data Structures and Discrete Mathematics I
Discrete Math (2) Haiming Chen Associate Professor, PhD
CSS 342 Data Structures, Algorithms, and Discrete Mathematics I
Discrete Mathematics CMP-200 Propositional Equivalences, Predicates & Quantifiers, Negating Quantified Statements Abdul Hameed
CSE 321 Discrete Structures
COMP 1380 Discrete Structures I Thompson Rivers University
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Discrete Structures Prepositional Logic 2
CS201: Data Structures and Discrete Mathematics I
The Foundations: Logic and Proofs
Presentation transcript:

22C:19 Discrete Math Introduction and Scope Propositions Fall 2011 Sukumar Ghosh

The Scope Discrete mathematics studies mathematical structures that are fundamentally discrete, not supporting or requiring the notion of continuity (Wikipedia). Deals with countable things.

Why Discrete Math? Discrete math forms the basis for computer science: Sequences Digital logic (how computers compute) Algorithms Program correctness Probability and gambling (or taking risks) “Continuous” math forms the basis for most physical and biological sciences

Propositions A proposition is a statement that is either true or false “The sky is blue” “Today the temperature is below freezing” “9 + 3 = 12” Not propositions: “Who is Bob?” “How many persons are there in this group?” “X + 1 = 7.”

Propositional (or Boolean) variables These are variables that refer to propositions. Usually denoted by lower case letters p, q, r, s, etc. Each can have one of two values true (T) or false (F) A proposition can be: A single variable p A formula of multiple variables like p ∧ q, s ∨ ¬r)

Propositional (or Boolean) operators

Logical operator: NOT

Logical operator: AND

Logical operator: OR

Logical operator: EXCLUSIVE OR Note. p ⊕ q is false if both p, q are true or both are false

(Inclusive) OR or EXCLUSIVE OR?

Logical Operator NAND and NOR

Conditional Operator

Conditional operators

Set representations A proposition p can also be represented by a set (a collection of elements) for which the proposition is true. p ¬p¬p Universe p p q p ∧ q p ∨ q p q Venn diagram

Bi-conditional Statements

Translating into English

Great for developing intuition about propositional operators. You can access the Internet from campus (p) only if you are a CS major (cs), or you are not a freshman (f) p (cs ∨ ¬ f)

Precedence of Operators

Boolean operators in search

Tautology and Contradiction

Equivalence

Examples of Equivalence

More Equivalences Associative Laws Distributive Law Law of absorption

De Morgan’s Law You can take 22C:21 if you take 22C:16 and 22M:26 You cannot take 22C:21 if you have not taken 22C:16 or 22M:26

How to prove Equivalences Examples ? Follow class lectures.

Muddy Children Puzzle A father tells his two children, a boy and a girl, to play in the backyard without getting dirty. While playing, both children get mud on their foreheads. After they returned home, the father said: “at least one of you has a muddy forehead,” and then asked the children to answer YES or NO to the question: “Do you know if you have a muddy forehead?” the father asked the question twice. How will the children answer each time?

Wrap up Understand propositions, logical operators and their usage. Understand equivalence, tautology, and contradictions. Practice proving equivalences, tautology, and contradictions. Study the Muddy Children Puzzle from the book.