Competitive interactions in betaine compounds