| Name (PRINTED): | |
| Student ID #: | |
| Section # (or TA's: | |
| name and time) |
| CMSC 250 | Exam #2 | Friday, Oct. 29, 2004 |
Note: The short answer questions are at the end of the exam so that you have the two facing pages for each of the proof questions. If you need more than those two pages DO NOT continue on the page from another problem, raise you hand and we will bring you additional sheets of paper.
Note: The points for the individual non-short answer questions for this exam are not indicated. This would give too much indication as to which are true and which are false. Statements that are true will receive more points than ones that are false. Proving something true that is false or false that is true will result is a loss of all credit. Induction problems will be worth slightly more that deduction.
Leave the paper closed this side up on your desk until you are told to start.
Make sure you are in your assigned seat with all celphones and pagers turned off. Make sure you have writing instruments and your picture ID out on your desk.
|
|
|
This is: |
| TRUE X | |
| Hints - if you are using a formal proof | FALSE |
| for this you may want to consider: | |
| definition of division and quotient remainder theorem |
Base Case: (n=0)
by substitution and algebra
by the definition of divides
Inductive Hypothesis:(n=k)
Inductive Step:(n=k+1)
show:
proof:
Since by the IH we know that
,
by the definition of divides we get
by substitution
by algebra
Since
when
by closure of Z in mult and add,
we know that
by the definition of divides.
Therefore,
by substitution.
QED
|
|
This is: |
| TRUE | |
| Hints - if you are using a formal proof | FALSE X |
| for this you may want to consider: definition of equivalence in a mod | |
| and definition of divides and division into cases | |
| and quotient remainder theorem | |
| the fact that something can only be equivalent to one value r where |
Since it is false, we will prove the negation of it is true.
The negation of the original statement is:
Proof:
Let n be arbitrary in Z.
by the Quotient Remainder Theorem, we know that
We prove the statement by proving that it is true for each of these
three individual cases for the value of n.
Case 1 (n = 3q+0):
Since
,
because 0 is the additive identity.
by squaring both sides.
by factoring.
because 0 is the additive identity.
Since
by closure of Z in multiplication,
We know that
by definition of divides.
And
by definition of equivalence in a mod.
Since
, it is not equivalent to 2
Case 2 (n = 3q+1):
by sqaring both sides
by subtracting one from both sides
by factorring out the 3
Since
by closure of Z in addition and multiplication,
we know that
by the definition of divides.
This means that
by defintion of equiv in a mod
Since
, it is not equivalent to 2
Case 3 (n = 3q+2):
by squaring both sides
by subtracting one from both sides
by factorring out the 3
Since
by closure of Z in addition and multiplication,
we know that
by definition of divides
This means that
by defintion of equivalence in a mod
Since
, it is not equivalent to 2
Since by in all three cases it is true that
,
it is true by delemma and generalizing from the generic particular,
that
.
This means that
by negating the quantifier.
Therefore the original statement given is false.
|
|
This is: |
| TRUE | |
| Hints - if you are using a formal proof | FALSE X |
| for this you may want to consider: | |
| conditional worlds | |
| and definition of divides | |
| and prime factorization |
Since this is a universal statement which is false,
We give a counter-example and then justify that counter-example.
Let
and
It is true that
since
because
by the definition of divides.
This means that the antecedent is true
The statement
is false since
The statement
is false since
Therefore the disjunction
is false
This means that the consequent is false
Since the antecedent is true and the consequent false with these values,
This is a valid counter-example to the universal statement.
Use Induction to prove the following fact about the elements of that series:
Base Case: (k=0, k=1)
k=0:
and
Since
, it is true when n=0
k=1:
and
Since
, it is true when n=1
Inductive Hypothesis:(k=i
)
Inductive Step:(k=p)
show:
proof:
from the definition of the recurence relation
since we are subtracting a positive integer on the smaller side
whenever
which is the only values we are inducting for
Therefore we know we can apply the IH.
by the IH
by the definition of equivalence in a mod
by definition of divides
by adding the same quantity to both sides
by substitution
by associativity and commutativity
by subtracting the same quantity from both sides
by algebra
Since
by closure of Z in addition,
by definition of divides
by substitution
Therefore
by definiiton of equiv in a mod
QED
| Definately | |||
| FALSE | |||
| Definately | |||
| TRUE | |||
| Definately | |||
| FALSE | |||
| Definately | |||
| FALSE |
| Given any statement variables |
||
| the following logical equivalences hold: | ||
| 1. Commutative laws: |
|
|
| 2. Associative laws: |
|
|
| 3. Distributive laws: |
|
|
| 4. Identity laws: |
|
|
| 5. Negation laws: |
|
|
| 6. Double Negative law: |
|
|
| 7. Idempotent laws: |
|
|
| 8. DeMorgan's laws: |
|
|
| 9. Universal bounds laws: |
|
|
| 10. Absorption laws: |
|
|
| 11. Negations of t and c: |
|
|
| Modus Ponens | Modus Tollens | Disjunctive | |||
|
|
|
Syllogism | |||
| Therefore |
Therefore |
||||
| Therefore |
Therefore |
||||
| Conjunctive | Hypothetical |
|
|||
| Addition | Syllogism |
|
|||
| Therefore |
Therefore
|
||||
| Disjunctive | Dilemma: | ||||
| Addition | Therefore |
Therefore |
Poof by |
|
|
| Division |
|
||||
| into Cases | Therefore |
||||
| Conjunctive | Rule of |
|
|||
| Simplification | Therefore |
Therefore |
Contradiction | Therefore |
|
| Closing C.W. | Closing C.W. | ||||
| without | with |
|
|||
| contradiction | Therefore
|
contradiction | Therefore |
||
| Definition |
|
||
| of Implication |
|
|
|
| Definition of |
|
|
|
| Biconditional |
|
|
|
| Negation of |
|
|
|
| Quantifiers |
|
|
|
| Universal |
|
||
| Modus Ponens | |||
| Universal |
|
||
| Modus Tollens | |||
| Universal Instantiation |
|
||
| Existential Generalization |
|
||
| Universal Generalization** |
|
||
| Existential Instantiation ** |
|
** NOTE: Remember the special circumstances required for the rules marked by the stars.