In general chemistry, we learn that the equilibrium constant, defined in terms of activities, for the reaction
$$\ce{aA + bB -> cD + dD}$$
is given by
$$K_\mathrm{eq} = \frac{(\ce{C})^c(\ce{D})^d}{(\ce{A})^a(\ce{B})^a} $$
But I can't find any explanation as to why stoichiometric coefficients should be exponentiated rather than appearing as coefficients in the equilibrium expression or something else.