This question was asked in Example 7
Check whether signum function is bijective

Archana Archu's image