There's a zillion characters in Game of Thrones, even after a bunch of them have been brutally bumped off. But among the likes of Tyrion, Bran, Dany and pals, who's really the main character? A team of mathematicians used a power far beyond Melisandre's shadow magics to find out: the power of cold hard graphs. Macalester College associate professor of mathematics Andrew J. Beveridge and undergraduate student Jie Shan approached George R. R. Martin's book series with a set of scientific approaches dubbed "Network Science". It uses graph theory, economics, maths, sociology and a plethora of other disciplines to map out a vast, interconnected network between the characters that spread all over Westeros and Essos.
Using the third book in Martin's saga, A Storm of Swords, Beveridge and Shan created a huge character network, linking characters every time they appeared within 15 words of each other, weighted on whether or not said characters were in the same scene together. Nearly a thousand pages later, they had a map:
Unsurprisingly, the network spread the influence of characters pretty much where they were based in the books — Daenerys, isolated off in the East, Sansa and Tyrion down in the south in Kings Landing (among the likes of Cersei, Jamie and Tywin), Jon Snow far to the north and the then-alive Catelyn and Robb in the Western reaches of the Riverlands.
After ranking the characters through various methods, the three most common characters that could be perceived as the "main" stars of the series emerged: Sansa Stark, Jon Snow and — at the top in pretty much every measured regard — Tyrion Lannister.
It's not really that surprising — each chapter of a book in the series is told from the perspective of a different character, and Tyrion has the most chapters to his name across the whole saga. And of course, the data doesn't really weigh in importance to the overall story. Speaking to Quartz, Beveridge noted that because Daenerys is so isolated in Essos, she doesn't have as many connections as the characters based in Westeros, despite playing a huge role in the future of A Song of Ice and Fire's main arc:
Daenerys really represents the future — you can see what's about to happen based on the people she's linked with.
Still, it's a pretty fascinating insight into the focal points that the book series concentrates on — and it's always cool when these analytical concepts are turned towards our favourite fictional universes.
You can check out Beveridge and Shian's full paper, released in Maths Horizons, here.