SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
1

True or False. Justify your answer.
1.1

A. The Contrapositive of A → B is ¬B → ¬A.

True.
A B
T T
T F
F T
F F

1.2

¬A
F
F
T
T

¬B
F
T
F
T

A→B
T
F
T
T

¬B → ¬A.
T
F
T
T

B. If you want to prove a statement is true, it is enough to find
867 examples where it is true.

False
The case may not be true for the 868th example.You must show it is true for all cases.
However, to disprove it, you only need to show one counter example.

1.3

C. If P ∧ Q is true, then P ∨ Q is true.

True
P ∧ Q is true means that P is true and Q is true. In order for P ∨ Q to be true, we
only need only one of P, Q to be true. Since we have both, then P ∨ Q is true.

1.4

D. P → Q and Q → P are logically equivalent.

False
P Q P → Q Q → P.
T T
T
T
T F
F
T
F T
T
F
F F
T
T
Consider the bolded cases that have different truth values.

1
1.5

E. If p → q is false, then the truth value of (¬p ∨ ¬q) → (p ↔ q) is
also false.

True.
Realize that the only case where p → q is false is when p is true and q is false. So ¬p
is false and ¬q is true. So (¬p ∨ ¬q) is true since ¬q is true.
Also, (p ↔ q) means (p → q) ∧ (q → p). However, since p → q is false, then (p ↔ q) is
false.
Therefore, since the first part of the implication(¬p∨¬q) is true and the second (p ↔ q)
is false, we have that (¬p ∨ ¬q) → (p ↔ q) is false when p → q is false.

2
2.1

Prove that if a and b are odd integers, then a ∗ b is an odd integer.

Proof. Assume that a, b are odd integers. Then a = 2k + 1 for some integer k. Also,
b = 2m + 1 for some integer m.
We have that
a ∗ b = (2k + 1)(2m + 1).
= 4km + 2k + 2m + 1.
= 2(2km + m + k) + 1
.
Since k, m are integers, so is 2km + k + m.
So a ∗ b is odd.

3
3.1

For any mathematical statement, say C, fn (C) denotes the mathematical statement: ¬¬ . . . ¬C, where there are n¬ symbols in front
of C.

Prove that if A is a True mathematical statement and B is a False mathematical
statement, then ¬(f3 (A) ∨ f2 (B)) is a True mathematical statement.

2
Proof. Assume that A is a True mathematical statement and B is a False mathematical
statement.
We have that f3 (A) = ¬¬¬A = ¬(¬¬)A = ¬A since every pair of ¬ symbols cancels
out by the Double Negative Law.
We also have f2 (B) = ¬¬B = (¬¬)B = B.
So we have ¬(¬A ∨ B), which is (¬¬A ∧ ¬B).
So we have A ∧ ¬B.
Since A is true and B is false (that is, ¬B is true), we have two true statements.
The joining of two true statements with ”and” is true, so ¬(f3 (A) ∨ f2 (B)) is a True
mathematical statement

4
4.1
4.1.1
p
T
T
T
T
F
F
F
F

Find the Disjunctive Normal Form of ((p → q) ∧ (q → r)) → (p → r)
Method: Truth Table

q
T
T
F
F
T
T
F
F

r
T
F
T
F
T
F
T
F

¬p
F
F
F
F
T
T
T
T

¬q
F
F
T
T
F
F
T
T

¬r
F
T
F
T
F
T
F
T

p→q
T
T
F
F
T
T
T
T

q→r
T
F
T
T
T
F
T
T

p→r
T
F
T
F
T
T
T
T

((p → q) ∧ (q → r))
T
F
F
F
T
F
T
T

((p → q) ∧ (q → r)) → (p → r)
T
T
T
T
T
T
T
T

