Set Theory Lecture 5 Flashcards

1
Q

What is a function?

A

A binary relation where each element in the domain maps to at most one element in the codomain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the domain of a function?

A

The set of all possible inputs for the function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the codomain of a function?

A

The set of all possible outputs that the function could map to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the range (image) of a function?

A

The actual set of outputs produced by applying the function to elements in the domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When is a function called total?

A

If its domain of definition is the entire set A.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When is a function called surjective?

A

If its range is equal to the codomain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an injective function?

A

A function where no two different inputs map to the same output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a surjective function?

A

A function where every element in the codomain is mapped by at least one element in the domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a bijective function?

A

A function that is both injective and surjective.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an example of an injective function?

A

f(x) = 3x - 1 over the real numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an example of a surjective function?

A

f(x) = |3x - 1| over the non-negative real numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is an example of a bijective function?

A

f(x) = x + 1 over the integers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is function composition?

A

Applying one function to the output of another function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the notation for function composition?

A

(g ◦ f)(x) = g(f(x)).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is an inverse function?

A

A function that reverses the effect of another function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

When does a function have an inverse?

A

If and only if it is bijective.

17
Q

What is the inverse of a bijection?

A

A function that maps elements in the codomain back to their original elements in the domain.

18
Q

What is a counting argument in set theory?

A

A method for comparing the sizes of sets using functions.

19
Q

What does it mean for two sets to have the same cardinality?

A

There exists a bijection between them.

20
Q

What is an example of two sets with the same cardinality?

A

The set of natural numbers and the set of even natural numbers.

21
Q

What does the Cantor–Schröder–Bernstein theorem state?

A

If there are injections from A to B and B to A, then there exists a bijection between A and B.

22
Q

What is a countably infinite set?

A

A set that has the same cardinality as the natural numbers.

23
Q

What does it mean for a set to be countable?

A

It is either finite or countably infinite.

24
Q

What is an example of a countably infinite set?

A

The set of integers.

25
Q

What is an uncountable set?

A

A set that is not countable, meaning it has strictly greater cardinality than the natural numbers.

26
Q

What is an example of an uncountable set?

A

The set of real numbers in the interval (0,1).

27
Q

What proof technique shows that (0,1) is uncountable?

A

Cantor’s diagonalization argument.

28
Q

What is the idea behind Cantor’s diagonalization argument?

A

It constructs a number that is not in any supposed enumeration of (0,1), proving the set is uncountable.

29
Q

What does the diagonalization argument show about real numbers?

A

There are more real numbers than natural numbers, proving the existence of different sizes of infinity.

30
Q

What is the significance of countability in computer science?

A

It determines whether a set can be systematically enumerated, affecting computability and algorithm design.