2.3 Exercises. (a) F P(A). (Solution)

Size: px
Start display at page:

Download "2.3 Exercises. (a) F P(A). (Solution)"

Transcription

1 2.3 Exercises 1. Analyze the logical forms of the following statements. You may use the symbols, /, =,,,,,,, and in your answers, but not,, P,,, {, }, or. (Thus, you must write out the definitions of some set theory notation, and you must use equivalences to get rid of any occurrences of.) (a) F P(A). By the definition of subset, the given statement is equivalent to x(x F x P(A)). Now, writing out the definition of power set, the whole statement would be x(x F y(y x y A)). (b) x F\ G. By the definition of \, the given statement is equivalent to (x F) (x / G). By the definition , x F is equivalent to A(A F x A), and similarly, x / G is equivalent to A(A G x A). By quantifier negation law, this is equivalent to A (A G x A), which is equivalent to A(A / G x / A) by the definition of and DeMorgan s law, which is equivalent to A(A G x / A) by conditional law. Therefore, the entire statement is equivalent to A(A F x A) A(A G x / A). (c) A {2n + 1 n N}. 1

2 By the definition of subset, this means x(x A x {2n + 1 n N}). Now writing out x {2n + 1 n N}, we get x(x A n N(x = 2n + 1). (d) {n 2 + n + 1 n N} {2n + 1 n N}. By the definition of subset, this means x(x {n 2 + n + 1 n N} x {2n + 1 n N}). Writing out x {n 2 + n + 1 n N} and x {2n + 1 n N}, we have x( n N((x = n 2 + n + 1) (x = 2n + 1))). (e) {x B x / C} P(A). {x B x / C} means {x B\C}. By the definition of power set, y(y x y A). Therefore, the given statement is equivalent to x(x B\C y(y x y A)). (f) x i I (A i B i ). By the alternative notation of intersection of an indexed family of sets, the statement is equivalent to i I x(x A i B i ). Writing out x A i B i, we get i I x(x A i x B i )). (g) x ( i I A i ) ( i I B i )). By the definition of union, the statement is equivalent to x i I A i x i I B i. 2

