Write all answers legibly in the answer space provided.
The answer for each problem must be on the page with that problem.
If you need extra pages - we have blank ones, but you must
hand in all papers in the correct order when you are finished.
The number of points
possible for each question is indicated in square brackets - the total
number of points on the exam is 185, and you will have exactly 2 hours
to complete this exam. You may not use calculators, textbooks or any other
aids during this exam.
- [20 pnts.] Using only the ``Logical Equivalence Rules''
and the ``Rules of Inference'' from the cheat sheet and the definitions
presented in class, prove that the
following premises necessarily lead to the conclusion stated. It is a
Valid Argument - you only need to prove that it is. You may also assume that
is a member of the domain named
.
| line |
Statement |
Reason |
Line #s |
| 1 |
|
|
|
| |
|
|
|
| 2 |
|
|
|
| |
|
|
|
| 3 |
|
|
|
| |
|
|
|
| 4 |
|
|
|
| |
|
|
|
| 5 |
|
|
|
| |
|
|
|
| 6 |
|
|
|
| |
|
|
|
| 7 |
|
|
|
| |
|
|
|
| 8 |
|
|
|
| |
|
|
|
| 9 |
|
|
|
| |
|
|
|
| 10 |
|
|
|
| |
|
|
|
| 11 |
|
|
|
| |
|
|
|
| 12 |
|
|
|
| |
|
|
|
| 13 |
|
|
|
| |
|
|
|
| 14 |
|
|
|
| |
|
|
|
| 15 |
|
|
|
| |
|
|
|
| 16 |
|
|
|
| |
|
|
|
| 17 |
|
|
|
| |
|
|
|
| 18 |
|
|
|
| |
|
|
|
- [20 pnts] Let
be a prime number and let
.
Prove that
is irrational.
- [15 pnts] For each of the following English sentences, translate
the meaning into formal notation using the logic symbols (
,
,
,
,
, and
). In addition to these,
you may also use mathematical, grouping and
set notations symbols as needed.
On the next line write the
negation of the original statement using formal notation.
The negation should be in its simplest form - no parentheses grouping
logical operators.
| For every integer there is both a real number that is greater than it and
a real number that is less than it. |
| Domains: Z = {all integers}, R = {all reals} |
| Predicate: G(x,y) = ``x is greater than y'' |
| statement: |
| |
| negation: |
| |
| |
| There is an integer that divides no other integer than itself. |
| Domain: Z = {all integers} |
| Predicate: D(x,y) = ``x divides y'' |
| statement: |
| |
| negation: |
| |
| |
| Every house has a cat that lives in it. |
| Domains: H = {all houses}, C = {all cats} |
| Predicate: L(c,h) = ``cat c lives in house h'' |
| statement: |
| |
| negation: |
| |
| |
- [20 pnts] Using only rules provided on the cheat sheet and
definitions given in class,
prove that
.
You may assume that
and
are
both non-empty sets over the same domain.
Make sure you justify each step you write with the name of the rule
as given on the ``cheat sheet''.
- [20 pnts] Let
where
and let
,
, and
.
For all
, let
If
, prove
that
for all
- [20 pnts]
Tell if the following functions with the given domain and
co-domain have the stated properties. You must give reasons for your answers.
| Function |
Property |
Does the function have the stated property? (Yes/No) |
| |
|
|
| |
|
|
| |
|
|
 |
|
|
 |
1 to 1 |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
 |
|
|
 |
onto |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
 |
|
|
 |
onto |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
 |
|
|
 |
1 to 1 |
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
| |
|
|
 |
|
|
 |
onto |
|
| |
|
|
| |
|
|
| |
|
|
- [35 pnts]
Let
be a relation on the set
represented
by the following matrix (assume the vertical is from and the horizontal is to):
| |
a |
b |
c |
d |
e |
f |
g |
h |
| a |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
| b |
0 |
1 |
0 |
0 |
0 |
0 |
0 |
0 |
| c |
0 |
1 |
1 |
1 |
1 |
1 |
0 |
0 |
| d |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
0 |
| e |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
0 |
| f |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
| g |
0 |
0 |
0 |
0 |
1 |
1 |
1 |
0 |
| h |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
- Draw the directed graph (digraph) representing
.
- Redraw the digraph from part a
as a Hasse Diagram (it does represent a
Partial Order Set).
- Give the maximal, minimal, greatest and least values by either saying that it doesn't exist or giving the exact values.
| Maximal |
|
| |
|
| Minimal |
|
| |
|
| Greatest |
|
| |
|
| Least |
|
| |
|
Assume the Hasse Diagram represents a different relation - call it T.
(Notice: it is no longer a digraph,
so assume each of the edges represents both directions. It is then
a symmetric and irreflexive relation which is not transitive.)
- Determine if T has an Euler Circuit. Either give a path
(list of vertices) that makes that Euler Circuit or tell
why it does not contain an Euler Circuit.
(NOTE: THIS IS THE RELATION T
from the previous part of this question - not the original R.)
- Determine if T has a Hamiltonian Circuit. Either give a path (list of
vertices) that make that Hamiltonian Circuit or tell why it does not contain
a Hamiltonian Circuit.
(NOTE: THIS IS THE RELATION T
from the previous part of this question - not the original R.)
- [35 pnts] Let
be an alphabet with
elements in it where
.
- Find the number of elements in
for all
. Hint:
will be a formula in terms of both
and
.
- For all
,
Let
Use induction to prove that
,
for all
. (Where the function
tells the size of the set.)
Hint: This will be induction on
where the formula is given in terms
of the variable
.
- For all
,
prove that any function
must map at least
elements to one of the elements in
.
This document was generated using the
LaTeX2HTML translator Version 2K.1beta (1.61)
Copyright © 1993, 1994, 1995, 1996,
Nikos Drakos,
Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999,
Ross Moore,
Mathematics Department, Macquarie University, Sydney.
The command line arguments were:
latex2html -show_section_numbers -split 0 -no_navigation -no_footnode finala
The translation was initiated by Fawzi Emad on 2003-05-11
Fawzi Emad
2003-05-11
Web Accessibility