Informatics 1 - Computation & Logic: Tutorial 1

Size: px
Start display at page:

Download "Informatics 1 - Computation & Logic: Tutorial 1"

Transcription

1 Informatics 1 - Computation & Logic: Tutorial 1 Propositional Logic: An Introduction Week 3: 5 9 October 2015 Please attempt the entire worksheet in advance of the tutorial, and bring with ou all work, including (if a computer is involved) printouts of code and test results. Tutorials cannot function properl unless ou do the work in advance. You ma work with others, but ou must understand the work; ou can t phone a friend during the eam. Assessment is formative, meaning that marks from coursework do not contribute to the final mark. But coursework is not optional. If ou do not do the coursework ou are unlikel to pass the eams. Attendance at tutorials is obligator; please let our tutor know if ou cannot attend. 1

2 Eercise There are 8 regions in the diagram. How man subsets of this set of 8 regions are there? Given an subset of the eight regions can ou write a comple proposition to which it corresponds (using and, or, and not as connectives)? 17 You ma want to come back to this question after ou have completed the rest of the tutorial. 2

3 Eercise 1.2 current net R = R or A A = G or (R and not A) G = R and A Slide 25 (lecture 1) shows an implementation of the traffic light controller. We could have designed our logic differentl. For eample, letting A = G or (R and not A). Draw the circuit for this implementation. Is this a correct implementation of the controller? Eplain our answer. 3

4 Eercise 1.3 A _ B A! B A B A ^ B Each of the tables above represents the truth table of a binar boolean operation. Label each table with a boolean epression for which it is the truth table (five tables are alread labelled begin b checking whether these are correct). How man of the binar operations actuall depend on both variables? How man depend on onl one variable? How man depend on no variables? 4

5 Eercise 1.4 R RA R RA A G A G 4. As discussed in the lecture, the diagram represents the beginnings of a refinement of our description of the traffic light controller. We model a sensor that detects a car read to pass the light. For each state of the lights, (R, RA, G, A) we have two states, one (with a double circle) where there is a car, and the other, without a car, as before. Draw arrows to indicate state changes that still obe the correct sequence for the lights, but also respect the following two rules. 1. A car can onl pass the light if it is green. 2. The light onl changes from red to red-amber when a car is detected Optional: You ma also design the logic for the controller. Use a new boolean variable C to represent the presence of a car, and give equations for R A and G. Should we also give an equation for C? 29 5

6 5. Here are some propositional smbols, together with the English sentences the represent: A Sam Mendes directed Skfall B Leonardo DiCaprio starred in Skfall C Leonardo DiCaprio starred in Django Unchained D Quentin Tarantino is a director E Leonardo DiCaprio is an actress F Judi Dench is an actress G Judi Dench acted in Skfall H Leonardo DiCaprio was married to Judi Dench J Django Unchained was released in 2012 K Skfall is set in 16th centur Scotland L Leonardo DiCaprio is a woman M Judi Dench used to be married N Leonardo DiCaprio is an actor Ever epression of propositional logic is either true or false, and no epression can be both true and false. Based on the relationship between propositional smbols and English sentences above, our own general knowledge, and, if need be, the Internet Movie Database, decide whether each proposition is true or false. 6. Assume the propositional smbols in Question 5. Assume also that: (a) the smbol represents the negation operator not ; (b) the smbol represents the conjunction connective and ; (c) the smbol represents the disjunction connective or ; (d) the smbol represents the implication connective; and (e) the smbol represents the equivalence connective. Some of the following are well-formed epressions of propositional logic and the others are smbol soup. Decide which is which. (a) A C (b) (F D) (c) (N B) (d) (G L) E (e) A (C H) (f) (K B) (g) F D (h) H (A C) 6

7 7. Translate the following epressions of propositional logic into reasonabl natural English, assuming the ke in Question 5: (a) E B (b) J K (c) E L (d) (C L) N 7

8 8. Translate the following English sentences into propositional logic, using the appropriate propositional smbols from Question 5: (a) Leonardo DiCaprio and Judi Dench both starred in Skfall (b) If Leonardo DiCaprio was Judi Dench s husband, then Judi Dench was married and Leonardo DiCaprio is not an actress (c) Skfall did not star either Judi Dench or Leonardo DiCaprio (d) If Leonardo DiCaprio is a woman, then he isn t an actor and isn t married to Judi Dench 9. The truth or falsit of a comple epression of propositional logic is a function of the truth/falsit of the propositional smbols it is consists of. Based on the answers ou gave in Question 5, and our knowledge of the truth tables for negation, conjunction, disjunction, implication and equivalence, work out whether the following epressions are true or false: (a) E B (b) (C L) N (c) (H M) (M H) (d) (K L) N 10. Consider the epression (H M). Work out whether this epression is true or false. Can ou eplain wh this epression is true/false, considering its English translation and the true/false values of the literals? This tutorial eercise sheet was written b Mark McConville, revised b Paolo Besana, Thomas French, Areti Manataki, and Michael Fourman. Send comments to michael.fourman@ed.ac.uk 8

