sgn x, the sign function
A thermometer seen from far away: you can only tell whether it is above freezing or below, not how much.
sgn x y = sign(x)
Drag to move · pinch or scroll to zoom · tap to read a point
Step by step
- For every positive x, sgn x = 1. For every negative x, sgn x = −1.
- At x = 0 alone, sgn 0 = 0.
- For x not 0, sgn x = |x| ÷ x.
- The graph is two flat pieces and a single point, with a jump at 0.
Try this
- Find sgn(−7) and sgn(0.01).
- Draw y = x · sgn x in your head. Which graph is it?
- Is sgn(x²) the same as 1 for every x?
Practise this
Problems on Functions with checks, marks and help from Sir are on the exam site (sign in). Practise Functions on the exam site →