Shared Flashcard Set

Details

Discrete Mathematics pt 1
Set theory, Relations, Functions, Cardinality
107
Mathematics
Undergraduate 1
02/09/2011

Additional Mathematics Flashcards

 


 

Cards

Term
Definition of Set
Definition
An unordered collection of well-defined objects
Term
The set: P
Definition
Positive integers: {1, 2, 3, 4, ...}
Term
The set: ℕ
Definition
Natural numbers: {0, 1, 2, 3, 4, ..}
Term
The set: ℤ
Definition
Integers: {.., -2, -1, 0, 1, 2, ...}
Term
The set: ℚ
Definition
Rational numbers: m / n where m,n∈Z and n≠0
Term
The set: ℝ
Definition
The set of real numbers
Term
Can ℝ be listed?
Definition
No, ℝ cannot be listed.
Term
What is a subset?
Definition
A⊆B if every element of A is also an element of B
Term
Definition of proper subset
Definition
A⊂B if every element of A is in B and ∃y∈B such that y∉A. In other words A⊆B but A≠B
Term
Definition of U (the universe)
Definition
The universal set is the set of all objects under consideration
Term
Definition of ∅
Definition
The null set is the set with no elements
Term
Definition of cardinality
Definition
|X| means the cardinality of the set X, the number of elements in the set X
Term
When are two sets equal? ie A = B
Definition
Two sets are equal if and only if A⊆B and B⊆A
Term
What is the power set of a set?
ex: S = {1,2,3}
Definition
The set of all subsets. P(S) = {A | A⊆S}
{∅, {1}, {2}, {3}, {1,2}, {2,3}, {1,3}, {1,2,3}}
Term
What two sets are always subsets of a set?
Definition
∅ and the set itself
Term
If a set has n elements, how many elements does the power set have?
Definition
2^n
Term
Definition of an ordered n-tuple
Definition
(a1, a2, a3, ..., an) is an ordered collection of elements where a1 is the first element; a2 is the second element etc.
Term
Definition of Cartesian product
Definition
Let A and B be sets. AxB is the set of all ordered pairs (a, b) where a∈A and b∈B
Term
Definition of Union
Definition
The union of two sets A and B, A∪B is the set of elements that are in either A or B. A∪B = {x | x∈A or x∈B}
Term
Definition of intersection
Definition
The intersection of 2 sets A and B, A∩B, is the set of elements that are in A and are in B. A∩B = {x | x∈A and x∈B}
Term
Definition of disjoint
Definition
Two sets A and B are disjoint if their intersection is the null set
Term
Principle of inclusion exclusion
Definition
The number of elements in A∪B, is the number of elements in A plus the number of elements in B, less the number in the intersection of A and B.

|A∪B| = |A| + |B| - |A∩B|
Term
What is the difference of two sets, A - B
Definition
The set of elements in A that are not in B.
A-B = {x | x∈A and x∉B}
Term
Definition: complement of a set
Definition

The complement of a set A is the set of elements that are in the universe but not in A.

 

{x | x ∉ A}

 

[image]

Term
Theorem relating A-B to A interestected with B complement
Definition
[image]
Term
Definition: double complementation law
Definition
[image]
Term
Definition: Idempotent Union
Definition
[image]
Term
Definition: Idempotent Intersection
Definition
[image]
Term
Definition: Commutative Union
Definition
A∪B = B∪A
Term
Definition: Commutative Intersection
Definition
A∩B = B∩A
Term
Definition: Associative Union
Definition
A∪(B∪C) = (A∪B)∪C
Term
Definition: Associative Intersection
Definition
A∩(B∩C) = (A∩B)∩C
Term
Distributive laws
Definition
A∪(B∩C) = (A∪B)∩(A∪C)
A∩(B∪C) = (A∩B)∪(A∩C)
Term
When are AxB and BxA equal?
Definition
When A and B = ∅ or when A = B
Term
Definition: DeMorgan's Law
Definition

[image]

[image]

Term
Definition: generalized union
Definition
The generalized union is the set of elements that are in ANY of the sets in the union
Term
Definition: generalized intersection
Definition
The set of elements that are common to ALL sets in the generalized intersection
Term
Definition: Bit
Definition
1 or 0
Term
Definition: bit string
Definition
An ordered and FINITE sequence of 1's and 0's
Term
Definition: Symmetric Difference of A, B
Definition

The set of elements in (A or B) but not in (A and B)

[image] = {x | x∈A or x∈B and x∉(A and B)}

Term
Definition: Binary relation from sets A to B
Definition
A subset of AxB
Term
What are form are elements of a relation?
Definition
Ordered pairs
Term
What is a relation on A?
Definition
A subset of AxA
Term
How many relations are there on a set with n elements?
Definition
2n2
Term
Definition: Reflexive property on A
Definition

For every element of a set, that element is related to itself.

∀a∈A, aRa

(a, a)∈R

Term
What is the counter example to the reflexive property?
Definition

Find an a∈A such that a is not related to a.  Find a missing (a,a)

 

∃a∈A such that (a, a)∉R

