Functions Flashcards

(56 cards)

1
Q

Set/Object

A

A set is a collection of objects, the objects in a set are called elements.

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

Natural Numbers

A

{1, 2, 3, 4, . . .}

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

Integers

A

{. . . , −2, −1, 0, 1, 2, 3, . . .}

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

Rational Numbers

A

a/b where a and b are integers and b is non zero

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

Real Numbers

A

e, pi ect

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

Complex Numbers

A

a + bi where a and b are real numbers

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

Empty Set

A

A set with no object within

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

Sets A, B are equal if…

A

if a is in A then a is in B AND if b is in B then b is in A

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

does order of elements in a set matter?

A

no

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

is the empty set unique?

A

yes, for all empty sets share the same elements completely

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

does a set with repeated elements differ from one without?

A

no

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

can a set have a set inside of it?

A

yes

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

conclusion given from the fact that sets A = B and B = C

A

A = C , as all elements in A are in B which are in C, so it remains that the elements within all of them are identical, so the sets are identical

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

B subset A

A

every element of A is an element of B -> if a is in A then a is in B

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

The union A ∪ B

A

{x : x ∈ A or x ∈ B} meaning elements x such that x is an element of A or an element of B

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

The power set P(A) of A

A

the set of all subsets of A

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

The intersection A ∩ B

A

{x : x ∈ A and x ∈ B} meaning elements x such that x is an element of A and an element of B

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

set difference A \ B

A

A \ B = {a ∈ A : a̸ ∈ B} meaning the set containing elements a that are in set A but not set B

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

(De Morgan’s Laws). Let A, B, C be sets. Then… (intersect)

A

A \ (B ∩ C) = (A \ B) ∪ (A \ C) meaning the set A - the intersection of B and C is equal to the union of sets A-B and A-C

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

(De Morgan’s Laws). Let A, B, C be sets. Then… (union)

A

A \ (B ∪ C) = (A \ B) ∩ (A \ C) meaning the set A minus the unions of set B and C is equal to the intersection of sets A-B and A-C

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

direct product (or cartesian product) A × B

A

A × B = {(a, b) : a ∈ A, b ∈ B} meaning the set of ordered pairs containing first element a from A and b from B

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

If A, B are sets then a function f from A to B is a rule which

A

to each a ∈ A, assigns an element f (a) of B, called the value of f at a. We write f : A → B
set A is called the domain of f , the set B is called the codomain of f

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

Two functions f : A → B and g : C → D are equal if and only if

A

A = C, B = D
and f (a) = g(a) for every a ∈ A

20
Q

statement

A

sentence which is either true or false but not both

21
contrapositive
The contrapositive of the statement ‘A =⇒ B’ is ‘not(B) =⇒ not(A)’
22
converse
The converse of the statement ‘A =⇒ B’ is ‘B =⇒ A’
23
Proof by Contradiction
assume that the hypothesis H is true but the conclusion C is false
24
(Euclid’s Lemma). Suppose a, b, c are non-zero integers.
if a is coprime to b and a | bc, then a | c If p is prime and p | bc then p | b or p | c
25
(x + y)^p ≡ (modular arithmetic)
≡ x^p + y^p (mod p)
26
Fermat’s Little Theorem
a^p ≡ a (mod p)
27
If a ∈ Z and p does not divide a then
a^(p−1) ≡ 1 (mod p)
28
Suppose a ∈ Z and n ∈ N. Let d be the gcd of a and n
if d > 1, then there is no b ∈ Z with ab ≡ 1 (mod n) If d = 1, then there exists b ∈ Z with ab ≡ 1 (mod n) If n is a prime and n ∤ a, then there exists b ∈ Z with ab ≡ 1 (mod n) Let b, b′ ∈ Z. If n is a prime and n ∤ a, and ab ≡ ab′ (mod n) then b ≡ b′ (mod n)
29
The identity function
If A is any set, the identity function iA : A → A is given by iA(a) = a, for all a ∈ A
30
Composition
Suppose f : A → B and g : B → C are functions. We define the composition g ◦ f to be the function g ◦ f : A → C given by (g ◦ f )(a) = g (f (a)) , for a ∈ A
31
image of f
{f (a) : a ∈ A}
32
Formal definition of function
f: A -> B is a subset of the direct product A × B with the property that * for each a ∈ A there is a unique b ∈ B such that (a, b) ∈ f .
33
injective
whenever a, a′ ∈ A and a̸ = a′, then f (a)̸ = f (a′) (so f sends distinct elements of A to distinct elements of B)
33
surjective
for every b ∈ B there exists a ∈ A with f (a) = b
34
bijective
f is both surjective and injective
35
Relate surjectivity to the image of a set.
Suppose f : A → B is a function. Recall that the image of f is Im(f ) = {f (a) : a ∈ A} ⊆ B. Then f is surjective if and only if Im(f ) = B
36
To check that a function f : A → B is injective, we need to show that...
for a, a′ ∈ A, if f (a) = f (a′) then a = a′.
37
Inverse Function
g(f (a)) = a and f (g(b)) = b (if theres an inverse then it is unique)
38
f has an inverse if and only if it is a...
bijection
39
A relation R on a set A
subset of the set of ordered pairs, R ⊆ A × A
40
Let A be a set and ∼ a relation on A (reflexive)
for all a ∈ A we have a ∼ a
41
Let A be a set and ∼ a relation on A (symmetric)
for all a, b ∈ A, whenever a ∼ b then b ∼ a
42
Let A be a set and ∼ a relation on A (transitive)
for all a, b, c ∈ A, whenever a ∼ b and b ∼ c then a ∼ c
43
Let A be a set and ∼ a relation on A (equivalence relation)
reflexive, symmetric and transitive
44
partition of a non-empty set A
a set P of non-empty subsets of A (called the parts of the partition), with the property that any element of A is in exactly one of the parts
45
Suppose A is a non-empty set and ∼ is an equivalence relation on A. Let a ∈ A. The equivalence class of a is the set
[a] = {b ∈ A : a ∼ b}
46
If A is a non-empty set and ∼ is an equivalence relation on A, then the set of equivalence classes P = {[a] : a ∈ A} is what?
a partition of A. Moreover, if a, b ∈ A, then a ∼ b ⇔ [a] = [b]
47
(The Inclusion-Exclusion principle). Let A, B, C be finite sets.
|A ∪ B| = |A| + |B| − |A ∩ B|
48
Let A, B be non-empty finite sets
(i) There is an injective map f : A → B if and only if |A| ⩽ |B|. (ii) There is a surjective map g : A → B if and only if |A| ⩾ |B|. (iii) There is a bijection h : A → B if and only if |A| = |B|.
49
Let A, B be non-empty finite sets with |A| = |B| and let f : A → B be a function. Then the following statements are equivalent:
(i) f is injective; (ii) f is surjective; (iii) f is bijective
50
pigeonhole principle
Let n, k be natural numbers with n > k and suppose we have placed n identical balls into k identical boxes. Then there is at least one box in which we placed at least two balls.
51
sets A, B have the same cardinality
bijection, f : A → B. In this case we write |A| = |B| An infinite set X is countable if there is a bijection f : N → X, that is, |N| = |X|. Otherwise, X is called uncountable