Week 3 Flashcards

1
Q

If given two sets, A and U, A is a subset of U. What is the compliment of A in U?

A

The compliment of A in U is a set that includes all the elements in U that are NOT in A.

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

What are the De Morgan Laws when applied to compliments of sets?

A

A and B are subsets of U
(A union B) com in U = (A com in U) intersect (B com in U)
(A intersect B) com in U = (A com in U) union (B com in U)

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

What is the Cartesian Product of A and B (A x B)?

A

The cartesian product is a set where each element of A x B has two parts: (a,b).
a comes from set A and b comes from set B

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

What are the three components that define a function?

A

Domain - A collection of possible inputs
Codomain - A collection of possible outputs
Rule - A mathematical rule to apply

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

What does it mean if two functions are equal?

A

-They have the same domain
-They have the same codomain
-Every output from the first function is equal to
the output from the second function

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

What is the definition of an injective function?

A

Every element in the domain goes to a unique element in the codomain.

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

What is the definition of a surjective function?

A

Every element in the codomain corresponds to an element in the domain.

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

What is the definition of a bijective function?

A

A function that is injective and surjective.

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

What does the following function composition mean:
f.g.h(x)

A

f(g(h(x)))

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

Is function composition Associative?
(example f,g,h are functions)

A

Yes
h.(g.f) = (h.g).f

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

What is the identity function and the symbol?

A

The identity function is a function when applied to a set will output the exact same set.
Symbol: idX(x) = x

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

What does it mean for a function to have a left inverse?

A
  • If we have two functions f and g
  • f: X -> Y and g: Y -> X
    Starting at the domain (x) if we apply g.f(x) = x
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does it mean for a function to have a right inverse?

A
  • If we have two functions f and g
  • f: X -> Y and g: Y -> X
    Starting at the domain (y) if we apply f.g(y) = y
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does it mean for a function to be an inverse of another function?

A

It has both a left and right inverse.

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

What can we conclude about a function that has a left inverse?

A

It is injective

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

What can we conclude about a function that has a right inverse?

A

It is surjective

17
Q

What can we conclude about a function that has an inverse?

A

It is bijective

18
Q

If f is a function with a right inverse (g) and left inverse (h) then what can we conclude about g and h?

A

g=h

19
Q
A