Mathematical models of social networks, i.e., communities of interacting individuals, have existed for more than 50 years and have been used extensively by sociologists, behavioral scientists, and economists. The traditional focus has been on obtaining models that capture sociological effects like interpersonal influence (tendency of individuals to be influenced by others), homophily (tendency to associate with other individuals of similar behavior, opinions, and characteristics), polarization (tendency of a community to split into opposite factions), crowd effects (tendency to follow the opinion of the majority), echo chambers (tendency of an isolated community to self-amplify their beliefs), and so on. With the advent of online social med...