3 By the alternative notation of intersection, the above statement is equivalent to ( i I x(x A i )) ( i I x(x B i ). Putting these all together, we have i I x(x A i x B i )). (h) P( i I A i ) i I P(A i ). By the definition of, the statement is equivalent to x(x P( i I A i ) x i I P(A i )), which is equivalent to x (x P( i I A i ) x i I P(A i )) (quantifier negation law), which is equivalent to x (x / P( i I A i ) x i I P(A i )) (conditional law), which is equivalent to x(x P( i I A i ) x / i I P(A i )) (DeMorgan s law). By the definition of power set, x(x P( i I A i ) x / i I P(A i )) is equivalent to ( y(y x y i I A i ) (x / i I P(A i )). By the alternative notation of union, ( y(y x y i I A i ) (x / i I P(A i )) is equivalent to x( y(y x y i I A i ) i I(x / PA i )). By the alternative notation of union x( y(y x y i I A i ) i I(x / PA i )) is equivalent to x[ y(y x i I(y A i ) i I(x / P(A i )))]. By the definition of power set, x[ y(y x i I(y A i ) i I(x / P(A i )))] is equivalent to x( y(y x i I(y A i )) i I(y x y / A i )). 2. We ve seen that P( ) = { }, and { }. What is P({ })? 3

4 P( ) = {, { }}. 3. Suppose F ={{red, green, blue}, {orange, red, blue}, {purple, red, green, blue}}. Find F and F. F = {red, blue}. F = {red, green, blue, orange, purple}. 4. Let I = {2, 3, 4, 5} and for each i I let A i = {i, i + 1, i 1, 2i}. (a) List the elements of all the sets A i, for each i I. For i = 2, A i = A 2 = {2, 3, 1, 4} = {1, 2, 3, 4}. For i = 3, A i = A 3 = {3, 4, 2, 6} = {2, 3, 4, 6}. For i = 4, A i = A 4 = {4, 5, 3, 8} = {3, 4, 5, 8}. For i = 5, A i = A 5 = {5, 6, 3, 10} = {3, 5, 6, 10}. (b) Find i I A i and i I A i. i I A i = {1, 2, 3, 4, 5, 6, 8, 10}. i I A i = {3, 4}. 5. Let I = {2, 3}, and for each i I let A i = {i, 2i} and B i = {i, i + 1}. (a) List the elements of the sets A i and B i for i I. For i = 2, A i = A 2 = {2, 4} and B i = B 2 = {2, 3}. For i = 3, A i = A 3 = {3, 6} and B i = B 3 = {3, 4}. (b) Find i I (A i B i ) and ( i I A i ) ( i I B i ). Are they the same? 4

5 By (a), we know A 2 = {2, 4} and B 2 = {2, 3}. Therefore, A 2 B 2 = {2, 3, 4}. Similarly, A 3 B 3 = {3, 4, 6}. Thus, i I (A i B i ) = {3}. On the other hand, i I A i = A 2 A 3 = {2, 4} {3, 6} =, and i I B i = B 2 B 3 = {2, 3} {3, 4} = {3}. Therefore, ( i I A i ) ( i I B i ) = {3} = {3}. Thus, i I (A i B i ) and ( i I A i ) ( i I B i ) are the same. (c) In parts (f) and (g) of exercise 1 you analyzed the statements x i I (A i B i ) and x ( i I A i ) ( i I B i ). What can you conclude from your answer to part (b) about whether or not these statements are equivalent? Since the values of each statement match, they are equivalent to each other. 6. Show that for any sets A and B for which P(A B) = P(A) P(B), by showing that the statements x P(A B) and x P(A) P(B) are equivalent. (See Example ) Proof. From Example , x P(A B) means y(y x (y A y B)), which is equivalent to y(y y A) y(y y B), which x P(A) P(B) means. Therefore, P(A B) = P(A) P(B). 7. Give example of sets A and B for which P(A B) P(A) P(B). 5

6 As long as A B =, P(A B) P(A) P(B). For example, let A = {1} and B = {2, 3}. Then P(A B) = P{1, 2, 3} = {, {1}, {2}, {3}, {1, 2}, {1, 3 {2, 3}, {1, 2, 3}}. On the other hand, P(A) = P(1) = {, {1}}, and P(B) = P(2, 3) = {, {2}, {3}, {2, 3}}, so P(A) P(B) = {, {1}, {2}, {3}, {2, 3}}, which is clearly not equal to P(A B) ( {1, 2}, {1, 3}, and {1, 2, 3, } are missing!) 8. Verify the following identities by writing out (using logical symbols) what it means for an object x to be an element of each set and then using logical equivalences. (a) i I (A i B i ) = ( i I A i ) ( i I B i ). ( ) Let x i I (A i B i ). By the alternative notation of union, this is equivalent to i I(x A i Bi). By the definition of, this is equivalent to i I(x A i x B i ). Distributing the quantifiers, this is equivalent to i I(x A i ) i I(x B i ). By the definition of union, this is equivalent to x i I A i x i I B i. By the definition of, this is equivalent to x ( i I A i ) ( i I B i ). ( ) Let x ( i I A i ) ( i I B i ). By the definition of, this is equivalent to x i I A i x i I B i. By the alternative notation of union, this is equivalent to i I(x A i ) i I(x B i ). 6

7 Collectiong (?) the quantifiers, this is equivalent to i I(x A i x B i ). By the definition of, this is equivalent to i I(x A i B i ). By the definition of union, this is equivalent to x i I (A i Bi). (b) ( F) ( G) = (F G). ( ) Let x ( F) ( G). By the definition of, this is equivalent to x F x G. A(A F x A) ( A(A G x A)). By the conditional law, this is equivalent to A(A / F x A) A(A / G x A). Collecting the quantifiers (?), this is equivalent to A((A / F x A) (A / G x A)). By distributative law, this is equivalent to A((A / F A / G) x A). By De Morgan s law, this is equivalent to A( (A F) A G) x A. By the definition of, this is equivalent to A( (A F G) x A. By the conditional law, this is equivalent to A(A F G x A). By the definition of intersection, x (F G). ( ) Let x (F G). A(A F G x A). By the definition of, this is equivalent to A((A F A G) x A). By the conditional law, this is equivalent to A( (A F A G) x A). By the DeMorgan s law, this is equivalent to A((A / F A / G) x A). 7

8 By the distributive law, this is equivalent to A((A / F x A) (A / G x A)). By the conditional law, this is equivalent to A((A F x A) (A G x A). Distributing the quantifiers, this is equivalent to A(A F x A) A(A G x A). x ( F) ( G). (c) i I (A i \B i ) = ( i I A i )\( i I B i ). ( ) Let x i I (A i \B i ). i I(A i \B i ). By the definition of \, this is equivalent to i I(x A i x / B i ). Distributing of quantifiers, this is equivalent to i I(x A i ) i I(x / B i ). By the definition of /, this is equivalent to i I(x A i ) i I (x B i ). By the quantifier negation law, this is equivalent to i I(x A i ) i I(x B i )). By the definitions of intersection and union, this is equivalent to x i I A i x i I B i. By the definition of, this is equivalent to x ( i I A i ) ( i I B i ). ( ) Let x ( i I A i ) ( i I B i ). By the definition of, this is equivalent to x i I A i x i I B i. By the definitions of intersection and union, this is equivalent to i I(x A i ) i I(x B i )). By the quantifier negation law, this is equivalnet to i I(x A i ) i I (x B i ). 8

9 By the definition of /, this is equivalent to i I(x A i ) i I(x / B i ). Collecting (?) quantifiers, this is equivalent to i I(x A i x / B i ). By the definition of \, this is equivalent to i I(A i \B i ). x i I (A i \B i ). 9. Sometimes each set in an indexed family of sets has two indices. For this problem, use the following definitions: I = {1, 2}, J = {3, 4}. For each i I and j J, let A i,j = {i, j, i + j}. Thus, for example A 2,3 = {2, 3, 5}. (a) For each j J let B j = i I A i,j = A 1,j A 2,j. Find B 3 and B 4. A 1,3 = {1, 3, 4}. A 2,3 = {2, 3, 5}. Therefore, B 3 = {1, 3, 4} {2, 3, 5} = {1, 2, 3, 4, 5}. A 1,4 = {1, 4, 5}. A 2,4 = {2, 4, 6}. Therefore, B 4 = {1, 4, 5} {2, 4, 6} = {1, 2, 4, 5, 6}. (b) Find j J B j. (Note that, replacing B j with its definition, we could say that j J B j = j J ( i I A i,j ).) By (a), j J B j = {1, 2, 4, 5}. (c) Find i I ( j J A i,j ). (Hint: You may want to do this in two steps, corresponding to parts (a) and (b).) Are j J ( i I A i,j ) and i I ( j J A i,j ) equal? 9

10 A 1,3 = {1, 3, 4}. A 2,3 = {2, 3, 5}. Therefore, j J A i,3 = {3}. A 1,4 = {1, 4, 5}. A 2,4 = {2, 4, 6}. Therefore, j J A i,4 = {4}. Thus, i I ( j J A i,j ) = {3, 4}. Therefore, j J ( i I A i,j ) and i I ( j J A i,j ) are NOT equal. (d) Analyze the logical forms of the statements x j J ( i I A i,j ) and x i I ( j J A i,j ). Are they equivalent? Let x j J ( i I A i,j ). j J(x i I A i,j ). By the definition of union, this is equivalent to j J i I(x A i,j ). Now, let x i I ( j J A i,j ). By the definition of union, this is equivalent to i I(x j J A i,j ). i I j J(x A i,j ). Since the order of the quantifiers are different, these two expressions are not equivalent. 10

11 10. (a) Show that if F =, then the statement x F will be false no matter what x is. It follows that =. Proof. Suppose F =. Suppose x F. By the definition of x F, this is equivalent to A(A F x A). Since F =, it follows that A(A x A). But then A is false no matter what A is. Therefore, the whole statement will be always false no matter what x is. Then it follows that x F which is, in this case, x, and thus =. (b) Show that if F =, then the statement x F will be true no matter what x is. In a context in which it is clear what the universe of discourse U is, we might therefore want to say that = U. However, this has the unfortunate consequence that the notation will mean different things in different contexts. Furthermore, when working with sets whose elements are sets, mathematicians often do not use a universe of discourse at all. (For more on this, see the next exercise.) For these reasons, some mathematicians consider the notation to be meaningless. We will avoid this problem in this book by using the notation F only in contexts in which we can be sure that F. Proof. Suppose F =. Suppose x F. By the definition of x F, this is equivalent to A(A F x A). By the conditional law, this is equivalent to A(A / F x A). Since F =, it follows that A(A / x A). But then A / is true no matter what A is no matter what x is. Therefore, the entire statement will always be true. 11

12 11. In Section 2.3 we saw that a set can have other sets as elements. When discussing sets whose elements are sets, it might seem most natural to consider the universe of discourse to be the collection of all sets. However, as we will see in this problem, assuming that there is suc a universe leads to contradictions. Suppose U were the collection of all sets. Note that in particular U is a set, so we would have U U. This is not yet a contradiction; although most sets are not elements of themselves, perhaps some sets are elements of themselves. But it suggests that the sets in the universe U could be split into two categories: the unusual sets that, like U itself, are elements of themselves, and the more typical sets that are not. Let R be the set of sets in the second category. In other words, R = {A U A A}. This means that for any set A in the universe U, A will be an elements of R iff A / A. In other words, we have A U(A R A / A). (a) Show that applying this last fact to the set R itself (in other words, plugging in R for A) leads to a contradiction. This contradiction was discovered by Bertrand Russell in 1901, and is known as Russell s Paradox. Proof. Suppose A U(A R A / A). Applying this to the set R, we get R U(R R R / R). ( ) Suppose R U(R R R / R). This means that if R R, R / R, which is clearly a contradiction. ( ) Suppose R U(R R R / R). This means that if R / R, R R, which, again, is a contradiction. (b) Think some more about the paradox in part (a). What do you think it tells us about sets? 12

13 The statement the sets in the universe U could be split into two categories: the unusual sets that, like U itself, are elements of themselves, and the more typical sets that are not is not true. 13

Chapter 1. Logic and Proof

Chapter 1. Logic and Proof Chapter 1. Logic and Proof 1.1 Remark: A little over 100 years ago, it was found that some mathematical proofs contained paradoxes, and these paradoxes could be used to prove statements that were known

More information

Equivalence of Propositions

Equivalence of Propositions Equivalence of Propositions 1. Truth tables: two same columns 2. Sequence of logical equivalences: from one to the other using equivalence laws 1 Equivalence laws Table 6 & 7 in 1.2, some often used: Associative:

More information

CM10196 Topic 2: Sets, Predicates, Boolean algebras

CM10196 Topic 2: Sets, Predicates, Boolean algebras CM10196 Topic 2: Sets, Predicates, oolean algebras Guy McCusker 1W2.1 Sets Most of the things mathematicians talk about are built out of sets. The idea of a set is a simple one: a set is just a collection

More information

This section will take the very naive point of view that a set is a collection of objects, the collection being regarded as a single object.

This section will take the very naive point of view that a set is a collection of objects, the collection being regarded as a single object. 1.10. BASICS CONCEPTS OF SET THEORY 193 1.10 Basics Concepts of Set Theory Having learned some fundamental notions of logic, it is now a good place before proceeding to more interesting things, such as

More information

Logic, Sets, and Proofs

Logic, Sets, and Proofs Logic, Sets, and Proofs David A. Cox and Catherine C. McGeoch Amherst College 1 Logic Logical Operators. A logical statement is a mathematical statement that can be assigned a value either true or false.

More information

1 Predicates and Quantifiers

1 Predicates and Quantifiers 1 Predicates and Quantifiers We have seen how to represent properties of objects. For example, B(x) may represent that x is a student at Bryn Mawr College. Here B stands for is a student at Bryn Mawr College

More information

Math 144 Summer 2012 (UCR) Pro-Notes June 24, / 15

Math 144 Summer 2012 (UCR) Pro-Notes June 24, / 15 Before we start, I want to point out that these notes are not checked for typos. There are prbally many typeos in them and if you find any, please let me know as it s extremely difficult to find them all

More information

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets

Today s topics. Introduction to Set Theory ( 1.6) Naïve set theory. Basic notations for sets Today s topics Introduction to Set Theory ( 1.6) Sets Definitions Operations Proving Set Identities Reading: Sections 1.6-1.7 Upcoming Functions A set is a new type of structure, representing an unordered

More information

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page. Formal Methods Name: Key Midterm 2, Spring, 2007 Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.. Determine whether each of

More information

Axiomatic set theory. Chapter Why axiomatic set theory?

Axiomatic set theory. Chapter Why axiomatic set theory? Chapter 1 Axiomatic set theory 1.1 Why axiomatic set theory? Essentially all mathematical theories deal with sets in one way or another. In most cases, however, the use of set theory is limited to its

More information

Lecture : Set Theory and Logic

Lecture : Set Theory and Logic Lecture : Dr. Department of Mathematics Lovely Professional University Punjab, India October 18, 2014 Outline Contrapositive and Converse 1 Contrapositive and Converse 2 3 4 5 Contrapositive and Converse

More information

Tutorial on Axiomatic Set Theory. Javier R. Movellan

Tutorial on Axiomatic Set Theory. Javier R. Movellan Tutorial on Axiomatic Set Theory Javier R. Movellan Intuitively we think of sets as collections of elements. The crucial part of this intuitive concept is that we are willing to treat sets as entities

More information

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015)

18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015) 18.S097 Introduction to Proofs IAP 2015 Lecture Notes 1 (1/5/2015) 1. Introduction The goal for this course is to provide a quick, and hopefully somewhat gentle, introduction to the task of formulating

More information

Chapter 4. Basic Set Theory. 4.1 The Language of Set Theory

Chapter 4. Basic Set Theory. 4.1 The Language of Set Theory Chapter 4 Basic Set Theory There are two good reasons for studying set theory. First, it s a indispensable tool for both logic and mathematics, and even for other fields including computer science, linguistics,

More information

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational.

Quantifiers Here is a (true) statement about real numbers: Every real number is either rational or irrational. Quantifiers 1-17-2008 Here is a (true) statement about real numbers: Every real number is either rational or irrational. I could try to translate the statement as follows: Let P = x is a real number Q

More information

Logic and Mathematics:

Logic and Mathematics: Logic and Mathematics: Mathematicians in Schools Program Lashi Bandara Mathematical Sciences Institute, Australian National University April 21, 2011 Contents 1 Russell s Paradox 1 2 Propositional Logic

More information

Mathmatics 239 solutions to Homework for Chapter 2

Mathmatics 239 solutions to Homework for Chapter 2 Mathmatics 239 solutions to Homework for Chapter 2 Old version of 8.5 My compact disc player has space for 5 CDs; there are five trays numbered 1 through 5 into which I load the CDs. I own 100 CDs. a)

