§ The cutest way to write semidirect products
Given two monoids (M,+,0M) and (N,×,1N), and a
homomorphism ϕ:N→End(M), where End(M)
is the endomorphism group of M. We will notate ϕ(n)(m) as n⋅m∈M.
Now the semidirect product M⋉ϕN is the set M×N equipped
with the multiplication rule:
- (m,n)(m′,n′)=(m+n⋅m′,nn′)
This can also be written down as:
[1m0n][1m′0n′]=[1m+n⋅m′0n×n′]
This way of writing down semidirect products as matrices makes many things
immediately clear:
- The semidirect product is some kind of "shear" transform, since that's what a shear transformation looks like, matrix-wise.
- The resulting monoid M⋉ϕN has identity (0M,1N), since for the matrix to be identity, we need the 2nd row to be (0,1).
- The inverse operation if (M,N) were groups would have to be such that
[1m+n⋅m′0n×n′]=[1001]
Hence:
- nn′=1 implies that n′=1/n.
- m+nm′=0 implies that m′=−m/n.
which is indeed the right expression for the inverse.