Term
Definition: Irreflexive Property on A
Definition

For every element a in A, a is not related to itself.

 

∀a∈A, (a, a)∉R

Term
What is the counter example for the irreflexive property
Definition

Find an a in A such that aRa...  Find a member of the diagonal

 

∃a∈A | (a, a)∈R

Term
Definition: Symmetric Property on A
Definition

If there is an (a, b)∈R, then (b, a)∈R ∀a, b∈A

 

 

Term
What is the counter example of the symmetric property on A?
Definition
Find a (b, a)∉R when there is a (a, b)∈R
Term
Definition: Antisymmetric property on A
Definition
if aRb and bRa then a=b

in other words: if a≠b and (a, b)∈R then (b, a)∉R

(a, b)∈R and (b, a)∈R ⇒ a=b
Term
What is the counter example to the antisymmetric property?
Definition
Find a reverse ordered pair not in the diagonal.
Term
Definition: Transitive property on A
Definition
If aRb and bRc then aRc
note: a can equal c
Term
What is the counter example to the transitive property?
Definition
Find an (a, c)∉R when there is an (a, b)∈R and (b, c)∈R
Term
What does x | y mean?
Definition
x divides y evenly.

y/x = z, z∈Z
Term
Definition: Inverse relation
Definition

The relation that occurs when you switch the ordering of the elements of a relation.

 

R-1 = { (b, a) | (a, b)∈R }

Term
Definition: Complementary relation of R
Definition

The ordered pairs not R

 

[image] = { (a, b) | (a, b) ∉ R }

Term
What is the theorem relating the symmetric property of relations and the inverse relation.
Definition
R is symmetric if and only if R=R-1
Term
Definition: Equivalence relation on A
Definition
A relation that is reflexive, symmetric, and transitive
Term
Definition: Equivalence class
Definition

If R is an equivalence relation on A, an equivalence class of a in A is the set of elements that are related to a.  Written [a]

note: a is merely a representative of the equivalence  class, any other would work just as well

Term
How do you form an equivalence class?
Definition
Take an element in the class and find all elements related to it
Term

What is congruence modulo?

a[image]b (mod n)

Definition

a and b have the same remainder when divided by n

 

a - b = nz, z∈Z

Term
What are 3 equivalent statements about an equivalence relation on A?
Definition
1. aRb
2. [a] = [b]
3. [a]∩[b] ≠ ∅
Term
Definition: Function
Definition
Let A, B be two non-empty sets. A function f from A to B is the assignment of EXACTLY ONE element in B to EACH element in A.
Term
Definition: Domain
Definition
Let f be a function from A to B. A is the domain.
Term
Definition: Codomain
Definition
Let f be a function from A to B. B is the domain.
Term
Definition: Image
Definition
let f(a) = b. b is the image of a
Term
Definition: preimage
Definition
let f(a) = b; a is the preimage of b
Term
Definition: range
Definition
the set of all images of elements in A.
Term
Defintion: image of a subset, S, of the domain
Definition
The subset of the codomain that consists of the images of the elements in S.
Term
Definition: injective functions
Definition
AKA 1:1 a function such that each element in the domain maps to a different element in the codomain. In other words, if x≠y then f(x)≠f(y)
Term
Definition: surjective functions
Definition
AKA onto functions are functions such that every element in the codomain has a preimage. In other words if f: X → Y, then f(X) = Y
Term
How do you prove a function is 1:1?
Definition
Method 1:
take x≠y, show f(x)≠f(y)
Method 2:
take f(x)=f(y), show x=y
Term
How do you prove a function is onto?
Definition
if f: X → Y
let y∈Y, define an x∈X such that f(x)=y. Show that f(x)=y.

Note: to find x, let y=f(x) and solve for x
Term
Definition: bijection
Definition
AKA 1:1 correspondence
A function that is 1:1 and onto
Term
Definition: strictly increasing function
Definition
A function f: X → Y is strictly increasing if x
Term
Definition: strictly decreasing function
Definition
f: X → Y is strictly decreasing if xf(y)
Term
Definition: Identity function
Definition

Let A be any set.

The identity function, iA:A→A, is the function such that iA(a) = a.

 

The identity function is a bijection

Term
When is a function invertible?
Definition
When it is a bijection
Term
Definition: Inverse function
Definition

if f:A→B

the inverse function, f-1:B→A

such that f-1(b)=a if f(a)=b

f-1 is a bijection as well

Note:

f-1(f(a)) = a

think:round trip for a

f(f-1(b)) = b

Term
Definition: composition of functions- f with g
Definition

If the codomain of g is the domain if f, then f composed with g takes the output of g and applies f to it.

f: A[image]B

g: C[image]A

f[image]g:C[image]B = f(g(x))

Term
Definition: floor function
Definition

AKA greatest integer function

the floor function [x] or ⌊x⌋

maps ℝ to

and is the greatest integer ≤ x

⌊2.5⌋ = 2

⌊-2.5⌋ = -3

Term
Is the floor function a bijection?
Definition
No, it is onto, but is not 1:1
Term
Definition: sequence
Definition
A function whose domain is ℕ or P
Term

