Chapter 1 solutions. (E1) and (E2):

Similar documents
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.

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

* 8 Groups, with Appendix containing Rings and Fields.

Linear Algebra March 16, 2019

ASSIGNMENT 1 SOLUTIONS

Chapter 1 : The language of mathematics.

Algebraic structures I

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

0 Sets and Induction. Sets

SUMS PROBLEM COMPETITION, 2000

Foundations Revision Notes

Math 4310 Solutions to homework 1 Due 9/1/16

1 Basic Combinatorics

ELEMENTARY LINEAR ALGEBRA

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

Lecture 6: Finite Fields

What can you prove by induction?

Matrices and Vectors

Modular Arithmetic Instructor: Marizza Bailey Name:

Lecture 2: Groups. Rajat Mittal. IIT Kanpur

Linear Algebra II. 2 Matrices. Notes 2 21st October Matrix algebra

WUCT121. Discrete Mathematics. Numbers

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Definition 2.3. We define addition and multiplication of matrices as follows.

2x 1 7. A linear congruence in modular arithmetic is an equation of the form. Why is the solution a set of integers rather than a unique integer?

CSE 1400 Applied Discrete Mathematics Proofs

0.Axioms for the Integers 1

Chapter One. The Real Number System

A. Incorrect! Apply the rational root test to determine if any rational roots exist.

MATH 341, Section 001 FALL 2014 Introduction to the Language and Practice of Mathematics

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

Math 109 September 1, 2016

A matrix over a field F is a rectangular array of elements from F. The symbol

Solution Set 2. Problem 1. [a] + [b] = [a + b] = [b + a] = [b] + [a] ([a] + [b]) + [c] = [a + b] + [c] = [a + b + c] = [a] + [b + c] = [a] + ([b + c])

Section-A. Short Questions

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

The natural numbers. The natural numbers come with an addition +, a multiplication and an order < p < q, q < p, p = q.

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 3

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

(Rgs) Rings Math 683L (Summer 2003)

Properties of the Integers

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

MTH 309 Supplemental Lecture Notes Based on Robert Messer, Linear Algebra Gateway to Mathematics

5 Group theory. 5.1 Binary operations

One-to-one functions and onto functions

Review Sheet for the Final Exam of MATH Fall 2009

Part IA Numbers and Sets

Chapter 5: The Integers

Chapter 0. Introduction: Prerequisites and Preliminaries

Chapter 5. Number Theory. 5.1 Base b representations

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

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

GROUPS. Chapter-1 EXAMPLES 1.1. INTRODUCTION 1.2. BINARY OPERATION

IDEAL CLASSES AND RELATIVE INTEGERS

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Systems of Linear Equations and Matrices

At least one of us is a knave. What are A and B?

1.1.1 Algebraic Operations

Propositional Logic. What is discrete math? Tautology, equivalence, and inference. Applications

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Inverses of Square Matrices

Quadratic reciprocity and the Jacobi symbol Stephen McAdam Department of Mathematics University of Texas at Austin

UNIVERSITY OF VICTORIA DECEMBER EXAMINATIONS MATH 122: Logic and Foundations

Foundations of Mathematics

Fundamentals of Probability CE 311S

The value of a problem is not so much coming up with the answer as in the ideas and attempted ideas it forces on the would be solver I.N.

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

BASIC MATHEMATICAL TECHNIQUES

ORDERS OF ELEMENTS IN A GROUP

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

Foundations of algebra

MATH 215 Sets (S) Definition 1 A set is a collection of objects. The objects in a set X are called elements of X.

ax b mod m. has a solution if and only if d b. In this case, there is one solution, call it x 0, to the equation and there are d solutions x m d

ALGEBRA. 1. Some elementary number theory 1.1. Primes and divisibility. We denote the collection of integers

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

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

FACTORIZATION AND THE PRIMES

1. Prove that the number cannot be represented as a 2 +3b 2 for any integers a and b. (Hint: Consider the remainder mod 3).

Test Codes : MIA (Objective Type) and MIB (Short Answer Type) 2007

Chapter 1 The Real Numbers

SETS AND FUNCTIONS JOSHUA BALLEW

Sets. Alice E. Fischer. CSCI 1166 Discrete Mathematics for Computing Spring, Outline Sets An Algebra on Sets Summary

1 2 3 style total. Circle the correct answer; no explanation is required. Each problem in this section counts 5 points.

Solutions to Homework Set 1

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

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2

Skills Practice Skills Practice for Lesson 4.1

RELATIONS AND FUNCTIONS

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

MATH 2112/CSCI 2112, Discrete Structures I Winter 2007 Toby Kenney Homework Sheet 5 Hints & Model Solutions

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

Sets are one of the basic building blocks for the types of objects considered in discrete mathematics.

2.57 PART E: THE FUNDAMENTAL THEOREM OF ALGEBRA (FTA) The Fundamental Theorem of Algebra (FTA)

The 70th William Lowell Putnam Mathematical Competition Saturday, December 5, 2009

MATH 13 SAMPLE FINAL EXAM SOLUTIONS

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

