Overview

The mathematical term "sign" describes the attribute of a quantity that distinguishes positivity from negativity. For ordinary real numbers every nonzero value is said to have a sign: positive or negative. Zero is conventionally regarded as signless or as having a neutral sign depending on context. The concept appears in notation (plus and minus signs), in functions (the signum or sgn function), and in structural properties such as the sign of a permutation or the sign of a determinant.

Sign of real numbers and the signum function

For a real number x the sign is commonly encoded by the signum function, written sgn(x), defined piecewise by sgn(x) = 1 for x > 0, sgn(x) = -1 for x < 0, and often sgn(0) = 0 by convention. The signum compactly records whether a number is positive, negative, or zero. Important identities include x = sgn(x) * |x| for x ≠ 0 and sgn(xy) = sgn(x) * sgn(y). The function is discontinuous at 0, which makes it useful in analysis and in modeling sudden changes of direction or sign across a threshold.

Notation and basic properties

  • The plus sign "+" denotes nonnegative orientation by default; an explicit minus sign "−" indicates the negative of a quantity.
  • Signs multiply: the product of two numbers has sign equal to the product of their signs (a negative times a negative is positive).
  • For inequalities, the sign determines ordering on the real line: positive numbers lie to the right of zero, negatives to the left.
  • Many formulae use the signum: for x ≠ 0, sgn(x) = x / |x|.

Other contexts and generalizations

Beyond real numbers, analogous notions of direction or "sign" appear in several settings. For complex numbers one can associate a direction by z / |z| for nonzero z, producing a unit complex number that encodes argument rather than a binary sign. In linear algebra the sign of a determinant indicates orientation; in combinatorics the sign of a permutation is either +1 or −1 and reflects parity. Computer representations of numbers include a sign bit that distinguishes positive and negative floating‑point and integer values.

Uses and examples

Sign is fundamental in solving equations and inequalities, defining piecewise functions, and in calculus when evaluating limits that approach zero from above or below. Sign tests are common in statistics and numerical methods to detect root bracketing. In symbolic expressions the presence or absence of a leading minus sign changes meaning and computation: for instance, factoring and simplification routines must track sign consistently.

Further reading

For more on the real-number sign and the sgn function see discussions of real numbers and the signum concept. For notation and mathematical signs consult mathematical symbols resources, and for algebraic uses such as permutation parity or determinant orientation see treatments linked at related topics.

Notable facts: the signum is multiplicative on nonzero inputs, it is discontinuous at zero, and many statements that involve "the sign of" must state what convention is used for zero.