Let S = R \ { 1 , -1}. Find a mapping f : S → S such that f∘f=−idS. (Hint: try mapping ]—1, 1 [ to its complement in S.)
Consider the mapping f:S→S defined by
f(x)=⎩⎪⎨⎪⎧1/x0−1/xifififx∈]−1,1[ andx=0;x=0;x∈]−1,1[.It is readily seen that for every x∈S we have f[f(x)]=−x. The graph of f is shown in Fig. S3.41.