More information

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams

Discrete Mathematics. (c) Marcin Sydow. Sets. Set operations. Sets. Set identities Number sets. Pair. Power Set. Venn diagrams Contents : basic definitions and notation A set is an unordered collection of its elements (or members). The set is fully specified by its elements. Usually capital letters are used to name sets and lowercase

More information

{x : P (x)} P (x) = x is a cat

{x : P (x)} P (x) = x is a cat 1. Sets, relations and functions. 1.1. Set theory. We assume the reader is familiar with elementary set theory as it is used in mathematics today. Nonetheless, we shall now give a careful treatment of

More information

Notes from How to Prove it: A Structured Approach by Daniel J. Velleman

Notes from How to Prove it: A Structured Approach by Daniel J. Velleman Notes from How to Prove it: A Structured Approach by Daniel J. Velleman DeMorgan s laws: (P Q) is equivalent to P Q) (P Q) is equivalent to P Q) Commutative laws: (P Q) is equivalent to (Q P ) (P Q) is

More information

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics

Packet #2: Set Theory & Predicate Calculus. Applied Discrete Mathematics CSC 224/226 Notes Packet #2: Set Theory & Predicate Calculus Barnes Packet #2: Set Theory & Predicate Calculus Applied Discrete Mathematics Table of Contents Full Adder Information Page 1 Predicate Calculus

