Apply graph theory to social networks, investigating such issues as the handshake theorem, Ramsey's theorem, and the stable marriage theorem, which proves that in any equal collection of eligible men and women, at least one pairing exists for each person so that no extramarital affairs will take place.