Fact-checked by Grok 2 weeks ago

Binary operation

A binary operation on a nonempty set S is a * : S \times S \to S that combines any two a, b \in S to produce a unique element a * b \in S, ensuring the result remains within the set. This operation is often denoted using , such as a * b, and is fundamental to and algebraic computations where the inputs and output share the same domain. Binary operations form the cornerstone of , enabling the definition of more complex structures like groups, rings, and semigroups by imposing additional properties on the operation. Key properties include associativity, where (a * b) * c = a * (b * c) for all a, b, c \in S, which allows unambiguous grouping of multiple operands; commutativity, where a * b = b * a; the existence of an identity element e \in S such that a * e = e * a = a; and invertibility, where for each a \in S, there exists b \in S with a * b = b * a = e. These properties distinguish basic binary operations from specialized ones, such as on integers (which is associative, commutative, with identity 0) or (associative but not commutative). The concept of binary operations has roots in classical , with early examples appearing in and , but gained formal prominence in the through the development of by mathematicians like and , who used them to model symmetries and solve polynomial equations. Today, binary operations extend beyond into for defining data structures and algorithms, and in physics for describing interactions in and .

Definition and Basic Concepts

Definition

In , a binary operation on a set S is a *: S \times S \to S, where S \times S denotes the of S with itself, consisting of all ordered pairs (a, b) with a, b \in S, and the image of each such pair under * is an element of S. This means that for every pair of elements in S, the operation produces a unique result also belonging to S, forming what is known as a , the most basic consisting of a set equipped with a binary operation. A familiar example is on the set of integers, where a + b yields another integer for any integers a and b. The concept of a binary operation generalizes other types of operations based on the number of inputs, or : a takes a single from a set and produces another in the set (e.g., on integers), while a nullary operation produces a constant without any inputs (e.g., the in a group). However, binary operations specifically emphasize the combination of exactly two elements, serving as a foundational tool in for studying structures like groups and rings. Early recognition of the importance of such "laws of composition" came in the through the development of by mathematicians like and , building on arithmetic examples that had been studied for centuries. The specific term "binary operation" emerged in the early . This formalization assumed familiarity with basic , including the as a means to pair elements systematically.

Closure

In mathematics, the closure property of a binary operation on a set S requires that for all elements a, b \in S, the result a * b also belongs to S. This ensures the operation maps the S \times S into S itself, forming a well-defined without elements escaping the set. The property is foundational to algebraic structures such as and groups, where it guarantees that repeated applications of the remain within the set, enabling the study of associativity, identities, and inverses. In a , combined with associativity defines the minimal requirements for an algebraic system, while in a group, it supports additional axioms like the existence of inverses, as seen in structures like the integers under addition. Without , these structures could not be consistently defined or analyzed, as operations would produce extraneous elements requiring an expanded domain. A classic example of a non-closed binary operation is subtraction on the natural numbers \mathbb{N} = \{1, 2, 3, \dots\}, where $2 - 3 = -1 \notin \mathbb{N}, violating closure. In contrast, addition on \mathbb{N} is closed, as the sum of any two natural numbers remains a natural number. To see why closure is necessary for iterated operations, consider a binary operation * on S lacking closure, so there exist a, b \in S with a * b = c \notin S. Any further iteration involving c, such as c * d for d \in S, would be undefined within S, preventing the formation of finite or infinite products like a * b * d without leaving the set. Thus, closure ensures that all finite sequences of elements in S can be combined via the operation, staying entirely within S, which is essential for defining higher-order structures like subgroups or quotients.

Domain, Codomain, and Range

In the context of , a binary operation on a set S is fundamentally a whose is the S \times S, consisting of all ordered pairs (a, b) where a, b \in S. This structure distinguishes binary operations from functions, which operate on individual elements from S alone, by requiring two inputs combined in a specific order. The of a binary operation is the set into which the outputs are mapped; for operations defined on S, it is typically S itself, ensuring that the result of applying the operation to any pair from S remains within S. However, the can more generally be any superset T where S \subseteq T, allowing the operation to produce elements outside S while still starting from elements of S. For instance, defined on the natural numbers \mathbb{N} (positive integers) has \mathbb{N} \times \mathbb{N} and the integers \mathbb{Z}, since differences can be negative. The , also known as the , of a binary is the actual of the consisting of all possible outputs obtained by applying the operation to elements in the . This range may be a proper subset of the codomain; for example, on the \mathbb{R}^+ can be defined with domain \mathbb{R}^+ \times \mathbb{R}^+ and codomain \mathbb{R}, but the range is precisely \mathbb{R}^+, as products of positives are always positive. When the range is contained within S, the operation satisfies , a property often required in algebraic structures.

Properties

Associativity

In mathematics, a binary operation * on a set S is associative if, for all elements a, b, c \in S, the equality (a * b) * c = a * (b * c) holds. This property ensures that the grouping of operands does not affect the outcome of the operation, allowing expressions involving multiple applications of * to be evaluated without ambiguity regarding parenthesization. The associativity of a binary operation has significant implications for algebraic structures, as it enables the unambiguous definition of iterated operations and powers of elements, such as a^n for n \geq 1, by recursively applying the operation without concern for bracketing. For instance, in the context of integer addition, which is associative, this property underpins the well-defined nature of sums like a + b + c. Associativity plays a foundational role in defining key algebraic structures, such as and . A is a set equipped with an associative binary operation, while a extends this by including an . The concept of associativity in abstract algebraic settings was advanced in the , notably by , who in 1854 incorporated it into his pioneering definition of groups as sets with an associative operation satisfying additional axioms like and inverses. Not all binary operations are associative; a prominent non-associative example is the of vectors in three-dimensional , where \mathbf{u} \times (\mathbf{v} \times \mathbf{w}) \neq (\mathbf{u} \times \mathbf{v}) \times \mathbf{w} in general, as verified by substituting specific vectors such as the vectors \mathbf{i}, \mathbf{j}, \mathbf{k}. To verify associativity for a given binary operation, one checks the defining equality by direct and for all relevant elements in S, leveraging the operation's explicit form to equate the left and right sides.

