Functions Flashcards
What is a function?
A function is a type of relation which relates one input to exactly one output.
What is a domain?
A domain is the set of possible input values of a function.
What is the codomain?
A codomain is the set of possible output values a function can produce.
What is the range of a function?
The range of a function is a subset of its codomain; it is the set of values the function actually produces.
What is an injective function?
A function f: X→Y is said to be injective if and only if whenever f(x) = f(x1), x1 = x2. This means that no two distinct element in X can be mapped to the same element in Y.
A function f: X →Y is injective if for all x1, x2 ∈ X, there exists y1 y2 ∈ Y such that f(x1) = y1,
and f(x2) = y2
What is a surjective function?
A function f:X→Y is surjective if and only if for every element in Y, there exists at least one element in X such that f(x) = y. This implies that, unlike injective functions, distinct elements in X can be mapped to the same elements in Y.
What is a bijective function?
A function f: X→Y is bijective if and only if for every element in Y there exists only one element in X such that f(x) = y. It is also called a one-to-one and onto function.