Binary Operation is an operation defined for any set S such that it takes two elements from S as input and produces a single element in S as output. As the name suggests, binary operations require at least two inputs as it is defined from the cartesian product of set to set itself.
In this article, we will explore binary operations its definition, properties, types of binary operations, and many more. We will also discuss the applications of binary operations and solve some examples on it. Let's start our learning on the topic "Binary Operation".
What are Binary Operations?
Binary operations are the operations that are performed on two inputs. Some fundamental binary operations are addition, subtraction, multiplication, and division. The inputs are known as the operands. Binary operations also have several properties like closure property, associative property, commutative property, identity element, and inverse element.
Binary Operation Definition
Binary operation is defined as the operation on set S which maps the cartesian product of S to the element that belongs to S. Binary operation * on S with elements a and b can be represented as:
* : S × S → S such that for all a, b; a*b ∈ S
\times is a binary operation.

Properties of Binary Operations
Binary operations are the operations performed on two elements of a set and the result also belongs to the same set. Some of the properties of the binary operations are:
- Closure Property in Binary Operations
- Associativity of Binary Operations
- Commutativity of Binary Operations
- Identity Element of Binary Operations
- Inverse Element of Binary Operations
Closure Property in Binary Operations
The closure property in binary operation * on set X with element x and y is defined as:
x ∈ X, y ∈ X ⇒ x * y ∈ X
If x and y belong to a set X then the result of the binary operation between them will also belong to the set X
Associativity of Binary Operations
Associativity of binary operation * on set X with element x, y and z is defined as:
(x * y) * z = x* (y * z)
Commutativity of Binary Operations
Commutativity of binary operation * on set X with element x and y is defined as:
x * y = y * x
Identity Element of Binary Operations
Identity element of binary operation * on set X with element x and e is defined as:
x * e = e * x = x
Then, e is called the identity element.
Inverse Element of Binary Operations
Inverse element of binary operation * on set X with element x, y and e is defined as:
x * y = y * x = e
Then x is inverse of y and y is inverse of x.
Read More,
Types of Binary Operations
Binary operations are operations which require two inputs. Some of the common types of binary operations are as follows:
Let's discuss these common types in detail as follows:
Binary Addition
Binary addition is an operation on a set A with elements x and y defined as:
+ : A × A → A such that (x, y) → x + y
Binary Subtraction
Consider a set A with elements x and y. Binary subtraction is a closed binary operation on A such that:
- : A × A → A such that (x, y) → x - y
Binary Multiplication
Binary multiplication is a binary operation defined on a set A, where each element x and y in A is paired with the operation symbol ×, resulting in x × y, which belongs to the set A. Mathematically this can be written as:
× : A × A → A such that (x, y) → x × y
Binary Division
Binary division on a set A with elements x and y is a binary operation denoted as / and defined as:
/ : A × A → A such that (x, y) → x / y
Binary Operation Table
A binary operation table, also known as a Cayley table or operation table, is a systematic way to display the results of applying a binary operation to elements of a set.
In this table, each row represents one of the elements of the set, and each column represents another element. The cell at the intersection of a row and a column contains the result of applying the binary operation to the corresponding pair of elements.
For example, let's consider a set A={0, 1, 2, 3} with addition modulo(⊕) as operation.
⊕ | 1 | 2 | 3 | 4 |
---|
1 | 2 | 3 | 4 | 1 |
---|
2 | 3 | 4 | 1 | 2 |
---|
3 | 4 | 1 | 2 | 3 |
---|
4 | 1 | 2 | 3 | 4 |
---|
Applications of Binary Operations
Some of the common applications of binary operations are:
- Binary operations are fundamental in abstract algebra, where they are used to define algebraic structures such as groups, rings, and fields.
- In combinatorics, binary operations are used to study various counting problems, permutations, and combinations.
- Binary operations are extensively used in computer science for bitwise operations, such as AND, OR, XOR, and complement operations, which are fundamental in digital logic and computer arithmetic.
- In electrical engineering, binary operations are essential for digital signal processing, coding theory, and error detection/correction techniques.
Read More,
Binary Operation Examples
Example: Consider a binary operation * on set X = {1, 2, 3, 4, 5} defined by x*y = min (x, y). With the help of below table find:
(i) Compute (4 * 5) * 1
(ii) Is * commutative?
(iii) Compute (2 * 5) * (1 * 3)
Table:
* | 1 | 2 | 3 | 4 | 5 |
---|
1 | 1 | 1 | 1 | 1 | 1 |
---|
2 | 1 | 2 | 2 | 2 | 2 |
---|
3 | 1 | 2 | 3 | 3 | 3 |
---|
4 | 1 | 2 | 3 | 4 | 4 |
---|
5 | 1 | 2 | 3 | 4 | 5 |
---|
Solution:
(i) (4 * 5) * 1
From table
(4 * 5) = 4
(4 * 5) * 1 = 4 * 1
(4 * 5) * 1 = 1
(ii) Is * commutative
For commutative we have to prove x*y = y*x
let x = 5 and y = 2
x*y = 5 * 2 = 2
y*x = 2 * 5 = 2
Therefore, * is commutative.
(iii) (2 * 5) * (1 * 3)
From table
(2 * 5) = 2
(1 * 3) = 1
(2 * 5) * (1 * 3) = 2 * 1
(2 * 5) * (1 * 3) = 1
Practice Problems on Binary Operations
Problem : Consider a binary operation * on set X = {a, b, c} defined by below. Find:
(i) Compute (a * b) * c
(ii) Is * commutative?
(iii) Find the identity element of the binary operation.
Table:
Conclusion
Binary operations are essential math ideas used in many areas like algebra, computer science, engineering, and cryptography. Understanding how these operations work and their properties is essential for solving complex problems and building efficient algorithms. This article gave a basic introduction to this important concept including topics such as properties and types of binary operations.
Similar Reads
Binary Subtraction Binary Subtraction is a mathematical operation and is one of the four fundamental operations of binary numbers. Binary subtraction is similar to decimal subtraction but the rules used as somewhat different.Binary subtraction is a fundamental idea in binary operations. There are two components in bin
8 min read
Binary Multiplication Binary Multiplication is a mathematical operation that involves multiplying two binary numbers, which are numbers composed of only 0s and 1s. Binary multiplication is similar to decimal multiplication, except that the base of the number system is 2 instead of 10. Binary multiplication involves multi
8 min read
Binary Division Binary division is a mathematical operation that involves dividing two binary numbers, which are numbers composed of only 0's and 1's. Binary division is similar to decimal division, except that the base of the number system is 2 instead of 10.In this article, we will learn about Binary Numbers, Bin
10 min read
Binary Operators in Programming Binary Operators are essential tools in programming that perform operations on pairs of data, enabling tasks like calculations, comparisons, logical operations, and bitwise manipulations. They are fundamental for processing and manipulating data efficiently in computer programs. Table of Content Wha
14 min read
What is Binary Code? Two States the digital systems, and computers are written in its basic language. Binary code It is a digital encoding of an analog signal wherein it uses a two-symbol system, â0â and â1â, to represent text, computer processor instructions, or any other data. A bit short for "binary digit", is the ba
9 min read
Binary to Octal Conversion Number system is an important part of mathematics. The number system and its conversion is used in various fields of mathematics and computer science. In this article we will explore binary, octal and conversion of binary to octal number system. What is Binary Number System?Number system with its ba
4 min read