Commutativity

In algebra, a binary operation * on a set S is said to be commutative if a * b = b * a for all a, b \in S. This property implies that the order of the does not affect the outcome of the operation, allowing elements to be rearranged freely in expressions involving multiple applications of *. The commutativity of a binary operation has significant implications in algebraic structures. It simplifies computations by permitting the reordering of terms, which streamlines algebraic manipulations and the solution of equations without needing to track operand positions. Furthermore, when a set S is equipped with two binary operations, and , both satisfying certain axioms including commutativity for multiplication, the resulting structure is a , a foundational concept in used to study polynomials, ideals, and geometric objects like varieties. Not all binary operations are commutative; a prominent counterexample is matrix multiplication on the set of n \times n matrices over the real numbers, where for distinct matrices A and B, the product AB generally differs from BA. This non-commutativity arises because matrix multiplication corresponds to the composition of linear transformations, where the order of application matters. In physics and , commutativity of binary operations often reflects underlying symmetries of the system. For instance, in , commutative groups (also known as abelian groups) model symmetries such as translations in or certain rotations, where the order of successive transformations does not alter the final configuration. Such structures capture the invariance of physical laws under symmetric changes, as seen in conservation principles derived from . To verify commutativity for a given binary operation, one tests the defining through direct : select elements a and b from S, compute both a * b and b * a, and confirm they are identical for all pairs, often requiring or general argument depending on the set's size. When paired with associativity, commutativity yields an abelian , facilitating further structural analysis./02:_Introduction_to_Groups/2.02:_Binary_Operation)

Identity Element

In a (S, *), where S is a set and *: S \times S \to S is a binary operation, an is an element e \in S such that a * e = e * a = a for all a \in S. This element acts as a neutral or "do-nothing" component under the operation, preserving every element unchanged when combined with it on either side. The , when it exists, is unique in the structure. To see this, suppose e and f are both elements in (S, *). Then, since f is an , e * f = e; but since e is also an , e * f = f. Thus, e = f. This uniqueness holds without assuming associativity or commutativity of the . Common examples include the real numbers \mathbb{[R](/page/R)} under , where [0](/page/0) serves as the since a + 0 = 0 + a = a for all a \in \mathbb{[R](/page/R)}, and under , where [1](/page/1) is the because a \cdot 1 = 1 \cdot a = a for all a \in \mathbb{[R](/page/R)}. The presence of an element plays a central role in defining monoids, which are associative binary structures equipped with such an element. Specifically, a monoid is a set G with an associative binary operation and an e \in G satisfying e \cdot a = a \cdot e = a for all a \in G. In contrast, more basic structures like magmas—sets with a binary operation but no additional requirements—may lack an altogether; for instance, the positive integers \mathbb{Z}_{\geq 1} under form a magma without an , as no element e \geq 1 satisfies a + e = e + a = a for all a \geq 1. In non-commutative binary operations, one-sided identities may exist independently: a left identity e satisfies e * a = a for all a \in S, while a right identity satisfies a * e = a for all a \in S. A two-sided identity is both left and right. If both a left identity and a right identity exist, they coincide and form the unique two-sided .

Inverse Element

In a set S equipped with a binary operation * and an e \in S, an element b \in S is called a two-sided of a \in S if a * b = e and b * a = e. More generally, b is a left of a if a * b = e, and a right if b * a = e. The existence of an for any a presupposes the presence of an in the structure. When the binary operation is associative, the existence of both a left inverse and a right inverse for a implies they are equal, forming a unique two-sided inverse. This uniqueness holds in the context of groups, where the structure includes associativity, an identity, and inverses for all elements; here, each element has precisely one inverse. Without associativity, left and right inverses may differ or fail to coincide. A classic example is the additive inverse under the binary operation of addition on the real numbers \mathbb{R}, where the identity is $0 and the inverse of a is -a, satisfying a + (-a) = 0 = (-a) + a. In contrast, not all elements are invertible; for instance, under multiplication on \mathbb{R}, the element $0 has no inverse because there exists no b \in \mathbb{R} such that $0 \cdot b = 1. Similarly, in the integers \mathbb{Z} under multiplication, only \pm 1 possess inverses, while all other elements, including $0, do not.

Idempotence

In the context of binary operations, an a in a set S equipped with a binary operation \ast is called idempotent if a \ast a = a. A binary operation \ast on S is said to be idempotent, or strongly idempotent, if every of S is idempotent, that is, a \ast a = a for all a \in S. This property contrasts with weak idempotence, where only some elements of S satisfy the condition, allowing for selective self-application without change while others may not. Examples of idempotent binary operations abound in foundational algebraic structures. In , the logical OR operation \lor is idempotent because p \lor p = p for any p, preserving the upon repetition. Similarly, the set intersection operation \cap on the power set of a is idempotent, as A \cap A = A for any set A; in particular, sets \{x\} satisfy \{x\} \cap \{x\} = \{x\}, illustrating the property at the level of individual elements. Idempotence finds significant applications in and algebraic structures. In linear algebra, a operator onto a is represented by an P satisfying P^2 = P, ensuring repeated application yields the same projection without alteration. In theory, a is defined as a where the binary operation is idempotent, meaning every element e fulfills e \cdot e = e, which models structures like transformation semigroups with fixed points under . Within lattice theory, is a core property of the meet \wedge and join \vee operations, where a \wedge a = a and a \vee a = a hold for all elements a. This directly relates to the laws, such as a \vee (a \wedge b) = a, which leverage idempotence to ensure that one operation absorbs the result of the other without redundancy, forming the basis for modular and distributive .

