Functions Flashcards
(56 cards)
Set/Object
A set is a collection of objects, the objects in a set are called elements.
Natural Numbers
{1, 2, 3, 4, . . .}
Integers
{. . . , −2, −1, 0, 1, 2, 3, . . .}
Rational Numbers
a/b where a and b are integers and b is non zero
Real Numbers
e, pi ect
Complex Numbers
a + bi where a and b are real numbers
Empty Set
A set with no object within
Sets A, B are equal if…
if a is in A then a is in B AND if b is in B then b is in A
does order of elements in a set matter?
no
is the empty set unique?
yes, for all empty sets share the same elements completely
does a set with repeated elements differ from one without?
no
can a set have a set inside of it?
yes
conclusion given from the fact that sets A = B and B = C
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
B subset A
every element of A is an element of B -> if a is in A then a is in B
The union A ∪ B
{x : x ∈ A or x ∈ B} meaning elements x such that x is an element of A or an element of B
The power set P(A) of A
the set of all subsets of A
The intersection A ∩ B
{x : x ∈ A and x ∈ B} meaning elements x such that x is an element of A and an element of B
set difference A \ B
A \ B = {a ∈ A : a̸ ∈ B} meaning the set containing elements a that are in set A but not set B
(De Morgan’s Laws). Let A, B, C be sets. Then… (intersect)
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
(De Morgan’s Laws). Let A, B, C be sets. Then… (union)
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
direct product (or cartesian product) A × B
A × B = {(a, b) : a ∈ A, b ∈ B} meaning the set of ordered pairs containing first element a from A and b from B
If A, B are sets then a function f from A to B is a rule which
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
Two functions f : A → B and g : C → D are equal if and only if
A = C, B = D
and f (a) = g(a) for every a ∈ A
statement
sentence which is either true or false but not both