Binary Operator

Binary Operation
A binary operation on a set S is a function f: S x S -> S
Takes 2 elements from the same set(could be the same element twice) to another element within the same set
Addition on real numbers is a closed binary operation
Division over integers is not closed because it can produce rational numbers.
Binary operator is a function that takes an ordered pair, containing 2 elements from the same set, and maps that to another element within the same set.
Closure
Binary operators do not necessarily have to be closed.
Closed Binary Operator: A binary operator is considered "closed" if, when applied to any two elements from the set, it produces a result that also belongs to the same set. Closure ensures that the set is closed under the operation, and it's an essential property for certain algebraic structures like groups and rings.
Non-Closed Binary Operator: A binary operator is "non-closed" if there are cases where applying the operator to two elements from the set results in a value that is not in the same set.
Binary Operation and Modular Arithmetic
Last updated
Was this helpful?