GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 28(a)

Commuting products in a two-element semigroup

Discrete Mathematics · Algebraic Structures · Full GATE CSE 1993 paper

GATE 1993, Q28(a) Descriptive
Report issue

Algebraic Structures

Question 28(a), GATE 1993: In semigroup ({p,q},*) with p*p=q, prove p*q=q*p.
Question 28(a), GATE 1993: In semigroup ({p,q},*) with p*p=q, prove p*q=q*p.
Tap to enlarge
Answer & solution

Answer: Associativity gives p*(p*p)=(p*p)*p. (no official key was published)

A semigroup operation is associative. Substitute q=p*p into the left product: p*q=p*(p*p). Associativity permits regrouping this as (p*p)*p, and replacing p*p by q yields q*p. Thus the two mixed products coincide.

This argument does not assume that every semigroup is commutative; that is generally false. It works here because q is a power of p, and the two products are simply two parenthesizations of p*p*p. Their common value need not be determined to establish equality. In the two-element set it is either p or q, a fact used in the next part, but not needed for this equality itself.

Original paper, page 15