In mathematics, a basic algebraic operation is a mathematical operation similar to any one of the common operations of elementary algebra, which include addition, subtraction, multiplication, division, raising to a whole number power, and taking roots (fractional power). The operations of elementary algebra may be performed on numbers, in which case they are often called arithmetic operations. They may also be performed, in a similar way, on variables, algebraic expressions, and more generally, on elements of algebraic structures, such as groups and fields.
An algebraic operation on a set
may be defined more formally as a function that maps to
the tuples of a given length of elements of
. The length of the tuples is called the arity of the operation, and each member of the tuple is called an operand. The most common case is the case of arity two, where the operation is called a binary operation and the operands form an ordered pair. A unary operation is an operation of arity one that has only one operand; for example, the square root. An example of a ternary operation (arity three) is the triple product.