He marries his daughters, and they give him more daughters, and on and on it goes.

– Edison Tollett

During one of my usual afternoon discussions with fellow graduate students, we strayed on the precarious path of incest and argued as to where incest would fit on the nature vs nurture spectrum. I preferred to attribute the cultural embargo on incest to nurture, as incest had been widespread in antiquity, whereas my friend was of the opinion that the incest taboo is hard-wired in human beings, citing the near-universal forbiddance of sexual relations within close family.

This made me wonder about the sustainability of a population where the only means of population growth (for whatever reason) is incest. Those of you who watch/read Game of Thrones will be able to think of just such a population, the Craster’s keep. Craster (who the above quote refers to) is an old coot living beyond The Wall. He lives there with his daughters who are also his wives, i.e., he incestuously fathers new children with them. All new-born boys are given away (to the White Walkers) so that there is only one male in the house.

To model this population, I came up with the following recursion relation:

The notation in this equation is as follows: represents the population of females in the house and represents the number of years since the population started (so means the population of females in the year after start). I assume that the probability of a girl being born, the only gender contributing to population growth, is exactly a half (thus the ). I also assume that the Craster family moved to this house without any young ones and that a daughter turns into a wife and begins to contribute to population growth at the age of 15. Every eligible (for procreation) female in the house generates one healthy offspring per year under my assumption, thus the . I ignore some factors like fertility, menopause, etc. to keep the calculation simple.

The next thing I wanted was to get as a function of to see how this population changed over time. The standard method of solving such a recurrence relation involves finding the roots of the characteristic polynomial, so I did. And the roots turned out, not surprisingly, to be complex. If the roots are all distinct, the solution to the recurrence relation is

where the coefficients ‘s are determined by initial conditions. Here I made the assumption that Craster came with only one wife to the house. Then

The solution to recurrence relation written above can be cast into a matrix form:

where is the vector of coefficients , is the vector of female populations and is the Vandermonde matrix:

Since is known, I could calculate by inverting . It turns out that there is a neat algorithm that inverts a Vandermonde matrix faster than a standard Gaussian elimination.

Armed with , I could now get the population at any time. (for , where .) This is what the population looks like:

Fascinating! There is a nearly exponential increase in population after 15 years, around the time when there are more than one *wives* available to Craster. Moreover, It is mentioned that he had nineteen wives during the War of the Five Kings which, using this graph, suggests that it had been 38 years since Craster’s keep started. Assuming he moved there at the age of 20, he should have been 58 during the war. Frankly though, he looks rather old.

PS – 1. I haven’t read the books (I should!), so if any of my assumptions are factually wrong or if there are more details about Craster and his keep that can be explored with this model, let me know!

2. This is my first blog post, so if you spot any rookie mistakes, let me know!

EDIT: (11/23/14) An earlier version of this post erroneously assumed for . Thanks to Darkhan and Liliana for pointed out the error!

Nice post! I’ve never seen a transition from linear to exponential in a function that is not defined piecewise, actually I didn’t think that was possible!

LikeLiked by 1 person

Reblogged this on Martin Beroiz.

LikeLike