Topic summary

Unary operation

Unary operation

In mathematics, a unary operation is an operation with only one operand, i.e. a single input. This is in contrast to binary operations, which use two operands. An example is any function⁠⁠, where A is a set; the function ⁠⁠ is a unary operation on A.

Common notations are prefix notation (e.g. negation¬, additive inverse−), postfix notation (e.g. factorialn!), functional notation (e.g. sinx or sin(x)), and superscripts (e.g. transposeA). Other notations exist as well, for example, in the case of the square root, a horizontal bar extending the square root sign over the argument can indicate the extent of the argument.