9 Truth tables of the basic operators A B A B T T T T F F F T F F F F A B A B T T T T F T F T T F F F A B A B T T T T F F F T T F F T We can also epress the truth tables for binar operations in a different stle, which makes the smmetries more immediatel apparent

Informatics 1 - Computation & Logic: Tutorial 1

Informatics 1 - Computation & Logic: Tutorial 1 Informatics 1 - Computation & Logic: utorial 1 Propositional Logic: An Introduction Week 3: 5 9 October 2015 Please attempt the entire worksheet in advance of the tutorial, and bring with you all work,

More information

Informatics 1 - Computation & Logic: Tutorial 5 v:1.12 1st November :36:40

Informatics 1 - Computation & Logic: Tutorial 5 v:1.12 1st November :36:40 Informatics 1 - Computation & Logic: Tutorial 5 v:1.12 1st November 2017 16:36:40 Satisfiability and Resolution Week 7: 30 October 3 November 2017 Please attempt the entire worksheet in advance of the

More information

Informatics 1 - Computation & Logic: Tutorial 3

Informatics 1 - Computation & Logic: Tutorial 3 Informatics 1 - Computation & Logic: Tutorial 3 Counting Week 5: 16-20 October 2016 Please attempt the entire worksheet in advance of the tutorial, and bring all work with you. Tutorials cannot function

More information

Derivatives 2: The Derivative at a Point

Derivatives 2: The Derivative at a Point Derivatives 2: The Derivative at a Point 69 Derivatives 2: The Derivative at a Point Model 1: Review of Velocit In the previous activit we eplored position functions (distance versus time) and learned

More information

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook)

