Define an identity function and draw its graph, also find its domain and range.
Let be the set of real numbers. Thus, the real-valued function by for all , is called the identity function. Here the domain and range (co-domain) of function are . Hence, each element of set has an image on itself. The graph is a straight line and it passes through the origin. The application of this function can be seen in the identity matrix. Mathematically it can be expressed as;
Identity Function Graph
If we plot a graph for identity function, then it will appear to be a straight line. Let us plot a graph for function say , by putting different values of .
Now as you can see from the above table, the values are the same for both and . Hence, let us plot a graph based on these values.
Hence, from the above graph, it is clear that the identity function gives a straight line in the .
And it is defined from the set of real numbers. Therefore, we have the domain and the range as the set of all real numbers, that is,
Domain of the function
Range of the function