next up previous
Next: About this document ...

CMSC 250 Homework 2 Spring 2006
Due Wed Feb 8 at the beginning of your discussion section.

You must write the solutions to the problems single-sided on your own lined paper, with all sheets stapled together, and with all answers written in sequential order or you will lose points.

  1. Give in complete English sentences the negations of the following statements. Apply DeMorgan's Law so that the statements only have the smallest possible unit negated.

    1. Neither cats nor dogs are allowed here.

    2. Both poodles and dobermans make good pets.

    3. Fish and birds are allowed, but dogs are not.

  2. For each of the following statements, state ``inverse,'' ``converse,'' ``contrapositive,'' or ``none.'' I may have changed verb tenses to make so that the statements sound right, but tell if the form matches.

    1. If you like dogs, then you will love Freddie.
      You loved Freddie, so you must like dogs.

    2. If the bear is white, it must be a Polar Bear.
      Since the bear is not white, it must not be a Polar Bear.

    3. You will need help, if you intend to finish.
      If you do not intend to finish, you must not need help.

    4. You will get there on time if you leave now.
      If you leave now, then you will get there on time.

    5. You will be accepted only if you wear this hat.
      If you wear this hat, then you will be accepted.

    6. If you do not like this house, don't live there.
      If you live here, you must like this house.

    7. Don't do that if it rains.
      If it rains, do that.

  3. Write the complete truth table for each of the following:
    1. $(p \rightarrow q) \rightarrow (\sim r \vee p)$.

    2. $(a \wedge b) \leftrightarrow (a \vee b)$

  4. For each of the following state the one single rule from Theorem 1.1.1 (page 14) or Table 1.3.1 (Page 39) that could be used to go directly from the statement(s) to the conclusion, or ``none'' if there is no one single rule. (note: the answer if ``none'' even if a series of rules can be applied)
    1. statement: $(p \vee q) \rightarrow r$ / $p $ / with conclusion: $r$.

    2. statements: $(p \vee q) \rightarrow r$ / $\sim r $/ with conclusion: $\sim p$.

    3. statements: $(p \wedge q) \rightarrow r$ / $p \wedge q$ / with conclusion: $r$.

    4. statements: $r \rightarrow (p \wedge q)$ / $\sim r $ / with conclusion: $\sim (p \wedge q)$.

    5. statements: $(p \wedge q) \rightarrow (r \vee s)$ / $\sim (r \vee s)$ / with conclusion: $\sim (p \wedge q)$.

    6. statements: $p \vee (s \wedge x)$ / $\sim p$ / with conclusion: $s \wedge x$.

    7. statements: $p \vee (s \wedge t)$ / $\sim s$ / with conclusion: $p $.

    8. statements: $p \vee (s \vee x)$ / $s \vee x$ / with conclusion: $\sim p$.

  5. Use a truth table to determine if the following argument is valid or not. State whether or not it is valid, and give your reasons why it is valid or not.

    P1 $p\vee q$
    P2 $\sim r \rightarrow q$
    P3 $\sim p\rightarrow\sim r$
    Therefore $p $

  6. Use the rules of inference you were given to prove the following:

    1. P1 $p \vee ((\sim q) \wedge r)$
      P2 $\sim (p \wedge s)$
      P3 s
      Therefore $\sim (r \rightarrow q)$

    2. P1 $p\vee q$
      P2 $\sim p \vee r$
      P3 $\sim r \vee s$
      Therefore $q \vee s$

    3. P1 $p \rightarrow r$
      P2 $q \rightarrow s$
      P3 $x \wedge y$
      Therefore $((p\wedge q) \rightarrow (r \wedge s)) \wedge (x \vee m)$




next up previous
Next: About this document ...
Chang Hu 2006-02-07

Web Accessibility