Functions and Relations Flashcards

1
Q

What is a relation?

A

Let A and B be sets. A relation from A to B is a subset of the cartesian product A x B

i.e. A = {cities of the wold} B = {countries of the world} and R = {(a, b): a is the capital city of b} –> (Paris) R (France)

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

What are Domain and Co-Domain?

A

A relation R from A to B is a subset of A x B. The set A is called domain of R and the set of B is called its co-domain

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

What is a function?

A

A function from a set A to B is a relation with domain A and co-domain B that satisfies the two following properties:

  1. Every element in A is the first element of an ordered pair of F
  2. No two distinct ordered pairs in F have the same first element
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When are two functions equal?

A

If F:X->Y and G:X->Y are functions, then F=G if and only if F(x) = G(X) for all x in X

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

What is a one to one function?(Injective)

A

A function whgere any distinct element in X is sent to a distinct element in Y (without two Xs being sent to the same element in Y)

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

When is a function onto? (surjective)

A

A function is onto only if any element in Y is reached by an element x (y = F(x))

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

What is a one to one correspondence (bijection)?

A

a function F:X -> Y that is both one-to-one and onto

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

What is an inverse function?

A

A function that reverses the previous function

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

What are the properties of a relation? (three)

A
  1. Reflexive: if for all x in A, x R x
  2. Symmetric: for all x and y in A, if (x, y) is part of thre relation then (y, x) has to be part of the relation as well.
  3. Transitive: if for all x, y, z in A if xRy and yRz then xRz
How well did you know this?
1
Not at all
2
3
4
5
Perfectly