Mathematics of Generalized Versions of the Melitz, Krugman, and Armington Models with Detailed Derivations | AMiner