The acoustic-articulatory mapping and the variational method