Skip to main content

Section 7.1 Binary Operations

Subsection Internal Binary Operations

Definition 7.1. Binary Operation.

A internal binary operation on a set \(S\) is a [provisional cross-reference: def-function]
\begin{equation*} -\cdot-:S\times S\to S,\text{given by } (x,y)\mapsto x\cdot y. \end{equation*}

Convention 7.2.

Let \(S\) be a set, and let \(* : S \times S \to S\) be a binary operation. If \(a, b\in S\text{,}\) then it would be proper to denote the result of doing the operation \(*\) to the pair \((a, b)\) by writing \(*((a, b))\text{.}\) Such notation is quite cumbersome, however, and would not look like familiar binary operations such as addition of numbers. Hence, we will write \(a * b\) instead of \(*((a, b))\text{.}\)

Remark 7.3.

Internal binary operations are usually reffered to as “binary operations” as they are the most common form of binary operation.  1 

Definition 7.4.

A binary operation is closed

Example 7.5.

  • Addition.
    The function \(+:S\to S\) defined by \(+(a,b)=a+b\) is a binary operation for \(S\in\{\N,\Z,\Q,\R,\C\}\text{.}\)
  • Multiplication.
    The function \(\cdot:S\to S\) defined by \(+(a,b)=a\cdot b\) (often shortened to \(ab\)) is a binary operation for \(S\in\{\N,\Z,\Q,\R,\C\}\text{.}\)
  • Composition.
    Let \(F\) denote the set of all functions from a set \(S\) to itself. The function \(\circ:F\to F\) defined by \(\circ(f,g)=g\circ f\) is a binary operation.

Definition 7.6.

A binary operation on a set \(S\) is commutative if \(a*b=b*a\) for all \(a,b\in S\text{.}\)

Definition 7.7.

A binary operation on a set \(S\) is associative if \((a*b)*c=a*(b*c)\) for all \(a,b,c\in S\text{.}\)

Definition 7.8.

A binary operation on a set \(S\) is idempotent if \(a * a=a\) for all \(a\in S\text{.}\)

Definition 7.9.

Let \(*\) be a binary operation on a set \(S\text{.}\)
  • An element \(\ell\) is called a left identity if \(\ell * a=a\) for all \(a\in S\text{.}\)
  • An element \(r\) is called a right identity if \(r * a=a\) for all \(a\in S\text{.}\)
  • An element \(e\) is called an identity if it is both a left and a right identity.

Definition 7.12.

Let \(*\) be a binary operation on a set \(S\) with identity \(e\text{,}\) and let \(a\in S\text{.}\)
  • An element \(b\) is called a left inverse of \(a\) if \(b * a=e\text{.}\)
  • An element \(c\) is called a right inverse if \(a * b=e\text{.}\)
  • An element that is both a left inverse and right inverse of \(a\) is called an inverse of \(a\text{.}\)

Subsection Partial Binary Operations

Definition 7.14.

A partial function from a set \(X\) to a set \(Y\) is a function from a subset \(A\) of \(X\) to \(Y\text{.}\) This is denoted \(f:X\rightharpoonup Y\text{.}\)

Definition 7.15.

A partial binary operation on a set \(S\) is a partial function
\begin{equation*} -*-:S\times S\to S,\text{given by } (x,y)\mapsto x * y. \end{equation*}

Example 7.16. Division.

Subsection External Binary Operations

Definition 7.17.

The “internal” piece subtly implies the existence of some nebulous external binary operation, which we'll get to later.