I am uncertain whether chemical potentials stay constant during chemical equilibrium.
Consider a closed container divided into two parts 1 and 2 filled with ideal gas particles. The barrier between parts 1 and 2 allows particle exchange.
The Gibbs energy for parts 1 and 2 are
$$G_1=N_1\mu_1$$ $$G_2=N_2\mu_2$$
The total Gibbs energy for the container is
$$G=G_1+G_2=N_1\mu_1+N_2\mu_2$$
which has differential
$$dG=(\mu_1-\mu_2)dN_1+N_1d\mu_1+N_2d\mu_2$$
At equilibrium,
$$(\mu_1-\mu_2)dN_1+N_1d\mu_1+N_2d\mu_2=0$$
It seems like the equilibrium conditions are
$$\mu_1=\mu_2$$
$$N_1d\mu_1=-N_2d\mu_2$$
(Not sure if it is necessarily true that $N_1d\mu_1=N_2d\mu_2=0$.)
What I can conclude from here is that in chemical equilibrium, 1 and 2 exchange the same number of particles, ie. 1 gains some particles from 2 but gives back the same amount of particles to 2 so that the net change is zero?
Is my reasoning correct? Are there any cases when chemical potentials stay constant during chemical equilibrium?