Formal Function
A Formal Function is a formal operation that maps every set member of a function domain to a set member of a function range.
- AKA: ƒ, F, Function, Mapping, Transformation, Mathematical Function, Functional Form.
- Context:
- It can typically transform input values into output values through deterministic processes.
- It can typically establish correspondence between domain elements and range elements.
- It can typically represent mathematical relationships through precise mappings.
- It can typically implement computational procedures through well-defined operations.
- It can typically model causal connections between variables in formal systems.
- It can typically formalize patterns in quantitative data through mathematical formulations.
- ...
- It can often enable algorithmic calculations through step-by-step procedures.
- It can often serve as building blocks in complex mathematical structures.
- It can often express patterns in scientific phenomena through quantitative relationships.
- It can often support data transformation in information processing systems.
- It can often facilitate abstraction through generalized mapping rules.
- It can often serve as foundation for neural network architectures through activation functions.
- It can often implement optimization objectives through loss function definition.
- It can often support machine learning tasks through model parameter representation.
- It can often enable feature transformation in data preprocessing workflows.
- ...
- It can accept function input composed of one or more function parameters from the function domain.
- It can produce function output which is a set member of the function range.
- It can be represented as a set of ordered pairs where the first element comes from the domain and the second element from the range.
- It can guarantee that each domain element maps to exactly one range element.
- It can be notated as f: A → B, where A is the domain and B is the codomain.
- It can be visualized through function graphs in coordinate systems.
- It can create geometric shapes through plotting in multidimensional space.
- It can form solution spaces for equation systems.
- It can be implemented in programming languages as subroutines or methods.
- It can be analyzed for computational complexity using Big O Notation.
- It can be composed to create algorithms through sequential operations.
- It can be represented in functional programming paradigms through higher-order functions.
- ...
- It can range from being a Unary Function to being a Binary Function to being an n-Ary Function, depending on its function input cardinality.
- It can range from being a Total Function to being a Partial Function, depending on its function domain coverage.
- It can range from being a Value-Output Function to being a Set-Output Function, depending on its function range type.
- It can range from being a Simple Function to being a Composite Function, depending on its function composition complexity.
- It can range from being a Continuous Function to being a Discrete Function, depending on its function continuity property.
- It can range from being a Symmetric Function to being a Non-Symmetric Function, depending on its function symmetry property.
- It can range from being a Bijective Function to being an Injective Function to being a Surjective Function, depending on its function mapping property.
- It can range from being an Associative Function to being a Non-Associative Function, depending on its function association property.
- It can range from being a Commutative Function to being a Non-Commutative Function, depending on its function order-sensitivity.
- It can range from being a Distributive Function to being a Non-Distributive Function, depending on its function distribution property.
- It can range from being a Linear Function to being a Nonlinear Function, depending on its function linearity property.
- It can range from being a Recursive Function to being an Iterative Function, depending on its function implementation approach.
- It can range from being a Monotonic Function to being a Non-Monotonic Function, depending on its function order preservation property.
- It can range from being a Well-Behaved Function to being a Pathological Function, depending on its function regularity property.
- It can range from being a Smooth Function to being a Discontinuous Function, depending on its function differentiability property.
- It can range from being a Periodic Function to being an Aperiodic Function, depending on its function repetition pattern.
- ...
- It can be formally defined as: let D and R be sets. A function f is a binary relation defined for each element in D and some element of R, where each element of D appears exactly once as the first element of an ordered pair.
- It can be instantiated as a function structure.
- It can be composed with other formal functions to create function compositions.
- It can be inverted to form an inverse function when it is bijective.
- It can be studied within function spaces that contain collections of functions with the same domain and codomain.
- It can be represented visually through a function graph showing input-output relationships.
- It can be evaluated at specific domain points to produce corresponding range values.
- It can be differentiated or integrated when defined on continuous domains.
- ...
- Examples:
- Formal Function Domain Types, such as:
- Mathematical Formal Functions, such as:
- Algebraic Function for equation solving using polynomial expressions.
- Trigonometric Function such as Cosine Function for angle-value mapping.
- Exponential Function for growth modeling in dynamic systems.
- Logarithmic Function for scale transformation in data analysis.
- Rational Function for fractional relationship representation.
- Advanced Mathematical Functions, such as:
- Calculus-Based Functions, such as:
- Statistical Functions, such as:
- Probability Distribution Function for random variable behavior modeling.
- Quantile Function for distribution percentile calculation.
- Regression Function for variable relationship modeling.
- Sample Statistic Function for data characteristic estimation.
- Autocorrelation Function for time series pattern identification.
- Computational Functions, such as:
- Mathematical Formal Functions, such as:
- Function Input-Output Types, such as:
- Output Type Functions, such as:
- Scalar Function for producing single value outputs.
- Set Function for producing collection outputs.
- Sequence Function for producing ordered element outputs.
- String Function for producing character sequence outputs.
- Tuple Function for producing fixed-length ordered outputs.
- Vector Function for producing multi-dimensional outputs.
- Input Type Functions, such as:
- Value-Input Function for processing single arguments.
- Set-Input Function for processing unordered collections.
- Sequence-Input Function for processing ordered element collections.
- String-Input Function for processing character sequences.
- Tuple-Input Function for processing fixed-length ordered inputs.
- Vector-Input Function for processing multi-dimensional inputs.
- Output Type Functions, such as:
- Function Application Domains, such as:
- Statistical Functions, such as:
- Probability Function for likelihood calculation.
- Distribution Function for probability distribution representation.
- Regression Function for relationship modeling between variables.
- Correlation Function for association strength measurement.
- Predictive Function for outcome estimation based on input variables.
- Computer Science Functions, such as:
- Programming Function for code organization into reusable units.
- API Function for interface implementation between software components.
- Database Function for data manipulation operations.
- Graphics Function for visual element generation.
- Network Function for communication protocol implementation.
- Machine Learning Functions, such as:
- Statistical Functions, such as:
- Function Analysis Types, such as:
- ...
- Formal Function Domain Types, such as:
- Counter-Examples:
- Function Structure, which is an implementation of a function rather than the function itself.
- Informal Operation, which lacks the precise mapping between domain and range.
- Real Number, which is a mathematical object rather than a mapping between sets.
- Symbol, which represents entities rather than defining relationships between them.
- Relation, which does not necessarily map each domain element to exactly one range element.
- Random Process, which produces unpredictable outcomes rather than deterministic mappings.
- Data Structure, which organizes information rather than defining transformations between sets.
- Physical Law, which describes natural phenomena rather than formal mappings, though it may be modeled by functions.
- See: Algorithm, Function Parameter, Ordered Pair, Malfunction, Function Composition, Domain-Range Mapping, Function Space, Mathematical Operation, Functional Programming, Function Graph, Lambda Calculus, Mathematical Transformation, Computational Model, Relational Calculus, Functional Analysis, Category Theory, Set Theory, Binary Relation, Mapping Theory, Function Application, Computational Complexity, Algorithm Analysis, Function Evaluation, First-Order Logic System, Mathematical Object, Topological Vector Space, Integral Calculus, Differential Calculus, Taylor Series, Optimization Algorithm, Machine Learning Model.
References
2015
- (Wikipedia, 2015) ⇒ http://en.wikipedia.org/wiki/function_(mathematics) Retrieved:2015-6-14.
- In mathematics, a 'function [1] is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. An example is the function that relates each real number x to its square x2. The output of a function f corresponding to an input x is denoted by f(x) (read "f of x”). In this example, if the input is −3, then the output is 9, and we may write f(−3) = 9. Likewise, if the input is 3, then the output is also 9, and we may write f(3) = 9. (The same output may be produced by more than one input, but each input gives only one output.) The input variable(s) are sometimes referred to as the argument(s) of the function. Functions of various kinds are "the central objects of investigation"in most fields of modern mathematics. There are many ways to describe or represent a function. Some functions may be defined by a formula or algorithm that tells how to compute the output for a given input. Others are given by a picture, called the graph of the function. In science, functions are sometimes defined by a table that gives the outputs for selected inputs. A function could be described implicitly, for example as the inverse to another function or as a solution of a differential equation. The input and output of a function can be expressed as an ordered pair, ordered so that the first element is the input (or tuple of inputs, if the function takes more than one input), and the second is the output. In the example above, f(x) = x2, we have the ordered pair (−3, 9). If both input and output are real numbers, this ordered pair can be viewed as the Cartesian coordinates of a point on the graph of the function. In modern mathematics, a function is defined by its set of inputs, called the domain ; a set containing the set of outputs, and possibly additional elements, as members, called its codomain ; and the set of all input-output pairs, called its graph. Sometimes the codomain is called the function's "range", but more commonly the word "range" is used to mean, instead, specifically the set of outputs (this is also called the image of the function). For example, we could define a function using the rule f(x) = x2 by saying that the domain and codomain are the real numbers, and that the graph consists of all pairs of real numbers (x, x2). The image of this function is the set of non-negative real numbers. Collections of functions with the same domain and the same codomain are called function spaces, the properties of which are studied in such mathematical disciplines as real analysis, complex analysis, and functional analysis.
In analogy with arithmetic, it is possible to define addition, subtraction, multiplication, and division of functions, in those cases where the output is a number. Another important operation defined on functions is function composition, where the output from one function becomes the input to another function.
- In mathematics, a 'function [1] is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. An example is the function that relates each real number x to its square x2. The output of a function f corresponding to an input x is denoted by f(x) (read "f of x”). In this example, if the input is −3, then the output is 9, and we may write f(−3) = 9. Likewise, if the input is 3, then the output is also 9, and we may write f(3) = 9. (The same output may be produced by more than one input, but each input gives only one output.) The input variable(s) are sometimes referred to as the argument(s) of the function. Functions of various kinds are "the central objects of investigation"in most fields of modern mathematics. There are many ways to describe or represent a function. Some functions may be defined by a formula or algorithm that tells how to compute the output for a given input. Others are given by a picture, called the graph of the function. In science, functions are sometimes defined by a table that gives the outputs for selected inputs. A function could be described implicitly, for example as the inverse to another function or as a solution of a differential equation. The input and output of a function can be expressed as an ordered pair, ordered so that the first element is the input (or tuple of inputs, if the function takes more than one input), and the second is the output. In the example above, f(x) = x2, we have the ordered pair (−3, 9). If both input and output are real numbers, this ordered pair can be viewed as the Cartesian coordinates of a point on the graph of the function. In modern mathematics, a function is defined by its set of inputs, called the domain ; a set containing the set of outputs, and possibly additional elements, as members, called its codomain ; and the set of all input-output pairs, called its graph. Sometimes the codomain is called the function's "range", but more commonly the word "range" is used to mean, instead, specifically the set of outputs (this is also called the image of the function). For example, we could define a function using the rule f(x) = x2 by saying that the domain and codomain are the real numbers, and that the graph consists of all pairs of real numbers (x, x2). The image of this function is the set of non-negative real numbers. Collections of functions with the same domain and the same codomain are called function spaces, the properties of which are studied in such mathematical disciplines as real analysis, complex analysis, and functional analysis.
2009
- (Wikipedia, 2009) ⇒ http://en.wikipedia.org/wiki/Function_(Programming)
- In computer science, a subroutine (function, method, procedure, or subprogram) is a portion of code within a larger program, which performs a specific task and can be relatively independent of the remaining code. ...
- http://planetmath.org/encyclopedia/Range2.html
- A function is a triplet (f,A,B) where:
- 1. [math]\displaystyle{ A }[/math] is a set (called the domain of the function).
- 2. [math]\displaystyle{ B }[/math] is a set (called the codomain of the function).
- 3. [math]\displaystyle{ f }[/math] is a binary relation between [math]\displaystyle{ A }[/math] and B.
- 4. For every [math]\displaystyle{ a }[/math] in [math]\displaystyle{ A }[/math], there exists [math]\displaystyle{ b }[/math] in [math]\displaystyle{ B }[/math] such that (a,b) in [math]\displaystyle{ f }[/math].
- 5. If [math]\displaystyle{ a }[/math] in [math]\displaystyle{ A }[/math], b_1,b_2 in [math]\displaystyle{ B }[/math], and (a,b_1) in [math]\displaystyle{ f }[/math] and (a,b_2) in [math]\displaystyle{ f }[/math], then b_1 = b_2.
- The triplet (f,A,B) is usually written with the specialized notation f: A->B. This notation visually conveys the fact that [math]\displaystyle{ f }[/math] maps elements of [math]\displaystyle{ A }[/math] into elements of B.
- A function is a triplet (f,A,B) where:
- CYC Glossary http://www.cyc.com/cycdoc/ref/glossary.html
- function: A function (in the mathematical sense) is a relation such that for each thing in its domain (the universe of things it can be applied to), there is a single thing in its range (the universe of results it can have) such that the relation holds between them. In CycL, functions are denoted by certain constants. These constants are referred to as "function-denoting constants, "CycL functions," or sometimes just "functions." CycL functions can be applied to arguments to form non-atomic terms, which can serve as arguments to a predicate just as other terms can. There are more details about CycL functions in the Functions section of "The Syntax of Cycl".
- http://www.isi.edu/~hobbs/bgt-sequences.text
A function f from a set s1 to a set s2 is a set of pairs where each element of s1 occurs exactly once as the first element in a pair, and every element of s2 occurs as a second element of at least one pair. We will call this predicate "function0" because in Chapter B7 we will extend it to functions from scales to scales as well.
(forall (f s1 s2) (5) (iff (function0 f s1 s2) (and (set s1)(set s2) (forall (p) (if (member p f) (and (pair p) (forall (x y) (if (and (first x p)(second y p)) (and (member x s1) (member y s2))))))) (forall (x) (if (member x s1) (exists (p) (and (member p f)(first x p))))) (forall (p1 p2 x) (if (and (first x p1)(first x p2) (member p1 f)(member p2 f)) (equal p1 p2))) (forall (y) (if (member y s2) (exists (p) (and (member p f)(second y p))))))))
Lines 4-10 of this definition say that a function is a set of pairs, the first elements of which come from s1 and the second elements of which come from s2. Lines 11-14 say that there is a value of the function for every element of s1. Lines 15-18 say that value is unique. Lines 19-22 say that every element of s2 is a value of some member of s1 under the function f.
- http://ltcconline.net/greenl/courses/202/vectorIntegration/vectorFields.htm#fields
- We have now seen many types of functions. They are characterized by the domain and the range.
- Below is a list of some of the functions that we have encountered so far.
R | R | One variable Function |
R | R2 | Parametric Equations |
R2 | R | Function of 2 Variables |
R | Vectors | Vector Valued Function |
- http://www.math.com/tables/algebra/functions/index.htm
- Definition: A function is a relation from a domain set to a range set, where each element of the domain set is related to exactly one element of the range set.
- An equivalent definition: A function (f) is a relation from a set A to a set B (denoted f: A�B), such that for each element in the domain of A (Dom(A)), the f-relative set of A (f(A)) contains exactly one element.
- ↑ The words map or mapping, transformation, correspondence, and operator are often used synonymously. .