WORKSHEET ON NUMBERS, MATH 215 FALL. We start our study of numbers with the integers: N = {1, 2, 3,...}


Solutions I.N. Herstein- Second Edition

Answers Investigation 3

Transcription:

Chapter 1 solutions 1.1. A B means that every element of A is in B, and B A that every element of B is in A. The combination of these two statements is just what is meant by A B. 1.2. (a) In the expression A B, we have counted every element of A B, but elements of A B have been counted twoce; so we must subtract A B to get the right answer for A B. (b) There are A choices for the first element of an ordered pair and (independently) B choices for the second, giving A B pairs altogether. 1.3. None of the axioms: 1 2. (E1) only: 1 1 2 2 3 3 1 2 2 3. (E2) only: 1 2 2 1. (E3) only: 1 2 2 3 1 3. (E1) and (E2): 1 1 2 2 3 3 1 2 2 1 2 3 3 2. (E1) and (E3): 1 1 2 2 3 3 1 2. (E2) and (E3): The empty relation. All three: 1 1 2 2 3 3. Many other answers are possible. There are 2 9 512 sets of ordered pairs, each of which must fit into one of these eight categories! No relation on 1 2 can be reflexive and symmetric but not transitive, for example. 1.4. (a) It is reflexive, symmetric and transitive, since it contains all possible ordered pairs. (The conclusion of each of the three laws is that a certain ordered pair is in R.) The corresponding partition has just a single part, namely the whole set A. (b) This relation R is trivially reflexive and symmetric. If a b R and b c R, then a b and b c, so a c and hence a c R. Thus it is also transitive. The corresponding partition has the property that each of its parts consists of a single element. 1.5. Yes. There is one equivalence relation on the empty set, namely the empty set of ordered pairs; and one partition, the partition with the empty set of parts. 1.6. From 1 2 3 to 1 2 3 4 : 4 3 64 functions of which 4 3 2 24 are one-toone and none are onto. From 1 2 3 4 to 1 2 3 : 3 4 81 functions, of which none are one-to-one and 36 are onto. 1

1.7. (a) Not a function because F 0 is not defined. We can fix it in either of two ways: either say that F is a function from R 0 to R, or else define the value of F 0 to be anything at all, say 0. (b) Not a function because the two roots c and d of the quadratic can be written in either order, and we have not given a rule to specify which order we are using. (For example, the roots of the quadratic x 2 3x 2 0 are 1 and 2, so F 3 2 is either 1 2 or 2 1, but we haven t said which.) We could fix this by specifying an order. For example, we could take c to be the root with smaller real part; if they have the same real parts, take c to be the one with smaller imaginary part. (If both the real and the imaginary parts are equal, then c d, and the problem doesn t arise.) Alternatively, we could define F a b to be the set c d, in which case F maps C 2 to the set of subsets of C containing at most two elements. 1.8 It is easier (and equivalent) to show that there are exactly five partitions of 1 2 3. They are the partition with a single part, the partition with all parts containing a single element, and three others having a part of size 1 and one of size 2, namely 1 2 3, 2 1 3, and 3 1 2. On a set of four points there are 15 partitions: one with a single part, four with parts of sizes 1 and 3, three with parts of sizes 2 and 2, six with parts of sizes 1, 1 and 2, and one with all its parts of size 1. 1.9. (a) Reflexive and transitive, not symmetric. (b) Assuming that every capital city in Europe has a railway station, this is an equivalence relation. The equivalence classes change over time, since both the set of capital cities and the rail connections vary. (c) Reflexive and transitive, not symmetric. (d) An equivalence relation. There are four equivalence classes, the congruence classes modulo 4. 1.10. Recall that x and y are in the same equivalence class of KER f if and only if f x! f y. So, defining a function F from the set of equivalence classes to Im f by the rule that F C" f x for some x C, we see that F is well-defined. It is clearly onto Im f. If F C 1 # F C 2, then elements of C 1 and C 2 are equivalent, and so C 1 C 2 ; so F is one-to-one. 1.11. (a) We check that the appropriate laws hold. For any x, we have x $ x and x $ x (as we re given that $ is reflexive), so x % x. Suppose that x % y. Then x $ y and y $ x; so y % x. Suppose that x % y and y % z. Thus x $ y, y $ x, y $ z and z $ y. From x $ y and y $ z and the transitivity of $ we infer that x $ z. Similarly z $ x. So x % z. (b) We have x $ y, x $ x 1, x 1 $ x, y $ y 1 and y 1 $ y. Applying the transitive law twice to the third, first and fourth of these relations shows that x 1 $ y 1. 1.12. The truth table is as follows: 2

