Algebraic Structures


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.