Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Similar documents
Chapter 1 : The language of mathematics.

Math 109 September 1, 2016

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

7.11 A proof involving composition Variation in terminology... 88

Functions and cardinality (solutions) sections A and F TA: Clive Newstead 6 th May 2014

PROBLEMS ON CONGRUENCES AND DIVISIBILITY

Part IA Numbers and Sets

Mathematics Course 111: Algebra I Part I: Algebraic Structures, Sets and Permutations

There are seven questions, of varying point-value. Each question is worth the indicated number of points.

Mathematics 220 Homework 4 - Solutions. Solution: We must prove the two statements: (1) if A = B, then A B = A B, and (2) if A B = A B, then A = B.

MATH 2200 Final LC Review

MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017

Part IA Numbers and Sets

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination II (Fall 2007)

MATH 363: Discrete Mathematics

Finite and Infinite Sets

6 CARDINALITY OF SETS

Discrete Mathematics. W. Ethan Duckworth. Fall 2017, Loyola University Maryland

MATH 2200 Final Review

1 Partitions and Equivalence Relations

MADHAVA MATHEMATICS COMPETITION, December 2015 Solutions and Scheme of Marking

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms

586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws

Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.

6 SQUARES AND SQUARE ROOTS

SETS AND FUNCTIONS JOSHUA BALLEW

MATH FINAL EXAM REVIEW HINTS

Math 105A HW 1 Solutions

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

In N we can do addition, but in order to do subtraction we need to extend N to the integers

MATH 201 Solutions: TEST 3-A (in class)

5 Set Operations, Functions, and Counting

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

Part IA. Numbers and Sets. Year

Math 109 HW 9 Solutions

