mathematics of social marketing