Lecture 2. Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits. Reading (Epp s textbook) Lecture 2 Logic Compound Statements Conditional Statements Valid & Invalid Arguments Digital Logic Circuits Reading (Epp s textbook) 2.1-2.4 1 Logic Logic is a system based on statements. A statement (or

More information

Recall that the expression x > 3 is not a proposition. Why?

Recall that the expression x > 3 is not a proposition. Why? Predicates and Quantifiers Predicates and Quantifiers 1 Recall that the expression x > 3 is not a proposition. Why? Notation: We will use the propositional function notation to denote the expression "

More information

Course Staff. Textbook

Course Staff. Textbook Course Staff CS311H: Discrete Mathematics Intro and Propositional Logic Instructor: Işıl Dillig Instructor: Prof. Işıl Dillig TAs: Jacob Van Geffen, Varun Adiga, Akshay Gupta Class meets every Monday,

More information

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic.

Propositional Logic Basics Propositional Equivalences Normal forms Boolean functions and digital circuits. Propositional Logic. Propositional Logic Winter 2012 Propositional Logic: Section 1.1 Proposition A proposition is a declarative sentence that is either true or false. Which ones of the following sentences are propositions?

More information

A statement is a sentence that is definitely either true or false but not both.

A statement is a sentence that is definitely either true or false but not both. 5 Logic In this part of the course we consider logic. Logic is used in many places in computer science including digital circuit design, relational databases, automata theory and computability, and artificial

More information

( x) The First Derivative Function. m = 1.5. x Figure # f ( x) use symmetry use symmetry 4 1

( x) The First Derivative Function. m = 1.5. x Figure # f ( x) use symmetry use symmetry 4 1 m = 0 m = 1 Figure 1: Tan lines to = f Figure 2: Tan lines to = f m = 1.5 Table 1: Tangent line slopes for = f Figure # f 4 1 3 2 2 3 1 2 0 1 1 use smmetr 2 3 3 use smmetr 4 1 Figure 3: Tan lines to =

More information

For questions 5-8, solve each inequality and graph the solution set. You must show work for full credit. (2 pts each)

For questions 5-8, solve each inequality and graph the solution set. You must show work for full credit. (2 pts each) Alg Midterm Review Practice Level 1 C 1. Find the opposite and the reciprocal of 0. a. 0, 1 b. 0, 1 0 0 c. 0, 1 0 d. 0, 1 0 For questions -, insert , or = to make the sentence true. (1pt each) A. 5

More information

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall

HW1 graded review form? HW2 released CSE 20 DISCRETE MATH. Fall CSE 20 HW1 graded review form? HW2 released DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Today's learning goals Translate sentences from English to propositional logic using appropriate

More information

DISCRETE STRUCTURES WEEK5 LECTURE1

DISCRETE STRUCTURES WEEK5 LECTURE1 DISCRETE STRUCTURES WEEK5 LECTURE1 Let s get started with... Logic! Spring 2010 CPCS 222 - Discrete Structures 2 Logic Crucial for mathematical reasoning Important for program design Used for designing

More information

Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman.

Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman. Math 299 Homework Assignment, Chapter 2 Section 2.1 2.A (not in the text) Which of the following are statements? Explain. 1. Let x be a positive integer. Then x is rational. 2. Mathematics is fun. 3. The

More information

Propositional Logic Not Enough

Propositional Logic Not Enough Section 1.4 Propositional Logic Not Enough If we have: All men are mortal. Socrates is a man. Does it follow that Socrates is mortal? Can t be represented in propositional logic. Need a language that talks

More information

5. Perform the indicated operation and simplify each of the following expressions:

5. Perform the indicated operation and simplify each of the following expressions: Precalculus Worksheet.5 1. What is - 1? Just because we refer to solutions as imaginar does not mean that the solutions are meaningless. Fields such as quantum mechanics and electromagnetism depend on

More information

Essential Question How can you use a scatter plot and a line of fit to make conclusions about data?

Essential Question How can you use a scatter plot and a line of fit to make conclusions about data? . Scatter Plots and Lines of Fit Essential Question How can ou use a scatter plot and a line of fit to make conclusions about data? A scatter plot is a graph that shows the relationship between two data

More information

8. BOOLEAN ALGEBRAS x x

8. BOOLEAN ALGEBRAS x x 8. BOOLEAN ALGEBRAS 8.1. Definition of a Boolean Algebra There are man sstems of interest to computing scientists that have a common underling structure. It makes sense to describe such a mathematical

More information

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014

Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014 Sample Problems for all sections of CMSC250, Midterm 1 Fall 2014 1. Translate each of the following English sentences into formal statements using the logical operators (,,,,, and ). You may also use mathematical

More information

Discrete Mathematics and Its Applications

Discrete Mathematics and Its Applications Discrete Mathematics and Its Applications Lecture 1: Proposition logic MING GAO DASE @ ECNU (for course related communications) mgao@dase.ecnu.edu.cn Sep. 12, 2017 Outline 1 Propositions 2 Connectives

More information

ICS141: Discrete Mathematics for Computer Science I

ICS141: Discrete Mathematics for Computer Science I ICS141: Discrete Mathematics for Computer Science I Dept. Information & Computer Sci., Originals slides by Dr. Baek and Dr. Still, adapted by J. Stelovsky Based on slides Dr. M. P. Frank and Dr. J.L. Gross

More information

GRAPH SYMMETRIES. c Gabriel Nagy

GRAPH SYMMETRIES. c Gabriel Nagy c Gabriel Nag GRAPH SYMMETRIES A. Smmetr for General Equations Let us assume we are given a general equation in and, of the form: Left Epression in, = Right Epression in,. Out of this equation, we build

More information

3.2 LOGARITHMIC FUNCTIONS AND THEIR GRAPHS

3.2 LOGARITHMIC FUNCTIONS AND THEIR GRAPHS Section. Logarithmic Functions and Their Graphs 7. LOGARITHMIC FUNCTIONS AND THEIR GRAPHS Ariel Skelle/Corbis What ou should learn Recognize and evaluate logarithmic functions with base a. Graph logarithmic

More information

AMTH140 Lecture 8. Symbolic Logic

AMTH140 Lecture 8. Symbolic Logic AMTH140 Lecture 8 Slide 1 Symbolic Logic March 10, 2006 Reading: Lecture Notes 6.2, 6.3; Epp 1.1, 1.2 Logical Connectives Let p and q denote propositions, then: 1. p q is conjunction of p and q, meaning

More information

2/13/2012. Logic: Truth Tables. CS160 Rosen Chapter 1. Logic?

2/13/2012. Logic: Truth Tables. CS160 Rosen Chapter 1. Logic? Logic: Truth Tables CS160 Rosen Chapter 1 Logic? 1 What is logic? Logic is a truth-preserving system of inference Truth-preserving: If the initial statements are true, the inferred statements will be true

More information

Math.3336: Discrete Mathematics. Applications of Propositional Logic

Math.3336: Discrete Mathematics. Applications of Propositional Logic Math.3336: Discrete Mathematics Applications of Propositional Logic Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Propositional Logic Revision Tutorial. Mr Tony Chung

Propositional Logic Revision Tutorial. Mr Tony Chung + Propositional Logic Revision Tutorial Mr Tony Chung a.chung@lancaster.ac.uk http://www.tonychung.net/ + Today s Objectives 2 Propositions Complex Propositions Valid Propositions Correct or Incorrect?

More information

Mark Redekopp, All rights reserved. Lecture 4 Slides. Boolean Algebra Logic Functions Canonical Sums/Products

Mark Redekopp, All rights reserved. Lecture 4 Slides. Boolean Algebra Logic Functions Canonical Sums/Products Lecture 4 Slides Boolean Algebra Logic Functions Canonical Sums/Products LOGIC FUNCTION REPRESENTATION Logic Functions A logic function maps input combinations to an output value ( 1 or ) 3 possible representations

More information

74 Maths Quest 10 for Victoria

74 Maths Quest 10 for Victoria Linear graphs Maria is working in the kitchen making some high energ biscuits using peanuts and chocolate chips. She wants to make less than g of biscuits but wants the biscuits to contain at least 8 g

More information

Computation and Logic Definitions

Computation and Logic Definitions Computation and Logic Definitions True and False Also called Boolean truth values, True and False represent the two values or states an atom can assume. We can use any two distinct objects to represent

More information

An Introduction to Logic 1.1 ~ 1.4 6/21/04 ~ 6/23/04

An Introduction to Logic 1.1 ~ 1.4 6/21/04 ~ 6/23/04 An Introduction to Logic 1.1 ~ 1.4 6/21/04 ~ 6/23/04 1 A Taste of Logic Logic puzzles (1) Knights and Knaves Knights: always tell the truth Knaves: always lie You encounter two people A and B. A says:

More information

CSC Discrete Math I, Spring Propositional Logic

CSC Discrete Math I, Spring Propositional Logic CSC 125 - Discrete Math I, Spring 2017 Propositional Logic Propositions A proposition is a declarative sentence that is either true or false Propositional Variables A propositional variable (p, q, r, s,...)

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication

Announcements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication Announcements CS311H: Discrete Mathematics Propositional Logic II Instructor: Işıl Dillig First homework assignment out today! Due in one week, i.e., before lecture next Wed 09/13 Remember: Due before

More information

3.7 InveRSe FUnCTIOnS

3.7 InveRSe FUnCTIOnS CHAPTER functions learning ObjeCTIveS In this section, ou will: Verif inverse functions. Determine the domain and range of an inverse function, and restrict the domain of a function to make it one-to-one.

More information

How can you write an equation of a line when you are given the slope and a point on the line? ACTIVITY: Writing Equations of Lines

How can you write an equation of a line when you are given the slope and a point on the line? ACTIVITY: Writing Equations of Lines .7 Writing Equations in Point-Slope Form How can ou write an equation of a line when ou are given the slope and a point on the line? ACTIVITY: Writing Equations of Lines Work with a partner. Sketch the

More information

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies

Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies Logic as a Tool Chapter 1: Understanding Propositional Logic 1.1 Propositions and logical connectives. Truth tables and tautologies Valentin Stockholm University September 2016 Propositions Proposition:

More information

Discrete Structures for Computer Science

Discrete Structures for Computer Science Discrete Structures for Computer Science William Garrison bill@cs.pitt.edu 6311 Sennott Square Lecture #2: Propositional Logic Based on materials developed by Dr. Adam Lee Today s Topic: Propositional

More information

Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World

Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World Inf2D 06: Logical Agents: Knowledge Bases and the Wumpus World School of Informatics, University of Edinburgh 26/01/18 Slide Credits: Jacques Fleuriot, Michael Rovatsos, Michael Herrmann Outline Knowledge-based

More information

Learning Goals of CS245 Logic and Computation

Learning Goals of CS245 Logic and Computation Learning Goals of CS245 Logic and Computation Alice Gao April 27, 2018 Contents 1 Propositional Logic 2 2 Predicate Logic 4 3 Program Verification 6 4 Undecidability 7 1 1 Propositional Logic Introduction

More information

Math 3336: Discrete Mathematics Practice Problems for Exam I

Math 3336: Discrete Mathematics Practice Problems for Exam I Math 3336: Discrete Mathematics Practice Problems for Exam I The upcoming exam on Tuesday, February 26, will cover the material in Chapter 1 and Chapter 2*. You will be provided with a sheet containing

More information

Nova Scotia Examinations Mathematics 12 Web Sample 2. Student Booklet

Nova Scotia Examinations Mathematics 12 Web Sample 2. Student Booklet Nova Scotia Eaminations Mathematics Web Sample Student Booklet General Instructions - WEB SAMPLE* This eamination is composed of two sections with the following suggested time allotment: Selected-Response

More information

10.4 Nonlinear Inequalities and Systems of Inequalities. OBJECTIVES 1 Graph a Nonlinear Inequality. 2 Graph a System of Nonlinear Inequalities.

10.4 Nonlinear Inequalities and Systems of Inequalities. OBJECTIVES 1 Graph a Nonlinear Inequality. 2 Graph a System of Nonlinear Inequalities. Section 0. Nonlinear Inequalities and Sstems of Inequalities 6 CONCEPT EXTENSIONS For the eercises below, see the Concept Check in this section.. Without graphing, how can ou tell that the graph of + =

More information

Functions. Introduction

Functions. Introduction Functions,00 P,000 00 0 70 7 80 8 0 000 00 00 Figure Standard and Poor s Inde with dividends reinvested (credit "bull": modification of work b Praitno Hadinata; credit "graph": modification of work b MeasuringWorth)

More information

Square Root Functions as Inverses. Inverse of a Quadratic Function. y f 1 (x) x

Square Root Functions as Inverses. Inverse of a Quadratic Function. y f 1 (x) x 6-1 Square Root Functions as Inverses TEKS FOCUS TEKS ()(C) Describe and analze the relationship between a function and its inverse (quadratic and square root, logarithmic and eponential), including the

More information

Maximum 3-SAT as QUBO

Maximum 3-SAT as QUBO Maximum 3-SAT as QUBO Michael J. Dinneen 1 Semester 2, 2016 1/15 1 Slides mostly based on Alex Fowler s and Rong (Richard) Wang s notes. Boolean Formula 2/15 A Boolean variable is a variable that can take

More information

MATH 2300 review problems for Exam 3 ANSWERS

MATH 2300 review problems for Exam 3 ANSWERS MATH 300 review problems for Eam 3 ANSWERS. Check whether the following series converge or diverge. In each case, justif our answer b either computing the sum or b b showing which convergence test ou are

More information

The American School of Marrakesh. Algebra 2 Algebra 2 Summer Preparation Packet

The American School of Marrakesh. Algebra 2 Algebra 2 Summer Preparation Packet The American School of Marrakesh Algebra Algebra Summer Preparation Packet Summer 016 Algebra Summer Preparation Packet This summer packet contains eciting math problems designed to ensure our readiness

More information

10.3 Solving Nonlinear Systems of Equations

10.3 Solving Nonlinear Systems of Equations 60 CHAPTER 0 Conic Sections Identif whether each equation, when graphed, will be a parabola, circle, ellipse, or hperbola. Then graph each equation.. - 7 + - =. = +. = + + 6. + 9 =. 9-9 = 6. 6 - = 7. 6

More information

CSE 20: Discrete Mathematics

CSE 20: Discrete Mathematics Spring 2018 Summary Last time: Today: Logical connectives: not, and, or, implies Using Turth Tables to define logical connectives Logical equivalences, tautologies Some applications Proofs in propositional

More information

Overview, cont. Overview, cont. Logistics. Optional Reference #1. Optional Reference #2. Workload and Grading

Overview, cont. Overview, cont. Logistics. Optional Reference #1. Optional Reference #2. Workload and Grading Course staff CS389L: Automated Logical Reasoning Lecture 1: ntroduction and Review of Basics şıl Dillig nstructor: şil Dillig E-mail: isil@cs.utexas.edu Office hours: Thursday after class until 6:30 pm

More information

f(x) = 2x 2 + 2x - 4

f(x) = 2x 2 + 2x - 4 4-1 Graphing Quadratic Functions What You ll Learn Scan the tet under the Now heading. List two things ou will learn about in the lesson. 1. Active Vocabular 2. New Vocabular Label each bo with the terms

More information

EECS 1028 M: Discrete Mathematics for Engineers

EECS 1028 M: Discrete Mathematics for Engineers EECS 1028 M: Discrete Mathematics for Engineers Suprakash Datta Office: LAS 3043 Course page: http://www.eecs.yorku.ca/course/1028 Also on Moodle S. Datta (York Univ.) EECS 1028 W 18 1 / 26 Why Study Logic?

More information

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic

AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic AI Principles, Semester 2, Week 2, Lecture 5 Propositional Logic and Predicate Logic Propositional logic Logical connectives Rules for wffs Truth tables for the connectives Using Truth Tables to evaluate

More information

Systems of Linear Equations: Solving by Graphing

Systems of Linear Equations: Solving by Graphing 8.1 Sstems of Linear Equations: Solving b Graphing 8.1 OBJECTIVE 1. Find the solution(s) for a set of linear equations b graphing NOTE There is no other ordered pair that satisfies both equations. From

More information

DEDUCTIVE REASONING Propositional Logic

DEDUCTIVE REASONING Propositional Logic 7 DEDUCTIVE REASONING Propositional Logic Chapter Objectives Connectives and Truth Values You will be able to understand the purpose and uses of propositional logic. understand the meaning, symbols, and

More information

Ready To Go On? Skills Intervention 2-1 Solving Linear Equations and Inequalities

Ready To Go On? Skills Intervention 2-1 Solving Linear Equations and Inequalities A Read To Go n? Skills Intervention -1 Solving Linear Equations and Inequalities Find these vocabular words in Lesson -1 and the Multilingual Glossar. Vocabular equation solution of an equation linear

More information

MATH 115 MIDTERM EXAM

MATH 115 MIDTERM EXAM MATH 11 MIDTERM EXAM Department of Mathematics Universit of Michigan Februar 12, 2003 NAME: INSTRUCTOR: ID NUMBER: SECTION NO: 1. Do not open this eam until ou are told to begin. 2. This eam has 11 pages

More information

Solutions to Homework I (1.1)

Solutions to Homework I (1.1) Solutions to Homework I (1.1) Problem 1 Determine whether each of these compound propositions is satisable. a) (p q) ( p q) ( p q) b) (p q) (p q) ( p q) ( p q) c) (p q) ( p q) (a) p q p q p q p q p q (p

More information

2.1 Evaluate and Graph Polynomial

2.1 Evaluate and Graph Polynomial 2. Evaluate and Graph Polnomial Functions Georgia Performance Standard(s) MM3Ab, MM3Ac, MM3Ad Your Notes Goal p Evaluate and graph polnomial functions. VOCABULARY Polnomial Polnomial function Degree of

More information

Maintaining Mathematical Proficiency

Maintaining Mathematical Proficiency Name Date Chapter 3 Maintaining Mathematical Proficienc Plot the point in a coordinate plane. Describe the location of the point. 1. A( 3, 1). B (, ) 3. C ( 1, 0). D ( 5, ) 5. Plot the point that is on

More information

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional)