Defintion: summation

Identify: components of summation notation

Definition

The sum of terms in a sequence.

[image]

j: index of summation

aj: jth term, think f(j)

m: lower limit

n: upper limit

m, n ∈

m≤n

Term
Considering finite sets, what can be said about the relationship between A and B if |A| = |B|?
Definition
There exists a function f:A[image]B such that f is a bijection
Term
What can be said about the cardinality of A and B if f:A[image]B is a bijection?
Definition
|A| = |B|
Term
Define: Isomorphism
Definition
A isomorphism between A and B exists if there is a bijection between A and B
Term
Isomorphism is an equivalence relation on the set of all sets. Why?
Definition

Reflexive: A≅A since iA:A[image]A is a bijection

Symmetric: if A≅B then B≅A ∀sets A,B

since A≅B, there is a f:A[image]B that is a bijection

then f-1:B[image]A is a bijection

Transitive: if A≅B and B≅C, then A≅C ∀sets A,B,C

since A≅B, there is a f:A[image]B that is a bijection

and since B≅C, there is a f:B[image]C is a bijection

a. if f:A[image]B and g:B[image]C are both 1:1 then g[image]f is 1:1

b. if f:A[image]B and g:B[image]C are both onto, then g[image]f is onto

Term
If isomorphism is an equivalence relation on the set of all sets, what does this imply?
Definition
The set of all sets can be partitioned into equivalence classes
Term
Definition: countably infinite set
Definition
A set with cardinality ℵ0
Term
Definition: a countable set
Definition
A set that is either finite or countably infinite
Term
Definition: enumeration of a set
Definition
A listing of of A in the form: (a1, a2, a3,..., an) which lists A without repition and has one an for each n∈P. AN ENUMERATION IS/MUST BE INFINITE
Term
What can be said about a set A if it can be enumerated?
Definition
There is a bijection between P and A, and its cardinality is ℵ0
Term
How can you enumerate ℤ?
Definition
(0, 1, -1, 2, -2, ....)
Term
Subsets of countable sets are _______. What does this mean for finite / infinte sets?
Definition

countable.

If the set is finite, its subsets are finite

If the set is infinite, there exists a bijection with P

Term
The countable union of countable sets is ________.
Definition

countable.

The index and the set must be countable

Term
If sets S and T are countable, what can be said about their Cartesian product?
Definition
It is countable. If either has cardinality ℵ0 the cardinality of the cross product is ℵ0
Term
Definition: uncountably infinite
Definition
An infinite set that does not have cardinality ℵ0
Term
The real numbers are _________.
Definition
uncountably infinite
Term
Describe Cantor's diagonal argument to prove the reals are uncountably infinite.
Definition

A proof by contradiction:

Assume the reals are countably infinite and therefore can be enumerated (r1, r2, r3, r4, ...., rn)

 

1.

r1 = a1.b11b12b13b14....

r2 = a2.b21b22b23b24....

r3 = a3.b31b32b33b34....

rn = an.bn1bn2bn3bn4....bnn

 

ai is the integer portion of ri, ai

bij is the jth decimal place of ai, bij{0, 1, 2, ..., 9}

 

2.

consider the the diagonal: bii

define a [image] = {0 if bii is 1, 2, 3, ..., 9; and 1 if bii is 0}

define [image]

 

3.

[image] is a real number but is not in the enumeration because:

[image] ≠ r1; because [image]

[image] ≠ r2; because [image]

and so on because we defined [image] to be different from bii, thus we have a contradiction and the reals cannot be enumerated


 

Term
How would you prove the real numbers between 0 and 1 are uncountably infinite? Some other interval?
Definition

Use Cantor's diagonal but let ai = 0.

Use Cantor's diagonal but let ai = {x | x is in the interval} ie 1, 2, 3, 4

Term
Why is the cardinality of the set of all bit strings aleph null, and the cardinality of a sequences of 1s and 0s uncountably infinite?
Definition
bit strings are finite, hence Cantor's will not work.
Term
What can be said about B if A is uncountably infinite and A⊆B?
Definition

B is uncountably infinite.

Note: this does not mean that subsets of uncountably infinite sets are uncountably infinite. The set of integers is a subset of reals, and the cardinality of integers is aleph null.

Term
If A is uncountably infinite and B is countable, what can be said about A-B?
Definition
A-B is uncountably infinite.
Term

What are 5 ways to prove an infinite set A has cardinality aleph null?

Definition

1. Prove there is a bijection between A and P

 

2. Show the subset can be enumerated and state the theorem.

 

3. Show A is a subset of a known aleph null set and state theorem.

 

4. Show A is a countable union of countable sets and state theorem.

 

5. Show A=SxT where S,T are countable and state theorem

Term

What are 4 ways to show that an infinite set A is uncountably infinite?

Definition

1. Use Cantor's diagonal argument

 

2. Prove there is a bijection between A and R

 

3. Show a subset of A is uncountably infinite

 

4. Show A is the difference between an uncountably infinite set and a countably infinite set

Supporting users have an ad free experience!