I am trying to understand how the Gibbs energy change of a chemical reaction is computed and I do not understand why concentrations (mol/L) are used as a proxy for activity rather than mole fractions (mol/total mol).
From the Wikipedia article on the chemical potential, in an ideal solution, the chemical potential of the chemical species $i$ is expressed as
$$\mu_i \approx \mu_i^\circ + RT \ln x_i,$$
where $\mu_i^\circ$ is the chemical potential of species $i$ in standard state, $R$ is the gas constant, $T$ is the temperature and $x_i$ is the mole fraction of $i$ in the system. Because real solutions are not ideal, the activity of $i$ ($a_i = \gamma_i x_i$) is used rather than its mole fraction $x_i$ in the calculation of $\mu_i$.
When $T$ and $P$ are constant, the Gibbs energy change of a reaction is formulated as
$$\Delta_r G = \sum_i \mu_i dn_i,$$
where $dn_i$ is the change in the number of particles of $i$ caused by the reaction (its stoichiometric coefficient). Consequently;
$$\Delta_r G = \sum_i \mu_i^\circ \cdot dn_i + \sum_i dn_i \cdot RT \ln \gamma_i x_i.$$
$\sum_i \mu_i^\circ \cdot dn_i$ is equivalent to $\Delta_r G^\circ$, while $\sum_i dn_i \cdot RT \ln \gamma_i x_i$ is equivalent to $RT \ln Q$ in the more usual formulation $\Delta_r G = \Delta_rG^\circ + RT \ln Q$.
Molar concentration (mol of species per volume of solution) are often considered as a proxy for the activity of solute species, while partial pressures are used for gas species (which gives the "mass action ratio" $\Gamma$ instead of the reaction quotient $Q$). While partial pressures are a concept similar to mol fractions (they are fractions of a total), concentrations and mol fractions are not the same quantity and I do not think they scale the same way. So why are $\Delta_r G$ quantities often computed using concentrations instead of mole ratios?
EDIT: Thinking about it, I think I found a simple justification for the use of concentration as a proxy for activity.
Let's consider a fictive reaction $A \leftrightharpoons B$. The chemical potential change associated with this reaction is
$$\Delta_r \mu = \Delta \mu_B - \Delta \mu_A$$
$$\Delta_r \mu = \Delta \mu^\circ_B - \Delta \mu^\circ_A + RT \ln x_B - RT \ln x_A$$
$$\Delta_r \mu = \Delta \mu^\circ + RT \ln \frac{x_B}{x_A}$$
$$\Delta_r \mu = \Delta \mu^\circ + RT \ln Q$$
mole fractions $x_A$ and $x_B$ are respectively $\frac{n_A}{n_{total}}$ and $\frac{n_A}{n_{total}}$ with $n_{total} = n_A + n_B$, so $Q = \frac{n_B}{n_A}$ ($n_{total}$ cancels). Obviously $Q$ has the same value if concentrations ($\frac{n}{V}$) are used since the volume $V$ is the same for both species and then cancels itself. This justification is obvious for a 1:1 stoichiometry. However, with other stoichiometries, either $n_{total}$ or $V$ remains as a factor in $Q$ (to the power $\sum_i \nu_i$, where $\nu_i$ is the signed stoichiometric coefficient of species $i$). I am pretty sure that $n_{total}^{\sum_i \nu_i}$ is not always equal to $V^{\sum_i \nu_i}$; this is where the difference may happen.