CS173 Discrete Mathematical Structures Homework 2 Fall 2006, Assignments of Discrete Structures and Graph Theory

The instructions and problems for homework 2 of the cs173 discrete mathematical structures course offered at the university of california, berkeley in fall 2006. The homework includes tasks such as posting a favorite saying on the class wiki, validating arguments using the rules of inference, and proving statements using direct and indirect proofs. The document also includes several mathematical problems related to logical reasoning and number theory.

Typology: Assignments

Pre 2010

Uploaded on 03/10/2009

koofers-user-32a
koofers-user-32a 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS173 Discrete Mathematical Structures
Fall 2006
Homework #2
due Sunday, September 10, 2006, 8:00 a.m.
1. Post to the class Wiki your favorite saying on the page designated “Welcome!
Post your favorite saying (adage/maxim) here!” Be sure to give credit where it’s
due, but also post your own name as the submitter.
2. Are the following valid arguments? Explain using the rules of inference. Is there
a particular fallacy that is violated?
a. If you agree with me, then you will vote for me.
You vote for me.
Therefore, you agree with me.
b. Everyone who eats fruit every day is healthy.
Christine is not healthy.
Therefore, Christine does not eat fruit every day.
c. If I go swimming, then I will stay in the sun too long.
If I stay in the sun too long, I will sunburn.
Therefore, if I go swimming, then I will sunburn.
d. If x is a real number with x > 2, then x2 > 4.
Suppose that x ≤ 2. Then x2 ≤ 4.
3. Prove by direct proof, using only approved equivalence and inference rules.
Remember to name each rule used.
1. (p q) → r
2. p ¬ r therefore ¬ q
4. Show that if n + 5 is odd, then n is even. Use an indirect proof.
5. Prove that at least one of a, b, and c is greater than or equal to A, where
A = (a + b + c)/3. Use a proof by contradiction.
6. Prove or disprove:
a. x + y = x + y
b. ⌊⌈x⌉⌋= x

Partial preview of the text

Download CS173 Discrete Mathematical Structures Homework 2 Fall 2006 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CS173 Discrete Mathematical Structures Fall 2006 Homework # due Sunday, September 10, 2006, 8:00 a.m.

  1. Post to the class Wiki your favorite saying on the page designated “Welcome! Post your favorite saying (adage/maxim) here!” Be sure to give credit where it’s due, but also post your own name as the submitter.
  2. Are the following valid arguments? Explain using the rules of inference. Is there a particular fallacy that is violated? a. If you agree with me, then you will vote for me. You vote for me. Therefore, you agree with me. b. Everyone who eats fruit every day is healthy. Christine is not healthy. Therefore, Christine does not eat fruit every day. c. If I go swimming, then I will stay in the sun too long. If I stay in the sun too long, I will sunburn. Therefore, if I go swimming, then I will sunburn. d. If x is a real number with x > 2, then x^2 > 4. Suppose that x ≤ 2. Then x^2 ≤ 4.
  3. Prove by direct proof, using only approved equivalence and inference rules. Remember to name each rule used. 1. (p q) → r 2. p ¬ r therefore ¬ q
  4. Show that if n + 5 is odd, then n is even. Use an indirect proof.
  5. Prove that at least one of a , b , and c is greater than or equal to A, where A = ( a + b + c )/3. Use a proof by contradiction.
  6. Prove or disprove: a. ⌈ x ⌉ + ⌈ y ⌉ = ⌈ x + y ⌉ b. ⌊⌈ x ⌉⌋= ⌈ x