## On Generalizing Voting Systems and Methods

A while ago my mathematician friend Jim and I got into an email volley trying to decide which was the best voting method, and we touched upon many interesting ideas, including Arrow's theorem. I never knew the theory of voting was so developed, much less "complicated," but it is. Many people have come up with different ways to rank candidates as "fairly" as possible, for example, using the Schulze method.

Just recently I figured out on my own that a few voting methods can be summarized in a Markov chain, and also it would seem I have invented a ranking method that uses a dynamical equilibrium to rank candidates: in other words, the social "consensus" is the a steady-state vector extracted from a steady Markov matrix.

The idea could go like this (more really an example):

Imagine for a second that there are voters and candidates. These voters have a definite amount of "voting stock." It doesn't matter how much each actually owns, what matters is that at each "round" they will always trade a fixed proportion and give it to the candidates (who will (in this model) abstain from voting because they are being elected, or they will write themselves in as one of the voters). If you are keen, I am setting this up so that what we care about is the steady-state Markov matrix, (and so actual numbers of voting stock don't have an effect). Now at the first "round" the voters will only vote for the candidates and give them the proportion of stock they allotted to each, and the candidates on their part will "return" the stock they CURRENTLY hold EQUALLY among all the voters, abstaining from giving stock to any of the candidates (including themselves). So what results is a matrix with entries that are zero for "states" that relate voters to voters and candidates to candidates. An interesting oscillating Markov matrix results: high even powers show the proportion of stock that the candidates hold (steadily) when the stock is handed to them. On the other hand, high odd powers show what voters hold steadily. The ranking, the result of the voting, should be the steady-state even power candidate row (any).

Now the proportion handed to candidates can be fractional, or 1 (100 percent of the vote goes to a candidate). If all voters vote with 1, then a majority ranking results. On the other hand, fractional votes tend to accumulate in an interesting manner, as my friend Ben points out: at first I thought they accumulated as per usual geometric/convergent Markov rules, but Ben noticed that squaring the matrix actually stabilized it (for all subsequent even powers of the matrix). This wasn't immediately obvious to me, and the reason "why" was obscure.

More specifically. Suppose there are 3 voters, each giving 100 percent of their voting stock (or their one vote) to any of 2 candidates. Let's say voter 1 votes for candidate A, voter 2 for candidate A, and voter 3 for candidate B. The vector and its transpose describe the column and rows of the matrix:

Note how the candidate rows return an "even" fraction of the vote back to the voters. The idea again is that we are looking for the steady-state of a dynamical system, or, how the voting stock will be traded after a very long while: the ranking will be the fraction each candidate holds at equilibrium.

