Professional Documents
Culture Documents
~y
x ~y
Section 2: Problems
Section 4.6: #7
Carefully formulate the negation of the statement. Then prove the statement by
contradiction.
Problem:
7.
Solution:
We come to the statement, There is a least positive rational integer. for the
negation of the provided statement, by stating, It is not the case that there is no least
positive rational integer. Now, given the negated form of our original statement we must
prove the contradiction which is, It is the case that there is no least positive rational
integer. This will bring us back to the original statement, There is no least positive
rational integer.
Assuming we have a least positive rational integer, r, and r = m / n , where m and
n are both positive integers. However, m / (2n) < r ,which means there is a rational
integer less than our least, which is a contradiction; therefore, the original statement is
true.
A certain non-leap year has 365 days, and January 1 occurs on a Monday.
a.
b.
Solution:
We have been given the following information:
January 1 occurs on a Monday. (7 days a week, starting on the first of the year)
The year has 365 days in it.
Find:
A.
B.
We can approach these problems by first listing off the highest divisible value per week
with the following formula:
List: m(= m + 0)
Count:
m+1
m+2 ...
2
n (= m + (n m))
. . . (n m) + 1
Part A. requests to check how many Sundays there are in a week. Assuming that we
start on a Monday during January 1st, we can assume the value to check for each
Sunday would be 7. With this, we check for the highest divisible value in 365/7:
List: 356
357
358
Count: X
7*51 X
359
360
361
362
363
364
365
7*52 X
Part B. Taking the knowledge that we now have from part A, we will apply what we now
know to solve how many Mondays are in this year. While checking for the amount of
Sundays available, we came to the conclusion that there are exactly 52 weeks in this
given years example, with a remainder of 1 day out of 365 days. Given the fact that we
started on a Monday, it is safe to assume that the last day of the year will also be a
Monday. To further support this, we know the following:
This comparison reassures the fact that there is exactly one day left in the year, which
will be a Monday. Therefore, we know that exactly 53 Mondays will occur in this
timeframe.
Our answer for part b) = 53.
Let S be a set of ten integers chosen from 1 through 50. Show that the set
contains at least two different (but not necessarily disjoint) subsets of four integers that
add up to the same number. (For instance, if the ten numbers are {3, 8, 9, 18, 24, 34,
Solution:
Given a set S that consists of ten integers that has two subsets with the same
sum, we can apply the Pigeonhole Principle, which states, If k is a positive integer and
k+1 objects are placed in k boxes then at least one box contains two or more objects.
This means that given the set S that contains ten integers chosen from 1 through 50, we
have (2^10) - 1 possibilities, excluding the empty set, for two subsets of ten integers.
However, there are only 455 possible sums, based on adding 41 through 50. This
means that with more subsets than sums at least two subsets have the same sum,
using 1023 / 455 = 2, which is the floor when rounded down.
Solve the vegetarians-and-cannibals puzzle for the case where there are three
vegetarians and three cannibals to be transported from one side of a river to the other.
Solution:
We are given the following example in our text:
However, along with this, we are given an extra cannibal and an extra vegetarian to
make things a little trickier than the original.
-No one side of the river can have cannibals outnumbering vegetarians.
-Vegetarians can outnumber cannibals with no issues.
-The boat can only carry two members of the group at any given time.
-C= Cannibal
-V= Vegetarian
Boat
Shore 2
Start:
CCCVVV
Trip 1:
CVVV
CC
Trip 2:
CVVV
Trip 3:
VVV
CC
VVV
CC
Trip 5:
VC
VV
CC
Trip 6:
VC
VC
VC
Trip 7:
CC
VV
VC
Trip 8:
CC
VVV
Trip 9:
CC
VVV
Trip 10:
VVVC
Trip 11:
CC
VVVC
Finish:
VVVCCC
Through this graph, we can see that after 6 round trips, all members of the group
are able to cross while staying in the parameters given to us. We start by sending 2
cannibals alone, as leaving one vegetarian would have failed, and sending one of each
on the first trip would fail during the second trip attempt, as one shore would be
guaranteed to have more cannibals compared to vegetarians. We then send the
cannibal back to retrieve the remaining cannibal, leaving one cannibal on the boat, and
two on Shore 2. We then leave the remaining cannibal on Shore 1, and send the two
vegetarians to the second shore. On arrival, instead of leaving one vegetarian with the
two cannibals, we take one cannibal back to shore one with one vegetarian. From here,
we trade the cannibal for our remaining vegetarian, and bring both in the boat to Shore
2. Now that all vegetarians have made it across, we use the cannibal on the far shore to
make 2 final trips, retrieving the other 2 cannibals. With that, the problem is solved.
10
11
Works Cited
Brain, Marshall. "How Boolean Logic Works - HowStuffWorks." HowStuffWorks.
1 Apr. 2000. Web. 1 Dec. 2014.
12