An interval is a pair of pitch classes $\{a,b\}$, and its quality is the quantity $q(a,b) = |a - b|$ mod 12. A minor third is an interval of quality 3, and a major third is an interval of quality 4. A triad is aan ordered triple of pitch classes $(a,b,c)$, where we always assume $a < b < c$ in the cyclic ordering. We are concerned with major and minor triads. A triad is major if $q(a,b) = 4$ and $q(b,c) = 3$, and a triad is minor if $q(a,b) = 3$ and $q(b,c) = 4$. (In other words, we always have $q(a,c) = 7$, and we call the triad major or minor depending on the quality of the interval $\{a,b\}$.) In music theory there are other triads, but for this answer I will use triad as a shorthand for major or minor triad.
The set of triads is a 24-element set, for a triad $(a,b,c)$ is completely characterized by its root note $a$ and its quality, major or minor. Thus it is convenient to parametrize triads as elements of the set $C_{12}\times C_2$. For some reason I would like to think of $C_2$ as the group of units of the ring $\mathbb{Z}$, forgive me. If $(a,b,c)$ is a major triad, it corresponds to the element $(a,+1) \in C_{12}\times C_2$. Likewise if $(a,b,c)$ is a minor triad, it corresponds to $(a,-1)$.
The action of transposition and inversion is maybe easiersimple to describe. Consider: consider the group of bijection of $C_{12}$$C_{12}\times C_2$ generated by
$$\begin{cases}\iota\colon n \mapsto -n & \mod 12 \\ \tau\colon n \mapsto n+ 1 & \mod 12. \end{cases}$$$$\begin{cases}\iota\colon (a,\pm 1) \mapsto (-c,\mp 1) = (-a-7,\mp 1) \\ \tau\colon (a,\pm 1) \mapsto (a+1,\pm 1). \end{cases}$$ Note(Here and throughout addition and subtraction are mod 12.)
Note that $q(\iota(a),\iota(b) = q(a,b)$ and$\iota$ has order $q(\tau(a),\tau(b)) = q(a,b)$$2$, $\tau$ has order $12$, and that $$\iota\tau\iota (a,\pm 1) = \iota\tau(-a-7,\mp 1) = \iota(-a-6,\mp 1) = (a-1,\pm 1) = \tau^{-1}(a,\pm 1),$$ so this action is a faithfuldefines an action of the dihedral group of order 24, which24—which I am fond of callingwriting as $D_{12}$ forbecause of its natural action on a 12$12$-element set, forgive me. Since this action preserves the quality of intervals, there is a diagonal action of $D_{12}$ onme—on the set of triads. In fact, because we know $\tau$ preserves the cyclic ordering and $\iota$ reverses it, we can describe the action completely as $$\begin{cases} \iota\colon (a,b,c) \mapsto (\iota(c),\iota(b),\iota(a)) \\ \tau\colon (a,b,c) \mapsto (\tau(a),\tau(b),\tau(c)).\end{cases}$$
The “P/L/R” action is maybe slightly more annoying for someone with zero familiarity with Western harmony—indeed, I already see some confusion about it in the comments from people with plenty of familiarity! To properly explain where this comes from takes us a little further afield, so let me just give definitions. As we saw above, any triad is completely determined by its root note and its quality. Thus we can parametrize a triad as an element of $C_{12}\times C_2$. For some reason, I would like to think of $C_2$ multiplicatively as the group of units of the ring $\mathbb{Z}$, forgive me. Thus the triad $(a,b,c)$ is sent to $(a,+1)$ if $q(a,b) = 4$ and to $(a,-1)$ if $q(a,b)=3$involved.
The parallel major/minor of a triad $(a,t) \in C_{12}\times C_2$$(a,\pm 1) \in C_{12}\times C_2$ is the triad $P(a,t) = (a,-t)$$P(a,t) = (a,\mp 1)$. Thus $P^2 = 1$, and $P(0,3,7) = (0,4,7)$.
The mediantleading-tone exchange of a triad is perhaps best described as follows. If $(a,b,c)$ is a triad, then its mediantmajor triad $L(a,b,c)$$(a,b,c)$ is the triad $(b,c,b+7)$$L(a,b,c) = (b,c,a-1)$. Thus if $(a,b,c)$ is a major triad, i.e$L(a,+1) = (b,-1)$. The $(a,b,c) \leadsto (a,+1)$, then the mediantleading-tone exchange of a minor triad $(a,b,c)$ is the triad $(b,-1)$$L(a,b,c) = (c+1,a,b)$. ConverselySo if $(a,b,c) \leadsto (a,-1)$, then the mediant$(a,b,c)$ is $(b,+1)$. From here you can easily reduce this to a map from $C_{12}\times C_2$ to itselfminor triad, it just requires cases to statethen $L(a,-1) = (c+1,+1)$. NoteOne checks that $L$ does not have order two$L^2 =1$.
The relative major/minor of a minor triad $(a,b,c)$ is again more easy to describe with music theory than directly as an action onthe triad $R(a,b,c) = (b,c,b+7)$—that is, if $(a,b,c)$ is a setminor triad, $R(a,-1) = (b,+1)$. The relative minor of a major triad is the inverse operation: $R(a,b,c) = (b-7,a,b)$, so I will content myself with describing it asif $R = L^{-1}$$(a,b,c)$ is a major triad, $R(a,+1) = (b-7,-1)$. Similarly one checks that $R^2 = 1$.
Unfortunately thereI claim that the action of $RL$ on major triads is a mistakegiven by $RL = \tau^7$. You can verify for yourself that(We are acting on the elementleft.) Indeed, suppose $L$ has order$(a,b,c)$ is a major triad. Then $24$$L(a,+1) = (b,-1)$, and thuswhich is the groupminor triad $\langle P,L,R\rangle$ cannot be the dihedral group of order$(b,c,b+7)$, so $24$$RL(a,+1) = R(b,-1) = (c,+1)$. Let me just show that
On the other hand, the action of $L$ does$LR$ on notminor triads is given by $LR = \tau^7$ (so on minor triads we have order $12$$RL = (LR)^{-1} = \tau^{-7}$). Recall thatIndeed, suppose $L$ inverts the quality of$(a,b,c)$ is a minor triad. Then $R(a,-1) = (b,+1)$, which is the major triad $(b,c,b+7)$, so $LR(a,-1) = L(b,+1) = (c,-1)$. Thus in both cases, the quality is preserved, and translates bythe root note has shifted up $4$ or by$7$ pitch classes.
Since $3$ according$7$ is relatively prime to $12$, $\langle R,L \rangle$ is a quotient of a group with presentation $\langle x,y \mid x^2 = y^2 = (xy)^{12} = 1\rangle$, and the qualitylatter is a presentation of $D_{12}$. I suppose one has to show that the triadaction is faithful; it is, but I’ll leave that to you. We see
I claim further that $L^2$ preserves the quality$L$ and has translated both by $4$ and by$R$ are sufficient to recover $3$$P$. I don’t immediately see a slick way of doing this, so I’ll leave it to you.
To show that each centralizes the other, it suffices to show that $\tau R = R\tau$, $\tau L = L\tau$, $\iota R = R\iota$, and thusfinally $L^2$ satisfies$\iota L = L\iota$. Let me maybe just talk through a tiny piece.
Suppose first $L^2 = \tau^7$$(a,b,c)$ is a minor triad. ThusThen
$$\tau R (a,-1) = \tau(b,+1) = (b+1,+1) = R(a+1,-1) = R\tau(a,-1).$$ The argument for a major triad is analogous.
On the other hand, note that $L^{12} = \tau^{6\cdot 7} = \tau^{42} = \tau^6$$L(a,-1) = (a-4,+1)$ and $L(a,+1) = (a+4,-1)$. Thus we have $$\iota L(a,-1) = \iota(a-4,+1) = (-a-3,-1) = L(-a-7,+1) = \iota(a,-1).$$ The argument for a major triad is analogous.
Of course, sinceeven buying the gaps I’ve left, this doesn’t show that these copies of $\tau$ has order$D_{12}$ are the $12$full centralizer of each other in $S_{24}$, but hopefully you have some ideas about how to prove it.