A function is a mapping from one set of numbers (domain) to another (range). The mapping need not be linear: it can be any mathematical function. That is, for every number in the domain the function provides a rule which allows you to calculate another number.
If, then, you devise another function which is a mapping from the range of the first function to some other set, you have a function of a function.
For example, suppose the first function, f, is "add 1" and the second function, g, is "square the number."
Then the function
g of f = g[f(x)] = g[x+1] = [x+1]2 = x2 + 2x + 1
however, note that
f of g = f[g(x)] = f[x2] = x2 + 1
This illustrates that f of g is not the same as g of f.
Chat with our AI personalities
Not every relation is a function. But every function is a relation. Function is just a part of relation.
The cubic function.
Range
A formula or graph are two ways to describe a math function. How a math function is described depends on the domain of the function or the complexity of the function.
The Mandelbrot graph is generated iteratively and so is a function of a function of a function ... and in that sense it is a composite function.