# Homework Assignment 2

Go to start of metadata
1. Which of the following sentences are propositions?  What are the truth values of those that are propositions?
1. Richmond is the capital of Virginia.
2. 2 + 3 = 7.
3. Open the door.
4. 5 + 7 < 10.
5. The moon is a sattelite of the earth.
6. x + 5 = 7.
7. x + 5 > 9 for every real number x.
2. What is the negation of each of the following propositions?
1. Norfolk is the capital of Virginia.
2. Food is not expensive in the United States.
3. 3 + 5 = 7.
4. The summer in Illinois is hot and sunny.
3. Let p and q be the propositions: p: Your car is out of gas. q: You can't drive your car. Write the following propositions using p and q and logical connectives.
1. Your car is not out of gas.
2. You can't drive your car if it is out of gas.
3. Your car is not out of gas if you can drive it.
4. If you can't drive your car then it is out of gas.
4. Determine whether each of the following implications is true or false.
1. If 0.5 is an integer, then 1 + 0.5 = 3.
2. If cars can fly, then 1 + 1 = 3.
3. If 5 > 2 then pigs can fly.
4. If 3*5 = 15 then 1 + 2 = 3.
5. State the converse and contrapositive of each of the following implications.
1. If it snows today, I will stay home.
2. We play the game if it is sunny.
3. If a positive integer is a prime then it has no divisors other than 1 and itself.
6. Construct a truth table for each of the following compound propositions.
1. p  p
2. (p  q) q
3. (p q) ( q p) 