Examples

Arithmetic Operations

Addition serves as a fundamental binary operation on the set of real numbers \mathbb{R}, where for any a, b \in \mathbb{R}, a + b \in \mathbb{R}, ensuring closure under the operation. This operation is associative, satisfying (a + b) + c = a + (b + c) for all a, b, c \in \mathbb{R}, and commutative, with a + b = b + a. The additive identity element is $0, such that a + 0 = 0 + a = afor alla \in \mathbb{R}, and every element ahas an inverse-awherea + (-a) = (-a) + a = 0. Similar properties hold for addition on the integers \mathbb{Z}, which is closed, associative, commutative, with identity &#36;0 and inverses. Multiplication, denoted \times or \cdot, is another binary operation on \mathbb{R}, closed such that a \times b \in \mathbb{R} for all a, b \in \mathbb{R}. It shares associativity and commutativity with addition: (a \times b) \times c = a \times (b \times c) and a \times b = b \times a. The multiplicative identity is $1, satisfying a \times 1 = 1 \times a = a, but inverses exist only for nonzero elements, as a \times (1/a) = 1fora \neq 0, while &#36;0 lacks an inverse. These traits also apply to multiplication on \mathbb{Z}. Subtraction, defined as a - b = a + (-b), forms a binary operation on \mathbb{Z} and \mathbb{R}, which are closed under it, but it is neither associative nor commutative, as (a - b) - c \neq a - (b - c) and a - b \neq b - a in general. On the natural numbers \mathbb{N}, is not closed, since results can be negative or undefined for a < b. , a / b = a \times (1/b) for b \neq 0, is a binary operation on the nonzero reals \mathbb{R} \setminus \{0\}, closed there, but lacks associativity and commutativity, and is undefined for . On \mathbb{N}, division often yields non-integers, violating closure. Vector addition extends scalar addition component-wise to \mathbb{R}^n, where for \mathbf{u} = (u_1, \dots, u_n) and \mathbf{v} = (v_1, \dots, v_n), \mathbf{u} + \mathbf{v} = (u_1 + v_1, \dots, u_n + v_n) \in \mathbb{R}^n, ensuring . This operation is associative, commutative, with identity \mathbf{0} = (0, \dots, 0) and inverses -\mathbf{u}. It generalizes to any finite n \geq 1. Arithmetic operations like and on natural numbers provided prototypes for structures in , formalized through the , which define the naturals via a and recursively construct addition as a + 0 = a and a + S(b) = S(a + b), where S is successor. These axioms, introduced by in 1889, underpin the development of algebraic systems by establishing closure and recursive properties for .

Logical Operations

In Boolean logic, binary operations operate on truth values—typically denoted as true (T) or false (F)—and form the foundation of propositional logic and digital circuit design. These operations, often visualized through truth tables that list all possible input combinations and their outputs, enable the evaluation of compound statements and are essential for implementing in and software. The logical AND operation, symbolized as ∧, yields true only when both inputs are true; it is false otherwise. This makes it useful for conditions requiring all prerequisites to be satisfied, such as in conditional branching in programming. AND is idempotent, as applying it to identical inputs returns the input itself (a ∧ a = a), and it possesses a weak identity element of true, since true ∧ a = a for any a. Its truth table is as follows:
ABA ∧ B
TTT
TFF
FTF
FFF
The logical OR operation, denoted ∨, produces true if at least one input is true and false only when both are false. It models inclusive alternatives, common in search queries or triggers in systems. OR is commutative (a ∨ b = b ∨ a) and associative ((a ∨ b) ∨ c = a ∨ (b ∨ c)), facilitating the grouping of multiple conditions without . Like AND, it is idempotent (a ∨ a = a). The for OR is:
ABA ∨ B
TTT
TFT
FTT
FFF
The operation, XOR or ⊕, returns true when exactly one input is true, differing from OR by excluding the case where both are true. This operation mirrors addition modulo 2, where T equates to 1 and F to 0, making it key for checks and error detection in . Its is:
ABA ⊕ B
TTF
TFT
FTT
FFF
(NOT AND) and NOR (NOT OR) are negation-based operations: outputs the opposite of AND, true unless both inputs are true, while NOR outputs the opposite of OR, true only when both are false. Both serve as universal gates, as any can be constructed solely from them, underpinning the efficiency of integrated circuits. In some interpretations, such as when prioritizing certain input orders, they exhibit non-associativity. The truth tables are: NAND:
ABA NAND B
TTF
TFT
FTT
FFT
NOR:
ABA NOR B
TTF
TFF
FTF
FFT
provide derived properties linking these operations with : the negation of a equals the disjunction of the negations (¬(a ∧ b) = ¬a ∨ ¬b), and the negation of a disjunction equals the of the negations (¬(a ∨ b) = ¬a ∧ ¬b). These equivalences simplify complex expressions in circuit optimization and program verification. In computing, logical operations manifest as in processors, enabling arithmetic via , control structures in algorithms, and in software, with applications spanning from simple if-statements to advanced activations.

Function Composition