{ 0! = 1 n! = n(n 1)!, n 1. n! =

Math 300: Final Exam Practice Solutions

CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati

1 Basic Combinatorics

Chapter 1. Sets and Mappings

Solutions for Chapter Solutions for Chapter 17. Section 17.1 Exercises

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

NOTE: You have 2 hours, please plan your time. Problems are not ordered by difficulty.

Date: October 24, 2008, Friday Time: 10:40-12:30. Math 123 Abstract Mathematics I Midterm Exam I Solutions TOTAL

Notes on Systems of Linear Congruences

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

Lecture Notes 1 Basic Concepts of Mathematics MATH 352

Notes on counting. James Aspnes. December 13, 2010

MATH 61-02: PRACTICE PROBLEMS FOR FINAL EXAM

Sets. We discuss an informal (naive) set theory as needed in Computer Science. It was introduced by G. Cantor in the second half of the nineteenth

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

Notation Index. gcd(a, b) (greatest common divisor) NT-16

NORTHERN INDIA ENGINEERING COLLEGE, LKO D E P A R T M E N T O F M A T H E M A T I C S. B.TECH IIIrd SEMESTER QUESTION BANK ACADEMIC SESSION

0 Sets and Induction. Sets

One-to-one functions and onto functions

MATH 13 FINAL EXAM SOLUTIONS

Seventeen generic formulas that may generate prime-producing quadratic polynomials

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Part V. Chapter 19. Congruence of integers

Math /Foundations of Algebra/Fall 2017 Foundations of the Foundations: Proofs

Mathematics Syllabus UNIT I ALGEBRA : 1. SETS, RELATIONS AND FUNCTIONS

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Computer Science Foundation Exam

In N we can do addition, but in order to do subtraction we need to extend N to the integers

ASSIGNMENT 1 SOLUTIONS

Economics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017

Review 3. Andreas Klappenecker

F 2k 1 = F 2n. for all positive integers n.

An integer p is prime if p > 1 and p has exactly two positive divisors, 1 and p.

Math 230 Final Exam, Spring 2008

Notes on ordinals and cardinals

On the missing values of n! mod p

Mathematics 220 Midterm Practice problems from old exams Page 1 of 8

Homework 7 Solutions, Math 55

Assignment #2 COMP 3200 Spring 2012 Prof. Stucki

Math.3336: Discrete Mathematics. Cardinality of Sets

Section Summary. Relations and Functions Properties of Relations. Combining Relations

COT 2104 Homework Assignment 1 (Answers)

Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

PUTNAM TRAINING PROBLEMS

M381 Number Theory 2004 Page 1

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.

NORTHWESTERN UNIVERSITY Thrusday, Oct 6th, 2011 ANSWERS FALL 2011 NU PUTNAM SELECTION TEST

D-MATH Algebra I HS 2013 Prof. Brent Doran. Solution 3. Modular arithmetic, quotients, product groups

Section 0. Sets and Relations

B B3B037 Total Pages:3

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

UNM - PNM STATEWIDE MATHEMATICS CONTEST XLVI - SOLUTIONS. February 1, 2014 Second Round Three Hours

13 = m m = (C) The symmetry of the figure implies that ABH, BCE, CDF, and DAG are congruent right triangles. So

Math 3361-Modern Algebra Lecture 08 9/26/ Cardinality

Relations. Binary Relation. Let A and B be sets. A (binary) relation from A to B is a subset of A B. Notation. Let R A B be a relation from A to B.

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

COMP Intro to Logic for Computer Scientists. Lecture 15

a = mq + r where 0 r m 1.

Numbers and their divisors

CSE 20 DISCRETE MATH. Fall

Theory of Numbers Problems

MATH 361: NUMBER THEORY FOURTH LECTURE

Transcription:

Mathematics 513-00 Final Examination December 14, 005 I Use a direct argument to prove the following implication: The product of two odd integers is odd Let m and n be two odd integers Since they are odd, we can write them as m = k +1 and n = l+1 for some integers k and l Then, we have mn = (k +1)(l+1) = 4kl+l+k +1 = (kl+l++1, so mn is odd II Prove the following implication by proving its contrapositive: If n 3 mod 3, then n mod 3 (where means is not congruent to ) We will argue the contrapositive Assume that n mod 3 Then n 3 3 8 mod 3, the last congruence since 8 is divisible by 3 III Fill in the missing parts of the following proof by contradiction: [fill in] If N is prime, then it is a prime different from any of the p i, a contradiction If N is composite, write it as N = q 1 q q m [fill in] Suppose for contradiction that there are only finitely many primes, say p 1, p,, p k Put N = p 1 p p k + 1 No p i divides N, since dividing N by p i gives remainder 1 Then q 1 is a prime which divides N, so q 1 is a prime which is not equal to any of the p i, again a contradiction IV V Disprove the following assertion: For all integers a, b, and n, if n ab, then n a or n b 6 3, but 6 and 6 3 Using the notation G: X X 1, define the range of G, the preimage of x 1 for an element x 1 X 1, the image of x for an element x X, and the graph of G The range of G is {y X 1 x X, G(x) = y}, or {G(x) x X } The preimage of x 1 is {x X G(x) = x 1 } The image of x is G(x ) The graph of G is the set {(x, G(x)) x X } (or {(x, x 1 ) X X 1 x 1 = G(x )}) VI Prove that the set S of all two-element subsets of N is countable as follows: List all the two-element subsets that contain 1 as follows: {1, }, {1, 3}, {1, 4}, {1, 5} In a second row list all the subsets that contain but do not contain 1 as: {, 3}, {, 4}, {, 5}, {, 6} Continue listing a third row and fourth row, so that if the process of writing rows were continued, every two-element subset would appear exactly once Now describe how to form a single list in which every two-element subset appears exactly once Arrange the two-element subsets of N as follows: {1, }, {1, 3}, {1, 4}, {1, 5}, {, 3}, {, 4}, {, 5}, {, 6}, {3, 4}, {3, 5}, {3, 6}, {3, }, {4, 5}, {4, 6}, {4, }, {4, 8}, Each two-element subset appears exactly once; indeed, for p < q, {p, q} is the (q p) th entry in the p th row The Cantor method of going up and down the diagonals enables us to turn this collection of lists into a single list: {1, }, {1, 3}, {, 3}, {3, 4}, {, 4}, {1, 4}, {1, 5}, {, 5}, {3, 5}, {4, 5}, Then, we define a bijection from N to S by sending n to the n th set in this list

Page VII Let S be the set of functions from N to N, that is, S = {f f : N N} Fill in the missing items in the following proof that S is uncountable: Suppose for [fill in] that S is countable Then, the elements of N can be listed as f 1, f, Define a new function g S, that is, g : N N, as follows: For each n N, let [fill in] if f n (n) = 1 and let [fill in] if f n (n) 1 Then for each n, g(n) f n (n) so [fill in] This is a contradiction, since [fill in] [ contradiction ] [ g(n) = ] [ g(n) = 1 ] [ g f n ] [ every element of S is one of the f i ] VIII IX Prove that 1 1! +! + + n n! = (n + 1)! 1 whenever n is a positive integer For n = 1, we have 1 1! = 1 1 = 1 and (1 + 1)! 1 = 1 = 1, so the assertion is true for n = 1 Inductively, assume that 1 1!+!+ +k k! = (k+1)! 1 Then, 1 1!+!+ +k k!+(k+1) (k+1)! = (k + 1)! 1 + (k + 1) (k + 1)! = (1 + (k + 1)) (k + 1)! 1 = (k + ) (k + 1)! 1 = (k + )! 1 State the Pigeonhole Principle (just the basic Pigeonhole Principle, not the Generalized Pigeonhole Principle) If k + 1 objects are place in k boxes, then at least one box contains at least two objects X Fill in the missing parts of the following argument, which shows that if one selects any five different numbers between and 9, then some pair of them adds up to 11: Let S = {, 3, 4, 5, 6,, 8, 9}, and select any five numbers from S Define f : S [fill in] by the rule f(x) = x if x 5 and f(x) = 11 x if 6 x 9 By the Pigeonhole Principle, there must be two of the five numbers, call them m and n with m < n, for which [fill in] We cannot have both m 5 and n 5, since then we would have m = f(m) = f(n) = n Nor can we have m 6 and n 6, since then we would have [fill in] So we must have m 5 and n 6 But then, [fill in], so m + n = 11 [ {, 3, 4, 5} ] [ f(m) = f(n) ] [ 11 m = f(m) = f(n) = 11 n and therefore m = n ] [ m = f(m) = f(n) = 11 n, ] XI (14) This problem concerns strings of 10 digits d 1 d d 10, where each d i {0, 1,,, 9} Leave the answers to the following questions as expressions which may contain factorials and/or binomial coefficients ( m n), rather than calculating them out 1 How many strings of 10 digits are there? There are 10 possibilities for each digit in each of the 10 places, so by the Product Rule there are 10 10 possibilities How many strings of 10 digits contain no? There are 9 possibilities for each digit in each of the 10 places, so by the Product Rule there are 9 10 possibilities

Page 3 3 How many strings of 10 digits start with three distinct digits? There are 10 possibilities for the first digit, and for each of these there are then 9 for the second, then 8 for the third, then 10 for the remaining seven digits By the Product Rule, there are 10 8 9 8 possibilities 4 How many strings of 10 digits have no two equal digits (that is, have all their digits different)? This is exactly the number of permutations of 10 elements, 10! 5 How many strings of 10 digits contain exactly two 4 s? There are ( ) 10 possible choices for where the two 4 s go, and for each of these choices there are 9 8 possibilities for the remaining eight places By the Product Rule, there are ( ) 10 9 8 possibilities 6 How many strings of 10 digits contain exactly two 4 s and two 3 s? There are ( 10 ) possible choices for where the two 4 s go For each of these, there are ( 8 ) possible choices for where the two 3 s go, and for each of these choices there are 8 6 possibilities for the remaining six places By the Product Rule, there are ( 10 )( 8 ) 8 6 possibilities How many strings of 10 digits either start with three 5 s or end with two 5 s, or both? For a string starting with three 5 s, there are 10 choices for the remaining seven places For a string ending with two 5 s, there are 10 8 choices for the remaining seven places For a string both starting with three 5 s and ending with two 5 s, there are 10 5 choices for the remaining five places By the Inclusion-Exclusion Principle, the total number of possibilities is 10 + 10 8 10 5 XII Draw Pascal s Triangle down to the row that contains the binomial coefficients ( Use this row and the Binomial Theorem to write out (a 1) (giving the explicit numerical values of the coefficients) 1 1 1 1 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 0 15 6 1 1 1 35 35 1 1 By the Binomial Theorem, ( ) (a 1) = (a + ( 1)) = a k ( 1) k k k=0 ( ) ( ) ( ) ( ) = a ( 1) 0 + a 6 ( 1) 1 + a 5 ( 1) + a 4 ( 1) 3 0 1 3 ( ) ( ) ( ) ( ) + a 3 ( 1) 4 + a ( 1) 5 + a 1 ( 1) 6 + a 0 ( 1) 4 5 6 = a a 6 + 1a 5 35a 4 + 35a 3 1a + a 1

Page 4 XIII This problem concerns the identity n ( ( n 1 = k n () 1 Verify the identity by calculation using the formula for ( n 1 = n ( ) n 1 (n 1)! = n k 1 (k 1)! ((n 1) (k 1))! n (n 1)! = (k 1)! (n! ( ) n k n! (k 1)! (n! = k n! k(k 1)! (n! = k n! k! (n! = k Verify the identity by counting using two different methods the number of ways to choose a subset with k elements from a set of n elements, then choose one of the elements of this subset That is, let S be a set of n elements and count the number of pairs (A, x) where A has k elements, A S, and x A There are ( n ways to choose a subset A of k elements, and for each of these ways threre are k ways to choose an element x of A, giving k ( n possible ways On the other hand, if we think of selecting x first, there are n possible ways to select x, and then there are ( n 1 possible ways to choose the remaining k 1 elements of A from the remaining n 1 elements of S, giving n ( n 1 possible ways Since both of these methods counting the same thing, we must have n ( n 1 = k ( n XIV XV List all the ordered pairs in the relation on the set A = {1,, 3, 4} defined by a R b a b {(1, 1), (1, ), (1, 3), (1, 4), (, ), (, 4), (3, 3), (4, 4)} Verify that the relation of congruence modulo m is an equivalence relation To prove that congruence is reflexive, let a be any integer Since m a a, we have a a mod m To prove that congruence is symmetric, assume that a b mod m Then m a b, so m ( 1)(a b), m b a Therefore b a mod m To prove that congruence is transitive, assume that a b mod m and b c mod m Then m a b and m b c Therefore m (a b) + (b c), which says that m a c That is, a c mod m

Page 5 XVI (6) List explicitly the elements in the congruence classes [0], [1], [], [3], [4], [5] for the equivalence relation of congruence modulo 6 on the set of integers (show at least five integers from each class) Write out the addition and multiplication tables for the set {[0], [1], [], [3], [4], [5]} Which elements have inverses for multiplication? [0] = {, 1, 6, 0, 6, 1, } [1] = {, 11, 5, 1,, 13, } [] = {, 10, 4,, 8, 14, } [3] = {, 9, 3, 3, 9, 15, } [4] = {, 8,, 4, 10, 16, } [5] = {,, 1, 5, 11, 1, } + [0] [1] [] [3] [4] [5] [0] [1] [] [3] [4] [5] [0] [0] [1] [] [3] [4] [5] [0] [0] [0] [0] [0] [0] [0] [1] [1] [] [3] [4] [5] [0] [1] [0] [1] [] [3] [4] [5] [] [] [3] [4] [5] [0] [1] [] [0] [] [4] [0] [] [4] [3] [3] [4] [5] [0] [1] [] [3] [0] [3] [0] [3] [0] [3] [4] [4] [5] [0] [1] [] [3] [4] [0] [4] [] [0] [4] [] [5] [5] [0] [1] [] [3] [4] [5] [0] [5] [4] [3] [] [1] From the table, only [1] and [5] have multiplicative inverses (which is because 1 and 5 are the only two that are relatively prime to 6)