In mathematics, a **unary operation** is an operation with only one operand. For instance, logical negation is a unary operation on truth values and squaring is a unary operation on the real numbers. A unary operation on the set *S* is nothing but a function *S* → *S*.

See also: