Countable and uncountable sets. Matrices.

Similar documents
Countable and uncountable sets. Matrices.

Section Summary. Sequences. Recurrence Relations. Summations. Examples: Geometric Progression, Arithmetic Progression. Example: Fibonacci Sequence

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

Section Summary. Sequences. Recurrence Relations. Summations Special Integer Sequences (optional)

Section Summary. Definition of a Function.

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

Chapter 2 - Basics Structures

Section 7.5: Cardinality

Announcements. CS243: Discrete Structures. Sequences, Summations, and Cardinality of Infinite Sets. More on Midterm. Midterm.

Discrete Structures for Computer Science

Math.3336: Discrete Mathematics. Cardinality of Sets

A Short Review of Cardinality

Functions. Definition 1 Let A and B be sets. A relation between A and B is any subset of A B.

CSE 311: Foundations of Computing. Lecture 26: Cardinality

CSE 20 DISCRETE MATH. Fall

2.1 Sets. Definition 1 A set is an unordered collection of objects. Important sets: N, Z, Z +, Q, R.

Discrete Mathematics for CS Spring 2007 Luca Trevisan Lecture 27

MATH FINAL EXAM REVIEW HINTS

Algorithms: Lecture 2

One-to-one functions and onto functions

Section 9.2: Matrices.. a m1 a m2 a mn

Introduction to Decision Sciences Lecture 6

Math 105A HW 1 Solutions

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

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Mathematics 13: Lecture 10

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

Sequences are ordered lists of elements

POL502: Foundations. Kosuke Imai Department of Politics, Princeton University. October 10, 2005

Discrete Mathematics 2007: Lecture 5 Infinite sets

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

CITS2211 Discrete Structures (2017) Cardinality and Countability

Chapter Summary. Sets The Language of Sets Set Operations Set Identities Functions Types of Functions Operations on Functions Computability

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

Matrix Arithmetic. j=1

1.4 Cardinality. Tom Lewis. Fall Term Tom Lewis () 1.4 Cardinality Fall Term / 9

LECTURE 22: COUNTABLE AND UNCOUNTABLE SETS

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

Mathematics 220 Workshop Cardinality. Some harder problems on cardinality.

MATH31011/MATH41011/MATH61011: FOURIER ANALYSIS AND LEBESGUE INTEGRATION. Chapter 2: Countability and Cantor Sets

CSCE 222 Discrete Structures for Computing. Dr. Hyunyoung Lee

MATH 3300 Test 1. Name: Student Id:

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.

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

Lecture 3 Linear Algebra Background

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

ICS 6N Computational Linear Algebra Matrix Algebra

ELEMENTARY LINEAR ALGEBRA

Harvard CS 121 and CSCI E-207 Lecture 6: Regular Languages and Countability

Introduction Propositional Logic

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

A Universal Turing Machine

Chapter Summary. Sets (2.1) Set Operations (2.2) Functions (2.3) Sequences and Summations (2.4) Cardinality of Sets (2.5) Matrices (2.

CS100: DISCRETE STRUCTURES

1 Partitions and Equivalence Relations

Propositional Logic, Predicates, and Equivalence

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

MATHEMATICS. IMPORTANT FORMULAE AND CONCEPTS for. Final Revision CLASS XII CHAPTER WISE CONCEPTS, FORMULAS FOR QUICK REVISION.

Matrix representation of a linear map

Mathematics Review for Business PhD Students

Discrete Structures - CM0246 Cardinality

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

Lecture Notes in Linear Algebra

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

MAT115A-21 COMPLETE LECTURE NOTES

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

A Readable Introduction to Real Mathematics

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Exploring the infinite : an introduction to proof and analysis / Jennifer Brooks. Boca Raton [etc.], cop Spis treści

Cardinality of sets. Cardinality of sets

1 Counting Collections of Functions and of Subsets.

Linear Algebra March 16, 2019

ADVANCED CALCULUS - MTH433 LECTURE 4 - FINITE AND INFINITE SETS

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

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

Intro to Theory of Computation

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Example. We can represent the information on July sales more simply as

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

Economics 204 Fall 2011 Problem Set 1 Suggested Solutions

Finite and Infinite Sets

CLASS 12 ALGEBRA OF MATRICES

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

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

From Fundamentele Informatica 1: inleverdatum 1 april 2014, 13:45 uur. A Set A of the Same Size as B or Larger Than B. A itself is not.

ICS141: Discrete Mathematics for Computer Science I

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Functions. Given a function f: A B:

ELEMENTARY LINEAR ALGEBRA

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

Stage-structured Populations

QUESTION ONE (15 points each for 75 points total) For each of the following sets, say if the set is:

(1) Consider the space S consisting of all continuous real-valued functions on the closed interval [0, 1]. For f, g S, define

Discrete Mathematics. Benny George K. September 22, 2011

Announcements Wednesday, October 10

MATRICES. a m,1 a m,n A =

Part IA Numbers and Sets

Transcription:

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: Course syllabus Logic and proofs Sets Functions Integers and modular arithmetic Sequences and summations Counting Probability Relations Graphs 1

What We Have Leanrt Sequence and Summation - Simple Sequences - Recurrent Relation - More Sequences - Summation of Elements in Sequences Counting - Countability - Countable Sets - Properties of Countability What We Will Learn Matrices - Basic Concept - Basic Matrices

Arithmetic series Definition: The sum of the terms of the arithmetic progression a, a+d,a+2d,, a+nd is called an arithmetic series. Theorem: The sum of the terms of the arithmetic progression a, a+d,a+2d,, a+nd is n S ( a jd) na d j 1 j 1 n (n 1) j na d n 2

Geometric series Definition: The sum of the terms of a geometric progression a, ar, ar 2,..., ar k is called a geometric series. Theorem: The sum of the terms of a geometric progression a, ar, ar 2,..., ar n is n n n 1 j j r 1 S ( ar ) a r a j 0 j 0 r 1 Infinite geometric series Infinite geometric series can be computed in the closed form for x<1 How? k k 1 n n x 1 1 1 x lim k x lim k x 1 x 1 1 x n 0 n 0 Thus: n 1 x 1 n 0 x 2

Cardinality Recall: The cardinality of a finite set is defined by the number of elements in the set. Definition: The sets A and B have the same cardinality if there is a one-to-one correspondence between elements in A and B. In other words if there is a bijection from A to B. Recall bijection is one-to-one and onto. Assume A = {a,b,c} and B = {α,β,γ} and function f defined as: a α b β c γ If there is a one-toone function from A to B and from B to A, A and B are one-to-one correspondence. F defines a bijection. Therefore A and B have the same cardinality, i.e. A = B = 3. Cardinality Definition: A set that is either finite or has the same cardinality as the set of positive integers Z + is called countable. A set that is not countable is called uncountable. Why these are called countable? The elements of the set can be enumerated and listed. 3

Countable sets Assume A = {0, 2, 4, 6,... } set of even numbers. Is it countable? Countable sets Assume A = {0, 2, 4, 6,... } set of even numbers. Is it countable? Using the definition: Is there a bijective function f: Z + A Z+ = {1, 2, 3, 4, } 4

Countable sets Assume A = {0, 2, 4, 6,... } set of even numbers. Is it countable? Using the definition: Is there a bijective function f: Z + A Z+ = {1, 2, 3, 4, } Define a function f: x 2x - 2 (an arithmetic progression) 1 2(1)-2 = 0 2 2(2)-2 = 2 3 2(3)-2 = 4... Countable sets Assume A = {0, 2, 4, 6,... } set of even numbers. Is it countable? Using the definition: Is there a bijective function f: Z + A Z+ = {1, 2, 3, 4, } Define a function f: x 2x - 2 (an arithmetic progression) 1 2(1)-2 = 0 2 2(2)-2 = 2 3 2(3)-2 = 4... one-to-one (why?) 5

Countable sets Assume A = {0, 2, 4, 6,... } set of even numbers. Is it countable? Using the definition: Is there a bijective function f: Z + A Z+ = {1, 2, 3, 4, } Define a function f: x 2x - 2 (an arithmetic progression) 1 2(1)-2 = 0 2 2(2)-2 = 2 3 2(3)-2 = 4... one-to-one (why?) 2x-2 = 2y-2 => 2x = 2y =>x = y. onto (why?) a A, (a+2) / 2 is the pre-image in Z +. Therefore A = Z +. Countable sets Theorem: The set of integers Z is countable. Solution: Can list a sequence: 0, 1, 1, 2, 2, 3, 3,.. Or can define a bijection from Z + to Z: When n is even: f(n) = n/2 When n is odd: f(n) = (n 1)/2 6

Countable sets Definition: A rational number can be expressed as the ratio of two integers p and q such that q 0. ¾ is a rational number 2is not a rational number. Theorem: The positive rational numbers are countable. Solution: The positive rational numbers are countable since they can be arranged in a sequence: r 1, r 2, r 3, Countable sets Theorem: The positive rational numbers are countable. First row q = 1. Second row q = 2. etc. Constructing the List First list p/q with p + q = 2. Next list p/q with p + q = 3 And so on. 7

Cardinality Theorem: The set of real numbers (R) is an uncountable set. Proof by a contradiction. 1) Assume that the real numbers are countable. 2) Then every subset of the reals is countable, in particular, the interval from 0 to 1 is countable. This implies the elements of this set can be listed say r1, r2, r3,... where r1 = 0.d 11 d 12 d 13 d 14... r2 = 0.d 21 d 22 d 23 d 24... r3 = 0.d 31 d 32 d 33 d 34...... where the d ij {0,1,2,3,4,5,6,7,8,9}. Real numbers are uncountable Proof cont. 3) Want to show that not all reals in the interval between 0 and 1 are in this list. Form a new number called r = 0.d 1 d 2 d 3 d 4... where d i = 2, if d ii 2 3 if d ii = 2 suppose r1 = 0.75243... d1 = 2 r2 = 0.524310... d2 = 3 r3 = 0.131257... d3 = 2 r4 = 0.9363633... d4 = 2...... rt = 0.23222222... dt = 3 8

