Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

Similar documents
UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

MTH 310, Section 001 Abstract Algebra I and Number Theory. Sample Midterm 1

Number Theory Math 420 Silverman Exam #1 February 27, 2018

PRACTICE PROBLEMS: SET 1

Writing Assignment 2 Student Sample Questions

Midterm 2 Sample Introduction to Higher Math Fall 2018 Instructor: Linh Truong

Math 13, Spring 2013, Lecture B: Midterm

Sets and Motivation for Boolean algebra

Preparing for the CS 173 (A) Fall 2018 Midterm 1

Chapter 5: The Integers

Quiz 1, Mon CS 2050, Intro Discrete Math for Computer Science

Exam Practice Problems

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M004: Blue) 6 December Points Possible

n n P} is a bounded subset Proof. Let A be a nonempty subset of Z, bounded above. Define the set

2 Elementary number theory

Direct Proof Divisibility

Practice Midterm Exam Solutions

Name: Solutions Final Exam

5: The Integers (An introduction to Number Theory)

Greatest Common Divisor MATH Greatest Common Divisor. Benjamin V.C. Collins, James A. Swenson MATH 2730

CIS 375 Intro to Discrete Mathematics Exam 3 (Section M001: Green) 6 December Points Possible

(a) We need to prove that is reflexive, symmetric and transitive. 2b + a = 3a + 3b (2a + b) = 3a + 3b 3k = 3(a + b k)

Show Your Work! Point values are in square brackets. There are 35 points possible. Some facts about sets are on the last page.

Math 242: Principles of Analysis Fall 2016 Homework 1 Part B solutions

(e) Commutativity: a b = b a. (f) Distributivity of times over plus: a (b + c) = a b + a c and (b + c) a = b a + c a.

Prof. Ila Varma HW 8 Solutions MATH 109. A B, h(i) := g(i n) if i > n. h : Z + f((i + 1)/2) if i is odd, g(i/2) if i is even.

Review Problems for Midterm Exam II MTH 299 Spring n(n + 1) 2. = 1. So assume there is some k 1 for which

Homework 3 Solutions, Math 55

Tutorial Obtain the principal disjunctive normal form and principal conjunction form of the statement

PROBLEM SET 1 SOLUTIONS 1287 = , 403 = , 78 = 13 6.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

RED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam

MAT246H1S - Concepts In Abstract Mathematics. Solutions to Term Test 1 - February 1, 2018

D-MATH Algebra I HS18 Prof. Rahul Pandharipande. Solution 1. Arithmetic, Zorn s Lemma.

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

Math 230 Final Exam, Spring 2008

Chapter 5.1: Induction

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

MATH 420 FINAL EXAM J. Beachy, 5/7/97

Homework #2 solutions Due: June 15, 2012

Johns Hopkins Math Tournament 2018 Proof Round: Sequences

Problem 1: Suppose A, B, C and D are finite sets such that A B = C D and C = D. Prove or disprove: A = B.

CS1800 Discrete Structures Spring 2018 February CS1800 Discrete Structures Midterm Version A

IVA S STUDY GUIDE FOR THE DISCRETE FINAL EXAM - SELECTED SOLUTIONS. 1. Combinatorics

Chapter 1. Greatest common divisor. 1.1 The division theorem. In the beginning, there are the natural numbers 0, 1, 2, 3, 4,...,

Math 320-2: Midterm 2 Practice Solutions Northwestern University, Winter 2015

Ch 4.2 Divisibility Properties

MATH 271 Summer 2016 Practice problem solutions Week 1

Math 230 Final Exam, Spring 2009

Name: Mathematics 1C03

Equivalence relations

Direct Proof Divisibility

Questionnaire for CSET Mathematics subset 1

PRINCIPLE OF MATHEMATICAL INDUCTION

Discrete Math I Exam II (2/9/12) Page 1

Do not start until you are given the green signal

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

University of Ottawa CSI 2101 Midterm Test Instructor: Lucia Moura. February 9, :30 pm Duration: 1:50 hs. Closed book, no calculators

Math 2534 Solution to Test 3A Spring 2010