More information

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here.

Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here. Chapter 2 Mathematics and Logic Before you get started, make sure you ve read Chapter 1, which sets the tone for the work we will begin doing here. 2.1 A Taste of Number Theory In this section, we will

More information

Introduction to Logic and Axiomatic Set Theory

Introduction to Logic and Axiomatic Set Theory Introduction to Logic and Axiomatic Set Theory 1 Introduction In mathematics, we seek absolute rigor in our arguments, and a solid foundation for all of the structures we consider. Here, we will see some

More information

Mathematical Preliminaries. Sipser pages 1-28

Mathematical Preliminaries. Sipser pages 1-28 Mathematical Preliminaries Sipser pages 1-28 Mathematical Preliminaries This course is about the fundamental capabilities and limitations of computers. It has 3 parts 1. Automata Models of computation

More information

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases

Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases Writing proofs for MATH 51H Section 2: Set theory, proofs of existential statements, proofs of uniqueness statements, proof by cases September 22, 2018 Recall from last week that the purpose of a proof

More information

Solutions to Problem Set 1

Solutions to Problem Set 1 Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics for Computer Science September 21 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised September 21, 2005, 1076 minutes Problem

More information

Solutions to Sample Problems for Midterm

Solutions to Sample Problems for Midterm Solutions to Sample Problems for Midterm Problem 1. The dual of a proposition is defined for which contains only,,. It is For a compound proposition that only uses,, as operators, we obtained the dual

