Humans navigate complex social situations in deciding who to befriend or to abandon - a "frenemy" is someone who is both friend and enemy while the old military saying is that 'the enemy of my enemy is my friend'.

Animal social networks also use sophistication in judging social configurations and a new paper in Animal Behaviour applied a long-standing theory in social psychology called "structural balance."  

Structural balance theory considers the positive or negative ties between three individuals, or triads, and suggests that "the friend of my enemy is my enemy" triangle is more stable and should be more common than "the friend of my friend is my enemy" triangle. Another configuration, "the friend of my friend is my friend," is considered to also be a stable configuration in the social network. The last possible triangle, "the enemy of my enemy is my enemy," presages an unstable state, according to the theory.

The potential power of structural balance theory is its ability to predict patterns in the structure of the whole social network and also predict changes that occur over time, as unstable triads are expected to change to stable ones.

The researchers analyzed social bonds in behavioral data from a long-term study of the rock hyrax, a small mammal that lives in colonies across Africa and the Middle East. 

Frenemies exist in rock hyraxes too. To their credit, this shows social psychology paper can be written without surveys of college students. Credit: Matan Bogomolsky

"We all live in social networks of some kind, either online or offline, and we are interested in understanding how these groups form and dissolve and their internal dynamics, but while studying these human dynamics is important, it's also very difficult and in many cases impractical. So we study how sociality evolved in animals, which might offer us some insights into our own social behavior. And indeed, the structural balance theory that was developed to study human behavior appears to be relevant in animals as well," said the study's lead author Amiyaal Ilany, a postdoctoral fellow at the National Institute for Mathematical and Biological Synthesis.

In the study, the hyraxes tended to form balanced triads and changed unbalanced triads to balanced triads over time. However, new individuals in the population – new pups or males that migrate into the network – introduced social instability by often forming unbalanced triads, causing the network as a whole to retain some level of instability. The study also found that contrary to classical structural balance theory, the "enemy of my enemy is my enemy" configuration was actually a stable configuration.
The results suggest that structural balance may play a role in the evolution of social structures by selecting against specific configurations. Structural balance may also serve as a psychological mechanism that allows specific social structures to exist and that prevents cooperation between members of different groups.

The authors suggest that structural balance may be prevalent in other species as well.

"The results indicated that changes in social relationships are dependent not only on two individuals, but significantly on third parties, which underscores the importance of structural balance theory in explaining the evolution of complex natural social systems," Ilany said.