Function composition provides a fundamental example of a binary operation defined on the set of functions between sets. Given two functions f: A \to B and g: C \to A, where the codomain of g matches the domain of f, their composition f \circ g: C \to B is defined by (f \circ g)(x) = f(g(x)) for all x \in C./01%3A_Functions/1.04%3A_Composition_of_Functions) This operation combines the functions to produce a new function whose domain is the domain of g and codomain is the codomain of f. Function composition is associative, meaning that for compatible functions f, g, and h, (f \circ g) \circ h = f \circ (g \circ h)./07%3A_Functions/7.03%3A_Function_Composition) However, it is generally not commutative; for instance, if f(x) = x^2 and g(x) = x + 2 on the real numbers, then f(g(x)) = (x + 2)^2 = x^2 + 4x + 4, while g(f(x)) = x^2 + 2, so f \circ g \neq g \circ f./01%3A_Functions/1.04%3A_Composition_of_Functions) The identity element for this operation is the identity function \mathrm{id}_D: D \to D defined by \mathrm{id}_D(x) = x for all x \in D, satisfying f \circ \mathrm{id}_A = \mathrm{id}_B \circ f = f whenever the domains and codomains align..pdf) To illustrate on finite sets, consider the set S = \{0, 1, 2\} and functions f, g: S \to S where f(0) = 1, f(1) = 2, f(2) = 0, and g(0) = 2, g(1) = 0, g(2) = 1. The composition f \circ g yields f(g(0)) = f(2) = 0, f(g(1)) = f(0) = 1, f(g(2)) = f(1) = 2, resulting in the function mapping $0 \mapsto 0, $1 \mapsto 1, $2 \mapsto 2, which is the identity on S./07%3A_Functions/7.03%3A_Function_Composition) In calculus contexts, composition appears in operations like successive differentiation, where the derivative operator D satisfies D \circ D = D^2, representing the second derivative, though the focus here remains on set-theoretic functions./02%3A_Introduction_to_Groups/2.02%3A_Binary_Operation)

Notation and Representation

Symbolic Notation

Binary operations in mathematics are most commonly expressed using infix notation, where the operator symbol is placed between the two operands, as in a + b for addition or a \cdot b for multiplication. This convention facilitates readability by mimicking structure and has become the standard for and algebraic expressions. The plus sign (+) originated in printed form with Johannes Widman's 1489 Mercantile , initially denoting surpluses and deficits before evolving into the general addition symbol by Robert Recorde's 1557 The of Witte. For multiplication, introduced the obelus-like × in his 1631 Clavis Mathematicae, while advocated the centered dot (·) in a 1698 letter to , preferring it in infix form to distinguish from the variable x. Prefix and postfix notations, where the operator precedes or follows the operands respectively (e.g., +ab or ab+), are rare for binary operations in standard mathematical writing but appear in specialized contexts like logical expressions or computer evaluation algorithms. These forms, known as (prefix) and reverse (postfix) notations, were developed by logician in the 1920s to eliminate ambiguity in propositional logic without parentheses. , or implied multiplication by placing operands adjacent (e.g., fg for ), serves as a compact notation for certain binary operations, a practice standardized after René Descartes's 1637 . In programming languages, operator overloading extends symbolic notation by allowing the same symbol to represent different operations based on types, such as using + for numeric addition or string concatenation. This feature was pioneered in languages like Ada (1980) and popularized in C++ (introduced in 1985 by ) to enable intuitive syntax for user-defined types, though it requires careful implementation to avoid confusion. The historical evolution of these notations traces from early symbolic innovations by figures like Leibniz, who emphasized clear forms with dots for , to the diverse symbols (e.g., U+22C5 for dot operator) now supporting precise rendering in modern mathematical typography.

Tabular Representation

A tabular representation of a binary operation on a , known as a , arranges the elements of the set along the rows and columns, with each entry at the intersection of row a and column b denoting the result a * b. This method, introduced by in his 1854 paper on , provides a complete and explicit depiction of the operation, facilitating the analysis of algebraic structures. To construct a Cayley table, the set's in a consistent order for both rows and columns, then compute and fill each entry according to the operation's definition. For instance, consider the set \{0, 1, 2\} under modulo 3, where the operation yields the when the sum is divided by 3. The resulting table is:
+_3012
0012
1120
2201
This table illustrates the operation's outcomes, such as $1 +_3 2 = 0. Cayley tables offer advantages in verifying key properties visually; for example, closure can be confirmed by ensuring all entries belong to the set, and associativity can be checked by comparing entries for (a * b) * c and a * (b * c) across the table. However, they are limited to finite sets, rendering them impractical for infinite domains like the real numbers under addition. In group theory, Cayley tables play a crucial role in classifying small finite groups by enabling the enumeration and comparison of distinct multiplication tables up to isomorphism, such as identifying the unique cyclic groups of orders 1 through 5.

Formal Perspectives

As Ternary Relations

In , a binary operation * on a set S can be formalized as a ternary relation R \subseteq S \times S \times S, where (a, b, c) \in R c = a * b. This views the operation as the from S \times S to S, treating it uniformly as a subset of the of three copies of S. Such a ternary relation corresponding to a binary operation is functional, meaning that for every ordered pair (a, b) \in S \times S, there exists exactly one c \in S such that (a, b, c) \in R. In contrast, general ternary relations lack this uniqueness or totality property, allowing multiple or no outputs for some inputs. This functional characterization distinguishes binary operations from arbitrary s while embedding them within the broader of relational structures. The relational perspective offers advantages in unification and flexibility. By expressing binary operations as s, they integrate seamlessly with other set-theoretic constructs, such as arbitrary relations or orderings, enabling algebraic properties to be rephrased in purely relational terms. Moreover, it naturally accommodates partial binary operations, where the relation may omit outputs for certain pairs, corresponding to partial functions from S \times S to S. There exists a between the set of all binary operations on S and the set of all functional ternary relations on S. This correspondence maps each binary operation * to its graph relation R = \{(a, b, a * b) \mid a, b \in S\}, which is invertible since the unique c for each (a, b) recovers the operation. To see this, note that any functional ternary relation R defines a unique f: S \times S \to S by f(a, b) = c where (a, b, c) \in R, and the inverse map reconstructs R from f. This underscores the equivalence of the functional and relational viewpoints. Philosophically, this set-relational formulation of binary operations aligns with foundational ideas in and logic, such as the Curry-Howard correspondence, where functions (and their relational graphs) correspond to proofs of implications, bridging computational and logical interpretations.