M381 Number Theory 2004 Page 1

Discrete Mathematics. Spring 2017

Recitation 7: Existence Proofs and Mathematical Induction

4 Powers of an Element; Cyclic Groups

Exam 2. Is g one-to-one? Is g onto? Why? Solution: g is not one-to-one, since for c A, g(b) = g(c) = c. g is not onto, since a / g(a).

Spring 2017 Midterm 1 04/26/2017

Section A (not in the text) Which of the following are statements? Explain. 3. The President of the United States in 2089 will be a woman.

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

MATH 1553, JANKOWSKI MIDTERM 2, SPRING 2018, LECTURE A

Proofs. Methods of Proof Divisibility Floor and Ceiling Contradiction & Contrapositive Euclidean Algorithm. Reading (Epp s textbook)

Discrete Structures, Final Exam

NOTES ON INTEGERS. 1. Integers

CS280, Spring 2004: Prelim Solutions

EDULABZ INTERNATIONAL NUMBER SYSTEM

Mathematical Reasoning & Proofs

Math 10850, fall 2017, University of Notre Dame

SOLUTIONS. Math 130 Midterm Spring True-False: Circle T if the statement is always true. Otherwise circle F.

(3,1) Methods of Proof

a 2 = ab a 2 b 2 = ab b 2 (a + b)(a b) = b(a b) a + b = b

MATH 220 CALCULUS I SPRING 2018, MIDTERM I FEB 16, 2018

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005

FINAL EXAM Math 25 Temple-F06

Fall 2014 CMSC250/250H Midterm II

Discrete Structures: Solutions to Sample Questions, Exam 2

Homework #2 Solutions Due: September 5, for all n N n 3 = n2 (n + 1) 2 4

8. Given a rational number r, prove that there exist coprime integers p and q, with q 0, so that r = p q. . For all n N, f n = an b n 2

Chapter Summary. Mathematical Induction Strong Induction Well-Ordering Recursive Definitions Structural Induction Recursive Algorithms

MATH FINAL EXAM REVIEW HINTS

Math 430 Final Exam, Fall 2008

A group of figures, representing a number, is called a numeral. Numbers are divided into the following types.

Solutions for Homework Assignment 2

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B)

FIRST MIDTERM MATH 104B, UCSD, WINTER 18

Algebra 2 CP Semester 1 PRACTICE Exam

CHAPTER 4: EXPLORING Z

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

COMPSCI 611 Advanced Algorithms Second Midterm Exam Fall 2017

1 Take-home exam and final exam study guide

Johns Hopkins University, Department of Mathematics Abstract Algebra - Spring 2013 Midterm Exam Solution

Transcription:

Math 2603 Midterm 1 Spring 2018 Your Name Student ID # Section Do not open this exam until you are told to begin. You will have 75 minutes for the exam. Check that you have a complete exam. There are 5 questions for a total of 45 points. You are allowed to have pen and paper on your desk. No notes of calculator are permitted. Show all your work. Unless explicitly stated otherwise in a particular question, if there is no work supporting your answer, you will not receive credit for the problem. If you need more space to answer a question, continue on the back of the page, and indicate that you have done so. Question Points Score 1 5 2 12 3 8 4 8 5 12 Total: 45

Math 2603, Spring 2018 Midterm 1 Page 1 of 6 1. (5 points) For each statement below answer True or False. You don t have to justify your answer. (a) 3 < π and 3 2 + 4 2 = 5 2. True False (b) If the statement A is True then the statement A B is always True. True False (c) The negation of the statement For every real number x, there exists an integer n such that n > x is There exists a real number x such that x n for every integer n. True False (d) Every poset has minimal elements but may not have a minimum element. True False (e) There are integers x and y such that 37x + 2y = 1. True False