More information

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Section 2.1 Introduction Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Important for counting. Programming languages have set operations. Set theory

More information

Predicate Logic. Predicates. Math 173 February 9, 2010

Predicate Logic. Predicates. Math 173 February 9, 2010 Math 173 February 9, 2010 Predicate Logic We have now seen two ways to translate English sentences into mathematical symbols. We can capture the logical form of a sentence using propositional logic: variables

More information

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements

More information

Automata Theory and Formal Grammars: Lecture 1

Automata Theory and Formal Grammars: Lecture 1 Automata Theory and Formal Grammars: Lecture 1 Sets, Languages, Logic Automata Theory and Formal Grammars: Lecture 1 p.1/72 Sets, Languages, Logic Today Course Overview Administrivia Sets Theory (Review?)

More information

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo

Discrete Mathematics. Instructor: Sourav Chakraborty. Lecture 4: Propositional Logic and Predicate Lo gic Instructor: Sourav Chakraborty Propositional logic and Predicate Logic Propositional logic and Predicate Logic Every statement (or proposition) is either TRUE or FALSE. Propositional logic and Predicate

More information

Chapter 0. Introduction: Prerequisites and Preliminaries

Chapter 0. Introduction: Prerequisites and Preliminaries Chapter 0. Sections 0.1 to 0.5 1 Chapter 0. Introduction: Prerequisites and Preliminaries Note. The content of Sections 0.1 through 0.6 should be very familiar to you. However, in order to keep these notes

More information

With Question/Answer Animations. Chapter 2

With Question/Answer Animations. Chapter 2 With Question/Answer Animations Chapter 2 Chapter Summary Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Sequences and Summations Types of

More information

Supplementary Material for MTH 299 Online Edition

Supplementary Material for MTH 299 Online Edition Supplementary Material for MTH 299 Online Edition Abstract This document contains supplementary material, such as definitions, explanations, examples, etc., to complement that of the text, How to Think

More information

MATH 145 LECTURE NOTES. Zhongwei Zhao. My Lecture Notes for MATH Fall

MATH 145 LECTURE NOTES. Zhongwei Zhao. My Lecture Notes for MATH Fall MATH 145 LECTURE NOTES Zhongwei Zhao My Lecture Notes for MATH 145 2016 Fall December 2016 Lecture 1, Sept. 9 Course Orientation and Organization About the Professor Stephen New MC 5419 Ext 35554 Email:

More information

3 The language of proof

3 The language of proof 3 The language of proof After working through this section, you should be able to: (a) understand what is asserted by various types of mathematical statements, in particular implications and equivalences;

More information

Lecture 1. Econ 2001: Introduction to Mathematical Methods (a.k.a. Math Camp) 2015 August 10

Lecture 1. Econ 2001: Introduction to Mathematical Methods (a.k.a. Math Camp) 2015 August 10 Lecture 1 Econ 2001: Introduction to Mathematical Methods (a.k.a. Math Camp) 2015 August 10 Lecture 1 Outline 1 Logistics: Who, Where, When, What, How, Why, Stuff 2 Methods of Proof 3 Sets 4 Binary Relations

More information

Compound Propositions

Compound Propositions Discrete Structures Compound Propositions Producing new propositions from existing propositions. Logical Operators or Connectives 1. Not 2. And 3. Or 4. Exclusive or 5. Implication 6. Biconditional Truth

More information

Lesson 13: More Factoring Strategies for Quadratic Equations & Expressions

Lesson 13: More Factoring Strategies for Quadratic Equations & Expressions : More Factoring Strategies for Quadratic Equations & Expressions Opening Exploration Looking for Signs In the last lesson, we focused on quadratic equations where all the terms were positive. Juan s examples

More information

MAT 417, Fall 2017, CRN: 1766 Real Analysis: A First Course

MAT 417, Fall 2017, CRN: 1766 Real Analysis: A First Course MAT 47, Fall 207, CRN: 766 Real Analysis: A First Course Prerequisites: MAT 263 & MAT 300 Instructor: Daniel Cunningham What is Real Analysis? Real Analysis is the important branch of mathematics that

More information

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010)

Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics Lecture notes in progress (27 March 2010) http://math.sun.ac.za/amsc/sam Seminaar Abstrakte Wiskunde Seminar in Abstract Mathematics 2009-2010 Lecture notes in progress (27 March 2010) Contents 2009 Semester I: Elements 5 1. Cartesian product

More information

CHAPTER 1. Preliminaries. 1 Set Theory

CHAPTER 1. Preliminaries. 1 Set Theory CHAPTER 1 Preliminaries 1 et Theory We assume that the reader is familiar with basic set theory. In this paragraph, we want to recall the relevant definitions and fix the notation. Our approach to set

More information

Logic of Sentences (Propositional Logic) is interested only in true or false statements; does not go inside.

