↑ arvau

Wikipedia / Binary operation

In mathematics, a binary operation or dyadic operation is a kind of binary function, i.e. given a pair of input values (called operands. A binary operation is an operation of arity two.

Some definitions require the two inputs and the output to be elementss of the same set.

Binary operations are usually written using infix notation. Multiplication and exponentiation are frequently written without operator, but with exponents as superscript.

In abstract algebra, a binary operation on a set is a mapping of the elements of the Cartesian product:

is a magma is a partial mapping is a partial binary operation, which can be one of the operations in a partial algebra, such as the partial groupoid.

may be viewed as a ternary relation.

Binary operations are the keystone of most structuress that are studied in algebra, in particular in semigroups, monoids, groupss, ringss, fields, and vector spaces.

Examples

Arithmetic operations like addition), subtraction), and multiplication or, using juxtaposition) are binary operations on numbers) is only a partial binary operation on the set of rational numbers and the set of real numbers, because division by zero is undefined, but a (total) binary operation on the set of positive real numbers.

Union), intersection), and set difference) are binary operations on sets. There are 16 binary operations on binary variables, such as 'AND', 'OR', and 'XOR'.

If a broad definition of "binary operation" is used, such that the inputs and output do not have to be from the same set, then scalar multiplication) is an binary operator from a scalar and a vector to a vector, and dot product) is a binary operator from two vectors to a scalar.

Function composition) is a binary operation on compatible functionss.

Properties

Ways to classify binary operations include:

Having an identity element

See also

Notes

References