MAT102 Lecture 5
- This is the negation.
1
A
- Prove
- Let's setup a truth table to show that
| T | T | T | T | T | T | T |
| T | T | F | T | T | T | T |
| T | F | T | T | T | F | T |
| T | F | F | F | F | F | F |
| F | T | T | T | T | T | T |
| F | T | F | T | T | T | T |
| F | F | T | T | T | T | T |
| F | F | F | F | T | T | T |
- We can see that
with the truth table constructed above.
B
- By part A, we know that
is the same as . So this means that if is odd and is even, that must be odd. - Assume that
or m is even. - This must be odd per our statement. Since
is even, this must mean that is odd. Because if is even, the sum of two even numbers would be even.
- Suppose that
is odd, and is even. - Claim: If
is even then is even. - If
for , then is even. - Odd-even=odd
- Now we know
is odd. We want to show that is odd. - By the contrapositive of the first claim.
must be odd.