I'm now managing a team at nVidia. These pages are old.
To contact me, use david@coppit.org, since I check that account more
often.
CSci 420/520: Homework 1
Discrete Math
Due Wednesday, September 7th by 1pm.
Summary
This is a little review assignment for discrete math concepts.
Questions
- P({1,2,3}) = ?
- P(∅) = ?
- Given A = {a,b,c,d}, B = {b,c,z}:
- A ∩ B = ?
- A ∪ B = ?
- A \ B = ?
- #( A × B ) = ?
- Give two sets that partition B.
- Given the relations A = {(a,b),(b,d),(c,d),(d,e)}, B =
{(a,c),(c,e),(d,d)}, X = {a,b,c,d,e}. Assume A and B are functions from X to
X:
- What is the definition domain of B?
- Is A partial or total? Why?
- Is A onto? Why or why not?
- #B = ?
- BT = ?
- A;B = ?
- A ∪ B = ?
- ( A ∪ B )+ = ?
- Using quantification, but not the # operator, write an expression that
states that the set S has at least two elements.
- Simplify the Boolean expression (p ∧ ¬q) ⇒ (¬p ∨
q) using the laws of Boolean logic. Refer to the laws in Table 12.2 of
Tucker and Noonan. You will also need the "Law of Double Negation", which
states ¬¬p ⇔ p.
- Use a truth table to prove that your simplified equation is logically the
same as the original. Each column in the truth table should only involve one
new operator on the previous columns.
- Write a set comprehension for the function whose domain and range are the
natural numbers, and that maps each natural number to the the product of the
number and its predecessor. Use only one free variable in your answer.
- Prove by induction that
. Be sure to state the basis, inductive
hypothesis, and inductive step, and to justify each step.
Grading
100 points total. Harder questions will be worth more.
Turn in your answers in class. Remember, a messy paper indicates sloppy
thinking.
Back to CSci 420/520 Homepage.