An application of variational theory to an economicequilibrium problem