The differential relations for Helmholtz free energy are
$$S = \left.-\left( \frac{\partial F}{\partial T} \right) \right|_{V,N}$$ $$P = \left.-\left( \frac{\partial F}{\partial V} \right) \right|_{T,N}$$ $$\mu_i = \left.\left( \frac{\partial F}{\partial N_i} \right) \right|_{T,V,N_{j\ne i}}$$
These are valid for a single-component system. I am wondering how differential relations change for multi-component systems.
Consider a system with fixed volume $V$ and particle count $N$ in thermal equilibrium with a reservoir of temperature $T$. It is divided into two subsystems 1 and 2, each having its own thermodynamic quantities $U_i, S_i, P_i, V_i, \mu_i, N_i$. The total Helmholtz energy is
$$F_{1,2}=F_1+F_2=U_1+U_2-T(S_1+S_2)$$
and its differential is
$$dF_{1,2}=-(S_1+S_2)dT-P_1dV_1-P_2dV_2+\mu_1dN_1+\mu_2dN_2$$
I am not sure what are differential relations for this system. It seems like there is no way to find $S_1$ and $S_2$ individually. I can only calculate the total entropy:
$$S_1+S_2=-\left(\frac{\partial F_{1,2}}{\partial T}\right)_{V_1,V_2,N_1,N_2}$$
Not sure if they are correct but I can calculate the other quantities without issues:
$$P_1 = \left.-\left( \frac{\partial F_{1,2}}{\partial V_1} \right) \right|_{T,V_2,N_1,N_2}$$ $$P_2 = \left.-\left( \frac{\partial F_{1,2}}{\partial V_2} \right) \right|_{T,V_1,N_1,N_2}$$ $$\mu_1 = \left.\left( \frac{\partial F_{1,2}}{\partial N_1} \right) \right|_{T,V_1,V_2,N_2}$$ $$\mu_2 = \left.\left( \frac{\partial F_{1,2}}{\partial N_2} \right) \right|_{T,V_1,V_2,N_1}$$