Logic of Sentences (Propositional Logic) is interested only in true or false statements; does not go inside. You are a mathematician if 1.1 Overview you say to a car dealer, I ll take the red car or the blue one, but then you feel the need to add, but not both. --- 1. Logic and Mathematical Notation (not in the

More information

Set Theory. CSE 215, Foundations of Computer Science Stony Brook University

Set Theory. CSE 215, Foundations of Computer Science Stony Brook University Set Theory CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 Set theory Abstract set theory is one of the foundations of mathematical thought Most mathematical

More information

Computer Science Foundation Exam

Computer Science Foundation Exam Computer Science Foundation Exam August 2, 2002 Section II A DISCRETE STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. Name: SSN: In this section of the exam,

More information

Introduction to Proofs

Introduction to Proofs Introduction to Proofs Notes by Dr. Lynne H. Walling and Dr. Steffi Zegowitz September 018 The Introduction to Proofs course is organised into the following nine sections. 1. Introduction: sets and functions

More information

Logic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes!

Logic and Proof. On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! Logic and Proof On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA 341 001 2 Requirements for Proof 1. Mutual understanding

More information

Math 10850, fall 2017, University of Notre Dame

Math 10850, fall 2017, University of Notre Dame Math 10850, fall 2017, University of Notre Dame Notes on first exam September 22, 2017 The key facts The first midterm will be on Thursday, September 28, 6.15pm-7.45pm in Hayes-Healy 127. What you need

More information

Carmen s Core Concepts (Math 135)

Carmen s Core Concepts (Math 135) Carmen s Core Concepts (Math 135) Carmen Bruni University of Waterloo Week 2 1 Divisibility Theorems 2 DIC Example 3 Converses 4 If and only if 5 Sets 6 Other Set Examples 7 Set Operations 8 More Set Terminology

More information

Mathematical Reasoning & Proofs

Mathematical Reasoning & Proofs Mathematical Reasoning & Proofs MAT 1362 Fall 2018 Alistair Savage Department of Mathematics and Statistics University of Ottawa This work is licensed under a Creative Commons Attribution-ShareAlike 4.0

More information

On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA

On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA Logic and Proof On my first day of school my parents dropped me off at the wrong nursery. There I was...surrounded by trees and bushes! 26-Aug-2011 MA 341 001 2 Requirements for Proof 1. Mutual understanding

More information

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic A FIRST COURSE IN LINEAR ALGEBRA An Open Text by Ken Kuttler Matrix Arithmetic Lecture Notes by Karen Seyffarth Adapted by LYRYX SERVICE COURSE SOLUTION Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)

More information

2.2: Logical Equivalence: The Laws of Logic

2.2: Logical Equivalence: The Laws of Logic Example (2.7) For primitive statement p and q, construct a truth table for each of the following compound statements. a) p q b) p q Here we see that the corresponding truth tables for two statement p q

More information

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Chapter : Logic Topics:. Statements, Negation, and Compound Statements.2 Truth Tables and Logical Equivalences.3

More information

Lecture 2: Axiomatic semantics

Lecture 2: Axiomatic semantics Chair of Software Engineering Trusted Components Prof. Dr. Bertrand Meyer Lecture 2: Axiomatic semantics Reading assignment for next week Ariane paper and response (see course page) Axiomatic semantics

More information

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel

Lecture Notes on DISCRETE MATHEMATICS. Eusebius Doedel Lecture Notes on DISCRETE MATHEMATICS Eusebius Doedel c Eusebius J. Doedel, 009 Contents Logic. Introduction............................................................................... Basic logical

More information

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning.

CS1021. Why logic? Logic about inference or argument. Start from assumptions or axioms. Make deductions according to rules of reasoning. 3: Logic Why logic? Logic about inference or argument Start from assumptions or axioms Make deductions according to rules of reasoning Logic 3-1 Why logic? (continued) If I don t buy a lottery ticket on

More information

Topic 1: Propositional logic

Topic 1: Propositional logic Topic 1: Propositional logic Guy McCusker 1 1 University of Bath Logic! This lecture is about the simplest kind of mathematical logic: propositional calculus. We discuss propositions, which are statements

More information

Sets, Logic, Relations, and Functions

Sets, Logic, Relations, and Functions Sets, Logic, Relations, and Functions Andrew Kay September 28, 2014 Abstract This is an introductory text, not a comprehensive study; these notes contain mainly definitions, basic results, and examples.

More information

CISC-102 Fall 2018 Week 11

CISC-102 Fall 2018 Week 11 page! 1 of! 26 CISC-102 Fall 2018 Pascal s Triangle ( ) ( ) An easy ( ) ( way ) to calculate ( ) a table of binomial coefficients was recognized centuries ago by mathematicians in India, ) ( ) China, Iran

More information

We have seen that the symbols,,, and can guide the logical

We have seen that the symbols,,, and can guide the logical CHAPTER 7 Quantified Statements We have seen that the symbols,,, and can guide the logical flow of algorithms. We have learned how to use them to deconstruct many English sentences into a symbolic form.

More information

0 Logical Background. 0.1 Sets

0 Logical Background. 0.1 Sets 0 Logical Background 0.1 Sets In this course we will use the term set to simply mean a collection of things which have a common property such as the totality of positive integers or the collection of points

More information

HOW TO CREATE A PROOF. Writing proofs is typically not a straightforward, algorithmic process such as calculating

