Unit 5 (DNF) Flashcards

1
Q

What is the smallest possible integer n such that n = ax + by?

A

gcd(a, b)

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

Definition of relatively prime (coprime)

A

a, b are only coprime iff gcd(a, b) = 1.

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

a \equiv b (mod m)

A

if and only if m | (a - b)

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

Definition of a | b

A

There exists an integer k such that b = ka.

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

Definition of a function

A

Let A and B be sets. A function f from A to B, denoted f : A → B, is a
subset f ⊆ A × B in which, for every a ∈ A, there exists exactly one b ∈ B
such that (a, b) ∈ f.

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

When is a function invalid?

A

When there exists b ∈ B with more than one preimage

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

Definition of injective

A

iff every element of B is the second component of at most one element of an ordered pair in f.

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

Definition of surjective

A

For every b ∈ B, there exists a preimage a ∈ A such that f(a) = b

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

When are two functions equal?

A

Two functions f and g are equal iff
- they have the same domain
- they have the same codomain (target)
- f(x) = g(x) for all x in the domain

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

Supposition for proving injectivity

A

Suppose f(x) = f(y). Then, prove that x = y.

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

Supposition for proving surjectivity

A

Take any y ∈ range. If y = f(x) then solve for x. If all x is in domain, then for all f(x), f(x) = y.

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

Identity function of any set A

A

The identity function on A is the function ιA : A → A defined by ιA(a) = a for every a ∈ A

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

Def. of inverse functions

A

functions f : A → B and g : B → A to be inverses if f(a) = b ⇔ g(b) = a. Equivalently, f : A → B and g : B → A are inverses if g ◦ f = ιA and f ◦ g = ιB.

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

When can a function f have an inverse?

A

Iff f is bijective.

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

f : A → B and g : B → A and f and g are inverses. g ◦ f = ?

A

ιA (identity function of domain A)

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

f : A → B and g : B → A and f and g are inverses. f ◦ g = ?

A

ιB (identity function of codomain B)

17
Q

(f^−1)^−1 = ?

A

f

18
Q

f : A → B. (f^-1)◦f = ?

A

ιA

19
Q

f : A → B. f◦(f^-1) = ?

A

ιB

20
Q
A