Wk 0: The Function and the Field Flashcards

(43 cards)

1
Q

Set

A

an unordered collection of objects

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

Cardinality

A

If a set S is not infinite, we use |S| to denote the number of elements or cardinality of the set

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

Cartesian Product

A

A x B is the set of all pairs (a,b) where a ∈ A and b ∈ B

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

Cardinality of A x B

A

If A and B are finite sets then |A x B| = |A| x |B|

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

Function (informally)

A

For each input element in a set A, a function assigns a single output element from another set B

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

Domain of a function

A

Set A which contains input elements

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

Co-domain of a function

A

Set B from which all outputs are chosen

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

Function (formal)

A

A set of pairs (a,b) no two of which have the same first element

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

Image (of an input)

A

The output of a given input. The image of q under a function f is denote f(q)

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

f(q) = r or q ↦ r

A

q maps to r under f

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

f: D → F

A

f is a function with domain D and co-domain F

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

T/F: All elements of the co-domain are images of elements in the domain

A

FALSE. There might be elements in the co-domain that are not images of any elements in the domain

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

Caesar’s cryptosystem

A

Each letter is mapped to one three places ahead

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

Image (of a function)

A

The set of all images of inputs. written Im f

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

Range

A

Ambiguous - can refer to co-domain or image

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

FD

A

For sets F and D, FD denotes all functions from D to F

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

|FD| (prop.)

A

|FD| = |F||D|

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

Identity function

A

For any domain D, maps each domain element to itself. idD: D → D

19
Q

Functional composition

A

For functions f: A→B and g: B→C, the functional composition of f and g is the function (g ∘ f): A→C defined by (g ∘ f)(x) = g(f(x))

20
Q

Prop. Associativity of function composition

A

h ∘ (g ∘ f) = (h ∘ g) ∘ f

21
Q

Functional inverses

A

Functions f and g are functional inverses if f ∘ g and g ∘ f are defined and are identity functions

22
Q

Invertible function

A

A function that has an inverse

23
Q

One-to-one

A

f: D→F st f(x) = f(y) implies x = y

24
Q

Onto

A

f: D→F st ∀ z ∈ F, ∃ a ∈ D st f(a) = z

25
Prop. Invertible functions are one-to-one
TRUE. To prove: Assume false and f-1 contradicts definition of function
26
Prop. Invertible functions are onto
TRUE. To prove: Assume false and f-1 contradicts definition of inverse
27
Function Invertibility Theorem
A function f is invertible ⇔ it is one-to-one and onto
28
Procedure
A description of a computation that, given an input, produces an output
29
Computational problem
An input-output specification that a procedure might be required to satisfy
30
Procedure vs. Computational problem
1) Functions / CPs don't tell us how 2) Many procedures may exist for same spec 3) CP may allow several diff outputs for same input
31
Uniform distribution
pdf which assigns the same probability to each outcome
32
Probability distribution function (pdf)
1) Assigns a nonnegative probability to each possible outcome 2) Probabilities of all possible outcomes must sum to 1
33
Translation of complex number
f(z) = z + z0
34
Scaling (of a complex number)
Multiplication by a scalar
35
Reflection (of a complex number)
Multiplication by -1
36
Rotation (of a complex number)
f(z) = z \* eτi does rotation by an angle τ in radians
37
Euler's formula
For any real number θ, eiθ is the point z on the unit circle with argument θ
38
GF(2)
Galois Field 2; contains elements 0 and 1
39
Addition in GF(2)
XOR
40
Multiplication in GF(2)
Same as integer multiplication
41
one-time pad
If each bit is encrypted with its own one-bit key, it is unbreakable
42
Argument of z ∈ ℂ
Angle in radians between z arrow and 1 + 0**i** arrow
43
z = reθi
- r is the absolute value of z - θ is the argument of z