HOW TO CREATE A PROOF. Writing proofs is typically not a straightforward, algorithmic process such as calculating HOW TO CREATE A PROOF ALLAN YASHINSKI Abstract We discuss how to structure a proof based on the statement being proved Writing proofs is typically not a straightforward, algorithmic process such as calculating

More information

(1.3.1) and in English one says a is an element of M. The statement that a is not an element of M is written as a M

(1.3.1) and in English one says a is an element of M. The statement that a is not an element of M is written as a M 1.3 Set Theory I As long as the terms of a mathematical theory are names of concrete objects as concrete as mothers breast, the very first object that received a name in human languages - there is not

More information

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is 1. Describe the elements of the set (Z Q) R N. Is this set countable or uncountable? Solution: The set is equal to {(x, y) x Z, y N} = Z N. Since the Cartesian product of two denumerable sets is denumerable,

More information

1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form

1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form Math 378 Exam 1 Spring 2009 Show all Work Name 1) Let h = John is healthy, w = John is wealthy and s = John is wise Write the following statement is symbolic form a) In order for John to be wealthy it

More information

INTRODUCTION TO LOGIC

INTRODUCTION TO LOGIC INTRODUCTION TO LOGIC L. MARIZZA A. BAILEY 1. The beginning of Modern Mathematics Before Euclid, there were many mathematicians that made great progress in the knowledge of numbers, algebra and geometry.

More information

CSI30. Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums. 2.1 Sets and subsets 2.2 Sets of sets

CSI30. Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums. 2.1 Sets and subsets 2.2 Sets of sets Chapter 2. Basic Structures: Sets, Functions, Sequences, Sums 2.1 Sets and subsets 2.2 Sets of sets 1 Set is an unordered collection of objects. - used to group objects together, - often the objects with

More information

1.3 Propositional Equivalences

1.3 Propositional Equivalences 1 1.3 Propositional Equivalences The replacement of a statement with another statement with the same truth is an important step often used in Mathematical arguments. Due to this methods that produce propositions

More information

Set Operations. Combining sets into new sets

Set Operations. Combining sets into new sets Set Operations Combining sets into new sets Union of Sets The union of two sets is the set of all elements that are in one or the other set: A B = {x x A x B} The union is the set theoretic equivalent

More information

Proofs. Chapter 2 P P Q Q

Proofs. Chapter 2 P P Q Q Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

More information

HW 4 SOLUTIONS. , x + x x 1 ) 2

HW 4 SOLUTIONS. , x + x x 1 ) 2 HW 4 SOLUTIONS The Way of Analysis p. 98: 1.) Suppose that A is open. Show that A minus a finite set is still open. This follows by induction as long as A minus one point x is still open. To see that A

More information

Propositional and Predicate Logic

Propositional and Predicate Logic Propositional and Predicate Logic CS 536-05: Science of Programming This is for Section 5 Only: See Prof. Ren for Sections 1 4 A. Why Reviewing/overviewing logic is necessary because we ll be using it

More information

Homework 2. P(A 1 A 2 B) = P((A 1 A 2 ) B) P(B) From the distributive property of unions and intersections we have

Homework 2. P(A 1 A 2 B) = P((A 1 A 2 ) B) P(B) From the distributive property of unions and intersections we have Homework 2 Readings: Sections 2.1, 2.2, 2.4, 2.5 A note: in Section 2.2, we have not talked yet about arbitrary sample spaces and the axioms of probability, instead we have focused on the case of a finite

More information

Selected problems from past exams

Selected problems from past exams Discrete Structures CS2800 Prelim 1 s Selected problems from past exams 1. True/false. For each of the following statements, indicate whether the statement is true or false. Give a one or two sentence

More information

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC

CS 173: Discrete Structures. Eric Shaffer Office Hour: Wed. 1-2, 2215 SC CS 173: Discrete Structures Eric Shaffer Office Hour: Wed. 1-2, 2215 SC shaffer1@illinois.edu Agenda Sets (sections 2.1, 2.2) 2 Set Theory Sets you should know: Notation you should know: 3 Set Theory -

More information

Section 2.2 Set Operations. Propositional calculus and set theory are both instances of an algebraic system called a. Boolean Algebra.

Section 2.2 Set Operations. Propositional calculus and set theory are both instances of an algebraic system called a. Boolean Algebra. Section 2.2 Set Operations Propositional calculus and set theory are both instances of an algebraic system called a Boolean Algebra. The operators in set theory are defined in terms of the corresponding

More information

Introduction to Logic

Introduction to Logic Introduction to Logic L. Marizza A. Bailey June 21, 2014 The beginning of Modern Mathematics Before Euclid, there were many mathematicians that made great progress in the knowledge of numbers, algebra

More information

Sec$on Summary. Definition of sets Describing Sets

Sec$on Summary. Definition of sets Describing Sets Section 2.1 Sec$on Summary Definition of sets Describing Sets Roster Method Set-Builder Notation Some Important Sets in Mathematics Empty Set and Universal Set Subsets and Set Equality Cardinality of Sets

More information

CS 2800: Logic and Computation Fall 2010 (Lecture 13)

CS 2800: Logic and Computation Fall 2010 (Lecture 13) CS 2800: Logic and Computation Fall 2010 (Lecture 13) 13 October 2010 1 An Introduction to First-order Logic In Propositional(Boolean) Logic, we used large portions of mathematical language, namely those

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

CHAPTER 6. Copyright Cengage Learning. All rights reserved.