So we have (p ∧ q ∧ r) ∨ (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ r) ∨ (p ∧ ¬q ∧ ¬r) ∨ (¬p ∧ q ∧ r) ∨ (¬p ∧
q¬r) ∨ (¬p ∧ ¬q ∧ r) ∨ (¬p ∧ ¬q ∧ ¬r).
Note that this the original statement is true no matter what the truth values of p, q, r.
So Disjunctive Normal Form addresses each of the possible cases represented in the truth
table.

3
5
5.1

Let a, b, c be real numbers. Prove that if a + b ≥ c, then a ≥
b ≥ c2.

c
2

or

Note: This can be proven directly but then you must address each of the following cases:
c
c
(i). a = 2 , b = 2 .
c
c
(ii) a = 2 , b > 2 .
c
c
(iii) a > 2 , b = 2 (similar to ii)
c
c
(iiii) a > 2 , b > 2 .
This is why contradiction proofs are easier to use in situations where you have OR
statements to deal with. In this situation, a contradiction gives us an AND statement,
which is a single case. When writing proofs it is often helpful to ask yourself ”When can
this be false?” Then show that that case cannot happen.
So,
c
c
Proof. Suppose for contradiction that a + b = c and a < 2 and b < 2 .
c
c
Then a + b < 2 + 2 .
So a + b < c, which contradicts our original assumption that a + b = c.

4

More Related Content

PDF
Systems of congruence
PPTX
Analysis of algorithms
PPTX
P, NP and NP-Complete, Theory of NP-Completeness V2
PDF
PDF
2.3 Nth Term
PDF
Boolean Programs and Quantified Propositional Proof System -
PPTX
Probability Theory 7
PPTX
Proofs by contraposition
Systems of congruence
Analysis of algorithms
P, NP and NP-Complete, Theory of NP-Completeness V2
2.3 Nth Term
Boolean Programs and Quantified Propositional Proof System -
Probability Theory 7
Proofs by contraposition

What's hot (18)

PPTX
Probability Theory 6
PDF
Asymmetric multipartite GHZ states and Bell inequalities
PDF
Thesis 6
PPT
A26-8 analyze poly graphs
PDF
Probabilistic diameter and its properties.
PDF
Polytopes inside polytopes
PDF
Congruence Lattices of A Finite Uniform Lattices
PPTX
Sim variation
PDF
22nd inmo 07
PDF
Quiz 1 solution
PDF
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
PDF
Methods of calculate roots of equations
PDF
Conference Poster: Discrete Symmetries of Symmetric Hypergraph States
PDF
Lect 18
PPT
7.7 Transforming Formulas
PDF
Non-informative reparametrisation for location-scale mixtures
Probability Theory 6
Asymmetric multipartite GHZ states and Bell inequalities
Thesis 6
A26-8 analyze poly graphs
Probabilistic diameter and its properties.
Polytopes inside polytopes
Congruence Lattices of A Finite Uniform Lattices
Sim variation
22nd inmo 07
Quiz 1 solution
Introduction to the Theory of Computation, Winter 2003 A. Hevia and J. Mao S...
Methods of calculate roots of equations
Conference Poster: Discrete Symmetries of Symmetric Hypergraph States
Lect 18
7.7 Transforming Formulas
Non-informative reparametrisation for location-scale mixtures
Ad

Similar to Math 189 Exam 1 Solutions (20)