Real numbers are uncountable r = 0.d 1 d 2 d 3 d 4... where 2, if d ii 2 d i = 3 if d ii = 2 Claim: r is different than each member in the list. Is each expansion unique? Yes, if we exclude an infinite string of 9s..02850 =.02849 Therefore r and r i differ in the i-th decimal place for all i. -> Contradiction, we can not list all real numbers in the countable way. Useful Countability Property If A and B are countable sets, then A B is also countable i) finite and finite ii) countably infinite and finite iii) countably infinite and coutnably infinite i) the union is finite -> countable ii) concatenation of the finite and countably infinite is countable iii) A set locating elements at the same index of the two sets is countable 9

Useful Countability Property Any set with an uncountable subset is uncountable Any subset of a countable set is countable -> The restriction of an injective function to a subset of its domain is still injective. If S is a countable set and x S, then S {x} is countable. ->Let f: S N be an injection. Define g: S {x} N by g(x) = 0 and g(y) = f(y) + 1 for all y in S. This function g is an injection. Matrices

Matrices Definitions: A matrix is a rectangular array of numbers. A matrix with m rows and n columns is called an m x n matrix. Note: The plural of matrix is matrices. Matrices Definitions: A matrix is a rectangular array of numbers. A matrix with m rows and n columns is called an m x n matrix. Note: The plural of matrix is matrices. Definitions: A matrix with the same number of rows as columns is called a square matrix. Two matrices are equal if they have the same number of rows and the same number of columns and the corresponding entries in every position are equal. 10

Matrices Let m and n be positive integers and let The ith row of A is the 1 x n matrix [a i1, a i2,,a in ]. The jth column of A is the m x 1matrix: The (i,j)th element or entry of A is the element a ij. We can use A = [a ij ] to denote the matrix with its (i,j)th element equal to a ij. Matrix addition Defintion: Let A a ij and B b ij be m x n matrices. The sum of A and B, denoted by A + B, is the m x n matrix that has a ij b ij as its i,j th element. In other words, A + B = [a ij b ij. Note: matrices of different sizes can not be added. 11

Matrix multiplication Definition: Let A be an m x k matrix and B be a k x n matrix. The product of A and B, denoted by AB, is the m x n matrix that has its i,j th element equal to the sum of the products of the corresponding elments from the ith row of A and the jth column of B. In other words, if AB = [c ij then c ij a i1 b 1j a i2 b 2j a jk b kj. The product is not defined when the number of columns in the first matrix is not equal to the number of rows in the second matrix Matrix multiplication The Product of A = [a ij and B = [b ij 12

Matrix multiplication 2 4 3 1 1 2 2 4 6 * 1 4 2 1 2 2 1 5 3 =????????? Matrix multiplication Properties of matrix multiplication: Does AB = BA? AB BA 13

Matrix multiplication Properties of matrix multiplication: Does AB = BA? AB:? Matrix multiplication Properties of matrix multiplication: Does AB = BA? AB: 3 14

Matrix multiplication Properties of matrix multiplication: Does AB = BA? AB: BA:? 3 Matrix multiplication Properties of matrix multiplication: Does AB = BA? AB: BA: 3 Conclusion: AB BA 15

Matrices Definition: The identity matrix (of order n) is the n x n matrix I n = [ ij ], where ij 1 if i j and ij 0 if i j. Properties: Assume A is an m x n matrix. Then: AI n A and I m A A Assume A is an n x n matrix. Then: A 0 I n Matrices Definition: Powers of square matrices When A is an n n matrix, we have: A 0 I n A r AAA A r 16

Matrix transpose Definition: Let A = [a ij ] be an m x n matrix. The transpose of A, denoted by A T,is the n x m matrix obtained by interchanging the rows and columns of A. If A T =[b ij ], then b ij a ji for i 1,2,,n and j 1,2,...,m. Matrix inverse Definition: Let A = [a ij ] be an n x n matrix. The inverse of A, denoted by A -1, is the n x m matrix such that A A -1 = A -1 A = I Note: the inverse of the matrix A may not exist. 17