n logical not (negation) n logical or (disjunction) n logical and (conjunction) n logical exclusive or n logical implication (conditional) Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.6) TOPICS Propositional Logic Logical Operators Truth Tables Implication Logical Equivalence Inference Rules What you should know about propositional

More information

MAT 101 Exam 2 Logic (Part I) Fall Circle the correct answer on the following multiple-choice questions.

MAT 101 Exam 2 Logic (Part I) Fall Circle the correct answer on the following multiple-choice questions. Name: MA 101 Exam 2 Logic (Part I) all 2017 Multiple-Choice Questions [5 pts each] Circle the correct answer on the following multiple-choice questions. 1. Which of the following is not a statement? a)

More information

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example

Announcements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example Announcements CS243: Discrete Structures Propositional Logic II Işıl Dillig First homework assignment out today! Due in one week, i.e., before lecture next Tuesday 09/11 Weilin s Tuesday office hours are

More information

CSE20: Discrete Mathematics for Computer Science. Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication

CSE20: Discrete Mathematics for Computer Science. Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication CSE20: Discrete Mathematics for Computer Science Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication Disjunctive normal form Example: Let f (x, y, z) =xy z. Write this function in DNF. Minterm

More information

Unit 10 - Graphing Quadratic Functions

Unit 10 - Graphing Quadratic Functions Unit - Graphing Quadratic Functions PREREQUISITE SKILLS: students should be able to add, subtract and multipl polnomials students should be able to factor polnomials students should be able to identif

