Exam 2 Flashcards
Let p be “It is snowing.”
Let q be “I will study discrete math.”
“If it is snowing, then I will study discrete math.”
“It is snowing.”
Modus Ponens
Let p be “it is snowing.”
Let q be “I will study discrete math.”
“If it is snowing, then I will study discrete math.”
“I will not study discrete math.”
“Therefore , it is not snowing.”
Modus Tollens
Let p be “it snows.”
Let q be “I will study discrete math.”
Let r be “I will get an A.”
“If it snows, then I will study discrete math.”
“If I study discrete math, I will get an A.”
“Therefore , If it snows, I will get an A.”
Hypothetical Syllogism
Let p be “I will study discrete math.”
Let q be “I will study English literature.”
“I will study discrete math or I will study English
literature.”
“I will not study discrete math.”
“Therefore , I will study English literature.
Disjunctive Syllogism
Let p be “I will study discrete math.”
Let q be “I will visit Las Vegas.”
“I will study discrete math.”
“Therefore, I will study discrete math or I will visit Las Vegas.”
Addition
Let p be “I will study discrete math.” Let q be
“I will study English literature.” “I will study
discrete math and English
literature”
“Therefore, I will study discrete math.”
Simplification
Let p be “I will study discrete math.”
Let q be “I will study English literature.”
“I will study discrete math.”
“I will study English literature.”
“Therefore, I will study discrete math and I will
study English literature.”
Conjunction
Let p be “I will study discrete math.”
Let r be “I will study English literature.”
Let q be “I will study databases.”
“I will not study discrete math or I will study English literature.”
“I will study discrete math or I will study databases.”
“Therefore, I will study databases or I will study English literature.”
Resolution
Translate the statement
∀x(C(x) ∨ ∃y(C(y) ∧ F(x, y))) into English, where C(x) is “x has a computer,” F(x, y) is “x and y are friends,” and the domain for both x and y consists of all students in your school
The statement says that for every student x in your
school, x has a computer, or there is a student y such that y has a computer and x and y are friends. In other words, every student in your school has a computer or has a friend who has a computer.
Let Q(x, y, z) be the statement “x + y = z.” What are the
truth values of the statements
∀x∀y∃zQ(x, y, z) and ∃z∀x∀yQ(x, y, z), where the domain
of all variables consists of all real numbers?
“For every two integers, if these integers are both positive, then the sum of these integers is positive.”
“For all positive integers x and y, x + y is positive.”
Consequently, we can express this statement as
∀x∀y((x > 0) ∧ (y > 0) → (x +y > 0)),
Use a proof by contradiction to give a proof that √2 is irrational.