I used Octave (as you probably already know, I'm a big fan) to calculate matrix powers, and obtained, in fractions of a second, that

Note this is an even power matrix, and what we are interested in is one of the candidate rows (which should be identical). Candidate A receives of the vote and Candidate B receives , as is logical from a simple count of the fraction of the votes.

Now, the issue with the Schulze method is it asks for an actual rank as an input from the voters (than individual votes), so I've reinterpreted to mean that, if you are a voter, you divide your voting stock and trade in at each round a given different percent to each candidate. For example, let's say that there are candidates A, B, C, D, and E, and the preference of a particular voter is C>A>B>E>D. One issue is that we have no idea how much *more* one candidate is preferred over the other (a realm that belongs to the tricky subject of range voting, but I think Markov thinking summarizes most methods kind of nicely), so what I've done is I've said, OK, the voter has expressed his preference as CABED: if we divide up his 100 percent vote proportionately among the five candidates, perhaps the voter would agree to assign the vector to , his highest vote goes to C, and his lowest, to D.

I tried this out with Wikipedia's example of Schulze method ranking, and obtained similar results to the Schulze rank except for close-call-rankings, and so there are two major differences with Schulze method: at steady state, my ranking method ("Pasquali method") provides an actual number that can be renormalized on a scale (say, 1 to 5 for 5 candidates), so that close calls can be differentiated, and the other difference is that close calls may be different to the Schulze rank, but perhaps made identical by appropriate tweaking of per-voter fractional-vote-vector-choosing.

I think a social function ("Pasquali social function", "Pasquali rank") of rank like the one I have invented is quite novel in considering "rank" a steady-state vector of a dynamical system, the "votes" being an allotment of "percents" done *in time until a steady equilibrium is reached*, at which time candidates "hold," during their part of the round (even powers of the Markov matrix), the equilibrium fractional (percent) vote. Many other methods seek, for example, "centers of mass" for consensus rankings or estimates, where I look for the equilibrium trade at steady-state at infinite time, or a long time in the future.

Using the Wikipedia example:

Example (45 voters; 5 candidates):

- 5 ACBED (that is, 5 voters have order of preference: A > C > B > E > D)
- 5 ADECB
- 8 BEDAC
- 3 CABED
- 7 CAEBD
- 2 CBADE
- 7 DCEBA
- 8 EBADC

the Schulze preference is E>A>C>B>D. Expressed with the (above) fractional preference "strengths", and the appropriate vector for each voter, and *then* calculating the, say, 100th matrix power (or the second power), my numbers suggest the social preference: E>A>B>C>D, with fractional equilibrium vector E = 0.2178, A = 0.2119, B = 0.2030, C = 0.1985, D = 0.1689.

[**In talking to my friend Ben after I posted the original article, he made a very interesting observation: "This method you describe," he noted, "is much like one I studied freshman year in Game Theory that involves assigning votes to candidates, and is well-researched." The cool thing, in my opinion, is the fact that we can perhaps begin to understand these methods within the context of a dynamical system or Markov chain, and this brings together these methods under one umbrella of understanding.**]

[**My friend Ben also pointed out that squaring the matrix as I defined it actually stabilized it (at even powers), hence the parenthesis in the above matrix-power calculations. Since this was not really obvious to me, I started working it out. Here is the little lemma that resulted. Create the augmented Markov matrix (so that summing any row is 1) , which is rows by columns, and so the upper left zero matrix is , matrix is , is and the lower right zero matrix is . Note that the rows of and must sum to one by requirement (but they are not square matrices). Note then that we can take out the normalizing constant factor out of every entry of , that is, , so that , with contains the profile assignment of one integer in at each column. As we defined it, we can pull out similarly a normalizing constant factor out of every entry of , so that with contains a 1 at every entry. Next calculate , which products we can calculate because is and is . Now , but is a matrix that at every entry has the sum of positive integers, so if we pull these out we are left with where is a matrix whose entries are all ones. Thus we are left with . is trickier to calculate because this actually assigns the fraction of votes to each candidate. In effect we have , with is a matrix that has each column equal to the sum of (unnormalized) votes each candidate received (repeated every row). We have . Now we want to show that is this same matrix, so let's calculate by associativity of square matrices. We have . Note that is a square matrix whose entries are all , or in other words . The difficult bit is calculating . First, note that every row of has the same integer profile, and also every column has the same entry (different columns have different entries), like , so that , or . We must understand the sum correctly: it is asking us to sum a row of or, from another perspective, sum (down) the columns AND the resultant row of (summing down was how was produced in the first place). There is no reason why we can't exchange the order of summing, since is finite, so let's add its rows (right) first and then add down the resulting column. We already know that for every row adds up to , and furthermore we know there are of them, so that we have is the result of the sum. Thus, . If we are to rewrite as and factor the , we see that indeed . Now of course suppose . Then , as Ben rightly and keenly observed.**]

[**Lastly, to address Ben's correct objection that this method I've described is the normalized version of assigning votes to candidates, and that he thoroughly studied this method in his Harvard freshman year Game Theory course, let us not forget that we can create a different dynamical assignment that stabilizes in the usual geometric manner of a Markov chain, for example by relaxing the supposition that the candidates give back 100 percent of the vote they receive at each turn to each of the n voters. Perhaps they keep a fraction of the vote for themselves, say , and give back the remaining part of the vote equally to the voters, thus having the matrix with diagonal and all other entries are 0. Since this kind of system describes a different, richer possibility or scenario, I venture to disagree with Ben, who concludes this method doesn't really generalize known voting systems, and aver that my calculation method does actually generalize or absorb several others, including conventional and unconventional ones. **]

Whether this Pasqualian method is Condorcet and conforms to Arrow's theorem or not or passes certain conditions is something I would still like to analyze, perhaps in a future post.

An observation: mixed votes (some voting 100 percent, others fractions) is also possible.

Now, there is no reason why the matrix would be limited to a finite number of voters or candidates, by extending the matrix to a countably infinite by countably infinite matrix one could, theoretically, rank either a countably infinite number of candidates with finite number of voters or, on the other hand, rank a finite number of candidates with an countably infinite number of voters, as by a Kolmogorovian or Heisenbergian extension (since at the matrix-power level we would be dealing with sequences in , which converge). Exactly how this would be done is a little fuzzy to me at the moment, but that's probably because the call of the beautiful beach with a gamma of turquoise colors is kind of irresistible right now... Caribbean tan... here I come!