Download presentation
Presentation is loading. Please wait.
1
Sets and Logicβ¦. Chapter 3
An experimentβ¦.. Sets and Logicβ¦. Chapter 3
2
Logical Laws DeMorganβs Laws Commutative, Associative, and Idempotent
Β¬ πβ§π ππ πππ’ππ£πππππ‘ π‘π Β¬πβ¨Β¬π Β¬ πβ¨π ππ πππ’ππ£πππππ‘ π‘π Β¬πβ§Β¬π Commutative, Associative, and Idempotent Distributive πβ§ πβ¨π
ππ πππ’ππ£πππππ‘ π‘π (πβ§π)β¨(πβ§π
) πβ¨ Qβ§π
ππ πππ’ππ£πππππ‘ π‘π πβ¨π β§ πβ¨π
Absorption: πβ¨ πβ§π
ππ πππ’ππ£πππππ‘ π‘π π πβ§ πβ¨π
ππ πππ’ππ£πππππ‘ π‘π π
3
Equivalences πβπ is equivalent to Β¬πβ¨π πβπ is equivalent to Β¬(πβ§Β¬π)
4
The Converse and Contrapositive
Consider πβπ and πβπ πβπ is called the converse of πβπ Β¬πβΒ¬π is the contrapositive of πβπ The converse of πβπ is not equivalent The contrapositive isβ¦β¦.. πβπ ππ πππ’ππ£πππππ‘ π‘π Β¬πβΒ¬π
5
Chapter 2: Quantifiers Three ideas
For all or for every, we use the notation: β There is one, or there exists: β The universeβ¦β¦
6
Seven Operators Connectives Quantifiers
Β¬ β§ β¨ β β Quantifiers β πππ β This is really all we need to write any mathematical statement!
7
New Notation βπ₯ π₯>2β π₯ 2 >4 Is there and implied universe?
8
EquivaleNce Involving Quantifiers
Quantifier Negation Laws Β¬βπ₯π π₯ ππ πππ’ππ£πππππ‘ π‘πβπ₯Β¬π π₯ Β¬βπ₯π π₯ ππ πππ’ππ£πππππ‘ π‘π βπ₯Β¬π(π₯)
9
Chapter 3: Proofs We want to build a βcookbookβ of strategies for proving different relations The goal is to be systematic, and flexible Different strategies work with different situations
10
3.1 Proof Strategies Givens and Goals
Often times theorems state their givens, i.e. defining the universe, etc. and finish with simple statements stated as πβπ. Givens: Goal: Prove πβπ
11
3.1 Proof Strategies Move P to the givens Givens Goal -------------- π
π P
12
Example Suppose a and b are real numbers. If 0<π<π then π 2 < π 2 . Givens: Goal: a and b are real numbers πβπ a and b are real numbers π P or 0<π<π
13
Form of Basic Proof πβπ Givens Goal Final Form ------------- Q
Suppose P and other Givens Prove Q Thus πβπ
14
Alternate Strategy: Contrapositive
πβπ is equivalent to Β¬πβΒ¬π Givens Goal Q P Β¬π Β¬π
15
Contrapositive proof Assume givens and Β¬π Prove Β¬π Therefore πβπ
16
Example Suppose a, b, and c are real numbers and a>b. If ππβ€ππ then πβ€0. Givens Goal a,b,c, are real numbers (ππβ€ππ)β(πβ€0) a>b a,b,c, are real numbers ππ>ππ c>0
17
Proofs involving Negations and Conditionals
Proving something of the form Β¬π Try to reexpress Β¬π positively Example: Suppose π΄β©πΆβπ΅ and πβπΆ. Prove that πβπ΄\B
18
Additional Possibility
Givens Goal Β¬π Assume P and look for a contradiction Contradiction P
19
Example If π₯ 2 +π¦=13, and π¦β 4 then π₯β 3.
Prove it two ways⦠or set it up two ways
20
Plug and Chug⦠write the definitions out
Suppose A,B, and C are sets, π΄\BβπΆ, and x is anything at all. Prove that if π₯βπ΄\C, then π₯βπ΅. Try proceeding by contradiction
21
Silly Latin Modus ponens Modus tollens πβπ and π implies π
22
Example Suppose πβ πβπ
, then Β¬π
β(πβΒ¬π).
23
Example Suppose that π΄βπ΅, πβπ΄, and πβπ΅\C. Then πβπΆ.
24
Proofs involving quantifiers
βπ₯π π₯ Instead let x be arbitrary Suppose A, B, and C are sets, and π΄\BβπΆ. Prove that π΄\Cβπ΅
25
Example Suppose A and B are sets. Prove that if π΄β©π΅=π΄, then π΄βπ΅.
26
Existence Proofs βπ₯π π₯ You only have to find one x
Sometimes by example Often times done by contradiction
27
Existence Proof ( Simple )
Prove that for every real number x>0, there is a real number y such that π¦ π¦β1 =π₯.
28
Example from Analysis
29
Example Suppose that β± πππ β are families of sets and that β±β©ββ β
. Prove that β©β±ββͺβ. Make sure to write the definitions first.
30
Example Suppose B is a set and β± is a family of sets. Prove that if βͺβ±βπ΅ then β±ββ π΅ . Write out the definitions first
31
Example Theorem: For all integers a,b, and c, if a|b and b|c then a|c.
32
3.4: Proofs with β§,β¨, β¦ β To Prove a Goal of πβ§π To Use a Given of πβ§π
Prove them separately To Use a Given of πβ§π Treat them separately Example: Suppose π΄βπ΅, and A and C are disjoint. Prove that π΄βπ΅\C.
33
Biconditionals: β To prove a goal of πβπ
Prove πβπ and πβπ separately To use a given of the form πβπ Treat πβπ and πβπ separately Example: Suppose x is an integer. Prove that x is even if and only if π₯ 2 is an integer.
34
Example Suppose A, B, and C are sets. Prove that π΄β© π΅\C =(π΄β©π΅)\C
35
Example For every integer n, 6|n iff 2|n and 3|n.
36
Proof with disjunctions, β¨
To prove (πβ¨π)βπ
Prove πβπ
And Prove πβπ
37
Examples Suppose A,B, and C are sets. Prove that if π΄βπΆ πππ π΅βπΆ π‘βππ π΄βπ΅βπΆ. π΄\(π΅\C)β(π΄\B)βπΆ
38
Example For every integer x, the remainder when π₯ 2 is divided by 4 is either 0 or 1. For every real number x, if π₯ 2 β₯π₯ then either π₯β€0 ππ π₯>1.
39
Example Suppose m and n are integers. If mn is even then either m is even or n is even.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.