by slavik81 · 6y ago · 0 comments
In general, a family tree is a directed acyclic graph. Branches of the tree will always join back together if you follow the history far enough.
The number of ancestors in a generation is 2^N, with N being the number of generations back you're looking. There were only 100 billion people that ever lived, so by the time you get about a thousand years back, it becomes literally impossible for all your ancestors to appear only once.
Of course, that's just an easy upper bound to make the point that becoming a graph is unavoidable. In practice, branches will come together a lot sooner than that.
Though, you may need a cyclic directed graph for fictional family trees and time travel paradoxes.
The graph of civil relationships can certainly contain cycles. If the relationship in question is "is a legal parent of", for example, then adopt your parent.
The opportunities for cycles multiply if both blood and legal relationships are taken into account.