More information

( 3x. Chapter Review. Review Key Vocabulary. Review Examples and Exercises 6.1 Properties of Square Roots (pp )

( 3x. Chapter Review. Review Key Vocabulary. Review Examples and Exercises 6.1 Properties of Square Roots (pp ) 6 Chapter Review Review Ke Vocabular closed, p. 266 nth root, p. 278 eponential function, p. 286 eponential growth, p. 296 eponential growth function, p. 296 compound interest, p. 297 Vocabular Help eponential

More information

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as:

Numbers that are divisible by 2 are even. The above statement could also be written in other logically equivalent ways, such as: 3.4 THE CONDITIONAL & BICONDITIONAL Definition. Any statement that can be put in the form If p, then q, where p and q are basic statements, is called a conditional statement and is written symbolically

More information

(p == train arrives late) (q == there are taxis) (r == If p and not q, then r. Not r. p. Therefore, q. Propositional Logic

(p == train arrives late) (q == there are taxis) (r == If p and not q, then r. Not r. p. Therefore, q. Propositional Logic Propositional Logic The aim of logic in computer science is to develop languages to model the situations we encounter as computer science professionals Want to do that in such a way that we can reason

More information

7. Logical Agents. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Knowledge base. Models and Planning. Russell & Norvig, Chapter 7.

7. Logical Agents. COMP9414/ 9814/ 3411: Artificial Intelligence. Outline. Knowledge base. Models and Planning. Russell & Norvig, Chapter 7. COMP944/984/34 6s Logic COMP944/ 984/ 34: rtificial Intelligence 7. Logical gents Outline Knowledge-based agents Wumpus world Russell & Norvig, Chapter 7. Logic in general models and entailment Propositional

More information

2.4 Library of Functions; Piecewise-defined Functions. 1 Graph the Functions Listed in the Library of Functions

2.4 Library of Functions; Piecewise-defined Functions. 1 Graph the Functions Listed in the Library of Functions 80 CHAPTER Functions and Their Graphs Problems 8 88 require the following discussion of a secant line. The slope of the secant line containing the two points, f and + h, f + h on the graph of a function

More information

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B Discrete Math Review Discrete Math Review (Rosen, Chapter 1.1 1.7, 5.5) TOPICS Sets and Functions Propositional and Predicate Logic Logical Operators and Truth Tables Logical Equivalences and Inference

More information

Logic As Algebra COMP1600 / COMP6260. Dirk Pattinson Australian National University. Semester 2, 2017

Logic As Algebra COMP1600 / COMP6260. Dirk Pattinson Australian National University. Semester 2, 2017 Logic As Algebra COMP1600 / COMP6260 Dirk Pattinson Australian National University Semester 2, 2017 Recap: And, Or, and Not x AND y x y x y 0 0 0 0 1 0 1 0 0 1 1 1 x OR y x y x y 0 0 0 0 1 1 1 0 1 1 1

More information

Foundations of Databases

Foundations of Databases Foundations of Databases (Slides adapted from Thomas Eiter, Leonid Libkin and Werner Nutt) Foundations of Databases 1 Quer optimization: finding a good wa to evaluate a quer Queries are declarative, and

More information

INTRODUCTION TO LOGIC 3 Formalisation in Propositional Logic

INTRODUCTION TO LOGIC 3 Formalisation in Propositional Logic Introduction INRODUCION O LOGIC 3 Formalisation in Propositional Logic Volker Halbach If I could choose between principle and logic, I d take principle every time. Maggie Smith as Violet Crawley in Downton

More information

Two hours. Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE

Two hours. Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE COMP 0 Two hours Note that the last two pages contain inference rules for natural deduction UNIVERSITY OF MANCHESTER SCHOOL OF COMPUTER SCIENCE Mathematical Techniques for Computer Science Date: Friday

More information

SOLUTIONS. Math 130 Midterm Spring True-False: Circle T if the statement is always true. Otherwise circle F.

SOLUTIONS. Math 130 Midterm Spring True-False: Circle T if the statement is always true. Otherwise circle F. SOLUTIONS Math 13 Midterm Spring 16 Directions: True-False: Circle T if the statement is always true. Otherwise circle F. Partial-Credit: Please show all work and fully justify each step. No credit will

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods

TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods TRUTH TABLES LOGIC (CONTINUED) Philosophical Methods Here s some Vocabulary we will be talking about in this PowerPoint. Atomic Sentences: Statements which express one proposition Connectives: These are

More information

LESSON #42 - INVERSES OF FUNCTIONS AND FUNCTION NOTATION PART 2 COMMON CORE ALGEBRA II

LESSON #42 - INVERSES OF FUNCTIONS AND FUNCTION NOTATION PART 2 COMMON CORE ALGEBRA II LESSON #4 - INVERSES OF FUNCTIONS AND FUNCTION NOTATION PART COMMON CORE ALGEBRA II You will recall from unit 1 that in order to find the inverse of a function, ou must switch and and solve for. Also,

More information

Using Intercept Form

Using Intercept Form 8.5 Using Intercept Form Essential Question What are some of the characteristics of the graph of f () = a( p)( q)? Using Zeros to Write Functions Work with a partner. Each graph represents a function of

More information

Introduction to Sets and Logic (MATH 1190)

Introduction to Sets and Logic (MATH 1190) Introduction to Sets Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics Statistics York University Sept 18, 2014 Outline 1 2 Tautologies Definition A tautology is a compound proposition

More information

Functions. Lecture 4: Truth functions, evaluating compound statements. Arithmetic Functions. x y x+y

Functions. Lecture 4: Truth functions, evaluating compound statements. Arithmetic Functions. x y x+y Lecture 4: ruth functions, evaluating compound statements 1. unctions, arithmetic functions, and truth functions 2. Definitions of truth functions unctions A function is something that takes inputs and

More information

3.2 Understanding Relations and Functions-NOTES

3.2 Understanding Relations and Functions-NOTES Name Class Date. Understanding Relations and Functions-NOTES Essential Question: How do ou represent relations and functions? Eplore A1.1.A decide whether relations represented verball, tabularl, graphicall,

More information

Propositional Logic: Equivalence

Propositional Logic: Equivalence Propositional Logic: Equivalence Alice Gao Lecture 5 Based on work by J. Buss, L. Kari, A. Lubiw, B. Bonakdarpour, D. Maftuleac, C. Roberts, R. Trefler, and P. Van Beek 1/42 Outline Propositional Logic:

More information

5 Linear Graphs and Equations

5 Linear Graphs and Equations Linear Graphs and Equations. Coordinates Firstl, we recap the concept of (, ) coordinates, illustrated in the following eamples. Eample On a set of coordinate aes, plot the points A (, ), B (0, ), C (,

More information

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference

10/5/2012. Logic? What is logic? Propositional Logic. Propositional Logic (Rosen, Chapter ) Logic is a truth-preserving system of inference Logic? Propositional Logic (Rosen, Chapter 1.1 1.3) TOPICS Propositional Logic Truth Tables Implication Logical Proofs 10/1/12 CS160 Fall Semester 2012 2 What is logic? Logic is a truth-preserving system

More information

Ch 5 Alg 2 L2 Note Sheet Key Do Activity 1 on your Ch 5 Activity Sheet.

Ch 5 Alg 2 L2 Note Sheet Key Do Activity 1 on your Ch 5 Activity Sheet. Ch Alg L Note Sheet Ke Do Activit 1 on our Ch Activit Sheet. Chapter : Quadratic Equations and Functions.1 Modeling Data With Quadratic Functions You had three forms for linear equations, ou will have

More information

Tautologies, Contradictions, and Contingencies

Tautologies, Contradictions, and Contingencies Section 1.3 Tautologies, Contradictions, and Contingencies A tautology is a proposition which is always true. Example: p p A contradiction is a proposition which is always false. Example: p p A contingency

More information

Unit 3: Relations and Functions

Unit 3: Relations and Functions Unit 3: Relations and Functions 5-1: Binar Relations Binar Relation: - a set ordered pairs (coordinates) that include two variables (elements). (, ) = horizontal = vertical Domain: - all the -values (first

More information

C241 Homework Assignment 4

C241 Homework Assignment 4 C241 Homework Assignment 4 1. Which of the following formulas are tautologies and which are contradictions? Which of the formulas are logically equivalent to each other? (a) p (q r) (b) ( p r) (q r) (c)

More information

Logical equivalences 12/8/2015. S T: Two statements S and T involving predicates and quantifiers are logically equivalent

Logical equivalences 12/8/2015. S T: Two statements S and T involving predicates and quantifiers are logically equivalent 1/8/015 Logical equivalences CSE03 Discrete Computational Structures Lecture 3 1 S T: Two statements S and T involving predicates and quantifiers are logically equivalent If and only if they have the same

More information

173 Logic and Prolog 2013 With Answers and FFQ

173 Logic and Prolog 2013 With Answers and FFQ 173 Logic and Prolog 2013 With Answers and FFQ Please write your name on the bluebook. You may have two sides of handwritten notes. There are 75 points (minutes) total. Stay cool and please write neatly.

More information

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna The Calculus of Computation: Decision Procedures with Applications to Verification Part I: FOUNDATIONS by Aaron Bradley Zohar Manna 1. Propositional Logic(PL) Springer 2007 1-1 1-2 Propositional Logic(PL)

More information

ES.1803 Topic 16 Notes Jeremy Orloff

ES.1803 Topic 16 Notes Jeremy Orloff ES803 Topic 6 Notes Jerem Orloff 6 Eigenalues, diagonalization, decoupling This note coers topics that will take us seeral classes to get through We will look almost eclusiel at 2 2 matrices These hae

More information

Math-2. Lesson:1-2 Properties of Exponents

Math-2. Lesson:1-2 Properties of Exponents Math- Lesson:- Properties of Eponents Properties of Eponents What is a power? Power: An epression formed b repeated multiplication of the same factor. Coefficient Base Eponent The eponent applies to the

More information

Unit 4 Relations and Functions. 4.1 An Overview of Relations and Functions. January 26, Smart Board Notes Unit 4.notebook

Unit 4 Relations and Functions. 4.1 An Overview of Relations and Functions. January 26, Smart Board Notes Unit 4.notebook Unit 4 Relations and Functions 4.1 An Overview of Relations and Functions Jan 26 5:56 PM Jan 26 6:25 PM A Relation associates the elements of one set of objects with the elements of another set. Relations

More information

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises

WUCT121. Discrete Mathematics. Logic. Tutorial Exercises WUCT11 Discrete Mathematics Logic Tutorial Exercises 1 Logic Predicate Logic 3 Proofs 4 Set Theory 5 Relations and Functions WUCT11 Logic Tutorial Exercises 1 Section 1: Logic Question1 For each of the

More information

Overview. 1. Introduction to Propositional Logic. 2. Operations on Propositions. 3. Truth Tables. 4. Translating Sentences into Logical Expressions

Overview. 1. Introduction to Propositional Logic. 2. Operations on Propositions. 3. Truth Tables. 4. Translating Sentences into Logical Expressions Note 01 Propositional Logic 1 / 10-1 Overview 1. Introduction to Propositional Logic 2. Operations on Propositions 3. Truth Tables 4. Translating Sentences into Logical Expressions 5. Preview: Propositional

More information