& & & & p q p q q p p q'( q p T T T T T T F F T T F T T F T F F T T T The fact that every entry in the last column is T shows that the formula is logically valid. 1.13. x A ) B if and only if either p is true and q is false, or p is false and q is true. These are just the cases where the truth table for * p + q has entries T. The entries T in the truth table for p & q occur in all rows except that where p is true and q false. So the set represented is A B-,, the complement of A B. 1.14. The corresponding expressions are * p ' q and.* p/0.* q. Construct a truth table to show that these expressions are logically equivalent. 1.15. (a) Follow the argument in the text for 1 2, replacing 2 by p. Wee need to know that, if p divides x 2, then p divides x. This follows from the Fundamental Theorem of Arithmetic. For, if p doesn t divide x, then it doesn t occur in the prime factorisation of x, and hence not in the prime factorisation of x 2 either. (b) Suppose that 1 3 2 x2 y, where x and y are positive integers, and the fraction is in its lowest terms. Then we have x 3 2y 3. Thus, x 3 is even, and so also x is even. [Why?] Say x 2u. Then 8u 3 2y 3, and so 4u 3 y 3. So y 3, and hence also y, is even, contrary to the assumption that the fraction is in its lowest terms. 1.16. All that requires clarification is the notion that a rational number x has a unique fractional part. Suppose that x a2 b, with b 3 0. The Division Algorithm gives a bq r, with 0 4 r 5 b. Thus x q 6 r2 b, with 0 47 r2 b5 1. Hence q is the integer part, and r2 b the fractional part. If there were two different expressions for x, then the integer parts would differ by an integer, while the fractional parts would differ by less than one; this is impossible. 1.17. (a) This is true for n 1. Assume that it holds for a value n. Adding on n 1, we find that the sum of the first n 1 integers is n n 1 2 2 8 n 19 : n 1 n 22 2; so the result holds also for n 1. (b) Use the result of (a): what we are asked to show is that the sum of the cubes of the first n positive integers is n 2 n 1 2 2 4. Now prove this by induction as in the earlier examples. 1.18. For n 1, we interpret A 1 as being just A, and so the induction starts correctly. Suppose that A n ; < A n. Then A n= 1 A n > A, and so A n= 1 < A n A? A n A? A n= 1@ This verifies the result for n 1, the inductive step. So it is true for all n by induction. 1.19. Suppose that such a sequence exists. By the Well-ordering Principle, it has a least element, say a k. But then the facts that a k 4 a k= 1 (since a k is the least element) and a k 3 a k= 1 (given) conflict. 3

1.20. P 1 is indeed true, but P 2 is clearly false (two horses don t necessarily have the same ccolour). So the inductive step must fail for n 1. Indeed, given a set H 1 H 2 of two horses, it is indeed true that all the horses in H 1 ave the same colour, and all the horses in H 2 have the same colour; but these sets don t overlap, so no conclusion can be drawn. 1.21. Let us just consider the term of degree 2 in the product of the polynomials f xa a 0 a 1 x a 2 x 2 @@ @ and g xb b 0 b 1 x b 2 x 2 @@ @. In the product f g, this coefficient is a 0 b 2 a 1 b 1 9 a 2 b 0, while in g f it is b 0 a 2 b 1 a 1 B b 2 a 0. To show that these two expressions are equal, we need that a 0 b 2 b 2 a 0, a 1 b 1 b 1 a 1, and a 2 b 0 b 0 a 2 (commutativity of multiplication), and that u vc w < w vc u (which requires associativity and commutativity of addition to do in three steps): u vd w u 8 v we : v wd u : w vd u @ 1.22 (a) True; (b) False (should be f g t! f t g t ). Proof of (a): if f x! a n x n and g xf b n x n, then f g ta a n b n x n a n x n b n x n using the commutative and associative properties of the coefficients to rearrange the equationds. The proof of (b) is similar. 1.23 If A a c b d H, B A B C AC BC e g f, and C i k j l H, then calculation shows that hh a e i I b f k a e j 8 b f l c g i I d h k c g j 8 d h l H ai bkd 8 ei f kj a j bld 8 e j f l ci dkd 8 gi hkk c j dld 8 g j hl H So the equality requires four calculations of which the first is typical: a e i 8 b f k? ai eid 8 bk f k9 : ai bk I ei f k where the first equality uses the distriutive law, and the second the commutative and associative laws for addition. a b e f 1.24. No coincidence. The sum of the diagonal elements of is c d H g hh e f a b ae bg c f dh; for, the sum is ea g hh c d H f c gb hd, which is the same. 1.25 Let A : a i j and B L b i j, where a i j b i j 0 for i 3 j. Then A B C : c i j where c i j a i j b i j ; clearly c i j 0 for i 3 j. Also AB D : d i j, where d i j n km 1 If i 3 j then, for any value of k, necessarily either i 3 k or k 3 j. (Otherwise i 4 k and k 4 j, whence i 4 j, contrary to assumption.) So each term in the sum has either a ik 0 or b k j 0, and hence d i j 0. Thus both A B and AB are upper triangular. a ik b k j @ 4

1.26. If a c and b d, then a a b N c c d. The converse is more difficult. So suppose that a a bo L c c d. Since two sets are equal if and only if they have the same members, this implies that either a P c, a b P c d, or a P c d, a b L c. In the first case, we have a c, and then either a c and b d, or a d and b c. The first subcase is exactly what we want. In the second subcase, we have c a d b, so all four elements are equal. In the second itemized case, we have c a d amd a c b, so again all four are equal. 5