CHAPTER 6. Copyright Cengage Learning. All rights reserved. CHAPTER 6 SET THEORY Copyright Cengage Learning. All rights reserved. SECTION 6.4 Boolean Algebras, Russell s Paradox, and the Halting Problem Copyright Cengage Learning. All rights reserved. Boolean Algebras,

More information

The Simplex Algorithm

The Simplex Algorithm 8.433 Combinatorial Optimization The Simplex Algorithm October 6, 8 Lecturer: Santosh Vempala We proved the following: Lemma (Farkas). Let A R m n, b R m. Exactly one of the following conditions is true:.

More information

We introduce one more operation on sets, perhaps the most important

We introduce one more operation on sets, perhaps the most important 11. The power set Please accept my resignation. I don t want to belong to any club that will accept me as a member. Groucho Marx We introduce one more operation on sets, perhaps the most important one:

More information

Propositional and Predicate Logic

Propositional and Predicate Logic 8/24: pp. 2, 3, 5, solved Propositional and Predicate Logic CS 536: Science of Programming, Spring 2018 A. Why Reviewing/overviewing logic is necessary because we ll be using it in the course. We ll be

More information

Question 1 (a). Explain different logical connectives with the help of examples. Ans: Logical Connectivity:-

Question 1 (a). Explain different logical connectives with the help of examples. Ans: Logical Connectivity:- Course Code : MCS-013 Course Title : Discrete Mathematics Assignment Number : MCA(1)/013/Assignment/17-18 Maximum Marks : 100 Weightage : 25% Last Dates for Submission : 15th October, 2017 (For July 2017

More information

Homework 4 Solutions

Homework 4 Solutions Homework 4 Solutions ECS 20 (Fall 14) Patrice Koehl koehl@cs.ucdavis.edu November 1, 2017 Exercise 1 Let n be an integer. Give a direct proof, an indirect proof, and a proof by contradiction of the statement

More information

Proofs. Chapter 2 P P Q Q

Proofs. Chapter 2 P P Q Q Chapter Proofs In this chapter we develop three methods for proving a statement. To start let s suppose the statement is of the form P Q or if P, then Q. Direct: This method typically starts with P. Then,

More information

CISC 1100: Structures of Computer Science

CISC 1100: Structures of Computer Science CISC 1100: Structures of Computer Science Chapter 2 Sets and Sequences Fordham University Department of Computer and Information Sciences Fall, 2010 CISC 1100/Fall, 2010/Chapter 2 1 / 49 Outline Sets Basic

More information

Propositional Logic, Predicates, and Equivalence

Propositional Logic, Predicates, and Equivalence Chapter 1 Propositional Logic, Predicates, and Equivalence A statement or a proposition is a sentence that is true (T) or false (F) but not both. The symbol denotes not, denotes and, and denotes or. If

More information

Handout 1: Mathematical Background

Handout 1: Mathematical Background Handout 1: Mathematical Background Boaz Barak September 18, 2007 This is a brief review of some mathematical tools, especially probability theory that we will use. This material is mostly from discrete

More information

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2.

Review CHAPTER. 2.1 Definitions in Chapter Sample Exam Questions. 2.1 Set; Element; Member; Universal Set Partition. 2. CHAPTER 2 Review 2.1 Definitions in Chapter 2 2.1 Set; Element; Member; Universal Set 2.2 Subset 2.3 Proper Subset 2.4 The Empty Set, 2.5 Set Equality 2.6 Cardinality; Infinite Set 2.7 Complement 2.8 Intersection

More information

1.2 The Role of Variables

1.2 The Role of Variables 1.2 The Role of Variables variables sentences come in several flavors true false conditional In this section, a name is given to mathematical sentences that are sometimes true, sometimes false they are

More information

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives

Example. Logic. Logical Statements. Outline of logic topics. Logical Connectives. Logical Connectives Logic Logic is study of abstract reasoning, specifically, concerned with whether reasoning is correct. Logic focuses on relationship among statements as opposed to the content of any particular statement.

More information

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 9 Sets, Functions, and Relations: Part I 1 What is a Set? Set Operations Identities Cardinality of a Set Outline Finite and Infinite Sets Countable and Uncountable

More information

For all For every For each For any There exists at least one There exists There is Some

For all For every For each For any There exists at least one There exists There is Some Section 1.3 Predicates and Quantifiers Assume universe of discourse is all the people who are participating in this course. Also let us assume that we know each person in the course. Consider the following

More information

2 Truth Tables, Equivalences and the Contrapositive

2 Truth Tables, Equivalences and the Contrapositive 2 Truth Tables, Equivalences and the Contrapositive 12 2 Truth Tables, Equivalences and the Contrapositive 2.1 Truth Tables In a mathematical system, true and false statements are the statements of the

More information

Math 115A: Linear Algebra

Math 115A: Linear Algebra Math 115A: Linear Algebra Michael Andrews UCLA Mathematics Department February 9, 218 Contents 1 January 8: a little about sets 4 2 January 9 (discussion) 5 2.1 Some definitions: union, intersection, set

More information

Intermediate Logic Spring. Second-Order Logic

Intermediate Logic Spring. Second-Order Logic Intermediate Logic Spring Lecture Five Second-Order Logic Rob Trueman rob.trueman@york.ac.uk University of York 1 / 47 Introduction Second-Order Logic Introduction The Language of SOL Introduction and

More information