Let ({p, q}, *) be a semigroup where p * p = q. Show that: a. p * q = q * p, and b. q * q = q.

GATE 1993 · Discrete Mathematics · Group Theory · medium

Answer: p*q = q*p and q*q = q both hold in the semigroup.

  1. Prove p*q = q*p by associativity: substitute q = p*p into p*q to get p*(p*p); regroup by associativity to (p*p)*p; substitute back q = p*p to get q*p, so p*q = q*p
  2. Prove q*q = q by closure and cases: q*q = (q*p)*p = (p*q)*p by part (a); closure forces p*q to be p or q. If p*q = p, then q*q = p*p = q. If p*q = q, then q*q = q*p = p*q = q. In both cases q*q = q