Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.
|
|
- Ashlie Sims
- 5 years ago
- Views:
Transcription
1 Announcements CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets Işıl Dillig Homework is graded, scores on Blackboard Graded HW and sample solutions given at end of this lecture Make sure score matches the one on Blackboard If not, let us know within one week Mean on homework : 66/90 (73%) Many of you made mistakes on questions, 3 Similar questions will be on midterm review the sample solutions! Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 1/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets /4 Midterm More on Midterm Midterm next Tuesday, Oct., in lecture Midterm will cover all topics up to today s lecture: propositional logic, first order logic, inference rules, proof techniques, sets, functions Good way to prepare is to go over lectures and homeworks To help you prepare, will give solutions for HW3 on Thursday Also, Thursday s lecture will be a review session Midterm is closed-book, closed-notes, closed-phones, closed-laptops, closed-tablets etc. But you are allowed to bring three sheets of hand-written or typed notes prepared by you I m out of town until next Wednesday, therefore Weilin will be proctoring the midterm Weilin will go over difficult homework problems Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 3/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 4/4 Sequences Sequence Examples A sequence is a discerete structure to represent an ordered list. Example: 1,, 3, 5, 8 is a finite sequence with five terms Example: 1,, 3, 5, 8, 13, 1,... is an infinite sequence (Fibonacci numbers) Formally, sequence is a function from a subset of Z to a set S. What is the sequence defined by a n = 1 n for (n 1)? What is the sequence defined by a n = n for n 1? What is the sequence defined by a n = ( 1) n for n 0? Notation a n represents n th term in the sequence For Fibonacci sequence, a 0 = 1, a 1 =, a = 3, a 3 = 5 etc. Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 5/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 6/4 1
2 Arithmetic Progression Arithmetic Progression, cont. Some kinds of sequences come up a lot in discete math An arithmetic progression is a sequence of the form: a, a + d, a + d, a + 3d,... Here, the real number a is called the initial term Also, d is called the common difference Example:, 5, 8, 11,... What is the common difference? Arithmetic progressions can always be written as a n = a 0 + d n where a 0 is the initial term and d is the common difference Example: a n = 1 + 4n for n 0 is arithmetic progression with elements: 1, 3, 7, 11, 15,... Example: What is the closed-form definition for the sequence, 5, 8, 11,...? What is the initial term? Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 7/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 8/4 Geometric Progression Geometric Progression, cont. Another class of sequences that come up often are geometric progressions A geometric progression is a sequence of the form: a, ar, ar, ar 3,... Here, a is called the initial term, and r is the common ratio Example: 1, 3, 9, 7,... What is the initial term? Geometric progressions can always be written as a n = a 0 r n where a 0 is the initial term and r is the common ratio Example: The sequence defined by a n = 6 ( 1 3 )n for n 0 is an geometric progression with elements: 6,, 3, 9, 7... Example: What is the closed-form definition for the sequence 1, 3, 9, 7,...? What is the common ratio? Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 9/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 10/4 Summations Given a sequence, one common operation is to sum up all the terms in that sequence For this purpose, we use the summation notation: Example: a j = a m + a m a n 3 j = = 6 The variable j in this notation is called index of summation Summation Examples Consider the sequence a n = n. What is the value of this summation? 4 What is the value of this summation? a j 8 ( 1) j j =4 Also, m and n are called the lower and upper limits of the summation Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 11/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 1/4
3 Nested Summations It is also common to nest summations within one another. What is the value of the following summation? 3 ij Answer: 3 ij = i + i + 3i = 6i = = 18 Closed Form of Summations Some summations arise all the time in discrete mathematics Example: Sum of all numbers from 1 to n: n i For such common summations, it is often useful to derive a closed form The closed form expresses the value of the summation as a formula without summations The closed form of above summation is: i = (n)(n + 1) Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 13/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 14/4 Example Compute the value of the summation: 50 i=1 i = = 1065 We can rewrite this summation as: 50 0 i i By previous definition, first summation is: Useful Property Summations Given a summation consisting of addition and multiplication terms, we can decompose it as follows: (ax j + by j ) = a x j + b Example: Compute the value of 10 3i + This can be written as 3 10 i + 10 y j Second summation is: Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 15/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 16/4 Arithmetic Series The sum of the terms in an airthmetic progression a, a + d, a + d,... is called an arithmetic series. Let s derive a closed form for arithmetic series: (a + di) By the earlier property, we can write this as: a + d i Closed Form for Arithmetic Series (a + di) = a + d i What is n a? By earlier closed form, we have: i = n (n + 1) Thus, we can write entire arithmetic series in closed form as: an + dn(n + 1) Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 17/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 18/4 3
4 Example What is the closed form for the following summation? ( + 3j ) j =3 Trick: Write this as the difference of two summations: ( + 3j ) ( + 3j ) Expand the second term: ( + 3j ) 13 Example, cont. ( + 3j ) 13 Now, compute the closed form for first term: + 3 j 13 Using known closed forms, this can be rewritten as: n(n + 1) n Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 19/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 0/4 Geometric Series Derivation of Geometric Series Closed Form The sum of the terms in a geometric progression a, ar, ar,... is called a geometric series Theorem: Closed form of geometric series (r 1): (ar j ) = a r n+1 1 This is very useful to know memorize it! Let s prove why this closed form is correct Theorem: Closed form of geometric series (r 1): (ar j ) = a r n+1 1 First, let s call the summation on left S Now, let s multiply S by r: rs = r ar j = ar j +1 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 1/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets /4 Derivation continued Derivation, cont. rs = ar j +1 Now, change index of summation from j to k where k = j + 1: rs = Now, rewrite this as: n+1 rs = ar k = k=1 n+1 ar j +1 = ar k k=1 ar k a + ar n+1 k=0 rs = ar k a + ar n+1 k=0 Now, observe first term on left hand side is S! Thus, we have: rs = S + ar n+1 a Collecting S on one side, we get: S = a r n+1 1 This is exactly the closed form from the theorem! Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 3/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 4/4 4
5 Example 1 (ar j ) = a r n+1 1 Compute the value of What is a? What is r? 5 3 i i=0 Using closed form, we have: 5 i=0 3 i = = 189 Example For r < 1, derive a closed form for the summation a r n n=0 Using closed form for geometric series, this is equivalent to: lim a r n+1 1 n Since r < 1, r n+1 becomes 0 as n approaches infinity Thus, this is equivalent to: a 0 1 = a 1 r Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 5/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 6/4 Example 3 Revisiting Sets Compute the value of the summation: k=0 3 ( 1 9 )k = = Using previous formula, this sum is given by a 1 r Earlier we talked about sets and cardinality of sets Recall: Cardinality of a set is number of elements in that set This definition makes sense for sets with finitely many element, but more involved for infinite sets Agenda: Revisit the notion of cardinality for infinite sets Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 7/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 8/4 Cardinality of Infinite Sets Example Sets with infinite cardinality are classified into two classes: 1. Countably infinite sets (e.g., natural numbers). Uncountably infinite sets (e.g., real numbers) A set A is called countably infinite if there is a bijection between A and the set of positive integers. A set A is called countable if it is either finite or countably infinite Prove: The set of odd positive integers is countably infinite. Need to find a function f from Z + to the set of odd positive integers, and prove that f is bijective Consider f (n) = n 1 from Z + to odd positive integers We need to show f is bijective (i.e., one-to-one and onto) Let s first prove injectivity, then surjectivity Otherwise, the set is called uncountable or uncountably infinite Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 9/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 30/4 5
6 Example, cont. Prove injectivity of f (n) = n 1 Recall: Function is injective if f (a) = f (b) a = b Suppose f (a) = f (b). Then a 1 = b 1 This implies a = b, establishing injectivity Example, cont. Prove surjectivity of f (n) = n 1 Recall: Function is surjective if for every b B, there exists some a A such that f (a) = b Proof by contradiction: Suppose there is some odd positive integer b such that x Z +.x 1 b This implies b+1 is not an integer. But since b is an odd positive integer, b + 1 is even Thus, b + 1 is divisible by, yielding a contradiction. Since we showed that there is a bijection (namely n 1) from positive integers to odd positive integers, the set of odd positive integers is countably infinite Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 31/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 3/4 Another Way to Prove Countable-ness Another Example One way to show a set A is countably infinite is to give bijection between Z + and A Another way is by showing members of A can be written as a sequence (a 1, a, a 3,...) Since such a sequence is a bijective function from Z + to A, writing A as a sequence a 1, a, a 3,... establishes one-to-one correspondence Prove that the set of all integers is countable We can list all integers in a sequence, alternating positive and negative integers: a n = 0, 1, 1,,, 3, 3,... Observe that this sequence defines the bijective function: { n/ if n even f (n) = (n 1)/ if n odd Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 33/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 34/4 Rational Numbers are Countable Not too surprising Z and odd Z + are countably infinite More surprising: Set of rationals is also countably infinite! Rationals in a Table Now imagine placing rationals in a table such that: 1. Rationals with p = 1 go in first row, p = in second row, etc.. Rationals with q = 1 in 1st column, q = in nd column,... We ll prove that the set of positive rational numbers is countable by showing how to enumerate them in a sequence Recall: Every positive rational number can be written as the quotient p/q of two positive integers p, q Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 35/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 36/4 6
7 Enumerating the Rationals Enumerating the Rationals, cont. How to enumerate entries in this table without missing any? Trick: First list those with p + q =, then p + q = 3,... Traverse table diagonally from left-to-right, in the order shown by arrows This allows us to list all rationals in a sequence: 1 1, 1, 1, 1 3,, 3 1, 4 1, 3,... Hence, set of rationals is countable Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 37/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 38/4 Uncountability of Real Numbers Cantor s Diagonalization Argument Prime example of uncountably infinite sets is real numbers The fact that R is uncountably infinite was proven by George Cantor using the famous Cantor s diagonalization argument This was a shocking result in mathematics in the 1800 s For contradiction, assume the set of reals was countable Since any subset of a countable set is also countable, this would imply the set of reals between 0 and 1 is also countable Now, if reals between 0 and 1 are countable, we can list them in a table in some order: This argument has inspired many similar famous proofs in the theory of computation Brief look at the diagonalization argument Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 39/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 40/4 Diagonalization Argument, cont Diagonalization Argument, concluded Since R is not in the table, this is not a complete enumeration of all reals between 0 and 1 Hence, the set of real between 0 and 1 is not countable Now, create a new real number R = 0.a 1 a a 3... such that: { 4 dii 4 a i = 5 d ii = 4 Since the superset of any uncountable set is also uncountable, set of reals is uncountably infinite Clearly, this new number R differs from each number R i in the table in at least one digit (its i th digit) Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 41/4 Işıl Dillig, CS43: Discrete Structures Sequences, Summations, and Cardinality of Infinite Sets 4/4 7
Math.3336: Discrete Mathematics. Cardinality of Sets
Math.3336: Discrete Mathematics Cardinality of Sets Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall 2018
More informationDiscrete Structures for Computer Science
Discrete Structures for Computer Science William Garrison bill@cs.pitt.edu 6311 Sennott Square Lecture #10: Sequences and Summations Based on materials developed by Dr. Adam Lee Today s Topics Sequences
More informationSequences are ordered lists of elements
Sequences are ordered lists of elements Definition: A sequence is a function from the set of integers, either set {0,1,2,3, } or set {1,2,3,4,..}, to a set S. We use the notation a n to denote the image
More informationCountable and uncountable sets. Matrices.
CS 441 Discrete Mathematics for CS Lecture 11 Countable and uncountable sets. Matrices. Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Arithmetic series Definition: The sum of the terms of the
More informationFinal Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is
1. Describe the elements of the set (Z Q) R N. Is this set countable or uncountable? Solution: The set is equal to {(x, y) x Z, y N} = Z N. Since the Cartesian product of two denumerable sets is denumerable,
More informationCountable and uncountable sets. Matrices.
Lecture 11 Countable and uncountable sets. Matrices. Instructor: Kangil Kim (CSE) E-mail: kikim01@konkuk.ac.kr Tel. : 02-450-3493 Room : New Milenium Bldg. 1103 Lab : New Engineering Bldg. 1202 Next topic:
More informationDiscrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27
CS 70 Discrete Mathematics for CS Spring 007 Luca Trevisan Lecture 7 Infinity and Countability Consider a function f that maps elements of a set A (called the domain of f ) to elements of set B (called
More informationMath 3361-Modern Algebra Lecture 08 9/26/ Cardinality
Math 336-Modern Algebra Lecture 08 9/26/4. Cardinality I started talking about cardinality last time, and you did some stuff with it in the Homework, so let s continue. I said that two sets have the same
More informationSection 7.5: Cardinality
Section 7: Cardinality In this section, we shall consider extend some of the ideas we have developed to infinite sets One interesting consequence of this discussion is that we shall see there are as many
More informationCITS2211 Discrete Structures (2017) Cardinality and Countability
CITS2211 Discrete Structures (2017) Cardinality and Countability Highlights What is cardinality? Is it the same as size? Types of cardinality and infinite sets Reading Sections 45 and 81 84 of Mathematics
More informationCSE 20 DISCRETE MATH. Fall
CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Today's learning goals Define and compute the cardinality of a set. Use functions to compare the sizes of sets. Classify sets
More informationMathematics 220 Workshop Cardinality. Some harder problems on cardinality.
Some harder problems on cardinality. These are two series of problems with specific goals: the first goal is to prove that the cardinality of the set of irrational numbers is continuum, and the second
More informationMATH FINAL EXAM REVIEW HINTS
MATH 109 - FINAL EXAM REVIEW HINTS Answer: Answer: 1. Cardinality (1) Let a < b be two real numbers and define f : (0, 1) (a, b) by f(t) = (1 t)a + tb. (a) Prove that f is a bijection. (b) Prove that any
More informationAlgorithms: Lecture 2
1 Algorithms: Lecture 2 Basic Structures: Sets, Functions, Sequences, and Sums Jinwoo Kim jwkim@jjay.cuny.edu 2.1 Sets 2 1 2.1 Sets 3 2.1 Sets 4 2 2.1 Sets 5 2.1 Sets 6 3 2.1 Sets 7 2.2 Set Operations
More informationOne-to-one functions and onto functions
MA 3362 Lecture 7 - One-to-one and Onto Wednesday, October 22, 2008. Objectives: Formalize definitions of one-to-one and onto One-to-one functions and onto functions At the level of set theory, there are
More informationMAT115A-21 COMPLETE LECTURE NOTES
MAT115A-21 COMPLETE LECTURE NOTES NATHANIEL GALLUP 1. Introduction Number theory begins as the study of the natural numbers the integers N = {1, 2, 3,...}, Z = { 3, 2, 1, 0, 1, 2, 3,...}, and sometimes
More informationMATH 3300 Test 1. Name: Student Id:
Name: Student Id: There are nine problems (check that you have 9 pages). Solutions are expected to be short. In the case of proofs, one or two short paragraphs should be the average length. Write your
More informationFunctions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.
Chapter 4 Functions Definition 1 Let A and B be sets. A relation between A and B is any subset of A B. Definition 2 Let A and B be sets. A function from A to B is a relation f between A and B such that
More informationAnnouncements. CS243: Discrete Structures. Propositional Logic II. Review. Operator Precedence. Operator Precedence, cont. Operator Precedence Example
Announcements CS243: Discrete Structures Propositional Logic II Işıl Dillig First homework assignment out today! Due in one week, i.e., before lecture next Tuesday 09/11 Weilin s Tuesday office hours are
More informationAll numbered readings are from Beck and Geoghegan s The art of proof.
MATH 301. Assigned readings and homework All numbered readings are from Beck and Geoghegan s The art of proof. Reading Jan 30, Feb 1: Chapters 1.1 1.2 Feb 6, 8: Chapters 1.3 2.1 Feb 13, 15: Chapters 2.2
More information1 Partitions and Equivalence Relations
Today we re going to talk about partitions of sets, equivalence relations and how they are equivalent. Then we are going to talk about the size of a set and will see our first example of a diagonalisation
More information1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9
1.4 Cardinality Tom Lewis Fall Term 2006 Tom Lewis () 1.4 Cardinality Fall Term 2006 1 / 9 Outline 1 Functions 2 Cardinality 3 Cantor s theorem Tom Lewis () 1.4 Cardinality Fall Term 2006 2 / 9 Functions
More informationExample ( x.(p(x) Q(x))) ( x.p(x) x.q(x)) premise. 2. ( x.(p(x) Q(x))) -elim, 1 3. ( x.p(x) x.q(x)) -elim, x. P(x) x.
Announcements CS311H: Discrete Mathematics More Logic Intro to Proof Techniques Homework due next lecture Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mathematics More Logic Intro
More informationEconomics 204 Summer/Fall 2017 Lecture 1 Monday July 17, 2017
Economics 04 Summer/Fall 07 Lecture Monday July 7, 07 Section.. Methods of Proof We begin by looking at the notion of proof. What is a proof? Proof has a formal definition in mathematical logic, and a
More informationCSE 311: Foundations of Computing. Lecture 26: Cardinality
CSE 311: Foundations of Computing Lecture 26: Cardinality Cardinality and Computability Computers as we know them grew out of a desire to avoid bugs in mathematical reasoning A brief history of reasoning
More informationSection Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence
Section 2.4 1 Section Summary Sequences. Examples: Geometric Progression, Arithmetic Progression Recurrence Relations Example: Fibonacci Sequence Summations 2 Introduction Sequences are ordered lists of
More informationCSE 20 Discrete Math. Winter, January 24 (Day 5) Number Theory. Instructor: Neil Rhodes. Proving Quantified Statements
CSE 20 Discrete Math Proving Quantified Statements Prove universal statement: x D, P(x)Q(x) Exhaustive enumeration Generalizing from the generic particular Winter, 2006 Suppose x is in D and P(x) Therefore
More informationExtended Essay - Mathematics
Extended Essay - Mathematics Creating a Model to Separate or Group Number Sets by their Cardinalities Pope John Paul II C.S.S. September 2009 Candidate Number: 001363-012 The conquest of the actual infinite
More informationDiscrete Mathematics. Spring 2017
Discrete Mathematics Spring 2017 Previous Lecture Principle of Mathematical Induction Mathematical Induction: rule of inference Mathematical Induction: Conjecturing and Proving Climbing an Infinite Ladder
More informationAnnouncements. CS311H: Discrete Mathematics. Propositional Logic II. Inverse of an Implication. Converse of a Implication
Announcements CS311H: Discrete Mathematics Propositional Logic II Instructor: Işıl Dillig First homework assignment out today! Due in one week, i.e., before lecture next Wed 09/13 Remember: Due before
More informationECS 120 Lesson 18 Decidable Problems, the Halting Problem
ECS 120 Lesson 18 Decidable Problems, the Halting Problem Oliver Kreylos Friday, May 11th, 2001 In the last lecture, we had a look at a problem that we claimed was not solvable by an algorithm the problem
More informationLecture 3: Sizes of Infinity
Math/CS 20: Intro. to Math Professor: Padraic Bartlett Lecture 3: Sizes of Infinity Week 2 UCSB 204 Sizes of Infinity On one hand, we know that the real numbers contain more elements than the rational
More informationReview Sheet for the Final Exam of MATH Fall 2009
Review Sheet for the Final Exam of MATH 1600 - Fall 2009 All of Chapter 1. 1. Sets and Proofs Elements and subsets of a set. The notion of implication and the way you can use it to build a proof. Logical
More informationA Short Review of Cardinality
Christopher Heil A Short Review of Cardinality November 14, 2017 c 2017 Christopher Heil Chapter 1 Cardinality We will give a short review of the definition of cardinality and prove some facts about the
More informationSolutions to Tutorial for Week 4
The University of Sydney School of Mathematics and Statistics Solutions to Tutorial for Week 4 MATH191/1931: Calculus of One Variable (Advanced) Semester 1, 018 Web Page: sydneyeduau/science/maths/u/ug/jm/math191/
More informationEconomics 204 Summer/Fall 2011 Lecture 2 Tuesday July 26, 2011 N Now, on the main diagonal, change all the 0s to 1s and vice versa:
Economics 04 Summer/Fall 011 Lecture Tuesday July 6, 011 Section 1.4. Cardinality (cont.) Theorem 1 (Cantor) N, the set of all subsets of N, is not countable. Proof: Suppose N is countable. Then there
More informationDiscrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 20. To Infinity And Beyond: Countability and Computability
EECS 70 Discrete Mathematics and Probability Theory Spring 014 Anant Sahai Note 0 To Infinity And Beyond: Countability and Computability This note ties together two topics that might seem like they have
More informationSection 0. Sets and Relations
0. Sets and Relations 1 Section 0. Sets and Relations NOTE. Mathematics is the study of ideas, not of numbers!!! The idea from modern algebra which is the focus of most of this class is that of a group
More informationHarvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability
Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability Salil Vadhan September 20, 2012 Reading: Sipser, 1.3 and The Diagonalization Method, pages 174 178 (from just before Definition
More informationMATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets
MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION Chapter 2: Countability and Cantor Sets Countable and Uncountable Sets The concept of countability will be important in this course
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 informationDefinition: 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.
4 Functions Before studying functions we will first quickly define a more general idea, namely the notion of a relation. A function turns out to be a special type of relation. Definition: Let S and T be
More informationIntroduction to Series and Sequences Math 121 Calculus II Spring 2015
Introduction to Series and Sequences Math Calculus II Spring 05 The goal. The main purpose of our study of series and sequences is to understand power series. A power series is like a polynomial of infinite
More informationPreparing for the CS 173 (A) Fall 2018 Midterm 1
Preparing for the CS 173 (A) Fall 2018 Midterm 1 1 Basic information Midterm 1 is scheduled from 7:15-8:30 PM. We recommend you arrive early so that you can start exactly at 7:15. Exams will be collected
More informationMATH 13 FINAL EXAM SOLUTIONS
MATH 13 FINAL EXAM SOLUTIONS WINTER 2014 Problem 1 (15 points). For each statement below, circle T or F according to whether the statement is true or false. You do NOT need to justify your answers. T F
More informationMTH 299 In Class and Recitation Problems SUMMER 2016
MTH 299 In Class and Recitation Problems SUMMER 2016 Last updated on: May 13, 2016 MTH299 - Examples CONTENTS Contents 1 Week 1 3 1.1 In Class Problems.......................................... 3 1.2 Recitation
More informationOne side of each sheet is blank and may be used as scratch paper.
Math 301 Fall 2017 (Practice) Midterm Exam 1 10/3/2017 Time Limit: 1 hour and 15 minutes Name: One side of each sheet is blank and may be used as scratch paper. Show your work clearly. Grade Table (for
More informationIntroduction to Decision Sciences Lecture 6
Introduction to Decision Sciences Lecture 6 Andrew Nobel September 21, 2017 Functions Functions Given: Sets A and B, possibly different Definition: A function f : A B is a rule that assigns every element
More informationPOL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005
POL502: Foundations Kosuke Imai Department of Politics, Princeton University October 10, 2005 Our first task is to develop the foundations that are necessary for the materials covered in this course. 1
More informationDiscrete Mathematics 2007: Lecture 5 Infinite sets
Discrete Mathematics 2007: Lecture 5 Infinite sets Debrup Chakraborty 1 Countability The natural numbers originally arose from counting elements in sets. There are two very different possible sizes for
More informationIn N we can do addition, but in order to do subtraction we need to extend N to the integers
Chapter The Real Numbers.. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {, 2, 3, }. In N we can do addition, but in order to do subtraction we need to extend
More informationReview 1. Andreas Klappenecker
Review 1 Andreas Klappenecker Summary Propositional Logic, Chapter 1 Predicate Logic, Chapter 1 Proofs, Chapter 1 Sets, Chapter 2 Functions, Chapter 2 Sequences and Sums, Chapter 2 Asymptotic Notations,
More informationMath 105A HW 1 Solutions
Sect. 1.1.3: # 2, 3 (Page 7-8 Math 105A HW 1 Solutions 2(a ( Statement: Each positive integers has a unique prime factorization. n N: n = 1 or ( R N, p 1,..., p R P such that n = p 1 p R and ( n, R, S
More informationMath 300: Final Exam Practice Solutions
Math 300: Final Exam Practice Solutions 1 Let A be the set of all real numbers which are zeros of polynomials with integer coefficients: A := {α R there exists p(x) = a n x n + + a 1 x + a 0 with all a
More informationExploring the infinite : an introduction to proof and analysis / Jennifer Brooks. Boca Raton [etc.], cop Spis treści
Exploring the infinite : an introduction to proof and analysis / Jennifer Brooks. Boca Raton [etc.], cop. 2017 Spis treści Preface xiii I Fundamentals of Abstract Mathematics 1 1 Basic Notions 3 1.1 A
More informationChapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60
MATH 213 Chapter 2: Basic Structures Dr. Eric Bancroft Fall 2013 Dr. Eric Bancroft MATH 213 Fall 2013 1 / 60 Chapter 2 - Basics Structures 2.1 - Sets 2.2 - Set Operations 2.3 - Functions 2.4 - Sequences
More informationIn N we can do addition, but in order to do subtraction we need to extend N to the integers
Chapter 1 The Real Numbers 1.1. Some Preliminaries Discussion: The Irrationality of 2. We begin with the natural numbers N = {1, 2, 3, }. In N we can do addition, but in order to do subtraction we need
More informationTheorems. Theorem 1.11: Greatest-Lower-Bound Property. Theorem 1.20: The Archimedean property of. Theorem 1.21: -th Root of Real Numbers
Page 1 Theorems Wednesday, May 9, 2018 12:53 AM Theorem 1.11: Greatest-Lower-Bound Property Suppose is an ordered set with the least-upper-bound property Suppose, and is bounded below be the set of lower
More informationMATH 2200 Final LC Review
MATH 2200 Final LC Review Thomas Goller April 25, 2013 1 Final LC Format The final learning celebration will consist of 12-15 claims to be proven or disproven. It will take place on Wednesday, May 1, from
More informationDiscrete Math, Spring Solutions to Problems V
Discrete Math, Spring 202 - Solutions to Problems V Suppose we have statements P, P 2, P 3,, one for each natural number In other words, we have the collection or set of statements {P n n N} a Suppose
More informationSeries. Definition. a 1 + a 2 + a 3 + is called an infinite series or just series. Denoted by. n=1
Definition a 1 + a 2 + a 3 + is called an infinite series or just series. Denoted by a n, or a n. Chapter 11: Sequences and, Section 11.2 24 / 40 Given a series a n. The partial sum is the sum of the first
More informationSequences and Summations. CS/APMA 202 Rosen section 3.2 Aaron Bloomfield
Sequences and Summations CS/APMA 202 Rosen section 3.2 Aaron Bloomfield 1 Definitions Sequence: an ordered list of elements Like a set, but: Elements can be duplicated Elements are ordered 2 Sequences
More informationCountability. 1 Motivation. 2 Counting
Countability 1 Motivation In topology as well as other areas of mathematics, we deal with a lot of infinite sets. However, as we will gradually discover, some infinite sets are bigger than others. Countably
More informationContradiction MATH Contradiction. Benjamin V.C. Collins, James A. Swenson MATH 2730
MATH 2730 Contradiction Benjamin V.C. Collins James A. Swenson Contrapositive The contrapositive of the statement If A, then B is the statement If not B, then not A. A statement and its contrapositive
More informationMath.3336: Discrete Mathematics. Proof Methods and Strategy
Math.3336: Discrete Mathematics Proof Methods and Strategy Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall
More informationADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS
ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS 1. Cardinal number of a set The cardinal number (or simply cardinal) of a set is a generalization of the concept of the number of elements
More informationCSCE 222 Discrete Structures for Computing. Review for the Final. Hyunyoung Lee
CSCE 222 Discrete Structures for Computing Review for the Final! Hyunyoung Lee! 1 Final Exam Section 501 (regular class time 8:00am) Friday, May 8, starting at 1:00pm in our classroom!! Section 502 (regular
More informationSelected problems from past exams
Discrete Structures CS2800 Prelim 1 s Selected problems from past exams 1. True/false. For each of the following statements, indicate whether the statement is true or false. Give a one or two sentence
More informationThe Different Sizes of Infinity
The Different Sizes of Infinity New York City College of Technology Cesar J. Rodriguez November 11, 2010 A Thought to Ponder At... Does Infinity Come in Varying Sizes? 2 Points of Marked Interest(s) General
More informationOutline for Today. Revisiting our first lecture with our new techniques! How do we know when two sets have the same size?
Cardinality Outline for Today Recap from Last Time Equal Cardinalities How do we know when two sets have the same size? Ranking Cardinalities Revisiting our first lecture with our new techniques! When
More informationSECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS
(Chapter 9: Discrete Math) 9.11 SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS PART A: WHAT IS AN ARITHMETIC SEQUENCE? The following appears to be an example of an arithmetic (stress on the me ) sequence:
More informationWriting proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction
Writing proofs for MATH 61CM, 61DM Week 1: basic logic, proof by contradiction, proof by induction written by Sarah Peluse, revised by Evangelie Zachos and Lisa Sauermann September 27, 2016 1 Introduction
More informationCSE 20 DISCRETE MATH WINTER
CSE 20 DISCRETE MATH WINTER 2016 http://cseweb.ucsd.edu/classes/wi16/cse20-ab/ Today's learning goals Explain the steps in a proof by (strong) mathematical induction Use (strong) mathematical induction
More informationLECTURE 22: COUNTABLE AND UNCOUNTABLE SETS
LECTURE 22: COUNTABLE AND UNCOUNTABLE SETS 1. Introduction To end the course we will investigate various notions of size associated to subsets of R. The simplest example is that of cardinality - a very
More informationMath 4603: Advanced Calculus I, Summer 2016 University of Minnesota Notes on Cardinality of Sets
Math 4603: Advanced Calculus I, Summer 2016 University of Minnesota Notes on Cardinality of Sets Introduction In this short article, we will describe some basic notions on cardinality of sets. Given two
More informationMATH 201 Solutions: TEST 3-A (in class)
MATH 201 Solutions: TEST 3-A (in class) (revised) God created infinity, and man, unable to understand infinity, had to invent finite sets. - Gian Carlo Rota Part I [5 pts each] 1. Let X be a set. Define
More informationDiscrete Structures - CM0246 Cardinality
Discrete Structures - CM0246 Cardinality Andrés Sicard-Ramírez Universidad EAFIT Semester 2014-2 Cardinality Definition (Cardinality (finite sets)) Let A be a set. The number of (distinct) elements in
More informationGrade 7/8 Math Circles October 28/29, Series
Faculty of Mathematics Waterloo, Ontario NL 3G1 Centre for Education in Mathematics and Computing Sequence Recap Grade 7/8 Math Circles October 8/9, 014 Series Before starting series lets recap last weeks
More informationCS 2336 Discrete Mathematics
CS 2336 Discrete Mathematics Lecture 9 Sets, Functions, and Relations: Part I 1 What is a Set? Set Operations Identities Cardinality of a Set Outline Finite and Infinite Sets Countable and Uncountable
More information586 Index. vertex, 369 disjoint, 236 pairwise, 272, 395 disjoint sets, 236 disjunction, 33, 36 distributive laws
Index absolute value, 135 141 additive identity, 254 additive inverse, 254 aleph, 465 algebra of sets, 245, 278 antisymmetric relation, 387 arcsine function, 349 arithmetic sequence, 208 arrow diagram,
More informationSets are one of the basic building blocks for the types of objects considered in discrete mathematics.
Section 2.1 Introduction Sets are one of the basic building blocks for the types of objects considered in discrete mathematics. Important for counting. Programming languages have set operations. Set theory
More informationPropositional Logic, Predicates, and Equivalence
Chapter 1 Propositional Logic, Predicates, and Equivalence A statement or a proposition is a sentence that is true (T) or false (F) but not both. The symbol denotes not, denotes and, and denotes or. If
More informationPart IA Numbers and Sets
Part IA Numbers and Sets Definitions Based on lectures by A. G. Thomason Notes taken by Dexter Chua Michaelmas 2014 These notes are not endorsed by the lecturers, and I have modified them (often significantly)
More informationCS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati
CS 514, Mathematics for Computer Science Mid-semester Exam, Autumn 2017 Department of Computer Science and Engineering IIT Guwahati Important 1. No questions about the paper will be entertained during
More informationDate: October 24, 2008, Friday Time: 10:40-12:30. Math 123 Abstract Mathematics I Midterm Exam I Solutions TOTAL
Date: October 24, 2008, Friday Time: 10:40-12:30 Ali Sinan Sertöz Math 123 Abstract Mathematics I Midterm Exam I Solutions 1 2 3 4 5 TOTAL 20 20 20 20 20 100 Please do not write anything inside the above
More informationWhat is proof? Lesson 1
What is proof? Lesson The topic for this Math Explorer Club is mathematical proof. In this post we will go over what was covered in the first session. The word proof is a normal English word that you might
More informationMATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017
MATH 220 (all sections) Homework #12 not to be turned in posted Friday, November 24, 2017 Definition: A set A is finite if there exists a nonnegative integer c such that there exists a bijection from A
More informationSETS AND FUNCTIONS JOSHUA BALLEW
SETS AND FUNCTIONS JOSHUA BALLEW 1. Sets As a review, we begin by considering a naive look at set theory. For our purposes, we define a set as a collection of objects. Except for certain sets like N, Z,
More informationThe Two Faces of Infinity Dr. Bob Gardner Great Ideas in Science (BIOL 3018)
The Two Faces of Infinity Dr. Bob Gardner Great Ideas in Science (BIOL 3018) From the webpage of Timithy Kohl, Boston University INTRODUCTION Note. We will consider infinity from two different perspectives:
More informationFoundations of Mathematics MATH 220 FALL 2017 Lecture Notes
Foundations of Mathematics MATH 220 FALL 2017 Lecture Notes These notes form a brief summary of what has been covered during the lectures. All the definitions must be memorized and understood. Statements
More informationMATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets
MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets 1 Rational and Real Numbers Recall that a number is rational if it can be written in the form a/b where a, b Z and b 0, and a number
More informationAnnouncements Monday, September 18
Announcements Monday, September 18 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5. About
More informationNotes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr.
Notes for Math 290 using Introduction to Mathematical Proofs by Charles E. Roberts, Jr. Chapter : Logic Topics:. Statements, Negation, and Compound Statements.2 Truth Tables and Logical Equivalences.3
More informationLecture 2: Groups. Rajat Mittal. IIT Kanpur
Lecture 2: Groups Rajat Mittal IIT Kanpur These notes are about the first abstract mathematical structure we are going to study, groups. You are already familiar with set, which is just a collection of
More informationCardinality of sets. Cardinality of sets
Cardinality of sets Two sets A and B have the same size, or cardinality, if and only if there is a bijection f : A Ñ B. Example: We know that set ta, b, cu has elements because we can count them: 1: a
More informationCourse Staff. Textbook
Course Staff CS311H: Discrete Mathematics Intro and Propositional Logic Instructor: Işıl Dillig Instructor: Prof. Işıl Dillig TAs: Jacob Van Geffen, Varun Adiga, Akshay Gupta Class meets every Monday,
More informationFundamentals of Pure Mathematics - Problem Sheet
Fundamentals of Pure Mathematics - Problem Sheet ( ) = Straightforward but illustrates a basic idea (*) = Harder Note: R, Z denote the real numbers, integers, etc. assumed to be real numbers. In questions
More informationRED. Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam
RED Name: Instructor: Pace Nielsen Math 290 Section 1: Winter 2014 Final Exam Note that the first 10 questions are true-false. Mark A for true, B for false. Questions 11 through 20 are multiple choice
More informationCSCE 222 Discrete Structures for Computing. Review for Exam 1. Dr. Hyunyoung Lee !!!
CSCE 222 Discrete Structures for Computing Review for Exam 1 Dr. Hyunyoung Lee 1 Topics Propositional Logic (Sections 1.1, 1.2 and 1.3) Predicate Logic (Sections 1.4 and 1.5) Rules of Inferences and Proofs
More informationCSE 311 Lecture 28: Undecidability of the Halting Problem. Emina Torlak and Kevin Zatloukal
CSE 311 Lecture 28: Undecidability of the Halting Problem Emina Torlak and Kevin Zatloukal 1 Topics Final exam Logistics, format, and topics. Countability and uncomputability A quick recap of Lecture 27.
More information