In Abstract Algebra

In , binary operations serve as the foundational building blocks for defining various algebraic structures, enabling the study of sets equipped with operations that satisfy specific axioms. These structures generalize and geometric concepts, allowing mathematicians to explore symmetries, transformations, and invariances in a unified framework. The minimal such structure is a , which consists solely of a set paired with a binary operation, providing no additional constraints beyond under the operation. Building upon the magma, more refined structures impose axioms like associativity and the existence of elements or inverses. A is an associative magma, where the binary operation satisfies (a \cdot b) \cdot c = a \cdot (b \cdot c) for all elements a, b, c in the set, facilitating the analysis of iterative processes without requiring an . A extends the by including an e such that e \cdot a = a \cdot e = a for all a, which is essential for modeling systems with neutral operations, such as string concatenation in . Groups further generalize by requiring inverses, where for every a there exists a^{-1} satisfying a \cdot a^{-1} = a^{-1} \cdot a = e; this captures reversible transformations, as seen in the integers under forming an infinite . Rings introduce a second binary operation, typically and , where forms an , is associative (forming a ), and distributivity holds: a \cdot (b + c) = a \cdot b + a \cdot c and (b + c) \cdot a = b \cdot a + c \cdot a. Many rings include a , enabling the study of polynomial rings and ideals crucial to . The historical development of these structures traces back to in the 1830s, who introduced groups to solve equations by radicals, laying the groundwork for abstract through his analysis of symmetries. formalized the abstract definition of groups in 1854, emphasizing binary operations independent of specific realizations like . advanced in the late with ideals in algebraic integers, while Emmy Noether's axiomatic approach in the 1920s unified groups, rings, and modules, influencing modern developments. This evolution culminated in , initiated by and in the 1940s, which abstracts binary operations and morphisms across structures like magmas and groups into functors and natural transformations.

Generalizations and Extensions

N-ary Operations

An n-ary operation on a set S is a \omega: S^n \to S, where S^n denotes the of S with itself n times, for some positive n. This generalizes the notion of a binary operation, which arises specifically when n=2. Such operations map n elements from S to a single element in S, providing a framework for combining multiple inputs in algebraic and logical structures. When n=0, the operation is nullary, equivalent to a constant function that selects a fixed of S without any inputs. For n=1, operations are simply functions f: S \to S, such as or successor in . A concrete (n=3) example is the majority operation in voting theory, defined on \{0,1\}^3 to return the value that appears at least twice among the three inputs, modeling among three voters. Hyperoperations extend familiar binary operations like into a encompassing higher levels, starting with as a binary case and progressing to and beyond, where each subsequent operation iterates the previous one. Introduced by Goodstein, this hierarchy unifies arithmetic progressions through recursive definitions, with representing iterated . In , n-ary operations underpin structures like n-ary trees, where each node can have up to n children, generalizing binary trees for applications in file systems and databases. In , n-ary functions serve as building blocks in formal languages, representing operations of fixed in theories. The generalization to n-ary operations also extends properties like , ensuring the result remains within the domain for any n inputs from S.

Partial Binary Operations

A partial binary operation on a set S is defined as a function from a D \subseteq S \times S to S, meaning it is only specified for certain pairs of elements in S, in contrast to a total binary operation which requires definition on the entire S \times S. This domain D represents the pairs where the operation yields a result in S, allowing for structures where not all combinations are meaningful or computable. Examples of partial binary operations include division on the real numbers \mathbb{[R](/page/R)}, where a / b is defined for all a, b \in \mathbb{[R](/page/R)} except when b = [0](/page/0), making the domain D = \mathbb{[R](/page/R)} \times (\mathbb{[R](/page/R)} \setminus \{[0](/page/0)\}). Another example arises in , where the composition of morphisms serves as a partial binary operation on the class of arrows: two morphisms f: A \to B and g: B \to C can be composed to g \circ f: A \to C only if the codomain of f matches the of g, with the domain consisting of compatible pairs. Regarding closure, a partial binary operation ensures that whenever an input pair (a, b) belongs to the domain D, the output a \cdot b lies in S, but no guarantee exists for pairs outside D. Properties such as associativity are adapted to the partial setting: in a partial , the operation is associative wherever both (a \cdot b) \cdot c and a \cdot (b \cdot c) are defined, meaning (a \cdot b) \cdot c = a \cdot (b \cdot c) holds in those cases. Similar conditional properties appear in structures like partial loops, where inverses and identities are required only when operations are defined. In , partial binary operations model computations that may fail or be undefined for certain inputs, such as on sets, which returns the union only if the sets have empty intersection and is undefined otherwise, facilitating reasoning about data structures with error handling. In , particularly within effect algebras used in , the partial binary operation of orthosum a \oplus b combines elements only when they are orthogonal (i.e., a \leq b^\perp), providing a framework for partial meets and joins in non-complete lattices.

