Docsity

Practice Homework 1 - Constructing Proofs | CS 1050, Assignments of Computer Science

Toggle sidebar
bg1
CS 1050-A Homework 1
Prof. Merrick Furst and Prof. Dick Lipton
Due: 21 January 2004
As this is the first official homework assignment of the semester, some things must be
said. First, make sure to notify your TA (reachable at [email protected]du) with your
chosen groups as soon as possible. This is to make sure that everyone is in a group. Second,
each group member (in your group of five) must turn in ONE and ONLY ONE problem
neatly typed and printed, using all proper mathematical symbols. Each submission should be
headed with the group member’s name and gt number (gtxNNNx) who wrote the problem,
with all other group members’ names and gt numbers mentioned elsewhere. All problems
will be collected AT THE BEGINNING OF CLASS on 21 January 2004. After all the
problems are collected, the professors or TA will notify the groups of their presentation times,
and they will present their problems over the next week or so (more details on that later).
In summary:
•Create groups of five and email the TA at [email protected] with the members
of your group (names and gt numbers) - only one email from each group is necessary
•Each group member types up one problem of the five and turns that in. Also on the
page should be that group member’s name and gt number clearly identified as the
member who wrote this problem, as well as the names and gt numbers of all the other
members of the groups
•If chosen, present to the professors and/or TA
If you get stuck on your problem, your first line of defense should be your other group
members - remember, each member of the group is responsible to know and be able to
present every problem of the problem set. If you still can’t figure out the problem, your TA
and professors are always willing to help. Check the website for Office Hours and Location.
1
pf3
pf4
pf5

Partial preview of the text

Download Practice Homework 1 - Constructing Proofs | CS 1050 and more Assignments Computer Science in PDF only on Docsity!

CS 1050-A Homework 1

Prof. Merrick Furst and Prof. Dick Lipton

Due: 21 January 2004

As this is the first official homework assignment of the semester, some things must be said. First, make sure to notify your TA (reachable at [email protected]) with your chosen groups as soon as possible. This is to make sure that everyone is in a group. Second, each group member (in your group of five) must turn in ONE and ONLY ONE problem neatly typed and printed, using all proper mathematical symbols. Each submission should be headed with the group member’s name and gt number (gtxNNNx) who wrote the problem, with all other group members’ names and gt numbers mentioned elsewhere. All problems will be collected AT THE BEGINNING OF CLASS on 21 January 2004. After all the problems are collected, the professors or TA will notify the groups of their presentation times, and they will present their problems over the next week or so (more details on that later). In summary:

  • Create groups of five and email the TA at [email protected] with the members of your group (names and gt numbers) - only one email from each group is necessary
  • Each group member types up one problem of the five and turns that in. Also on the page should be that group member’s name and gt number clearly identified as the member who wrote this problem, as well as the names and gt numbers of all the other members of the groups
  • If chosen, present to the professors and/or TA

If you get stuck on your problem, your first line of defense should be your other group members - remember, each member of the group is responsible to know and be able to present every problem of the problem set. If you still can’t figure out the problem, your TA and professors are always willing to help. Check the website for Office Hours and Location.

Given the following definition of divisibility, determine whether propositions 1.1 through 1. are TRUE or FALSE giving proofs. Here, a, b, c are integers.

Definition An integer a divides an integer b (written as a|b) if and only if b can be written as the product of an integer k and a. That is, a|b ⇔ b = k × a; where a, b, k are integers.

The definition of “does not divide” is the opposite of the above, that is a does not divide b if b can not be written as a × k, where k is an integer.

1.1 1 |a

1.2 − 1 |a

1.3 a| 1 ⇒ a = ± 1

1.4 a|ca

1.5 a|b ⇒ a|bc

1.6 a|b and b|c ⇒ a|c

1.7 a|b and a|c ⇒ a|b + c

1.8 a|b and b 6 = 0 ⇒ |a| ≤ |b|

1.9 ca|cb and c 6 = 0 ⇒ a|b

1.10 Restate the following proposition more clearly and prove it true: Any integer a 6 = 0 has a finite number of divisors.

Suppose that we have created a new number system called the “5x” number system. In this system, the only numbers that exist are those that are multiples of 5. This is defined by the following set: {−∞,... , 5 × (−3), 5 × (−2), 5 × (−1), 5 × 0 , 5 × 1 , 5 × 2 , 5 × 3 ,... , ∞}, which simplifies to: {−∞,... , − 15 , − 10 , − 5 , 0 , 5 , 10 , 15 ,... , ∞}. Let us call this set X. Using this described number system, and the fact that a, b, p are all elements of X (they are part of this new number system), answer the following questions:

3.1 Define the term “prime number” in the context of this new number system.

3.2 Can there are an infinite number of prime numbers in this new world? Prove your answer.

3.3 Is the proposition p|ab ⇒ p|a or p|b true? Prove your answer.

Suppose you have a set of six points in the plane. If you are told that any line containing two of the points in the set also contains at least a third point from the set, is it possible that the six points do not all lie on just one line? Prove your answer.