Definition.
The identity function, denoted Id, isdefined for real numbers byId(x)=x.
The graph:
This is actually a familiar function, one of the simplest linear functions,so why do we single it out? It has a special meaning if we look at functionsfrom the point of view of algebra and treat them as algebraic objects. Recallthe concept ofcomposition of functions. Ifwe look at the properties of composition as an operation on a set of realfunctions, we find that it has some properties that we know frommultiplication, but lacks others.We know that composition is not commutative, in fact compositions
What does work? Composition is associative, that's one thing. Anotherinteresting property is that, and here we are getting to it, it has aunity. By a unity we mean a certain element which, when applied (usingthe operation in question) to an arbitrary element, does not change it.With multiplication it is the number 1. Indeed,
which means that
which means that
We just showed that
For the sake of completeness we remark that when we have a unity, we can askfor an inverse, and just like with multiplication of real numbers, we do havea notion of inverse element for functions and the composition. Indeed, theinverse function
We actually cheated a bit here. The composition with inverse gives theidentity function only if the function in question has the whole real line asboth its domain and its range. On other cases we have to modify theequalities a bit, which brings us to the next topic.
Identity function on a set
Definition.
Let M be any subset of real numbers. We define itsidentity function IdM by
IdM(x)=x for x from M.
So we have
Note that the identity function we introduced above is just a special case ofthis last definition, it is an identity function on the set of real numbers.Conversely, we can view
Characteristic function of a set
Definition.
Let M be any subset of real numbers. We define itscharacteristic function by
The strange X is actually the Greek letter "chi". There is also analternative notation, the characteristic function of a set M isdenoted 1M. It also has another name, some peoplecall it the indicator function of the set M. A third possiblenotation is IM, but it is perhaps the worst, sincesome people are lazy to write "d" and use justIM for the identity function above, so it is easy tomix them up. The first notation is the most widespread, but since Greekletters are a real pain on the Web, I will use in Math Tutor the second one,with boldface 1.
Example: In the picture we show the graph of the characteristicfunction of the indicated set M.
Characteristic functions of sets are very useful, often they are used toexpress "restriction" of a function to some set. Why the quotes? Restrictionmeans that we cut off some pieces of the domain. Here we have a situationwhen we keep the original domain, but we are only interested in the values ofthe function on some part of it, so we make the function zero elsewhere.
Precisely, let f be a function defined on some set M and letN be some subset of M. Let g be the function that hasthe same value as f on N but is zero elsewhere on M.
Then g can be written as
Indeed, if x is from N, then
while for x that is from M but not from N we have
For another way of expressing characteristic function see the next section onthe Heaviside function.
Heaviside function
Back to Theory - Elementary functions