Functions Flashcards

1
Q

What is a function?

A

mapping from x to one element y

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

what is domain and codomain?
What is an image and pre-image?

A

Domain think “input type”. The Pre-image.
Codomain thnk “return type”. the image.

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

when are two functions equal?

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

equal functions does not depend on equal implementations

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

what is “onto”

A

Surjection - for all Y, there is an X

All images have a pre-image

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

what is one-to-one or injective?

A

different elements of the domain map to different elements of codomain

horizontal line test: only one point

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

what is bijective? or one-to-one correspondence?

A

both one-to-one and onto

every y E Y is th eimage of exactly one x E X

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

-1 is part of codomain that has no preimage

f(-1) = f(1) = 1

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

what is inverse: F-1(x)

A

maps image to pre-image

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

Cardinality of sets (number of elements)

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