References

  1. [1]
    Binary Operations
    In other words, a binary operation takes a pair of elements of X and produces an element of X. It's customary to use infix notation for binary operations. Thus, ...
  2. [2]
    13.1 Definition of a Binary Operation
    A binary operation can be considered as a function whose input is two elements of the same set S and whose output also is an element of .
  3. [3]
    [PDF] Binary Operations, Monoids, and Groups - CSUSM
    The ideas related to binary operations are first step to algebra, and so this document can be thought of as the “ground floor” for modern algebra built on a ...
  4. [4]
    [PDF] A GENTLE INTRODUCTION TO ABSTRACT ALGEBRA - CSUN
    It is helpful to think of this in more abstract terms—a binary operation ... Because of the importance of such sets with two binary operations with these ...
  5. [5]
    [PDF] Introduction to Abstract Algebra (Math 113)
    Any binary operation on G gives a way of combining elements. As we have seen, if G = Z then + and × are natural examples of binary operations. When we are ...
  6. [6]
    [PDF] The Evolution of Group Theory: A Brief Survey - Israel Kleiner
    Mar 14, 2004 · The problem of representing integers by binary quadratic forms goes back to Fermat in the early 17th century. (Recall his theorem that every ...
  7. [7]
    [PDF] MATH 251 Abstract Algebra Lecture Notes 1 Puck Rombach
    Jan 1, 2020 · A binary operation ∗ on a set G is a function of the form ∗ : G × G → G. We write a ∗ b or ab for short (since groups will only have one binary ...
  8. [8]
  9. [9]
    The Origins of Modern Algebra
    Here, I simply present a brief sketch of the development of modern Algebra (sometimes called Abstract Algebra) taken from the book by Bourbaki, Elements of the ...
  10. [10]
    None
    Nothing is retrieved...<|control11|><|separator|>
  11. [11]
    [PDF] Abstract Algebra
    ... ABSTRACT ALGEBRA. Third Edition. David S. Dummit. University of Vermont. Richard M. Foote. University of Vermont john Wiley & Sons, Inc. Page 6. ASSOCIATE ...
  12. [12]
  13. [13]
    1.1: Binary operations - Mathematics LibreTexts
    Oct 24, 2024 · Definition: Binary operation​​ Let be a non-empty set, and said to be a binary operation on , if a ⋆ b is defined for all a , b ∈ S . In other ...
  14. [14]
    [PDF] Topology for Computing Mini-Kurse pdfsubject
    If a binary operation ∗ is associative, we may write unambiguous long expressions without using parentheses.
  15. [15]
    [PDF] Section I.1. Semigroups, Monoids, and Groups
    Feb 5, 2022 · a = e. A semigroup is a nonempty set G with an associative binary operation. A monoid is a semigroup with an identity. A group is a monoid ...
  16. [16]
    The abstract group concept - MacTutor - University of St Andrews
    Cayley also requires the associative law θ.φψ = θφ.ψ to be satisfied. He then says that any set of such symbols with the property that the product of any two is ...
  17. [17]
    [PDF] Cross product and determinants (Sect. 12.4) Two main ways to ...
    Show that the cross product is not associative, that is, u × (v × w) 6= (u × v) × w. Solution: We prove this statement giving an example. We now show that i ...
  18. [18]
    Fields | Thinking Like a Mathematician Class Notes - Fiveable
    Commutativity simplifies algebraic manipulations and equation solving; Enables derivation of other field properties (cancellation law). Associativity in ...
  19. [19]
    Is matrix multiplication commutative? (video) - Khan Academy
    Aug 20, 2015 · In other words, he checks whether for any two matrices A and B, A*B=B*A (the answer is NO, by the way). Created by Sal Khan.
  20. [20]
    [PDF] 7 Symmetry and Group Theory - Penn Math
    In this section we will explore symmetry and the way in which it arises in various contexts with which we are familiar, especially in the geometry of regular ...
  21. [21]
    Symmetry and Symmetry Breaking
    Jul 24, 2003 · Symmetry considerations dominate modern fundamental physics, both in quantum theory and in relativity.
  22. [22]
    2.1: Binary Operations and Structures - Mathematics LibreTexts
    Sep 16, 2021 · We first rigorously define a binary operation. A binary operation on a set is a function from S × S to. Given a binary operation on for each ( ...
  23. [23]
    identity element - PlanetMath.org
    Mar 22, 2013 · Let G G be a groupoid , that is a set with a binary operation G×G→G G × G → G , written muliplicatively so that (x,y)↦xy ( x , y ) ↦ x ⁢ y .
  24. [24]
    [PDF] groups - Northwestern University
    An element e of X is called a left (right) identity if. ex = x (xe = x) for all x ∈ X. If e is both a left and right identity it is just called an identity or ...
  25. [25]
    7.5: Properties of Identity, Inverses, and Zero - Mathematics LibreTexts
    May 28, 2023 · Identity Property, 0 is the additive identity, 1 is the multiplicative identity ; For any real number a,. a + 0 = a. 0 + a = a. a • 1 = a. 1 • a ...
  26. [26]
    monoid - PlanetMath
    Mar 22, 2013 · A monoid is a semigroup G G which contains an identity element ; that is, there exists an element e∈G e ∈ G such that e⋅a=a⋅e=a e ⋅ a = a ...
  27. [27]
    [PDF] binary opera- tions, magmas, monoids, g - UMD MATH
    The magma (N, +) is also associative with 0 as its identity element. If n > 0, then the magma. (Z≥n, +) is associative, but does not have an identity element.
  28. [28]
    Inverse Element | Brilliant Math & Science Wiki
    If the binary operation is associative and has an identity, then left inverses and right inverses coincide: If S S S is a set with an associative binary ...
  29. [29]
    2.1 Binary Operations
    2.1 Binary Operations. 2.1 Definition (Binary operation.) Let $A$ be a set. A binary operation on $A$ is a function $\circ\colon A\times A\to A$ . Binary ...<|control11|><|separator|>
  30. [30]
    idempotency - PlanetMath
    Mar 22, 2013 · If every element of the magma (S,*) is idempotent, then the binary operation * (or the magma itself) is said to be idempotent. For example, the ...
  31. [31]
    Laws of Boolean Algebra - Electronics Tutorials
    Boolean Truth Table ; A . A = A, A in series with. A = “A”, idempotent series circuit, Idempotent ; NOT A = A, NOT NOT A (double negative) = “A”, Double Negation.
  32. [32]
    [PDF] A binary operation on a set S is an operation that takes two elements ...
    Definitions! • A binary operation on a set S is an operation that takes two elements of S as input and produces one element of S as output.
  33. [33]
    Projection matrix - StatLect
    It turns out that idempotent matrices and projection matrices are the same thing! Proposition A matrix is idempotent if and only if it is a projection matrix.Projections · Matrix of the projection operator · How to derive the projection...
  34. [34]
    band in nLab
    Jun 14, 2025 · An idempotent semiring is a semiring whose addition operation is a band. To be added: varieties of bands, and particularly of regular bands.Missing: binary | Show results with:binary
  35. [35]
    lattice in nLab
    Feb 23, 2024 · ∧ \wedge and ∨ \vee are each idempotent, commutative, and associative;; the absorption laws: a ∨ ( a ∧ b ) = a a \vee (a \wedge b) = a ...
  36. [36]
    [PDF] Chapter 4: Binary Operations and Relations
    DEFINITION 1. A binary operation ∗ on a nonempty set A is a function ... Let ∗ be a binary operation on Z defined by. ∀a, b ∈ Z, a ∗ b = a + 3b ...
  37. [37]
    [PDF] MTHSC 412 Section 1.4 --Binary Operations
    Definition. A binary operation on a nonempty set A is a mapping f form A×A to A. That is f ⊆ A × A × A and f has the property that for each.Missing: mathematics | Show results with:mathematics
  38. [38]
    [PDF] be two binary operations on F called addition an
    Aug 28, 2008 · The additive inverse of a ∈ F in В is usually denoted −a. • The multiplicative inverse of a ∈ F\{0} in З is usually denoted a−1 or 1/a.
  39. [39]
    [PDF] Mathematical Systems
    – A binary operation is a rule that assigns to 2 elements of a set a unique third element. ▫ If 5 and 7 belong to N and addition is the binary operation ...
  40. [40]
    08 Vector Spaces
    Binary operation means that the operator takes two inputs and produces some output. Vector addition takes two elements of as input.
  41. [41]
    [PDF] Vector Spaces Over Fields - UCLA Math Circle
    Axiom 1 (Closure of vector addition). For vectors ... Axiom 4 (Identity of vector addition). ... We define the binary operation of addition. + on ...
  42. [42]
    [PDF] ECE 586: Vector Space Methods Lecture 10 - Henry Pfister
    Sep 25, 2020 · Subspaces are “closed” under vector addition ... In the first case, the term closed refers to an idea for binary operations and, in the second ...<|separator|>
  43. [43]
    [PDF] 1. Peano's Axioms and Natural Numbers
    As usual we define the operations as follows. If A = [{xn}] and. B = [{yn}], define A ⊕ B = [{xn + yn}] and A ⊗ B = [{xnyn}]. Let us check that these make ...
  44. [44]
    Boolean Algebra Truth Tables for Logic Gate Functions
    Construct the truth table for the Exclusive-NOR, XOR, AND, OR, and NOT, gates. 2. Write the Boolean expression for a NAND gate and create its truth table. 3 ...
  45. [45]
    Boolean Algebra Truth Table Tutorial – XOR, NOR, and Logic ...
    May 4, 2020 · Truth tables give us an insightful representation of what the Boolean operations do and they also act as a handy tool for performing Boolean operations.
  46. [46]
    Logic Gates - Definition, Types, Uses - GeeksforGeeks
    Oct 10, 2025 · The NAND gate or "Not AND" is the combination of two basic logic gates AND gate and the NOT gate connected in series. It takes two or more ...
  47. [47]
    DeMorgan's Theorems | Boolean Algebra | Electronics Textbook
    DeMorgan's Theorems describe the equivalence between gates with inverted inputs and gates with inverted outputs. Simply put, a NAND gate is equivalent to a ...
  48. [48]
    How Boolean Logic Works - Computer | HowStuffWorks
    May 22, 2024 · For example, Boolean expressions are crucial in "if" statements and "while" loops and for validating conditions during software operations.
  49. [49]
    Composition -- from Wolfram MathWorld
    The nesting of two or more functions to form a single new function is known as composition. The composition of two functions f and g is denoted f degreesg.
  50. [50]
    Earliest Uses of Symbols of Operation - MacTutor
    The plus and minus symbols only came into general use in England after they were used by Robert Recorde in in 1557 in The Whetstone of Witte.
  51. [51]
    4.9. Infix, Prefix and Postfix Expressions - Runestone Academy
    This type of notation is referred to as infix since the operator is in between the two operands that it is working on. Consider another infix example, A + B * C ...
  52. [52]
    Prefix, Infix, and Postfix Notation - Wolfram Demonstrations Project
    ... prefix notation places the binary operator before the two symbols on which it acts. Similarly, in postfix notation, the operator is placed after the symbols.
  53. [53]
    When and by whom were the different symbols for multiplication used?
    Oct 22, 2015 · Modern juxtaposition convention became standard after Descartes's Geometry (1637). Cajori's History of Mathematical Notations details many such ...
  54. [54]
    Operator overloading | Encyclopedia of Computer Science
    Operators in programming languages are like arithmetic operators: they generally take two arguments, frequently but not always of the same type, ...<|control11|><|separator|>
  55. [55]
    Why doesn't Java offer operator overloading? - Stack Overflow
    Sep 16, 2008 · Operator overloading existed since before computers · Operator overloading depends on its operands · Even C and Java have (hard-coded) operator ...
  56. [56]
    Mathematical Notation: Past and Future (2000) - Stephen Wolfram
    In the early to mid-1600s there was kind of revolution in math notation, and things very quickly started looking quite modern. Square root signs got invented: ...<|separator|>
  57. [57]
    (PDF) Arthur Cayley and the 'Gruppen Pest' - ResearchGate
    Sep 12, 2015 · }. One has to appreciate that Cayley discovered in his two publications on 'group theory'. not only the concept of group multiplication tables ...<|control11|><|separator|>
  58. [58]
    [PDF] Math 120A — Introduction to Group Theory - UCI Mathematics
    Oct 29, 2025 · Given the binary operation table, calculate. (a) c ∗ d. (b) a ... Explicitly state the Cayley table for the rotation group R4 of a square.Missing: advantages limitations
  59. [59]
    [PDF] Chapter 2: Examples of groups - Mathematical and Statistical Sciences
    Modular addition has a nice visual appearance in the Cayley tables for cyclic groups, if we order the elements 0, 1,..., n − 1. Here are two different ways to ...
  60. [60]
    [PDF] Naive set theory. - Whitman People
    Halmos —Naive Set Theory. John L. Kelley—Introduction to Modern Algebra. R ... sets, functions, and relations. The accepted way of making such defini.
  61. [61]
    None
    ### Summary of Sections on Binary Operations as Ternary Relations
  62. [62]
    [PDF] The Curry-Howard view of classical logic
    ... Curry-Howard correspondence: concepts and instances ... relations, functions, injectivity, surjectivity, etc. Our notation for the power set of A is P ...
  63. [63]
    magma in nLab
    Aug 21, 2024 · Definitions. A binary operation on a set S S is a function ( − ) ⋅ ( − ) : S × S → S (-)\cdot (-) \colon S \times S \to S from the Cartesian ...
  64. [64]
    semigroup in nLab
    ### Summary of Semigroup Definition as Associative Magma with Binary Operation
  65. [65]
    monoid in nLab
    ### Summary of Monoid Definition
  66. [66]
    group in nLab
    ### Summary: Definition of Group as Monoid with Inverses, Binary Operation
  67. [67]
    ring in nLab
    ### Definition of Ring
  68. [68]
    None
    Below is a merged summary of the historical development of abstract algebra from Galois to modern category theory, consolidating all information from the provided segments into a dense, structured format. To maximize detail and clarity, I will use a table in CSV format for key contributors, their contributions, and milestones, followed by a narrative summary that integrates additional context and details not suited for the table. This approach ensures all information is retained while maintaining readability.
  69. [69]
    algebraic system - PlanetMath
    Mar 22, 2013 · When n=0 n = 0 , the operation is usually called a nullary operation, or a constant, since one element of A A is singled out to be the (sole) ...
  70. [70]
    [PDF] Polymorphisms, and How to Use Them - DROPS - Schloss Dagstuhl
    Consider the ternary majority operation f on {0, 1}, which always returns the (unique) repeated value among its arguments. It is a very easy exercise to ...
  71. [71]
    Introduction to Generic Trees (N-ary Trees) - GeeksforGeeks
    Jul 12, 2025 · Generic trees are a collection of nodes where each node is a data structure that consists of records and a list of references to its children.
  72. [72]
    [PDF] Inverse Semigroups and Inverse Categories - ScholarWorks@UTEP
    Jan 1, 2012 · If 𝜔:𝑋 × 𝑋 → 𝑋 is a partial function (i.e. a function 𝜔:𝐷 → 𝑋 where D is a subset of 𝑋 × 𝑋) then it is called a partial binary operation on 𝑋.
  73. [73]
    [PDF] CDM [2ex]Semigroups and Groups
    ∗ is a partial binary operation,. −1 is a total unary operation, subject to the following laws: Partial associativity: if all terms are defined, then a ...
  74. [74]
    [PDF] Categories of Residuated Lattices - Digital Commons @ DU
    may be interpreted as a partial binary operation. This is the case in the ... The division operations z and { are called the residuals of the ...
  75. [75]
    Category Theory - Stanford Encyclopedia of Philosophy
    Dec 6, 1996 · Category theory is a general mathematical theory of structures and systems of structures, central to mathematics and computer science. ...General Definitions, Examples... · Brief Historical Sketch · Bibliography
  76. [76]
    Partial semigroups
    A \emph{partial semigroup} is a structure A=⟨A,⋅⟩ A = ⟨ A , ⋅ ⟩ , where. ⋅ ⋅ is a \emph{partial binary operation}, i.e., ⋅:A×A→A+{∗} ⋅ : A × A → A + { ∗ } ...
  77. [77]
    [2410.23216] Heffter arrays over partial loops - arXiv
    Oct 30, 2024 · In this paper, this notion is naturally generalized to that of \mathcal{B}-Heffter array over a partial loop, where \mathcal{B} is a set of ...
  78. [78]
    [PDF] Disjoint-union partial algebras - Logical Methods in Computer Science
    Jun 22, 2017 · Abstract. Disjoint union is a partial binary operation returning the union of two sets if they are disjoint and undefined otherwise.