Considering a function
we define the graph of this function as the set of points:
Example
Let's take the function
If we represent it we obtain the drawing:
But, how is a graph represented? To be able to explain this we must first introduce the concept of domain and image of a function.
In a function
Then, we define:
- Domain of a function is the set of values where we will evaluate the function. It is denoted as
. - Image of a function is the set of values the function takes. It is denoted as:
.
Notice that when we have a function like
the set
Let's see it with some examples:
Example
The domain of the function
We will write:
Example
The domain of the function
Therefore we will write:
We can observe that the domain can be a set selected by ourselves (since we can choose it to be smaller or bigger) while the image will be given by the selected domain.
Sometimes, however, we might find that our function is not defined at certain points and therefore it cannot be evaluated in all the domain, so we will have to exclude certain points or intervals of the domain.
Per exemple:
Example
If we take the function
Consequently, the domain of this function will be all the real line except zero:
And the image will be:
Domains calculation:
To calculate the domain of a function we first have to think that any number of the real line (
Function | Set of non definition |
|
|
|
|
|
|
|
|
Example
If we take the function
In this case, we observe that we have 3 possible intervals:
- when
is zero the function is not defined - when
is negative or zero the function is not defined. - when
is negative , and this cannot happen since is always positive, therefore the function does not have any problems in this part.
Then, we can conclude that the domain of our function will be:
Graphic representation
Let's suppose that we have a function
As soon as the domain is found we will proceed with the representation. How to do it? Well, the easiest and simple way is by tabulating some values, or in other words, we will assign different values to the variable
Example
Let's take the function
|
|
|
|
|
|
|
|
|
|
|
|
Therefore we obtain the following points:
|
|
|
|
|
|
|
|
|
|
|
|
we will then draw them in the plane
where the black points are the values in the table.
This procedure (doing the table) can be very useful when we must draw a function, but sometimes might not be useful, since very different functions exist and little time is needed to only find a few points to be able to draw the function.