Skip to content

Binary Operation

Definition

A binary operation ⋆\star on a set AA is a function

⋆ ⁣:A×A→A.\star\colon A\times A\to A.

Interpretation

A binary operation combines two elements of a set into an element of the same set. Writing it as a function ⋆ ⁣:A×A→A\star\colon A\times A\to A makes this precise.

The domain A×AA\times A is the Cartesian product: the input is an ordered pair (a,b)(a,b), and a⋆ba\star b is short for ⋆(a,b)\star(a,b). Because the pair is ordered, a⋆ba\star b and b⋆ab\star a can differ. Because ⋆\star is a function, every pair has exactly one output. The codomain AA expresses closure: the result never leaves the set.

Whether a rule is a binary operation therefore depends on the set. Subtraction is a binary operation on Z\mathbb{Z} but not on N\mathbb{N}, and division is one on the nonzero rational numbers but not on Q\mathbb{Q}, where a/0a/0 has no value.


Key Results


Examples

  • Addition on R\mathbb{R} is a binary operation. Subtraction on N\mathbb{N} is not a binary operation on N\mathbb{N} because the result may be negative.

Prerequisites

Sources

Aliases: binary operator, dyadic operation Symbols: element of, integers, natural numbers, rational numbers, real numbers

Last updated: 20 October 2026 03:02