UNIVERSITETET I BERGEN Det matematisknaturvitenskapelige fakultet. Obligatorisk underveisvurdering 2 i MNF130, vår 2010


 Roxanne Parker
 1 years ago
 Views:
Transcription
1 UNIVERSITETET I BERGEN Det matematisknaturvitenskapelige fakultet Obligatorisk underveisvurdering 2 i MNF130, vår 2010 Innleveringsfrist: Fredag 30. april, kl. 14, i skranken på Realfagbygget. The exercises must be solved and handed in individually by each student. Collaboration between students is not allowed. The result counts 10% of the final grade. However, if the result is better than the score at the final exam, the result will count 20%. Aids permitted: Textbook and calculator. All answers must be justified. You should include enough calculations and intermediate steps to make your methods transparent. The justifications must however be short and concise. Unnecessarily long explanations will be rewarded with fewer points. The problem set consists of 5 pages. PROBLEM 1 (20 points) Do one of the following two problems: (I) Let a 1 = 2, a 2 = 9 and a n = 2a n 1 + 3a n 2 for n 3. Show that a n 3 n for all positive integers n. (II) In a roundrobin pool tournament there are n participants. (Everyone plays exactly one game against each other participant and a pool game cannot end with a draw.) Show that no matter how the games end, it will be possible after the tournament to make a list of all players such that each player has beaten the next player in the list in the match they played against each other. PROBLEM 2 ( points) (a) How many students must be in a class to guarantee that at least five were born on the same day of the week? (b) How many different license plates can be made if each license plate consists of three letters followed by three digits or four letters followed by two digits? (The letter can be taken from the English alphabet, which consists of 26 letters.) (c) You are at a family dinner, where there are nine other members of your family. You want to arrange five of the other nine persons in a row for a picture. In how many different ways can this be done, if your parents are to be in the picture, standing next to each other? 1
2 2 PROBLEM 3 ( points) Consider the following relations on the set of positive integers: R 1 = {(x, y) gcd(x, y) = 1} R 2 = {(x, y) x and y have the same prime divisors} (a) Check whether the relations are reflexive, symmetric, antisymmetric, or transitive. (b) Why is R 2 an equivalence relation? What is the equivalence class of 1? Write the equivalence class of a positive integer n 2 in the simplest way possible, using the Fundamental Theorem of Arithmetics. (c) What is the intersection of the two relations R 1 and R 2? PROBLEM 4 (10 points) Suppose that R and S are symmetric relations on a set A. Prove that R S is also symmetric. PROBLEM 5 ( points) Consider the poset S with the following Hasse diagram: (a) Why is S not totally ordered? Find a totally ordered subset of S consisting of 5 elements. (b) Find the following elements, or show that they do not exist: (i) all maximal elements of the poset; (ii) all minimal elements of the poset; (iii) the least element of the poset; (iv) the greatest element of the poset; (v) the greatest lower bound of the set {a, b, c}; (vi) the least upper bound of the set {a, b, c}. (c) Use a topological sort to find a total ordering of the elements that is compatible with the partial ordering. PROBLEM 6 ( points) (a) Does a simple graph that has five vertices each of degree three exist? If so, draw such a graph. If not, explain why it does not exist.
3 3 (b) Determine whether the following graph is bipartite or not: (c) The picture shows the floor plan of an office. Use ideas from graph theory to prove that it is impossible to make a walk that passes through each doorway exactly once, starting and ending at A. PROBLEM 7 (10+10 points) Consider the following program segment: i := 1 total:= 1 while i < n begin i := i + 1 total:=total+i end (a) Let p be the proposition total= i(i+1) 2 and i n. Show that p is a loop invariant. (b) Use p to prove that the program segment terminates with the output n(n+1) 2, where n is a positive integer. PROBLEM 8 ( points) (a) What is the language generated by the grammar with vocabulary {S, A, 0, 1}, where S is the start symbol and {0, 1} is the set of terminal elements, and productions S SA, S 0, A 1A and A 1? (b) Find a grammar generating the set {0 2n 1 n n Z, n 0} (with the usual convention that = λ, the empty string).
4 4 (c) What is the output string generated by the finitestate machine described by the following diagram when the input string is 11101? PROBLEM 9 (10+10 points) (a) Here is an incorrect solution to a problem. Find and explain what is not correct and give the correct solution. Problem: Find the number of ways to get two pairs of different ranks (such as two jacks and two fives) in a 4card hand from an ordinary deck of 52 cards. ( Solution: There are 13 ways to get a rank (such as kings ) for the first pair and 4 ) 2 ways to get a pair of that rank. Similarly, there are 12 ways to get a rank (such as sevens ) for the second pair and ( 4 2) ways to get a pair of that rank. Therefore, there are ( ) ( ) ways to get two pairs. (b) What is the probability that a 5card hand from an ordinary deck of 52 cards contains two pairs of different ranks? (You will need the correct answer from (a). If you cannot come up with an answer to (a), just call the answer x and give the answer to (b) in terms of x.) PROBLEM 10 ( points) In this problem n is a positive integer. A soccer player has n numbered footballs that he shoots against a goal. He notes with which balls he scores a goal and with which balls he does not. (a) How many different outcomes of the experiment are there? How many outcomes are there with precisely k goals, when 0 k n? (b) A goalkeeper tries to save the shots. He notes which shots go outside the goal, which shots go inside the goal and which shots he saves. How many outcomes of the experiment are there now? (c) Let S be a set of n elements and consider the power set P (S) of S. Show that the set {(A, B) P (S) P (S) A B} contains 3 n elements.
5 5 (d) Give a combinatorial proof of the formula n ( ) n 2 k = 3 n k k=0 (which is Corollary 3 in 5.4, where it is proved using the Binomial Theorem). PROBLEM 11 ( points) In this problem we will develop a proof of the following theorem of Fermat: If p is a prime number, then for any integer n we have n p n (mod p). (a) Let p be a prime number. Prove first the following result using the fundamental theorem of arithmetics: If a and b are integers such that pa/b is an integer and p does not divide b, then pa/b is divisible by p. Then use this result to prove that p divides ( p k) for any integer k such that 0 < k < p. (b) Use the result from (a) and the binomial theorem to prove that, for any integers x and y we have (x + y) p x p + y p (mod p). (c) Use mathematical induction and the result from (b) to prove that n p n (mod p) for all positive integers n. (Hint: n = (n 1) + 1.) (d) Explain why the formula you obtained in (c) is also valid if n is zero or a negative integer. (This finishes the proof of the theorem of Fermat.) PROBLEM 12 (10 points) On a remote island lives a happy tribe. The island is so small that everybody knows everybody. The inhabitants are extremely intelligent and rational, except for the following: It is considered to be a big shame to have blue eyes. If one inhabitant discovers having blue eyes, he/she will flee from the island at midnight and never come back. Luckily there are no mirrors on the island, nobody knows genetics and everybody is too polite to talk about anybody s colour of eyes. One day a missionary comes to the island. As he is about to leave he tells everybody that he finds it strange that there are two colours of eyes in such a small community, blue and brown. On the 43rd night after this happens, many inhabitants flee from the island. How many persons were blueeyed on the island? (Hint: use induction on the number of blueeyed inhabitants.) LYKKE TIL! Andreas Leopold Knutsen
Midterm Practice Problems
6.042/8.062J Mathematics for Computer Science October 2, 200 Tom Leighton, Marten van Dijk, and Brooke Cowan Midterm Practice Problems Problem. [0 points] In problem set you showed that the nand operator
More informationMathematics for Computer Science/Software Engineering. Notes for the course MSM1F3 Dr. R. A. Wilson
Mathematics for Computer Science/Software Engineering Notes for the course MSM1F3 Dr. R. A. Wilson October 1996 Chapter 1 Logic Lecture no. 1. We introduce the concept of a proposition, which is a statement
More informationA Short Course in Discrete Mathematics
A Short Course in Discrete Mathematics for students of computer and computational science Edward A. Bender S. Gill Williamson c Edward A. Bender & S. Gill Williamson 2004. All rights reserved. Preface
More information94 Counting Solutions for Chapter 3. Section 3.2
94 Counting 3.11 Solutions for Chapter 3 Section 3.2 1. Consider lists made from the letters T, H, E, O, R, Y, with repetition allowed. (a How many length4 lists are there? Answer: 6 6 6 6 = 1296. (b
More informationJust the Factors, Ma am
1 Introduction Just the Factors, Ma am The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive
More informationDiscrete Mathematics & Mathematical Reasoning Chapter 6: Counting
Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Colin Stirling Informatics Slides originally by Kousha Etessami Colin Stirling (Informatics) Discrete Mathematics (Chapter 6) Today 1 /
More informationPractice Final Exam Solutions
1 (1 points) For the following problem, the alphabet used is the standard letter English alphabet, and vowels refers only to the letters A, E, I, O, and U (a) ( points) How many strings of five letters
More informationFoundations of Logic and Mathematics
Yves Nievergelt Foundations of Logic and Mathematics Applications to Computer Science and Cryptography Birkhäuser Boston Basel Berlin Contents Preface Outline xiii xv A Theory 1 0 Boolean Algebraic Logic
More information33 Probability: Some Basic Terms
33 Probability: Some Basic Terms In this and the coming sections we discuss the fundamental concepts of probability at a level at which no previous exposure to the topic is assumed. Probability has been
More informationSets and Subsets. Countable and Uncountable
Sets and Subsets Countable and Uncountable Reading Appendix A Section A.6.8 Pages 788792 BIG IDEAS Themes 1. There exist functions that cannot be computed in Java or any other computer language. 2. There
More informationMath 319 Problem Set #3 Solution 21 February 2002
Math 319 Problem Set #3 Solution 21 February 2002 1. ( 2.1, problem 15) Find integers a 1, a 2, a 3, a 4, a 5 such that every integer x satisfies at least one of the congruences x a 1 (mod 2), x a 2 (mod
More informationProperties of Real Numbers
16 Chapter P Prerequisites P.2 Properties of Real Numbers What you should learn: Identify and use the basic properties of real numbers Develop and use additional properties of real numbers Why you should
More informationSolutions to Final Exam Sample Questions
Solutions to Final Exam Sample Questions CSE 31 1. Show that the proposition p ((q (r s)) t) is a contingency WITHOUT constructing its full truth table. If p is false, then the proposition is true, because
More information. 0 1 10 2 100 11 1000 3 20 1 2 3 4 5 6 7 8 9
Introduction The purpose of this note is to find and study a method for determining and counting all the positive integer divisors of a positive integer Let N be a given positive integer We say d is a
More informationPage 331, 38.4 Suppose a is a positive integer and p is a prime. Prove that p a if and only if the prime factorization of a contains p.
Page 331, 38.2 Assignment #11 Solutions Factor the following positive integers into primes. a. 25 = 5 2. b. 4200 = 2 3 3 5 2 7. c. 10 10 = 2 10 5 10. d. 19 = 19. e. 1 = 1. Page 331, 38.4 Suppose a is a
More information1 Die hard, once and for all
ENGG 2440A: Discrete Mathematics for Engineers Lecture 4 The Chinese University of Hong Kong, Fall 2014 6 and 7 October 2014 Number theory is the branch of mathematics that studies properties of the integers.
More information3. Recurrence Recursive Definitions. To construct a recursively defined function:
3. RECURRENCE 10 3. Recurrence 3.1. Recursive Definitions. To construct a recursively defined function: 1. Initial Condition(s) (or basis): Prescribe initial value(s) of the function.. Recursion: Use a
More informationThe Advantage Testing Foundation Solutions
The Advantage Testing Foundation 013 Problem 1 The figure below shows two equilateral triangles each with area 1. The intersection of the two triangles is a regular hexagon. What is the area of the union
More informationSpring 2007 Math 510 Hints for practice problems
Spring 2007 Math 510 Hints for practice problems Section 1 Imagine a prison consisting of 4 cells arranged like the squares of an chessboard There are doors between all adjacent cells A prisoner in one
More informationElementary Number Theory We begin with a bit of elementary number theory, which is concerned
CONSTRUCTION OF THE FINITE FIELDS Z p S. R. DOTY Elementary Number Theory We begin with a bit of elementary number theory, which is concerned solely with questions about the set of integers Z = {0, ±1,
More informationInduction Problems. Tom Davis November 7, 2005
Induction Problems Tom Davis tomrdavis@earthlin.net http://www.geometer.org/mathcircles November 7, 2005 All of the following problems should be proved by mathematical induction. The problems are not necessarily
More informationSOLUTIONS, Homework 6
SOLUTIONS, Homework 6 1. Testing out the identities from Section 6.4. (a) Write out the numbers in the first nine rows of Pascal s triangle. 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 15 20 15 6 1
More informationvertex, 369 disjoint pairwise, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws
Index absolute value, 135 141 additive identity, 254 additive inverse, 254 aleph, 466 algebra of sets, 245, 278 antisymmetric relation, 387 arcsine function, 349 arithmetic sequence, 208 arrow diagram,
More informationSection 3.2 Partial Order
1 Section 3.2 Purpose of Section To introduce a partial order relation (or ordering) on a set. We also see how order relations can be illustrated graphically by means of Hasse diagrams and directed graphs.
More informationMath/CSE 1019: Discrete Mathematics for Computer Science Fall Suprakash Datta
Math/CSE 1019: Discrete Mathematics for Computer Science Fall 2011 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 4167362100 ext 77875 Course page: http://www.cse.yorku.ca/course/1019 1
More informationFinite and Infinite Sets
Chapter 9 Finite and Infinite Sets 9. Finite Sets Preview Activity (Equivalent Sets, Part ). Let A and B be sets and let f be a function from A to B..f W A! B/. Carefully complete each of the following
More informationDiscrete Mathematics, Chapter 5: Induction and Recursion
Discrete Mathematics, Chapter 5: Induction and Recursion Richard Mayr University of Edinburgh, UK Richard Mayr (University of Edinburgh, UK) Discrete Mathematics. Chapter 5 1 / 20 Outline 1 Wellfounded
More information8 Divisibility and prime numbers
8 Divisibility and prime numbers 8.1 Divisibility In this short section we extend the concept of a multiple from the natural numbers to the integers. We also summarize several other terms that express
More informationNOTES ON COUNTING KARL PETERSEN
NOTES ON COUNTING KARL PETERSEN It is important to be able to count exactly the number of elements in any finite set. We will see many applications of counting as we proceed (number of Enigma plugboard
More information1.1 Logical Form and Logical Equivalence 1
Contents Chapter I The Logic of Compound Statements 1.1 Logical Form and Logical Equivalence 1 Identifying logical form; Statements; Logical connectives: not, and, and or; Translation to and from symbolic
More informationChapter 4: Binary Operations and Relations
c Dr Oksana Shatalov, Fall 2014 1 Chapter 4: Binary Operations and Relations 4.1: Binary Operations DEFINITION 1. A binary operation on a nonempty set A is a function from A A to A. Addition, subtraction,
More informationp 2 1 (mod 6) Adding 2 to both sides gives p (mod 6)
.9. Problems P10 Try small prime numbers first. p p + 6 3 11 5 7 7 51 11 13 Among the primes in this table, only the prime 3 has the property that (p + ) is also a prime. We try to prove that no other
More informationMathematical induction & Recursion
CS 441 Discrete Mathematics for CS Lecture 15 Mathematical induction & Recursion Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Proofs Basic proof methods: Direct, Indirect, Contradiction, By Cases,
More informationLecture 1 (Review of High School Math: Functions and Models) Introduction: Numbers and their properties
Lecture 1 (Review of High School Math: Functions and Models) Introduction: Numbers and their properties Addition: (1) (Associative law) If a, b, and c are any numbers, then ( ) ( ) (2) (Existence of an
More informationInduction. Mathematical Induction. Induction. Induction. Induction. Induction. 29 Sept 2015
Mathematical If we have a propositional function P(n), and we want to prove that P(n) is true for any natural number n, we do the following: Show that P(0) is true. (basis step) We could also start at
More informationFormal Languages and Automata Theory  Regular Expressions and Finite Automata 
Formal Languages and Automata Theory  Regular Expressions and Finite Automata  Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March
More informationInduction and Recursion
Induction and Recursion Winter 2010 Mathematical Induction Mathematical Induction Principle (of Mathematical Induction) Suppose you want to prove that a statement about an integer n is true for every positive
More informationReading 7 : Program Correctness
CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Instructors: Beck Hasti, Gautam Prakriya Reading 7 : Program Correctness 7.1 Program Correctness Showing that a program is correct means that
More informationNOTES: Justify your answers to all of the counting problems (give explanation or show work).
Name: Solutions Student Number: CISC 203 Discrete Mathematics for Computing Science Test 3, Fall 2010 Professor Mary McCollam This test is 50 minutes long and there are 40 marks. Please write in pen and
More informationCS103X: Discrete Structures Homework Assignment 2: Solutions
CS103X: Discrete Structures Homework Assignment 2: Solutions Due February 1, 2008 Exercise 1 (10 Points). Prove or give a counterexample for the following: Use the Fundamental Theorem of Arithmetic to
More information3 Some Integer Functions
3 Some Integer Functions A Pair of Fundamental Integer Functions The integer function that is the heart of this section is the modulo function. However, before getting to it, let us look at some very simple
More informationHow to prove an algorithm is correct?
How to prove an algorithm is correct? To prove the incorrectness of an algorithm, one counterexample is enough. Proving the correctness of an algorithm is similar to proving a mathematical theorem; fundamentally,
More informationPrime Numbers. Chapter Primes and Composites
Chapter 2 Prime Numbers The term factoring or factorization refers to the process of expressing an integer as the product of two or more integers in a nontrivial way, e.g., 42 = 6 7. Prime numbers are
More informationPythagorean Triples. Chapter 2. a 2 + b 2 = c 2
Chapter Pythagorean Triples The Pythagorean Theorem, that beloved formula of all high school geometry students, says that the sum of the squares of the sides of a right triangle equals the square of the
More informationInstructor: Bobby Kleinberg Lecture Notes, 5 May The MillerRabin Randomized Primality Test
Introduction to Algorithms (CS 482) Cornell University Instructor: Bobby Kleinberg Lecture Notes, 5 May 2010 The MillerRabin Randomized Primality Test 1 Introduction Primality testing is an important
More information3(vi) B. Answer: False. 3(vii) B. Answer: True
Mathematics 0N1 Solutions 1 1. Write the following sets in list form. 1(i) The set of letters in the word banana. {a, b, n}. 1(ii) {x : x 2 + 3x 10 = 0}. 3(iv) C A. True 3(v) B = {e, e, f, c}. True 3(vi)
More informationCSCI 246 Class 5 RATIONAL NUMBERS, QUOTIENT REMAINDER THEOREM
CSCI 246 Class 5 RATIONAL NUMBERS, QUOTIENT REMAINDER THEOREM Quiz Questions Lecture 8: Give the divisors of n when: n = 10 n = 0 Lecture 9: Say: 10 = 3*3 +1 What s the quotient q and the remainder r?
More informationRELATIONS AND FUNCTIONS
Chapter 1 RELATIONS AND FUNCTIONS There is no permanent place in the world for ugly mathematics.... It may be very hard to define mathematical beauty but that is just as true of beauty of any kind, we
More informationStudying Relationships
Binary Relations Problem Problem Set Set Two Two checkpoint checkpoint due due in in the the box box up up front front if if you're you're using using a a late late period. period. Studying Relationships
More informationMATH 321 EQUIVALENCE RELATIONS, WELLDEFINEDNESS, MODULAR ARITHMETIC, AND THE RATIONAL NUMBERS
MATH 321 EQUIVALENCE RELATIONS, WELLDEFINEDNESS, MODULAR ARITHMETIC, AND THE RATIONAL NUMBERS ALLAN YASHINSKI Abstract. We explore the notion of welldefinedness when defining functions whose domain is
More informationSECTION 102 Mathematical Induction
73 0 Sequences and Series 6. Approximate e 0. using the first five terms of the series. Compare this approximation with your calculator evaluation of e 0.. 6. Approximate e 0.5 using the first five terms
More informationOPERATIONS AND PROPERTIES
CHAPTER OPERATIONS AND PROPERTIES Jesse is fascinated by number relationships and often tries to find special mathematical properties of the fivedigit number displayed on the odometer of his car. Today
More informationMACM 101 Discrete Mathematics I
MACM 101 Discrete Mathematics I Exercises on Combinatorics, Probability, Languages and Integers. Due: Tuesday, November 2th (at the beginning of the class) Reminder: the work you submit must be your own.
More informationDiscrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 5
CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 5 Modular Arithmetic One way to think of modular arithmetic is that it limits numbers to a predefined range {0,1,...,N
More informationThe Laws of Cryptography Cryptographers Favorite Algorithms
2 The Laws of Cryptography Cryptographers Favorite Algorithms 2.1 The Extended Euclidean Algorithm. The previous section introduced the field known as the integers mod p, denoted or. Most of the field
More informationALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite
ALGEBRA Pupils should be taught to: Generate and describe sequences As outcomes, Year 7 pupils should, for example: Use, read and write, spelling correctly: sequence, term, nth term, consecutive, rule,
More information2.3. Relations. Arrow diagrams. Venn diagrams and arrows can be used for representing
2.3. RELATIONS 32 2.3. Relations 2.3.1. Relations. Assume that we have a set of men M and a set of women W, some of whom are married. We want to express which men in M are married to which women in W.
More information8 Square matrices continued: Determinants
8 Square matrices continued: Determinants 8. Introduction Determinants give us important information about square matrices, and, as we ll soon see, are essential for the computation of eigenvalues. You
More information16. Let S denote the set of positive integers 18. Thus S = {1, 2,..., 18}. How many subsets of S have sum greater than 85? (You may use symbols such
æ. Simplify 2 + 3 + 4. 2. A quart of liquid contains 0% alcohol, and another 3quart bottle full of liquid contains 30% alcohol. They are mixed together. What is the percentage of alcohol in the mixture?
More informationIntroduction to Relations
CHAPTER 7 Introduction to Relations 1. Relations and Their Properties 1.1. Definition of a Relation. Definition: A binary relation from a set A to a set B is a subset R A B. If (a, b) R we say a is related
More informationMathematical Induction
Mathematical S 0 S 1 S 2 S 3 S 4 S 5 S 6 S 7 S 8 S 9 S 10 Like dominoes! Mathematical S 0 S 1 S 2 S 3 S4 S 5 S 6 S 7 S 8 S 9 S 10 Like dominoes! S 4 Mathematical S 0 S 1 S 2 S 3 S5 S 6 S 7 S 8 S 9 S 10
More informationSolutions to Problems for Mathematics 2.5 DV Date: April 14,
Solutions to Problems for Mathematics 25 DV Date: April 14, 2010 1 Solution to Problem 1 The equation is 75 = 12 6 + 3 Solution to Problem 2 The remainder is 1 This is because 11 evenly divides the first
More informationMath 330A Class Drills All content copyright October 2010 by Mark Barsamian
Math 330A Class Drills All content copyright October 2010 by Mark Barsamian When viewing the PDF version of this document, click on a title to go to the Class Drill. Drill for Section 1.3.1: Theorems about
More informationLAKE ELSINORE UNIFIED SCHOOL DISTRICT
LAKE ELSINORE UNIFIED SCHOOL DISTRICT Title: PLATO Algebra 1Semester 2 Grade Level: 1012 Department: Mathematics Credit: 5 Prerequisite: Letter grade of F and/or N/C in Algebra 1, Semester 2 Course Description:
More informationAnswer Key for California State Standards: Algebra I
Algebra I: Symbolic reasoning and calculations with symbols are central in algebra. Through the study of algebra, a student develops an understanding of the symbolic language of mathematics and the sciences.
More informationSets and Logic. Chapter Sets
Chapter 2 Sets and Logic This chapter introduces sets. In it we study the structure on subsets of a set, operations on subsets, the relations of inclusion and equality on sets, and the close connection
More information1 Introduction. 2 Basic Principles. 2.1 Multiplication Rule. [Ch 9] Counting Methods. 400 lecture note #9
400 lecture note #9 [Ch 9] Counting Methods 1 Introduction In many discrete problems, we are confronted with the problem of counting. Here we develop tools which help us counting. Examples: o [9.1.2 (p.
More informationInduction. Margaret M. Fleck. 10 October These notes cover mathematical induction and recursive definition
Induction Margaret M. Fleck 10 October 011 These notes cover mathematical induction and recursive definition 1 Introduction to induction At the start of the term, we saw the following formula for computing
More informationDay 11. Wednesday June 6, Today, we begin by investigating properties of relations. We use a few toy relations as examples.
Day 11 Wednesday June 6, 2012 1 Relations Today, we begin by investigating properties of relations. We use a few toy relations as examples. 1.1 Examples of Relations There are a few relations that particularly
More informationMODULAR ARITHMETIC. a smallest member. It is equivalent to the Principle of Mathematical Induction.
MODULAR ARITHMETIC 1 Working With Integers The usual arithmetic operations of addition, subtraction and multiplication can be performed on integers, and the result is always another integer Division, on
More informationChapter Three. Functions. In this section, we study what is undoubtedly the most fundamental type of relation used in mathematics.
Chapter Three Functions 3.1 INTRODUCTION In this section, we study what is undoubtedly the most fundamental type of relation used in mathematics. Definition 3.1: Given sets X and Y, a function from X to
More informationA set is a Many that allows itself to be thought of as a One. (Georg Cantor)
Chapter 4 Set Theory A set is a Many that allows itself to be thought of as a One. (Georg Cantor) In the previous chapters, we have often encountered sets, for example, prime numbers form a set, domains
More informationMore Mathematical Induction. October 27, 2016
More Mathematical Induction October 7, 016 In these slides... Review of ordinary induction. Remark about exponential and polynomial growth. Example a second proof that P(A) = A. Strong induction. Least
More informationBasic Notions on Graphs. Planar Graphs and Vertex Colourings. Joe Ryan. Presented by
Basic Notions on Graphs Planar Graphs and Vertex Colourings Presented by Joe Ryan School of Electrical Engineering and Computer Science University of Newcastle, Australia Planar graphs Graphs may be drawn
More informationPART I. THE REAL NUMBERS
PART I. THE REAL NUMBERS This material assumes that you are already familiar with the real number system and the representation of the real numbers as points on the real line. I.1. THE NATURAL NUMBERS
More informationIntroduction to mathematical arguments
Introduction to mathematical arguments (background handout for courses requiring proofs) by Michael Hutchings A mathematical proof is an argument which convinces other people that something is true. Math
More informationAutomata and Languages
Automata and Languages Computational Models: An idealized mathematical model of a computer. A computational model may be accurate in some ways but not in others. We shall be defining increasingly powerful
More informationDiscrete Mathematics. Hans Cuypers. October 11, 2007
Hans Cuypers October 11, 2007 1 Contents 1. Relations 4 1.1. Binary relations................................ 4 1.2. Equivalence relations............................. 6 1.3. Relations and Directed Graphs.......................
More informationMath 3000 Running Glossary
Math 3000 Running Glossary Last Updated on: July 15, 2014 The definition of items marked with a must be known precisely. Chapter 1: 1. A set: A collection of objects called elements. 2. The empty set (
More information= 2 + 1 2 2 = 3 4, Now assume that P (k) is true for some fixed k 2. This means that
Instructions. Answer each of the questions on your own paper, and be sure to show your work so that partial credit can be adequately assessed. Credit will not be given for answers (even correct ones) without
More informationOh Yeah? Well, Prove It.
Oh Yeah? Well, Prove It. MT 43A  Abstract Algebra Fall 009 A large part of mathematics consists of building up a theoretical framework that allows us to solve problems. This theoretical framework is built
More informationS(A) X α for all α Λ. Consequently, S(A) X, by the definition of intersection. Therefore, X is inductive.
MA 274: Exam 2 Study Guide (1) Know the precise definitions of the terms requested for your journal. (2) Review proofs by induction. (3) Be able to prove that something is or isn t an equivalence relation.
More informationSection 3.3 Equivalence Relations
1 Section 3.3 Purpose of Section To introduce the concept of an equivalence relation and show how it subdivides or partitions a set into distinct categories. Introduction Classifying objects and placing
More informationSection 1.3: Predicate Logic
1 Section 1.3: Purpose of Section: To introduce predicate logic (or firstorder logic) which the language of mathematics. We see how predicate logic extends the language of sentential calculus studied
More informationSection 62 Mathematical Induction
6 Mathematical Induction 457 In calculus, it can be shown that e x k0 x k k! x x x3!! 3!... xn n! where the larger n is, the better the approximation. Problems 6 and 6 refer to this series. Note that
More informationThe Language of Mathematics
CHPTER 2 The Language of Mathematics 2.1. Set Theory 2.1.1. Sets. set is a collection of objects, called elements of the set. set can be represented by listing its elements between braces: = {1, 2, 3,
More informationChapter 2 Limits Functions and Sequences sequence sequence Example
Chapter Limits In the net few chapters we shall investigate several concepts from calculus, all of which are based on the notion of a limit. In the normal sequence of mathematics courses that students
More information2 The Euclidean algorithm
2 The Euclidean algorithm Do you understand the number 5? 6? 7? At some point our level of comfort with individual numbers goes down as the numbers get large For some it may be at 43, for others, 4 In
More informationCHAPTER I THE REAL AND COMPLEX NUMBERS DEFINITION OF THE NUMBERS 1, i, AND 2
CHAPTER I THE REAL AND COMPLEX NUMBERS DEFINITION OF THE NUMBERS 1, i, AND 2 In order to mae precise sense out of the concepts we study in mathematical analysis, we must first come to terms with what the
More informationReview for Final Exam
Review for Final Exam Note: Warning, this is probably not exhaustive and probably does contain typos (which I d like to hear about), but represents a review of most of the material covered in Chapters
More informationDiscrete Mathematics. Some related courses. Assessed work. Motivation: functions. Motivation: sets. Exercise. Motivation: relations
Discrete Mathematics Philippa Gardner This course is based on previous lecture notes by Iain Phillips. K.H. Rosen. Discrete Mathematics and its Applications, McGraw Hill 1995. J.L. Gersting. Mathematical
More informationDefinition: Group A group is a set G together with a binary operation on G, satisfying the following axioms: a (b c) = (a b) c.
Algebraic Structures Abstract algebra is the study of algebraic structures. Such a structure consists of a set together with one or more binary operations, which are required to satisfy certain axioms.
More informationThe Pigeonhole Principle
The Pigeonhole Principle 1 Pigeonhole Principle: Simple form Theorem 1.1. If n + 1 objects are put into n boxes, then at least one box contains two or more objects. Proof. Trivial. Example 1.1. Among 13
More informationIf f is a 11 correspondence between A and B then it has an inverse, and f 1 isa 11 correspondence between B and A.
Chapter 5 Cardinality of sets 51 11 Correspondences A 11 correspondence between sets A and B is another name for a function f : A B that is 11 and onto If f is a 11 correspondence between A and B,
More informationTheory of Computation
Theory of Computation For Computer Science & Information Technology By www.thegateacademy.com Syllabus Syllabus for Theory of Computation Regular Expressions and Finite Automata, ContextFree Grammar s
More informationPolynomials Classwork
Polynomials Classwork What Is a Polynomial Function? Numerical, Analytical and Graphical Approaches Anatomy of an n th degree polynomial function Def.: A polynomial function of degree n in the vaiable
More informationINTRODUCTION TO PROOFS: HOMEWORK SOLUTIONS
INTRODUCTION TO PROOFS: HOMEWORK SOLUTIONS STEVEN HEILMAN Contents 1. Homework 1 1 2. Homework 2 6 3. Homework 3 10 4. Homework 4 16 5. Homework 5 19 6. Homework 6 21 7. Homework 7 25 8. Homework 8 28
More information47 Numerator Denominator
JH WEEKLIES ISSUE #22 20122013 Mathematics Fractions Mathematicians often have to deal with numbers that are not whole numbers (1, 2, 3 etc.). The preferred way to represent these partial numbers (rational
More informationMathematics of Cryptography
CHAPTER 2 Mathematics of Cryptography Part I: Modular Arithmetic, Congruence, and Matrices Objectives This chapter is intended to prepare the reader for the next few chapters in cryptography. The chapter
More informationf(x) is a singleton set for all x A. If f is a function and f(x) = {y}, we normally write
Math 525 Chapter 1 Stuff If A and B are sets, then A B = {(x,y) x A, y B} denotes the product set. If S A B, then S is called a relation from A to B or a relation between A and B. If B = A, S A A is called
More information