A binary operation on a set SS is a :S×SS*:S\times S\to S, where S×SS\times S is the of SS with itself. The value of (x,y)*(x,y) is usually written xyx*y.

Remarks

Binary operations are functions with two inputs that are “closed” in the sense that combining two elements of SS produces an element of SS again. Many algebraic structures begin with a set equipped with a binary operation.

Examples
  • Addition +:Z×ZZ+:\mathbb{Z}\times\mathbb{Z}\to\mathbb{Z} is a binary operation on .
  • For a fixed set AA, the union map (S,T)ST(S,T)\mapsto S\cup T is a binary operation on the P(A)\mathcal{P}(A), using of subsets.