Binary Operations Introduction

The operations acted upon variables in Abstract Algebra is generalized.

For example, ab where is a generalized operator on two objects.

Definition 1.3 - Binary Operation

A binary operation on a set S is a function mapping S×S into S.

For every (a,b)S×S, we denote the element ((a,b)) of S as ab.

Intuitively, the usual addition operator + on R gives a binary operation on R.

The term binary refers to that we are mapping pairs of elements from S into S.

Example - Min Operation

On Z+ we define by ab as giving the smaller of a and b or the common value if a=b.
Intuitively then, =min(a,b).

Definition 1.4 - Closure

Let be an operation on S and let HS.
The subset H is closed under if for all a,bH we have abH.

The operation on H given by restricting to H is called the induced operation of on H.

Example - Distributive Property for Operation

Prove the following statement or give a counter example:

If and are two binary operations on S, then

a * (b *' c) = (a * b) *' (a * c)

This is shown false by giving the following counterexample.

Set =+ and = on the integers Z.

Then we have that a+(bc).
However, we have that a+(bc)(a+b)(a+c)
Since (a+b)(a+c)=bc.

Definition 1.11 Commutative Operation

An operation on a set S is commutative iff ab=ba for all a,bS.

Example - Min Commutative

min(a,b) is the same as min(b,a), so min is commutative

Definition 1.12 - Associative Operation

An operation on a set S is associative iff (ab)c=a(bc) for all a,b,cS

Function Composition

The composition of two functions is defined as (fg)(x)=f(g(x))

The composition is a binary operation on the set F of all real-valued functions f in R
because for every function f,gF we have a mapping from F×F into F by means of the composition of functions (fg)(x).

Theorem 1.13 - Associativity of Function Composition

Let S be a set and f,g,h be functions mapping S into S.

Then, f(gh)=(fg)h.

Proof idea: No matter which you simplify function composition of three functions (fg then h, or gh then f), you get the same value for all x in S.

Definition 1.14 - Identity Element

Let S be a set with binary operation .

If eS has the property that for all aS, ae=ea=a then e is called the identity element.

For example, a+0=0+a=a for all aZ.

Theorem 1.14 - Uniqueness of Identity Element

A set S with binary operation has at most one identity element.

Proof: Let S be a set with binary operation S. Suppose that e and e are both identity elements.
Then it follows that ee=e and also that ee=e.
As a result, we have that e=e, and there is only one identity element.

Definition 1.17 - Inverse

If is an operation on the set S and S has an identity e,

then for any xS, the inverse of x is an element x where

xx=xx=e.

Example - Equality of Inverse Function and Inverse Property for Group

Inverse function: IA={(x,x)|xA}

Using composition:
If f is a bijection, then g=f1 if and only if gf=IA or fg=IB.

Why do these definitions match up with the inverse property above?

Cayley Tables

Tables provide a visual way to assess binary operations using the following rule for operations:

(ith entry on the left) * (jth entry on top) = (entry in ith row and jth column)

Commutativity via Table

A binary operation is commutative if and only if the entries in the table are symmetric with respect to the diagonal from the upper left to bottom right.

Conditions for Binary Operations

  1. Binary operations must be defined everywhere for all elements on S
    (ab=ab is not defined on Q where b=0)

  2. Binary operations must yield only one value
    (Define operation on Z where ab=c and ca and cb, but there are infinitely many possibilities)

  3. Closure under (every operation must produce an element also in S)
    (ab=ab on Z+, but 12Z+)

Example

Determine whether defined by ab=2ab is a binary operation on R+.

Let a=1,b=4. Then ab=2(1)4=2 is not in R+.
Thus, this operation is not well-defined by condition 3 of closure.