Difference between revisions of "Function (mathematics)"
Karl Jones (Talk | contribs) (→See also) |
Karl Jones (Talk | contribs) (→See also) |
||
Line 63: | Line 63: | ||
* [[Expression (mathematics)]] | * [[Expression (mathematics)]] | ||
* [[Feedback]] | * [[Feedback]] | ||
+ | * [[Function (programming)]] | ||
* [[Function composition]] | * [[Function composition]] | ||
* [[Functional programming]] | * [[Functional programming]] |
Revision as of 13:09, 20 February 2016
In mathematics, a function 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.
Contents
Description
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.)
Arguments
The input variable(s) are sometimes referred to as the argument(s) of the function.
Central objects of investigation
Functions of various kinds are "the central objects of investigation" in most fields of modern mathematics.
Representing functions
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.
Modern mathematics
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.
Function spaces k
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.
Arithmetic and functions
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.
Function composition
Another important operation defined on functions is function composition, where the output from one function becomes the input to another function.
See also
- Algorithm
- Antiderivative
- Boolean function
- Differential equation
- Expression (mathematics)
- Feedback
- Function (programming)
- Function composition
- Functional programming
- History of the function concept
- Mathematics
External links
- Function (mathematics) @ Wikipedia