Homework 2

CS 280 - Spring 2002

Due: Friday, February 8

Part A

  1. For each of the following English sentences, write an English sentence that is equivalent to its logical negation. It is likely that converting the sentence into qualifiers and logical connectives will help, but you are not required to do this. Your final answer should consist of just an English sentence.
    1. Every dog has his day
    2. For every action there is an equal and opposite reaction
    3. Every golfer will eventually be defeated by a better golfer.
    4. For some x, if x>1 then x2>x.
       
  2. Problem 66, page 185 in the text. (which conclusions are valid?)

Part B

  1. Problem 18, page 35 in the text. (Express using quantifiers and determine truth value
     
  2. For each of the following Boolean expressions find a logically equivalent Boolean expression in which each variable appears at most once.  Use a truth table to demonstrate this logical equivalence.
    1. p ® [p Ù (q Ú ¬ p)]
    2. [(p Ù r) ® (p Ú q)] ® (r ® q)

Part C

  1. For each of the following, give an argument using the rules of inference (pages 169 and 174 in the text) to show that the conclusion follows from the hypotheses.
    1. Hypotheses: If there is gas in the car then I will go to KMart. If I go to KMart then I will buy some Martha Stewart designer shower curtains.  I do not buy shower curtains.  Conclusion: There is not gas in the car or the car is broken.
    2. Hypotheses: Everyone in the Discrete Structures class loves proofs.  Someone in the Discrete Structures class has never taken History.  Conclusion: Someone who loves proofs has never taken History.
       
  2. Define a1 = 3 and a2 = 5.  We recursively define an+1 = 3an-2an-1.  Find a nonrecursive formula for an and use induction to prove your formula is correct.