Math 2603, Spring 2018 Midterm 1 Page 2 of 6 2. (12 points) Prove each of the following statements. (a) If n N, n 3 n is always a multiple of 3. Notice that n 3 n = n(n 2 1) = n(n 1)(n + 1). We look at three cases depending on the reminder in the division by three: Case1: n = 3k, n 3 n = 3k(3k 1)(3k + 1) which is a multiple of three. Case2: n = 3k + 1, n 3 n = (3k + 1)(3k)(3k + 2) which is a multiple of three. Case3: n = 3k + 2, n 3 n = (3k + 2)(3k + 1)(3k + 3) = 3(3k + 2)(3k + 1)(k + 1) which is also a multiple of three. (b) For a, b R \ {0}, define the relation a b if a b equivalence relation. is a rational number. Then is an We have to check three properties: Is reflexive: a = 1 is rational. a Is symmetric: If a = q is rational then b = 1 is also rational. b a q Is transitive: Given a and b rationals, their product is also rational, so a = a b is rational. b c c b c

Math 2603, Spring 2018 Midterm 1 Page 3 of 6 (c) If A, B and C are nonempty sets and A C = B C then A = B. Let s prove that A B. Pick a A, and c C. Then (a, c) A C so it is also an element of B C and, by definition, this means that a B. Analogously we can prove the reverse inclusion. (d) Let (A, ) be a totally ordered set with the following property: for every nonempty subset E of A, strictly contained in A, the poset (E, ) has a minimum element. Show that A has a minimum element. Let a A a fixed element. Consider the set E = A \ {a}. By hypothesis, there is a minimum element a E. Because (A, ) is totally ordered we can compare any two elements. We have two cases: Case1: a a. Then a is minimum in A. To see this, consider another element a A. Then a E and thus a a, by transitivity we conclude a a. since a is arbitrary, we conclude that a is minimum. Case2: a a. Since a is minimum in E = A\{a}, it will also be minimum in E {a} = A, as desired.

Math 2603, Spring 2018 Midterm 1 Page 4 of 6 3. (8 points) Consider the set A = {1, 2, 3,..., 12} and the relation a b if a divides b. You are told that (A, ) is a partially ordered set. (a) Draw the Hasse diagram of (A, ). (b) List all maximal and minimal elements. Minimal elements: 1 (it is also a minimum). Maximal elements: 7, 8, 9, 10, 11, 12. (c) Find the greatest lower bound of (6, 10) This is the g.c.d. so g.l.b.(6, 10) = 2.

Math 2603, Spring 2018 Midterm 1 Page 5 of 6 4. (8 points) (a) Let a and b be natural numbers greater than zero. Show that g.c.d.(a, b) = g.c.d.(a, a + b). Let d = g.c.d.(a, b) and d = g.c.d.(a, a + b). Since d/a and d/b we have d/a + b. So d is a common divisor of a and a + b and then d d. Similarly, Since d /a and d /(a + b) then d /(a+b) a = b and d is a common divisor of a and b hence d d. Both inequalities imply that d = d. (b) Use the result from part (a) to prove that g.c.d.(3k + 2, 5k + 3) = 1 for any natural number k. In the setting of part (a), put a = 3k + 2 and b = 2k + 1. Then g.c.d(3k + 2, 5k + 3) = g.c.d.(3k + 2, 2k + 1). For the right hand side apply part (a) again now with a = 2k + 1 and b = k + 1 to conclude that g.c.d.(3k + 2, 2k + 1) = g.c.d.(2k + 1, k + 1). We do this two more times to get: g.c.d.(2k + 1, k + 1) = g.c.d.(k + 1, k) = g.c.d.(k, 1) = 1.

Math 2603, Spring 2018 Midterm 1 Page 6 of 6 5. (12 points) (a) Let a, p N such that p is a prime number and p divides a 2. Show that p 2 divides a 2. Since p/a 2 = aa we have that p/a. This means there exists an integer q such that a = pq, then a 2 = (pq) 2 = p 2 q 2 which implies that p 2 /a 2. (b) Show that the only natural numbers m and n for which are m = n = 0. 6 m = 12 n. The left hand side can be decomposed uniquely as 2 m 3 m while the right hand side has prime factorization equal to 2 2n 3 n. If (m, n) is a solution these two factorizations have to be equal. In particular, we need the same power of 2 and the same power of 3, this is m = 2n Which implies n = 0 and m = 0. m = n