Product Code Database
Example Keywords: sony -software $18
   » Wiki: Binary Operation
Tag Wiki 'Binary Operation'.
Tag

Binary operation

In , a binary operation or dyadic operation is a kind of , i.e. given a of input values (called ), it produces an output value. For example, addition is a binary operation: 3 + 4 = 7. A binary operation is an operation of two.

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

Binary operations are usually written using such as a \star b rather than by functional notation of the form f(a, b). and are frequently written without operator, but with exponents as .

In , a binary operation on a set S is a mapping of the elements of the Cartesian product S \times S to S: \,f \colon S \times S \rightarrow S.

If the mapping is total, (S, f) is a magma. However, if f is a , then f is a partial binary operation, which can be one of the operations in a on S, such as the (S, f).

(2026). 9780387774879, Springer Science & Business Media. .

A binary operation f on a set S may be viewed as a on S, that is, the set of triples (a, b, f(a,b)) in S \times S \times S for all a and b in S.

Binary operations are the keystone of most structures that are studied in , in particular in , , groups, rings, fields, and .


Examples
Arithmetic operations like (a + b), (a - b), and (a \times b or, using juxtaposition, ab) are binary operations on . Division (a / b or a \div b) is only a partial binary operation on the set of and the set of , because division by zero is undefined, but a (total) binary operation on the set of positive real numbers.

Union (X \cup Y), (X \cap Y), and (X \backslash Y) 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 (a \vec{v}) is an binary operator from a scalar and a vector to a vector, and (\vec{u} \cdot \vec{v}) is a binary operator from two vectors to a scalar.

Function composition (g \circ h) is a binary operation on compatible functions.


Properties
Ways to classify binary operations include:
  • The commutative property: a \star b = b \star a
  • The associative property: (a \star b) \star c = a \star (b \star c)
  • Having an e: a \star e = a = e \star a
    • Each element of S having an : a^{-1} \star a = e = a \star a^{-1}


See also
  • Iterated binary operation: repeated application of a binary operation to reduce a collection of values to a single combined value
  • Operator (computer programming): a construct in computing that often represents a binary operation
  • : an operation with arity one
  • Ternary operation: an operation with arity three


Notes

External links
Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs
1s Time