Final Flashcards
awdawdwad (49 cards)
What is a binary relation from A to B?
For sets A and B, a subset of A × B
What is a binary relationship on A?
Any subset of A × A
The number of relations from A to B is?
2^|A||B|
What is a function?
denoted f : A → B, is a relation from A to
B in which every element of A appears exactly once as
the first component of an ordered pair in the relation
For the function f : A → B, What is the domain? The codomain?
Domain = A. Codomain = B.
What is the range of a function?
The subset of B consisting of
those elements that appear as second components in the
ordered pairs of f
What is a one to one function?
if each element of B appears at most once as the image
of an element of A.
How many one-to-one functions from A to B?
|B|^|A|
What is a onto function?
a function f that maps an element x to every element y. That means, for every y, there is an x such that f(x) = y
The number of onto functions from A to B, where
|A| = m, |B| = n and m ≥ n is?
n!S(m, n)
The number of ways in which it is possible to distribute
the m distinct objects into n identical containers, with no
container left empty, is
s(m.n)
The number of ways to distribute m distinct objects into n distinct containers, such that no container is left empty is
n!S(m, n)
What is a binary operation on A?
For any nonempty sets A, B, any function
f : A × A → B is called a binary operation on A. If
B ⊆ A, then the binary operation is said to be closed
(on A) (or A is closed under f ).
What is a unary/monary operation on A?
A function g : A → A is called unary, or monary,
operation on A.
Example
g : Z → Z, where g(a) = −a.
What is a communitive function?
f (a, b) = f (b, a)
What is an associative function?
f for all
a, b, c ∈ A, f (f (a, b), c) = f (a, f (b, c))
What is an identity in a function?
An
element x ∈ A is called an identity (or identity
element) for f if f (a, x) = f (x, a) = a, for all a ∈ A.
If f has an identity, then that identity is unique.
When can you use Combinations with Repetition?
Selecting r objects from a collection of n objects where
repetition is allowed and order doesn’t matter.
what is a homogenous vs non homogenous function?
When f (n) = 0 for all n ≥ 0, the relation is called
homogeneous; otherwise it is called
non-homogeneous
What is a trail?
No edge repeated. If There’s a Trail, There’s Path
What is a circuit?
Closed x-x trail
What is a path?
No vertex repeated
What is a cycle?
Closed x-x path
For any graph G = (V, E), the number of components
of G is denoted by what?
κ(G).