Concept of function
When we use the word it "depends" in everyday parlance we are indicating a dependence relation, for example when we say that the price of a call depends on its duration.
We call function that goes from the set to the set to a relation of dependence on which for any in set we assign only one element in set .
It is represented using the following notation:The set is called the domain, and the set the codomain.
If an element in set is assign to an element in , it is said that is an image of under the function , or that is an inverse image of under .
If and are sets of real numbers, we speak about real function of real variables.
Analytical expression of a function
Sometimes a function can be expressed by means of a formula that allows to calculate the images of the elements of the domain and the inverse images of the elements of the codomain.
Let's consider for example the function , where every real number , is assigned to its double. We can represent that by with:
This formula is known as the analytical expression of the function .
It is equivalent to writing .
In this case the variable receives the name of independent variable and the variable the name of dependent variable.
Example
Write the analytical expression of the function that assigns to every real number the triple of its square minus one.
A real number is . The square of is:
The triple of the square of is:
The triple of the square of minus one is:
And therefore we have: