Function
The notion of a function is one of the basic notions of mathematics. To define a function, you need to know its domain (the set of admissible arguments) , its codomain (the set of possible values)
, and a "rule"
that assigns to every element
a unique element
.
Note that this "rule" can be arbitrarily complicated and doesn't need to be given by a simple formula or description. The only requirement is that should be uniquely determined by
. The following are examples of functions:
add some examples
When people talk of functions, most of the time they mean functions whose domain and codomain are sets of numbers (real or complex) or vectors. Since arbitrary functions can be arbitrarily bad and hard to handle, certain "good" classes of functions have been introduced like continuous functions, differentiable functions, measurable functions, etc. The functions in these classes possess many nice properties general functions don't have.