PPTX
Proof Techniques in Theoretical computer Science
PDF
Discrete mathematic question answers
PDF
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
PDF
PDF
Chapter 1 Logic of Compound Statements
PPTX
CMSC 56 | Lecture 5: Proofs Methods and Strategy
PDF
Logic and proof
PPT
Methods_of_Proof In Discrete Mathematics
PPT
Methods_of_Proof In Discrete Mathematics
PPTX
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
PPTX
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
DOCX
Discrete Structures
PDF
slides slides slides slides discrete mat
PDF
Propositional Logic Discrete Mathematics
PDF
Induction.pdf
PDF
Aa - Module 1 Fundamentals_2.pdf
PPTX
12_Truth_Tables.pptx
PDF
CPSC 125 Ch 2 Sec 2
PPTX
Principle of mathematical induction
PDF
Course notes1
Proof Techniques in Theoretical computer Science
Discrete mathematic question answers
[gaNita] 2. Propositional Equivalences [math.fsu.edu].pdf
Chapter 1 Logic of Compound Statements
CMSC 56 | Lecture 5: Proofs Methods and Strategy
Logic and proof
Methods_of_Proof In Discrete Mathematics
Methods_of_Proof In Discrete Mathematics
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
LESSON 9 & 10 - LOGIC STATEMENTS, CONNCETIVES, QUANTIFIERS, AND TRUTH TABLE.....
Discrete Structures
slides slides slides slides discrete mat
Propositional Logic Discrete Mathematics
Induction.pdf
Aa - Module 1 Fundamentals_2.pdf
12_Truth_Tables.pptx
CPSC 125 Ch 2 Sec 2
Principle of mathematical induction
Course notes1
Ad

More from Tyler Murphy (20)

PDF
Job application 2020
PDF
The Table Method for Derivatives
PDF
Math 170 notation
PDF
intro to Implicit differentiation
PDF
Tower of hanoi problem
PDF
Intro to derivatives
PDF
One sided limits
PDF
Limits as x approaches infinity
PDF
Computing limits
PDF
Introduction to limits
PDF
Solving a trig equation
PDF
solving a trig problem and sketching a graph example problems
PDF
Finding a polyomial from data
PDF
functions review
PDF
Jason format preferences m170
PDF
Final exam review
PDF
Inclusion exclusion principle
PDF
Oral exam structure M189
DOCX
Class mods
DOCX
Drop trow game rules
Job application 2020
The Table Method for Derivatives
Math 170 notation
intro to Implicit differentiation
Tower of hanoi problem
Intro to derivatives
One sided limits
Limits as x approaches infinity
Computing limits
Introduction to limits
Solving a trig equation
solving a trig problem and sketching a graph example problems
Finding a polyomial from data
functions review
Jason format preferences m170
Final exam review
Inclusion exclusion principle
Oral exam structure M189
Class mods
Drop trow game rules

Recently uploaded (20)

PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
History, Philosophy and sociology of education (1).pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
RMMM.pdf make it easy to upload and study
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
Hazard Identification & Risk Assessment .pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
UNIT III MENTAL HEALTH NURSING ASSESSMENT
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
Cell Types and Its function , kingdom of life
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
LDMMIA Reiki Yoga Finals Review Spring Summer
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Classroom Observation Tools for Teachers
Orientation - ARALprogram of Deped to the Parents.pptx
History, Philosophy and sociology of education (1).pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Supply Chain Operations Speaking Notes -ICLT Program
RMMM.pdf make it easy to upload and study
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
Hazard Identification & Risk Assessment .pdf
Weekly quiz Compilation Jan -July 25.pdf
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
UNIT III MENTAL HEALTH NURSING ASSESSMENT
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Cell Types and Its function , kingdom of life
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS

Math 189 Exam 1 Solutions

  • 1. 1 True or False. Justify your answer. 1.1 A. The Contrapositive of A → B is ¬B → ¬A. True. A B T T T F F T F F 1.2 ¬A F F T T ¬B F T F T A→B T F T T ¬B → ¬A. T F T T B. If you want to prove a statement is true, it is enough to find 867 examples where it is true. False The case may not be true for the 868th example.You must show it is true for all cases. However, to disprove it, you only need to show one counter example. 1.3 C. If P ∧ Q is true, then P ∨ Q is true. True P ∧ Q is true means that P is true and Q is true. In order for P ∨ Q to be true, we only need only one of P, Q to be true. Since we have both, then P ∨ Q is true. 1.4 D. P → Q and Q → P are logically equivalent. False P Q P → Q Q → P. T T T T T F F T F T T F F F T T Consider the bolded cases that have different truth values. 1
  • 2. 1.5 E. If p → q is false, then the truth value of (¬p ∨ ¬q) → (p ↔ q) is also false. True. Realize that the only case where p → q is false is when p is true and q is false. So ¬p is false and ¬q is true. So (¬p ∨ ¬q) is true since ¬q is true. Also, (p ↔ q) means (p → q) ∧ (q → p). However, since p → q is false, then (p ↔ q) is false. Therefore, since the first part of the implication(¬p∨¬q) is true and the second (p ↔ q) is false, we have that (¬p ∨ ¬q) → (p ↔ q) is false when p → q is false. 2 2.1 Prove that if a and b are odd integers, then a ∗ b is an odd integer. Proof. Assume that a, b are odd integers. Then a = 2k + 1 for some integer k. Also, b = 2m + 1 for some integer m. We have that a ∗ b = (2k + 1)(2m + 1). = 4km + 2k + 2m + 1. = 2(2km + m + k) + 1 . Since k, m are integers, so is 2km + k + m. So a ∗ b is odd. 3 3.1 For any mathematical statement, say C, fn (C) denotes the mathematical statement: ¬¬ . . . ¬C, where there are n¬ symbols in front of C. Prove that if A is a True mathematical statement and B is a False mathematical statement, then ¬(f3 (A) ∨ f2 (B)) is a True mathematical statement. 2
  • 3. Proof. Assume that A is a True mathematical statement and B is a False mathematical statement. We have that f3 (A) = ¬¬¬A = ¬(¬¬)A = ¬A since every pair of ¬ symbols cancels out by the Double Negative Law. We also have f2 (B) = ¬¬B = (¬¬)B = B. So we have ¬(¬A ∨ B), which is (¬¬A ∧ ¬B). So we have A ∧ ¬B. Since A is true and B is false (that is, ¬B is true), we have two true statements. The joining of two true statements with ”and” is true, so ¬(f3 (A) ∨ f2 (B)) is a True mathematical statement 4 4.1 4.1.1 p T T T T F F F F Find the Disjunctive Normal Form of ((p → q) ∧ (q → r)) → (p → r) Method: Truth Table q T T F F T T F F r T F T F T F T F ¬p F F F F T T T T ¬q F F T T F F T T ¬r F T F T F T F T p→q T T F F T T T T q→r T F T T T F T T p→r T F T F T T T T ((p → q) ∧ (q → r)) T F F F T F T T ((p → q) ∧ (q → r)) → (p → r) T T T T T T T T So we have (p ∧ q ∧ r) ∨ (p ∧ q ∧ ¬r) ∨ (p ∧ ¬q ∧ r) ∨ (p ∧ ¬q ∧ ¬r) ∨ (¬p ∧ q ∧ r) ∨ (¬p ∧ q¬r) ∨ (¬p ∧ ¬q ∧ r) ∨ (¬p ∧ ¬q ∧ ¬r). Note that this the original statement is true no matter what the truth values of p, q, r. So Disjunctive Normal Form addresses each of the possible cases represented in the truth table. 3
  • 4. 5 5.1 Let a, b, c be real numbers. Prove that if a + b ≥ c, then a ≥ b ≥ c2. c 2 or Note: This can be proven directly but then you must address each of the following cases: c c (i). a = 2 , b = 2 . c c (ii) a = 2 , b > 2 . c c (iii) a > 2 , b = 2 (similar to ii) c c (iiii) a > 2 , b > 2 . This is why contradiction proofs are easier to use in situations where you have OR statements to deal with. In this situation, a contradiction gives us an AND statement, which is a single case. When writing proofs it is often helpful to ask yourself ”When can this be false?” Then show that that case cannot happen. So, c c Proof. Suppose for contradiction that a + b = c and a < 2 and b < 2 . c c Then a + b < 2 + 2 . So a + b < c, which contradicts our original assumption that a + b = c. 4