Lec1. Function Flashcards
What is a function?
a triple tuple / a subset of domain x codomaince
Explain this: (U,V,G)
f(u,v) ∈ G
G is the subset of UxV
U is the domain/a set of all input variables
V is the codomain/a set of all input variables
G is a set of graph
What is the requirement of a function
map elements from one set to another set such that for every x ∈ X, there is EXACTLY ONE y ∈ Y
What is image and preimage in f(u) =v
u is the preimage of v under f
v is the image of u under f
What is the domain of definition of f?
it must be a subset of U
u of U must has its image under f
True/False: We have a function f maps x to y –> (x,y) ∈ f is the same as f(x) = y
True
What is the range of f?
it must be subset of V (codomaince)
v of V must has its preimage under f
What is another name for codomain?
Target
True/False: f maps an element of the domain to 0 elements or to more than one target is WELL-DEFINED?
False
What required for the 2 functions to be equal?
if they have the same domain and codomaince => f(x) = g(x)
___ is a special type of function in which the domain is a set of consecutive integers
sequence
Notation for a term of a sequence
gk instead of g(k)
- k in the index
A sequence with a finite domain is called a _____ in which there is an initial index m and a final index n where n ≥ m
finite sequence
A sequence with an infinite domain is called an ______ where there is an initial index m and the sequence is defined for all indices k such that k ≥ m
infinite sequence
A sequence ____ showing how the value of ak depends on k. For ex: dk = 2^ k for k > 1
{dk} = 2, 4, 6,…
explicit formula