Docsity

Constructing Proofs - Assignment 2 Solutions | CS 1050, Assignments of Computer Science

Toggle sidebar
bg1
Solutions
1.3
10.
p q r ~q p ۸~q p ۸~q→
r
p۷q q→p r
T T T F F T T T T
T T F F F T T T F
T F T T T T T T T
T F F T T F T T F
F T T F F T T F T
F T F F F T T F F
F F T T F T F T T
F F F T F T F T F
The three bolded rows are critical rows. And since the conclusion is false in the second
row, the argument form is not valid.
22. p = Oleg is a math major, q= Oleg is an economics major, r = Oleg is required to take
Math 362
p۷q
p→r
therefore, q ۷~r
P q R p ۷q p→r ~r q ۷~r
T T T T T F T
T T F T F T T
T F T T T F F
T F F T F T T
F T T T T F T
F T F T T T T
F F T F T F F
F F F F T T T
The four bolded rows are critical rows. Since the conclusion is false in the third row, the
argument form is not valid.
27. p= There are as many rational numbers as irrational numbers,
q = The set of all irrational numbers is infinite
p→q
q
therefore, p
Converse error
28. p= If at least one of these two numbers is divisible by six
q = The product of these numbers is divisible by six
p→q
~p
therefore, ~q
Inverse error
pf2

Partial preview of the text

Download Constructing Proofs - Assignment 2 Solutions | CS 1050 and more Assignments Computer Science in PDF only on Docsity!

Solutions

p q r ~q p ۸~q p ۸~q→ r p ۷ q q→p r T T T F F T T T T T T F F F T T T F T F T T T T T T T T F F T T F T T F F T T F F T T F T F T F F F T T F F F F T T F T F T T F F F T F T F T F The three bolded rows are critical rows. And since the conclusion is false in the second row, the argument form is not valid.

  1. p = Oleg is a math major, q= Oleg is an economics major, r = Oleg is required to take Math 362 p ۷ q p→r therefore, q ۷~r P q R p ۷ q p→r ~r q ۷~r T T T T T F T T T F T F T T T F T T T F F T F F T F T T F T T T T F T F T F T T T T F F T F T F F F F F F T T T The four bolded rows are critical rows. Since the conclusion is false in the third row, the argument form is not valid.
  2. p= There are as many rational numbers as irrational numbers, q = The set of all irrational numbers is infinite p→q q therefore, p Converse error
  3. p= If at least one of these two numbers is divisible by six q = The product of these numbers is divisible by six p→q ~p therefore, ~q Inverse error
  1. p = Sandra knows COBOL q = Sandra knows C p ۸ q therefore q Conjunctive simplification 37c. There is one knave. Suppose that native E is a knight What E says must be true by definition of a knight F is a knave that is what E said What F says is false by definition of a knave E is a knight that is the opposite of what F said
  2. (a) p ۷ q (b) q→r (c) p ۸ s→t (d) ~r (e) ~q→u ۸ s (f) t
    1. ~r by (d) q→r by (b) therefore ~q by modus tollens
    2. pVq by (a) ~q by conclusion to 1 therefore p by disjunctive syllogism
    3. ~q→u ۸ s by (e) ~q by conclusion to 1 therefore u ۸ s by modus ponens
    4. u ۸ s by conclusion to 3 therefore s by conjunctive simplification
    5. p by conclusion to 2 s by conclusion to 4 therefore p ۸ s by conjunctive addition
    6. p ۸ s→t by (c) p ۸ s by conclusion to 5 therefore t by modus ponens