Inconsistency in the ordinal pairwise comparisons method
with and without ties
Abstract
Comparing alternatives in pairs is a well-known method of ranking creation. Experts are asked to perform a series of binary comparisons and then, using mathematical methods, the final ranking is prepared. As experts conduct the individual assessments, they may not always be consistent. The level of inconsistency among individual assessments is widely accepted as a measure of the ranking quality. The higher the ranking quality, the greater its credibility.
One way to determine the level of inconsistency among the paired comparisons is to calculate the value of the inconsistency index. One of the earliest and most widespread inconsistency indices is the consistency coefficient defined by Kendall and Babington Smith. In their work, the authors consider binary pairwise comparisons, i.e., those where the result of an individual comparison can only be: better or worse. The presented work extends the Kendall and Babington Smith index to sets of paired comparisons with ties. Hence, this extension allows the decision makers to determine the inconsistency for sets of paired comparisons, where the result may also be "equal." The article contains a definition and analysis of the most inconsistent set of pairwise comparisons with and without ties. It is also shown that the most inconsistent set of pairwise comparisons with ties represents a special case of the more general set cover problem.
keywords:
pairwise comparisons, consistency coefficient , inconsistency , AHP1 Introduction
The use of pairwise comparisons (PC) to form judgments has a long history. Probably the first who formally defined and used pairwise comparisons for decision making was Ramon Llull (the XIII century) [6]. He proposed a voting system based on binary comparisons. The subject of comparisons (alternatives) were people - candidates for office. Voters evaluated the candidates in pairs, deciding which one was better. In the XVIII century, Llull’s method was rediscovered by Condorcet [7], then once again reinvented in the middle of the XX century by Copeland [6, 8]. At the beginning of the XX century, Thurstone used the pairwise comparisons method (PC method) quantitatively [39]. In this approach, the result returned does not only contain information about who or what is better, but also indicates how strong the preferences are. Later, both approaches, ordinal (qualitative), as proposed by Llull, and cardinal (quantitative), as used by Thurstone, were developed in parallel. Comparing alternatives in pairs plays an important role in research into decision making systems [14, 17, 29], ranking theory [34, 21], social choice theory [38], voting systems [40, 12, 41] and others.
In general, the PC method is a ranking technique that allows the assessment of the importance (relevance, usefulness, competence level etc.) of a number of alternatives. As it is much easier for people to assess two alternatives at a time than handling all of them at once, the PC method assumes that, first, all the alternatives are compared in pairs, then, by using an appropriate algorithm, the overall ranking is synthesized. The choice of the algorithm is not easy and is still the subject of research and vigorous debate [35, 42, 28]. Of course, it also depends on the nature of the comparisons. The cardinal methods use different algorithms [19, 13] than the ordinal ones [21, 6, 20, 40]. Despite the many differences between ordinal and cardinal pairwise comparisons, both approaches have much in common. For example, both approaches use the idea of inconsistency among individual comparisons. The notion of inconsistency introduced by the pairwise comparisons method is based on the natural expectation that every two comparisons of any three different alternatives should determine the third possible comparison among those alternatives.
To better understand the phenomenon of inconsistency, let us assume that we have to compare three alternatives and with respect to the same criterion. If after the comparison of and it is clear to us that is more important than , and similarly, after comparing and it is evident that is more important than then we may expect that will also turn out to be more important than The situation in which is better than would raise our surprise and concern. That is because it seems natural to assume that the preferential relationship should be transitive. If it is not, we have to deal with inconsistency. As pairwise comparisons are performed by experts, who, like all human beings, sometimes make mistakes, the phenomenon of inconsistency is something natural. The ranking synthesis algorithm must take it into account. On the other hand, if a large number of such “mistakes” can be found in the set of paired comparisons, one can have reasonable doubts as to the credibility of the ranking obtained from such lower quality data.
Both ordinal and cardinal PC methods developed their own solutions for determining the degree of inconsistency. Research into the cardinal PC method resulted in a number of works on inconsistency indices. Probably the most popular inconsistency index was defined by Saaty in his seminal work on the Analytic Hierarchy Process (AHP) [34]. His work prompted others to continue the research [27, 32, 1, 37, 3, 5]. The ordinal PC methods also have their own ways of assessing the level of inconsistency. In their seminal work [26] Kendall and Babington Smith introduced the inconsistency index (called by the authors the consistency coefficient). Their index allows the inconsistency degree of a set composed of binary pairwise comparisons to be determined. The results obtained by the authors were the inspiration for many other researchers in different fields of science [23, 30, 31, 2, 4, 36].
Although the ordinal pairwise comparisons method is a really powerful and handy tool facilitating the right decision, in practice we very often face the problem that the two options seem to be equally important. In such a situation, we can try to get around the problem by a brute force method of breaking ties. For example, we can do this by “instructing the judge to toss a mental coin when he cannot otherwise reach a decision; or, allowing him the comfort of reserving judgment, we can let a physical coin decide for him” [9, p. 94 - 95]. It is clear, however, that instead of relying on more or less arbitrary methods of breaking ties, it is better to accept their existence and incorporate them into the model. Indeed, ties have been inextricably linked with the ranking theory for a long time [6, 25, 9]. The ordinal pairwise comparisons method with ties has its own techniques of synthesizing ranking [15, 10, 40]. In this perspective, research into the inconsistency of ordinal pairwise comparisons with ties is quite poor. In particular, the consistency coefficient as defined by [26] is not suitable for determining the inconsistency of PC with ties. The problem was recognized by Jensen and Hicks [22], and later by Iida [18]. These authors also made attempts to patch up this gap in the ranking theory, however, the fundamental question as to what extent the set of PC with ties can be inconsistent still remains unanswered.
The purpose of the present article is to answer this question, and thus to define the inconsistency index for the ordinal PC with ties in the same manner as Kendall and Babington Smith did [26] for binary PC. The definition of the inconsistency index is accompanied by a thorough study of the most inconsistent sets of pairwise comparisons with and without ties.
The article is composed of eight sections including the introduction and four appendices. The PC with ties is formally introduced in the next section (Sec. 2). For the purpose of modeling PC with ties, a generalized tournament graph has also been defined there. The most inconsistent set of binary PC is studied in (Sec. 3). It is also proven that the number of inconsistent triads in such a graph is determined by Kendall Babington Smith’s consistency coefficient. The next section (Sec. 4) describes how the most inconsistent set of PC with ties may look. Thus, it contains several theorems describing the quantitative relationship between the elements of the generalized tournament graph. Finally, in (Sec. 5) the most inconsistent set of PC with ties is proposed. The generalized inconsistency index for ordinal PC is also defined (Sec. 6). The penultimate section (Sec. 7) contains a discussion of the subject. In particular, the relationship between the maximally inconsistent set of PC and the NP-complete set cover problem [24] is shown. A brief summary is provided in (Sec. 8).
2 Model of inconsistency
Let us suppose we have a number of possible choices (alternatives, concepts) where we are able to decide only whether one is better (more preferred) than the other or whether both alternatives are equally preferred. In the first case, we will write that to denote that is more preferred than , whilst in the second case, to express that two alternatives and are equally preferred we write . The preference relationship is total. Hence, for every two and it holds that either , or . The relationship is reflexive and asymmetric. In particular, we will assume that if then not , and for every . It is convenient to represent the relationship of preferences in the form of an matrix.
Definition 1
The matrix where is said to be the ordinal PC matrix for alternatives if a single comparison takes the value when wins with (i.e. , if, reversely, is better than (i.e. and in the case of a tie between and (). The the diagonal values are .
The PC matrix is skew-symmetric except the diagonal, so that for every it holds that . An example of the ordinal PC matrix for five alternatives is given below (1).
(1) |
The PC matrix can be easily represented in the form of a graph.
Definition 2
A tournament graph (t-graph) with vertices is a pair where is a set of vertices and is a set of ordered pairs called directed edges, so that for every two distinct vertices and either or .
Let us expand the definition of a tournament graph so that it can also model the collection of pairwise comparisons with ties.
Definition 3
The generalized tournament graph (gt-graph) with vertices is a triple where is a set of vertices, is a set of unordered pairs called undirected edges, and is a set of ordered pairs called directed edges, so that for every two distinct vertices and either or or .
Wherever it increases the readability of the text the directed and undirected edges , , between are denoted as and correspondingly.
It is easy to see that every tournament graph can easily be extended to a generalized tournament graph where . Therefore, it will be assumed that every t-graph is also a gt-graph, but not reversely.
Definition 4
A family of t-graphs with vertices will be denoted as , where , and similarly, a family of gt-graphs with vertices will be denoted as , where
It is obvious that for every it holds that .
Definition 5
A family of gt-graphs with vertices and directed edges will be denoted as
Definition 6
A gt-graph is said to correspond to the ordinal PC matrix if every directed edge implies and , and every undirected edge implies .
Definition 7
All three mutually distinct vertices are said to be a triad. The vertex is said to be contained by a triad if . A triad is said to be covered by the edge if .
Sometimes it will be more convenient to write a triad as the set of edges, e.g. . However, both notations are equivalent, the latter one allows the reader to immediately identify the type of triad.
Definition 8

In their work, Kendall and Babington Smith dealt with the ordinal pairwise comparisons without ties [26]. Hence, in fact, they do not consider the situation in which . For the same reason, their ordinal PC matrices had no zeros anywhere outside the diagonal111In fact, those matrices had no zeros as the authors inserted dashes on the diagonal [26].. For the purpose of defining the notion of inconsistency in preferences, they adopt the transitivity of the preference relationship. According to this assumption, every triad of three different alternatives can be classified as consistent or inconsistent (contradictory). Providing that there are no ties between alternatives, there are two different kinds of triads (it is easy to verify that any other triad can be simply boiled down to one of these two by simple index changing). The first one and hereinafter referred to as the consistent triad222Index means that this kind of triad is formed by three directed edges. , and and termed hereinafter as the inconsistent triad (Fig. 2).


Of course, the more inconsistent the triads in the ordinal PC matrix, the more inconsistent the set of preferences, hence the less reliable the conclusions drawn from the set of paired comparisons. To determine how inconsistent the given set of paired comparisons is, Kendall and Babington Smith [26] provide the maximal number of inconsistent triads in the PC matrix without ties. Denoting the actual number of inconsistent triads in by , and the maximal possible number of inconsistent triads in PC matrix as , we have 333As every ordinal PC matrix corresponds to some tournament graph we also use the notation to express the number of inconsistent triads in it.:
(2) |
Therefore, the inconsistency index for defined in [26] is:
(3) |
Unfortunately, including ties into consideration significantly complicates the scene. Besides the two types of triads and we need to take into consideration an additional five:
-
- consistent triad of three equally preferred alternatives and such that and .
-
- inconsistent triad composed of three alternatives and such that and .
-
- inconsistent triad composed of three alternatives and such that and .
-
- consistent triad composed of three alternatives and such that and .
-
- consistent triad composed of three alternatives and such that and .
The above triads can be easily represented as tournament graphs with ties (Fig. 4). With the increased number of different types of triads in a graph, the maximum number of inconsistent triads also increases. For example, according to (2) the maximum number of inconsistent triads in without ties is . When ties are allowed, the maximal number of inconsistent triads increases to , which is the total number of triads in every simple graph (i.e. with only one edge between one pair of vertices) with four vertices.

Let us analyze the graph in (Fig 3). It is easy to notice that it contains four triads which are: {}, {}, {}, and {}. Thus, it is clear that the formulae (2) and (3) cannot be used to estimate inconsistency in preferences when ties are allowed. The desire to extend those concepts to paired comparisons with ties was the main motivation for writing the work.





3 The most inconsistent set of preferences without ties
To construct the most inconsistent set of pairwise preferences without ties, let us introduce a few definitions relating to the degree of vertices. Since every t-graph is also a gt-graph the definitions are formulated for the gt-graph.
Definition 9
Let be a gt-graph and . Then input degree, output degree, undirected degree and degree of a vertex are defined as follows: , , and .
Theorem 1
Let from . Then every vertex , for which is contained by at least consistent triads of the type or . Those triads are said to be introduced by .
Proof 1
Let be the vertices such that the edges are in . Since is a gt-graph with vertices, then for every where there must exist an edge , in or in . In the first two cases, the vertices make a consistent triad type , whilst in the latter case the vertices form a consistent triad type . Since there are vertices adjacent via the incoming edge to there are at least as many different consistent triads containing as two-element combinations of i.e. . See (Fig. 5).

In general, the given vertex can form more consistent triads than those indicated in the above theorem. This is due to the fact that there may be two or more edges in the form . Thus, in there may also be some number of consistent triads containing .
The Theorem 1 is also true for the ordinary tournament graph (without ties). However, since the only consistent triads in such a graph are type (i.e. there are no triads of the type or containing ), the only consistent triads containing are those introduced by . This leads to the following observation:
Corollary 1
Let from . Then every vertex , for which is contained by exactly consistent triads of the type .
Thus, if we would like to construct a tournament graph without ties which has the maximal number of inconsistent triads, we have to minimize the number of consistent triads introduced by the vertices, i.e.
(4) |
Since there are no other consistent triads in the tournament graph than those introduced by the vertices, the expression (5) denotes, in fact, the number of inconsistent triads in some . Thus,
(5) |
It is commonly known that the sum of degrees in any undirected graph equals [11, p. 5]. For the same reason in the sum of incoming edges into vertices is444Every directed edge corresponds to one victory. , i.e.:
(6) |
Hence, we would like to minimize (5) providing that the expression (6) holds. Intuitively is the largest (5) i.e. is the smallest (4) when the input degrees of vertices in a graph are the most evenly distributed555As it will be explained latter the input degrees are the most evenly distributed if for two different vertices holds that . .
Definition 10
A gt-graph with vertices is said to be maximal with respect to the number of inconsistent triads, or briefly maximal if it has the highest possible number of inconsistent triads among the gt-graphs with the size . The fact that the gt-graph is maximal will be denoted or , depending on whether ties are or are not allowed. and denote families of gt-graphs with the highest possible number of inconsistent triads, i.e.
(7) |
(8) |
Before we prove the Theorem (2) about the maximal t-graph let us notice that for it holds that:
(9) |
and
(10) |
The above expression (9) means that by adopting as the number of vertices in a graph, we may assign exactly incoming edges to every vertex in when is odd. Similarly (10), providing that is even, we can assign incoming edges to vertices and incoming edges to the next vertices.
Theorem 2
The number of inconsistent triads in the t-graph is maximal i.e. if and only if
-
1.
for every in when
-
2.
there are vertices in such that , and vertices such that , where and .
Proof 2
To prove the theorem, it is enough to show that (4) is minimized by the distributions of the vertex degrees mentioned in the thesis of the theorem. Let us suppose that and (4) is minimal but not all the vertices have input degrees equal . Thus, there must be at least one such that . Let us suppose that (the second case is symmetric). Formulae (6) and (9) imply that there must also be at least one such that . Therefore we can decrease and increase by one without changing the sum (6) just by replacing to . Since and is constant, the sum of consistent triads introduced by and (Theorem 1) is given as:
(11) |
Since is constant let
(12) |
The value decreases alongside a decreasing if
(13) |
which is true if and only if
(14) |
Since and the last statement is true, which implies that, by decreasing and increasing by one, we can decrease the expression (4). This fact is contrary to the assumption that (4) is minimal, but not all the vertices have input degrees equal .
The proof for is analogous to the case when except the fact that as we should adopt such a vertex for which and . Note that there must be one if we reject the second statement of the thesis and, at the same time, we claim that (4) is minimal. \qed
The proof of (Theorem 2) also suggests an algorithm that converts any tournament graph into a graph with the maximal number of inconsistent triads. In every step of such an algorithm, it is enough to find a vertex whose input degree differs from (when is odd) or differs from and (when is even) and decreases (or increases) its input degree in parallel with increases (or decreases) in the input degree of . If it is impossible to find such a pair () this means that the graph is maximal. The algorithm satisfies the stop condition as with every iteration the number of inconsistent triads in a graph gets higher whilst the total number of triads in a graph is bounded by
Kendall and Babington Smith [26] suggest a way of constructing the most inconsistent graph that brings to mind circulant graphs [33]. Namely, first add to a graph the cycle then the cycle if is even or two cycles and if is odd, and so on. Adding cycles with more and more skips needs to be continued until the insertion of all edges. An example of the maximally inconsistent graphs and can be found in (Fig. 6). Those graphs correspond to the matrices and (15).
(15) |
The Theorem 2 clearly indicates the form of the most inconsistent tournament graph, but it does not specify the number of inconsistent triads in such a graph. This number, however, can be easily computed using the formula (2). To see that the results obtained so far are consistent with (2) as defined in [26] let us prove the following theorem.
Theorem 3
For every t-graph where , which has the form defined by the Theorem 2 it holds that
(16) |
Proof 3
According to (5)
(17) |
Let and . Then due to (Theorem 2)
(18) |
(19) |
(20) |
(21) |
Similarly, when and . Then due to (Th. 2)
(22) |
(23) |
(24) |
which completes the proof of the theorem. \qed


The above theorem shows that the number of inconsistent triads in the tournament graph in which input degrees of their vertices are most evenly distributed is expressed by the formula provided by Kendall and Babington Smith [26]. This result, of course, is the natural consequence of the fact that such a graph is maximal as regards the number of inconsistent triads, as proven in (Theorem 2).
4 Properties of the most inconsistent set of preferences with ties
The graph representation of the set of paired comparisons with ties is the gt-graph. As it may contain two different types of edges, and hence, essentially more different kinds of triads (Fig. 4), the problem of finding the maximum number of inconsistent triads in such a graph is appropriately more difficult. The reasoning presented in this section is composed of three parts. In the first part, the properties of the gt-graph are discussed. Next, the maximally inconsistent gt-graph is proposed, and then, we prove that the proposed graph is indeed maximal with respect to the number of inconsistent triads.
The most straightforward example of the fully consistent gt-graph is a complete undirected graph of vertices (undirected -clique). It contains only undirected edges, thus all the triads contained in it are type . At first glance it seems that by successive replacing of undirected edges into directed ones we can make the graph more and more inconsistent. At the beginning, we will try to choose isolated edges i.e. those which are not adjacent to any directed edge. It is easy to observe that such edges alone cover different triads. Hence, by replacing isolated undirected edges into directed ones we increase the number of inconsistent triads by . Unfortunately, we can insert at most isolated directed edges (every isolated edge needs two vertices out of only for itself). Then we have to replace not isolated undirected edges into directed ones, and finally, we decide to make such replacements, which results in increasing the number of inconsistent triads in a graph, but also increases input degrees for some vertices. After several experiments carried out according to the above scheme, one may observe that it is not easy to choose the edge to replace. However, studying the above greedy algorithm is not useless. The first thing to notice is the fact that every gt-graph containing more than a certain number of edges should always have some number of consistent triads. Another finding is the observation that when constructing a maximal gt-graph one should strive to put at least one directed edge in each triad. Otherwise, the triad remains consistent, increasing the chance that the resulting gt-graph is not maximal. Both intuitive observations lead to the conclusion that the construction of the maximal gt-graph is a matter of finding a balance between too many directed edges resulting in the appearance of consistent triads of the type and and too few directed edges resulting in the existence of consistent triads of the type . Let us try to formulate this conclusion in a more formal way.
Theorem 4
Each gt-graph contains at least consistent triads of the type or where
(25) |
Proof 4
The theorem is a straightforward consequence of (Theorem 1 and 2). The first of them estimates the number of triads or for a given vertex, whilst the second one shows that the sum of triads or introduced by the vertices is minimal when the input degrees are evenly distributed. As we would like to determine the lower bound for the number of consistent triads in , we therefore have to assume that the input degrees are evenly distributed. Since there are directed edges in (it occurs that times one alternative is better than the other), then the sum of input degrees of vertices is . Therefore, adopting an even distribution postulate, every vertex has at least victories assigned (their input degree is at least ). Of course, the input degree of some of them may be larger by one. In other words, in the considered gt-graph there are vertices whose input degree is and vertices whose input degree might be . According to (Theorem 1) such a graph has at least consistent triads, where
(26) |
We know that the sum of input degrees of vertices is , so
(27) |
Hence,
(28) |
Therefore (26) can be written as
(29) |
which, after appropriate transformations leads to (25). \qed
The immediate consequence of (Lemma 4) is the following corollary:
Corollary 2
Each gt-graph contains at most
(30) |
inconsistent triads.
For the purpose of further consideration, let us denote by a set of all the triads in the gt-graph and by - a set of triads covered by directed edges. For brevity, we denote the sum as . In particular, it holds that . This allows the formulation of a quite straightforward but useful observation.
Corollary 3
As every two sets out of are mutually disjoint, then for every gt-graph it is true that
(31) |
Another important piece of information about the gt-graph follows from the number of undirected edges adjacent to particular vertices. Such edges may form the triads but may also form the triads (Fig. 7). This observation allows the number of both triad types to be estimated.

Lemma 1
For every gt-graph where it holds that
(32) |
Proof 5
Let be the undirected edges in adjacent to some . There are triads that contain . The type of triad depends on the edge . If then the triad belongs to whilst if then the triad is in . While calculating the sum every uncovered triad is counted three times as there are three vertices adjacent to two undirected edges forming the triad. For the same reason, the triads covered by one directed edge are taken into account only once. \qed
Similarly as before, we try to generalize the result (32) to all the graphs that have directed edges.
Lemma 2
For each gt-graph where it holds that
(33) |
where
(34) |
Proof 6
Similarly as in (Lemma 4) the left side of (32) is minimal if undirected degrees are evenly distributed among the vertices. As for every it holds that then . Thus, undirected degrees of vertices are evenly distributed if and only if the number of directed edges adjacent to the vertices are evenly distributed.
It is easy to see that in a gt-graph having directed edges the sum of input and output degrees is . Thus, for every graph that minimizes the left side of (32) it holds that:
(35) |
The above equality means in particular that in such a graph there are vertices for which and , and vertices for which and . This statement also implies that in every graph that minimizes the left side of (32) there are vertices for which and , and also vertices for which and .
Thus, for every the lower bound of is:
(36) |
Since from (35) equals
(37) |
Thus,
(38) |
The above expression simplifies to
(39) |
which completes the proof of the theorem. \qed
Through the analysis of the degree of vertices we can also estimate the value .
Lemma 3
For every gt-graph where it holds that
(40) |
Proof 7
Let be the directed edges in adjacent to some . There are triads that contain where , which are covered by two or three directed edges. While calculating the sum triads covered by two directed edges are counted once, whilst all the triads covered by three directed edges are counted three times. In the worst case scenario, all the considered triads are covered by three directed edges. Thus, is the lower bound for . This observation completes the proof. \qed
Similarly as before, let us extend the above Lemma to all gt-graphs that have vertices and directed edges.
Lemma 4
For each gt-graph where it holds that
(41) |
where
(42) |
Proof 8
Similarly as in (Lemma 2) the left side of (40) is minimal if the sum of input and output degrees of the vertices are evenly distributed. It is easy to see that in a gt-graph that has directed edges the sum of input and output degrees is . Thus, for every graph that minimizes the left side of (40) it holds that (35). This implies that in the gt-graph which minimizes the left side of (40) there should be vertices adjacent to directed edges and vertices adjacent to directed edges. Based on (40) we conclude that
(43) |
Applying (37) we obtain
(44) |
Hence,
(45) |
The above equation simplifies to
(46) |
Which completes the proof of the Lemma. \qed
The Corollary (3) and Lemmas (1 - 4) allow us to estimate the minimal number of consistent triads which are not covered by any directed edge.
Theorem 5
For each gt-graph where holds that
(47) |
where
(48) |
which is equivalent to
(49) |
Proof 9
According to (Corollary 3)
(50) |
Due to (Lemma 2) it holds that
(51) |
Therefore it is true that
(52) |
As we know (Lemma 4) that it is true that
(53) |
Hence,
(54) |
which, after simplifying, leads to
(55) |
Which completes the proof of the theorem. \qed
One can easily check that for fixed the values of decrease to then become negative, whilst is always a positive integer. Hence, the inequality (47) can also be written as:
(56) |
Both theorems 4 and 5 provide estimations for the minimal number of consistent triads in a gt-graph. Theorem 4 provides the lower bound for the number of triads and , whilst Theorem 5 provides the lower bound for the number of consistent triads . Hence, the number of consistent triads in the gt-graph cannot be lower than where
(57) |
Of course, its number could be even higher as we do not care about triads . The immediate consequence of the above expression is the observation that the number of inconsistent triads in the gt-graph cannot be higher than where:
(58) |
In particular, the most inconsistent gt-graph with some fixed can have as many inconsistent triads as the maximal value of the upper bounding function , i.e.
(59) |
Reversely, a gt-graph , which fits that maximum must be maximal i.e. wherever then . Through the experimental analysis of the upper bounding function we can see that for every fixed it has one distinct maximum (Fig. 8).


In the next section we propose the graph which fits the maximum of and formally prove indispensable theorems.
5 The most inconsistent set of preferences with ties
In order to find the maximal gt-graph, let us try to look at the function and the two functions and of which it is composed (Fig. 9). determines the minimal number of consistent triads covered by more than one directed edge. The more directed edges, the greater the number of consistent triads in a graph. Hence, for some small number of directed edges equals , then slowly begins to grow. The function indicates the minimal number of triads not covered by any directed edge. Those triads are also consistent. With the increase in the number of directed edges, their quantity decreases and eventually reaches . Since for the positive ordinates decreases faster than grows, then the function reaches the maximum when becomes . This indicates that in the optimal gt-graph all the triads should be covered by at least one directed edge. This requires the introduction of so many directed edges that the number of triads will become consistent thereby. However, the slope of both functions and indicates that it is more important to cover each triad than not to create too many consistent triads or .

The considerations in the previous section also indicate that directed edges should be evenly distributed. Otherwise, the gt-graph may not be maximal. The above somewhat intuitive considerations, based on the viewing functions in the figure, lead to the definition of the most inconsistent gt-graph.
Definition 11
A double tournament graph (hereinafter referred to as dt-graph), is a gt-graph such that and are t-graphs, where and .
It is easy to observe that in every dt-graph all triads are covered by directed edges (Lemma 6). Thus, for every dt-graph it holds that . This does not guarantee, however, the minimality of . Let us propose an improved version of the dt-graph, which, as will be shown later, indeed contains the maximal number of inconsistent triads.
Proposition 1
The dt-graph is the maximal dt-graph if and are maximal t-graphs where and .


In other words, we suppose that the dt-graph with vertices composed of two maximal t-graphs whose numbers of vertices are identical (when is even) or differ by one (when is odd) is maximal. Examples of such maximal dt-graph candidates can be found at (Fig. 10). The matrices that correspond to the graphs and are given as (60).
(60) |
Let us denote the number of directed edges in a maximal dt-graph candidate by . It is easy to see that:
(61) |
Corollary 4
It can be easily calculated that when is even i.e. and it holds that
(62) |
whilst when is odd i.e. and it holds that
(63) |
To determine the number of consistent/inconsistent triads in this “maximal gt-graph candidate” let us observe that all the consistent triads are in the two maximal tournament subgraphs. This observation can be written in the form of a short Lemma.
Lemma 5
For every dt-graph and a triad if and then is inconsistent.
Proof 10
Since and , there are two vertices from in one of the two sets and and one vertex from in the other set. Let us suppose that and . Since is a t-graph then the edge between and is directed. Due to the definition of dt-graph both edges and are undirected, hence is . \qed
The immediate conclusion can be written as the Lemma
Lemma 6
The dt-graph does not contain uncovered triads
Proof 11
Let us consider the dt-graph and a triad . If and then is inconsistent (Lemma 5), hence it cannot be uncovered. If all then all three edges are spanned between and . Hence, is covered. The proof is completed as all the other cases are similar. \qed
It is also easy to determine the number of inconsistent triads in the candidate graph. Due to (Theorem 3) the number of consistent triads in the maximal tournament sub-graphs are and correspondingly. Since there are no consistent triads in double tournament graphs, except those that are fully enclosed in the maximal tournament sub-graphs (Lemma 5), the number of inconsistent triads in the maximal gt-graph candidate is given as:
(64) |
To confirm that a dt-graph (Proposition 1) is indeed maximal we need to prove that
-
1.
the function reaches the maximum when the number of directed edges in a graph equals , and
-
2.
the maximum of equals
Therefore to make the Proposition 1 a fully fledged claim we prove (Theorem 6). However, before we start (Theorem 6) let us prove a couple of Lemmas which formally confirm what we have seen at (Fig. 9). The aim of the first Lemma (7) is a formal confirmation of the shape of the function . In particular, it confirms that crosses the x-axis at the same point where reaches the maximum i.e. for every fixed , is positive when , equals when and it is non-positive for .
Lemma 7
For every and it holds that:
(65) |
(66) |
(67) |
Proof 12
Proof of the Lemma, consisting of elementary but time consuming operations, can be found in (A).
The aim of the next Lemma is to show that is strictly increasing for every not smaller than and obviously not greater than the maximal number of edges in a gt-graph i.e. (Fig. 9). Thus, by adding more directed edges than we may only increase the minimal number of consistent triads of the types or .
Lemma 8
For every the function
-
1.
is constant and equals for every such that
-
2.
is strictly increasing for every such that , i.e.
(68)
Proof 13
Proof of the Lemma, consisting of elementary but time consuming operations, can be found in (B).
In every gt-graph with vertices and directed edges there are at least consistent triads or . This means that in this graph there are at most inconsistent triads. In particular the Lemma 9 shows that there is no gt-graph with vertices and directed edges which has more inconsistent triads than the maximal gt-graph defined in (Proposition 1).
Lemma 9
For every it holds that
(69) |
Proof 14
Proof of the Lemma, composed of elementary but time consuming operations, can be found in (C).
The next Lemma shows that the minimal number of consistent triads in a gt-graph decreases along with adding the next directed edges. Such a decrease continues as long as the number of directed edges does not reach the value . In other words, following the increasing number of directed edges (until there are less than ) the number of inconsistent triads also increases.
Lemma 10
For every the function is strictly decreasing for every such that , i.e.
(70) |
Proof 15
Proof of the Lemma, composed of elementary but time consuming operations, can be found in (D).
For every fixed the function determines the maximal possible number of inconsistent triads in every gt-graph.
The aim of the theorem below is to confirm that, indeed, the proposed dt-graph (Proposition 1) is a maximal gt-graph.
Theorem 6
For every dt-graph with vertices where and are maximal t-graphs and and and it holds that:
-
1.
maximizes , i.e.
(71) -
2.
is a maximum of
(72)
Proof 16
As (58) then the first claim of the theorem is equivalent to
(73) |
As (57) then the function is the sum of and . From (Lemma 8) we know that does not decrease with respect to . On the other hand, due to the (Lemma 7) for every , which translates to the observation that for every it holds that . Hence, for every the function does not decrease and boils down to . In other words
(74) |
This fact, coupled with (Lemma 10) i.e.
(75) |
implies that indeed
(76) |
which completes the proof of the first claim (71) of the Theorem 6. To prove the second claim it is enough to recall that for every it holds that . Thus, in particular
6 Inconsistency indices in paired comparisons with ties
As shown in (Section 2) the inconsistency index (called there “coefficient of consistence”) defined by Kendall and Babington Smith [26, p. 330] cannot be used in the context of ordinal pairwise comparisons with ties. Thus, in (3) needs to be replaced by - the maximal number of triads in the case when ties are allowed. The generalized inconsistency index that covers pairwise comparisons with ties finally takes the form
(78) |
where is an ordinal PC matrix with ties of the size (Def. 1) and G is a gt-graph corresponding to . The formula (78), although concise, may not be handy in practice. This is due to the use in (64) of the floor and ceiling operations as well as binomial symbol . For this reason, let us simplify (64) depending on whether and are odd or even. There are four cases that need to be considered:
(79) |
For example, to compute the inconsistency index for the ordinal PC matrix (1) (see Fig. 1) first it is necessary to compute the number of inconsistent triads in . Since (1) has five inconsistent triads: , , , and then . On the other hand, hence, the value is obtained by replacing with in the expression , i.e. . In other words, in the considered gt-graph (Fig. 1) five triads out of ten possible ones are inconsistent. The generalized consistency index for takes the form:
(80) |
Hence the inconsistency level for (1) is .
As every t-graph is also a gt-graph but not reversely (see Def. 2 and 3) then the generalized inconsistency index can also be used to estimate the inconsistency level of paired comparisons without ties. Conversely it is not possible.
Both inconsistency indices and compare the number of inconsistent triads in with the maximal number of such triads in a matrix of the same size as . Hence, for the maximally inconsistent matrix the index functions will return , whilst the inconsistency index for a fully consistent matrix is . The maximal value of the inconsistency index, of course, does not automatically imply that all the triads in the given matrix are inconsistent. To capture this phenomenon, let us define the absolute inconsistency index as a ratio of the number of inconsistent triads to the number of all possible triads in the matrix .
(81) |
Of course, . If, for example, then it would mean that contains consistent triads and inconsistent triads. The maximal value that may take is limited by and for t-graphs and gt-graphs correspondingly. Thus, for the larger matrices may never reach 1. Let us consider the first few values of and (Fig. 11).

We can see that for small graphs the percentage of inconsistent triads is higher than for the larger graphs. In particular, for there are such gt-graphs that have all triads inconsistent. However, there is only one t-graph which has all triads inconsistent. It is just a single triad. Although the percentage of inconsistent triads for both t-graph and gt-graph decrease, they seem to never drop below certain values. It is easy to compute that666Expression means that both . Similarly means that all four limits (see 79) equal . :
(82) |
In other words, although in the larger t-graphs and gt-graphs , there must always be consistent triads. Hence, it is impossible to create a completely inconsistent set of paired comparisons when the alternatives are more than (without ties) and (when ties are allowed). As we can see very often, consistent triads must exist. However, it should be remembered that the “guaranteed” number of consistent triads is limited. The expression (82) implies that at most of triads are “guaranteed” to be consistent without ties, and at most of triads are “guaranteed” to be consistent when ties are allowed.
Figuratively speaking, the possibility of a tie allows us to be much more inconsistent. However, we rarely have a chance to be completely inconsistent - only when there are “sufficiently few” alternatives. Fortunately, there is no limit to the number of consistent triads in a gt-graph. Hence, we can be as consistent (and as frequently) in our views as we want.
7 Discussion and remarks
To calculate the inconsistency index or the generalized inconsistency index for some ordinal PC matrix we need to determine the number of inconsistent triads in . The most straightforward method is to consider every single triad and decide whether it is consistent or not. Since in every complete set of paired comparisons for alternatives there are different triads, then the running time of such a procedure is . For t-graphs, however, there is a faster way to determine the number of inconsistent triads in a graph. As mentioned earlier, (5) denotes the number of inconsistent triads in some t-graph . To compute (5) we need to visit every vertex and determine its input degree. Computing for every requires visiting every edge twice. The first time when calculating , the second time when is calculated. Thus, determining requires operations. As then the actual running time of computation for (5) is . For this reason the inconsistency index can be determined faster than .
Looking at the different types of triads occurring in a gt-graph (Fig. 4), one may notice that a triad not covered by any directed edge is consistent, whilst a triad covered by one directed edge is always inconsistent (see Def. 7). Therefore the question arises as to whether it is possible to cover all triads by one directed edge. If not, what is the minimal number of directed edges covering all triads? Let us try to formally address this question. Denote the set of directed edges of some gt-graph by and the set of triads by . Of course, and . Then, let be a bipartite graph such that and . Hence, we would like to select the minimal subset of edges from whose elements cover (i.e. are connected to) every triad in .
Let us consider the problem for (Fig. 12a).


In such a case , , , , , , , , , and , , , , , , , , , . As every edge covers three different triads we may form the set . For example, a tripleton is an element of as all its elements are covered by edges etc. Thus, the question about the minimal subset of whose elements cover all the elements in , can be reformulated as follows: what is the minimal subset of such that the union of its elements equals ?
In general, we can not provide a satisfactory answer to such a question. The problem we formulate is called a set cover problem777Wikipedia may serve as a quick reference: https://en.wikipedia.org/wiki/Set_cover_problem and is one of Karp’s 21 NP-complete problems formulated in 1972 [24]. Fortunately, we are not dealing with a set cover problem as such, but with its special instance that can be called a “triads cover problem”. In the latter case, a maximal dt-graph comes to the rescue (1). The number of directed edges in the maximal dt-graph is . Due to (Lemma 7) we know that every gt-graph that has less than directed edges must contain at least one triad of the type . On the other hand, any maximal dt-graph does not contain uncovered triads (Lemma 6). This means that a maximal dt-graph is a minimal graph covering all triads by directed edges.
Let us consider the maximal dt-graph for . According to (Proposition 1), such a graph should be composed of two maximal subgraphs having and vertices. An instance of the first subgraph can be a triad and whilst the second subgraph is just a single edge . As the maximal dt-graph with vertices provides a minimal edge covering of triads in -clique then the minimal subset of that covers the entire is, for example, , , , , , , , and , , (Fig. 12).
8 Summary
In the presented article, the inconsistency index proposed by Kendall and Babington Smith [26] has been extended to cover pairwise comparisons with ties. For this purpose, the most inconsistent sets of pairwise comparisons with and without ties have been analyzed. To model pairwise comparisons with ties a generalized tournament graph has been defined. An additional absolute consistency index for pairwise comparisons with and without ties has also been proposed. The relationship between the maximally inconsistent set of pairwise comparisons with ties and the set cover problem has also been shown.
Acknowledgements
I would like to thank Prof. Andrzej Bielecki and Dr. Hab. Adam Sędziwy for their insightful comments, corrections and reading of the first version of this work. Special thanks are due to Ian Corkill for his editorial help. The research is supported by AGH University of Science and Technology, contract no.: 11.11.120.859.
Literature
References
- [1] J. Aguarón and J. M. Moreno-Jiménez. The geometric consistency index: Approximated thresholds. European Journal of Operational Research, 147(1):137 – 145, 2003.
- [2] S. Bozóki, L. Dezső, A. Poesz, and J. Temesi. Analysis of pairwise comparison matrices: an empirical research. Annals of Operations Research, 211(1):511–528, February 2013.
- [3] S. Bozóki, J. Fülöp, and W. W. Koczkodaj. An lp-based inconsistency monitoring of pairwise comparison matrices. Mathematical and Computer Modelling, 54(1-2):789–793, 2011.
- [4] M. Brunelli. On the conjoint estimation of inconsistency and intransitivity of pairwise comparisons. Operations Research Letters, 44(5):672–675, September 2016.
- [5] M. Brunelli, L. Canal, and M. Fedrizzi. Inconsistency indices for pairwise comparison matrices: a numerical study. Annals of Operations Research, 211:493–509, February 2013.
- [6] J. M. Colomer. Ramon Llull: from ‘Ars electionis’ to social choice theory. Social Choice and Welfare, 40(2):317–328, October 2011.
- [7] M. Condorcet. Essay on the Application of Analysis to the Probability of Majority Decisions. Paris: Imprimerie Royale, 1785.
- [8] A. H. Copeland. A “reasonable” social welfare function. Seminar on applications of mathematics to social sciences, 1951.
- [9] H. A. David. The method of paired comparisons. A Charles Griffin Book, 1969.
- [10] R. R. Davidson. On extending the Bradley-Terry model to accommodate ties in paired comparison experiments. Journal of the American Statistical Association, 65(329):317, 1970.
- [11] Reinhard Diestel. Graph theory. Springer Verlag, 2005.
- [12] P. Faliszewski, E. Hemaspaandra, L. A. Hemaspaandra, and J. Rothe. Llull and Copeland Voting Computationally Resist Bribery and Constructive Control. J. Artif. Intell. Res. (JAIR), 35:275–341, 2009.
- [13] M Fedrizzi and M Brunelli. On the priority vector associated with a reciprocal relation and a pairwise comparison matrix. Journal of Soft Computing, 14(6):639–645, 2010.
- [14] J. Figueira, M. Ehrgott, and S. Greco, editors. Multiple Criteria Decision Analysis: State of the Art Surveys. Springer, 2005.
- [15] W A Glenn and H A David. Ties in paired-comparison experiments using a modified Thurstone-Mosteller model. Biometrics, 16(1):86, 1960.
- [16] R. L. Graham, D. E Knuth, and O. Patashnik. Concrete Mathematics. Addison & Wesley, 1994.
- [17] S. Greco, B. Matarazzo, and R. Słowiński. Dominance-based rough set approach to preference learning from pairwise comparisons in case of decision under uncertainty. In Eyke Hüllermeier, Rudolf Kruse, and Frank Hoffmann, editors, Computational Intelligence for Knowledge-Based Systems Design, volume 6178 of Lecture Notes in Computer Science, pages 584–594. Springer Berlin Heidelberg, 2010.
- [18] Y. Iida. Ordinality consistency test about items and notation of a pairwise comparison matrix in AHP. In Proceedings of the international symposium on the …, 2009.
- [19] A. Ishizaka and M. Lusti. How to derive priorities in AHP: a comparative study. Central European Journal of Operations Research, 14(4):387–400, December 2006.
- [20] R. Janicki and W. W. Koczkodaj. A weak order approach to group ranking. Comput. Math. Appl., 32(2):51–59, July 1996.
- [21] R. Janicki and Y. Zhai. On a pairwise comparison-based consistent non-numerical ranking. Logic Journal of the IGPL, 20(4):667–676, 2012.
- [22] R. E. Jensen and T. E. Hicks. Ordinal data AHP analysis: A proposed coefficient of consistency and a nonparametric test. Math. Comput. Model., 17(4-5):135–150, February 1993.
- [23] J. B. Kadane. Some Equivalence Classes in Paired Comparisons. The Annals of Mathematical Statistics, 37(2):488–494, April 1966.
- [24] R. M. Karp. Reducibility among Combinatorial Problems. In Complexity of Computer Computations, pages 85–103. Springer US, Boston, MA, 1972.
- [25] M. G. Kendall. The treatment of ties in ranking problems. Biometrika, 33:239–251, November 1945.
- [26] M.G. Kendall and B. Smith. On the method of paired comparisons. Biometrika, 31(3/4):324–345, 1940.
- [27] W. W. Koczkodaj. A new definition of consistency of pairwise comparisons. Math. Comput. Model., 18(7):79–84, October 1993.
- [28] K. Kułakowski. On the properties of the priority deriving procedure in the pairwise comparisons method. Fundamenta Informaticae, 139(4):403 – 419, July 2015.
- [29] K. Kułakowski, K. Grobler-Dębska, and J. Wąs. Heuristic rating estimation: geometric approach. Journal of Global Optimization, 62(3):529–543, 2015.
- [30] A. Maas, T. Bezembinder, and P. Wakker. On solving intransitivities in repeated pairwise choices. Mathematical Social Sciences, 29(2):83–101, April 1995.
- [31] E. Parizet. Paired comparison listening tests and circular error rates. Acta acustica united with Acustica, 2002.
- [32] J.I. Peláez and M.T. Lamata. A new measure of consistency for positive reciprocal matrices. Computers & Mathematics with Applications, 46(12):1839 – 1845, 2003.
- [33] S. Pemmaraju and S. Skiena. Computational Discrete Mathematics - Combinatorics and Graph Theory with Mathematica. Cambridge University Press, January 2003.
- [34] T. L. Saaty. A scaling method for priorities in hierarchical structures. Journal of Mathematical Psychology, 15(3):234 – 281, 1977.
- [35] T. L. Saaty and G. Hu. Ranking by eigenvector versus other methods in the analytic hierarchy process. Applied Mathematics Letters, 11(4):121–125, 1998.
- [36] S. Siraj, L. Mikhailov, and J. A. Keane. Contribution of individual judgments toward inconsistency in pairwise comparisons. European Journal of Operational Research, 242(2):557–567, April 2015.
- [37] W. E. Stein and P. J. Mizzi. The harmonic consistency index for the Analytic Hierarchy Process. European Journal of Operational Research, 177(1):488–497, February 2007.
- [38] K. Suzumura, K. J. Arrow, and A. K. Sen. Handbook of Social Choice & Welfare. Elsevier Science Inc., 2010.
- [39] L. L. Thurstone. The Method of Paired Comparisons for Social Values. Journal of Abnormal and Social Psychology, pages 384–400, 1927.
- [40] T. N. Tideman. Independence of clones as a criterion for voting rules. Social Choice and Welfare, 4:185–206, 1987.
- [41] L. G. Vargas. Voting with Intensity of preferences. In 12th International Symposium on the Analytic Hierarchy Process, Kuala Lumpur, Malaysia, 2013. Creative Decision Foundation.
- [42] Ying-Ming Wang, C. Parkan, and Y. Luo. Priority estimation in the AHP through maximization of correlation coefficient. Applied Mathematical Modelling, 31(12):2711–2718, December 2007.
Appendix A Proof of Lemma 7
Thesis.
For every and it holds that:
Proof. Equation (65), part 1.
Let be even i.e. where . Thus, let us insert to (49) as the value and as the value . After a series of elementary transformations applied to (48) we obtain:
(82) |
Since then
(83) |
Thus,
(84) |
Which after reduction leads to
(85) |
Proof. Equation (65), part 2.
Let be odd i.e. where . Similarly, let us replace n in (49) by and by . After elementary transformations we obtain:
(86) |
Since , we can bound from above
(87) |
and below
(88) |
Therefore, when is a positive integer it is true that
(89) |
Then, after making further transformations it is easy to verify that:
(91) |
which completes the proof of (65).
Proof. Equation (66), part 1.
Let be even i.e. where . Thus, to prove that is greater than it is enough to show that for every and it holds that . Thus, let us insert to (49) as the value . After a series of elementary transformations applied to (48) we obtain:
(92) |
Let us observe that for the positive integer if then . In order to analyze let us replace by and define such that
(93) |
where for every . Of course, when it holds that
(94) |
As is linear with respect to then in order to check whether it is enough to check whether is greater than at both ends of the considered interval. So,
(95) |
and
(96) |
Since for it holds that and then
(97) |
Thus, for every where , . We just need to check for . In such a case . Thus takes the form:
(98) |
As then it is easy to verify that .
Since for every , where and for then also for and , which completes the first part of the proof.
Proof. Equation (66), part 2.
Let be even i.e. where . Thus, let us insert to (49) as the value and , where this time (see 63). After a series of elementary transformations applied to (48) we obtain:
(99) |
Since for every it holds 888A quick reference is https://en.wikipedia.org/wiki/Floor_and_ceiling_functions [16] that , and then
(100) |
It is easy to observe the relationship between and is:
if and only if , in other words, we require that
if and only if which translates to the interval:
if and only if , hence
and in general, if and only if , which translates to the interval for : .
Thus, instead of analyzing with respect to over the whole domain i.e. and we can analyze it in the subsequent intervals, in which the value is known and fixed.
Let us introduce the auxiliary function
(101) |
defined for such that . Hence,
(102) |
Moreover, is the highest when is . Thus, due to (89) it holds that . Therefore, we know that . Hence, instead of showing that for every , we prove that when for every .
Let us observe that is a decreasing function with respect to . That is because
(103) |
where . In particular, it is easy to verify that always for .
The above equalities justify the following estimation:
(104) |
Thus, to prove that for all admissible values of we need to check whether for .
So, applying the lower bound for , i.e. to (102) we obtain
(105) |
Let us denote . It is easy to observe that is a parabola with respect to . Since is greater than for , thus has the minimum with respect to when . I.e.
(106) |
i.e., when
(107) |
In other words, decreases for , then reaches the minimum999In fact, due to the diophantic nature of , its minimum is either at or . at , next starts to increase for . However, are defined for . Thus, it is clear that within the interval the function is strictly decreasing with respect to . Moreover, it is easy to verify that . Thus, to determine the minimal value of it is enough to check their value for .
Thus :
(108) |
Since, then it is easy to verify that . This implies that for every and such that . Hence, also for where , which completes the proof of (66).
Proof. Equation (67), part 1.
Let be even i.e. where . Since (4) to prove that is smaller than it is enough to show that for every integer such that and where it holds that . After a series of elementary transformations applied to (48) we obtain that:
(109) |
Let us consider the relationship between and . When it holds that , when it holds that and similarly, then it holds that . In general, when then . Of course, since then . Hence, instead of considering the function at once, we may analyze it in the intervals in which is known and constant. Let us define:
(110) |
It is easy to see that if for . Hence, instead of analyzing we will focus on the auxiliary function
The first observation is that is linear with respect to providing that and are known and fixed. Thus, the minimal value of with respect to within the interval is . In other words, it is enough to check that is greater than at both edges of the interval for . Let us consider at the lower bound, i.e. for .
(111) |
It is easy to verify that for every and the value . The function reaches when . Thus, for every such that .
Let us consider at the other end of interval, i.e. for .
(112) |
Similarly as above, we would like to show that for every admissible the function . Hence, let us rewrite with respect to .
(113) |
When considering as a polynomial with respect to one may notice that the coefficient at is negative () which means that is concave.
Let us denote . It is easy to compute that when . Since , thus reaches the maximum101010In fact, due to the diophantine nature of it reaches the maximum for or . for . Since the interval of is and also therefore the minimum of for is the smaller of the two and .
Hence
(114) |
Since for every it holds that then for every fixed and , which implies that also for , . Therefore for every for .
As when , then due to the arbitrary choice of it holds that for and . As one may observe, the above reasoning does not cover . This is the last “point interval” that needs to be considered. For we have
(115) |
Since then . Hence it is easy to verify that
(116) |
Which completes the first part of the proof of (67).
Proof. Equation (67), part 2.
Let be odd i.e. where . Since (4) to prove that is smaller than it is enough to show that for every integer such that and it holds that . After a series of elementary transformations applied to (48) we obtain:
(117) | ||||
(121) |
Since we may estimate the upper and the lower bound for as
(122) |
and
(123) | ||||
Let us denote . Thus, . Let us consider the relationship between and . It holds that wherever . Thus it is easy to determine that wherever .
Let us consider the function for such that . For this purpose, let us define
(124) |
It is easy to verify that
(125) |
providing that , , and . Hence, wherever then . Let us observe that is linear with respect to . Therefore it is enough to check the value of at the edges of the admissible interval for , and prove that those values are above in any possible interval determined by . For this purpose let us define
(126) |
for the lower bound, and
(127) |
for the upper bound. Hence
(128) |
(129) |
Let us reorganize the above equations with respect to :
(130) |
(131) |
Since both and have second degree polynomials with respect to , and the coefficients nearby are negative, then and are concave parabolas. Therefore and are not smaller than within the interval if they are not negative at both ends of the interval i.e. and . As the estimation (122) is not perfect, let us assume for a moment that is in , whilst the case we handle separately.
Let us examine (130).
(132) |
and
(133) |
Since both of the above equations are greater than . For (131) it is enough to assume that . Thus,
(134) |
and
(135) |
Similarly, it is easy to verify that both of the above expressions are non negative as .
At the end, let us explicitly calculate
(136) |
As is always non negative, then also in this case is non negative . Thereby for every it holds that which completes the proof of the Lemma 7
Appendix B Proof of the Lemma 8
Thesis.
For every the function :
-
1.
is constant and equals for every such that
-
2.
is strictly increasing for every such that , i.e.
Proof. Claim 1.
The first claim that for every such that is a direct consequence of the equation (25). It is enough to note that the right side of expression (25) is the product where the first part is . Hence, wherever the product often equals .
Proof. Claim 2.
Due to (Theorem 4) it holds that
(136) |
It is easy to observe that for some positive integer when then . Next, by increasing by one we get and . Then, for the values of our floored expressions change to , and then by increasing by one we get . Hence, there are two different intervals with respect to the values and . The first one in which both expressions have the same value, and the other one (composed of one point) in which their values differ by one. In general, we may observe that:
wherever then , and wherever then .
Let us define the auxiliary function by replacing in (136) by and by :
(137) |
The function can be rewritten with respect to , so
(138) |
It is easy to observe that
(139) |
where and . Thus, instead of analyzing for such that we analyze in two intervals and . This, due to the arbitrary choice of , would apply to over the whole interval .
Let us observe that is linear with respect to . Thus to prove that when are constant, one needs only to verify the value of at the ends of both intervals to which may belong. Thus, let us consider the first “point” interval . In this interval , thus:
(140) |
As , and thus . Hence,
(141) |
This supports the thesis of the theorem, i.e. , where . For both its ends we have:
(142) |
(143) |
As and then . Thus in both cases is strictly greater than . Hence, for every it holds that
(144) |
Due to the arbitrary choice of this statement completes the proof of the theorem.
Appendix C Proof of the Lemma 9
Thesis.
For every it holds that
Proof. Part 1.
Let ( is even, and is even), , hence and . Thus to prove (69) for even numbers we show that
(144) |
Since (64) reduces to:
(145) |
by elementary transformations one may show that (144) is equivalent to
(146) |
The above is true as for every .
Proof. Part 2.
Let ( is odd, is even, and is odd), , hence and . Thus to prove (69) for we show that
(147) |
Since (64) reduces to:
(148) |
by elementary transformations one may show that (147) is equivalent to
(149) |
Let us note that for every it holds111111compare with (89). that . Thus, the above equation can be written in the form
(150) |
which can be easily verified as true.
Proof. Part 3.
Let ( is even, is odd, and is odd) and Thus, to prove (69) for we show that
(151) |
Since (64) reduces to:
(152) |
by elementary transformations one may show that (151) is equivalent to
(153) |
As is an integer it is easy to show that (153) is true.
Proof. Part 4.
Let ( is odd is odd, and is even) and . Thus, to prove (69) for we show that
(154) |
by elementary transformations one may show that (154) is equivalent to:
(155) |
Since121212Let us notice that . The fact that for the expression is always smaller than , implies that . then the above expression can be written as:
(156) |
which can easily be verified as true. This also completes the proof of the Lemma 9.
Appendix D Proof of the Lemma 10
Thesis.
For every the function is strictly decreasing for every such that , i.e.
Proof of (70), part 1 (for even numbers)
Let (even), , hence , and . Note that, in particular, the last assumption implies that . Hence (70) can be written as:
(156) |
Let us denote . This allows us to denote
(157) |
Let us introduce the auxiliary function such that
(158) |
It is easy to verify that
(159) |
Let us try to investigate changes in the values and . To do so, let us create the following table:
interval of | ||||
---|---|---|---|---|
As we can see, there are four kinds of interval (hereinafter referred to as cases) that need to be considered with respect to . Every analyzed interval is parametrized by the auxiliary variable . By choosing arbitrarily we are able to analyze the function , and as follows , for every interesting . The cases we need to consider are:
Case | interval of | ||||
---|---|---|---|---|---|
1a | |||||
2a | |||||
3a | |||||
4a |
Case 1a
Let . As , then the candidate for the highest value of is the smallest integer for which , hence . This means that , hence . On the other hand, as and then . Since the second condition is more restrictive131313Note that we assume that . Let us denote
(160) |
Hence,
(161) |
The highest possible value of is , hence the minimal value of providing this constraint is i.e.
(162) |
Which is equivalent to
(163) |
Hence, it is clear that for the right side of the above equation is always greater than .
Case 2a
Let . Since then cannot be higher than the maximal integer which meets the inequality , i.e. . Let us calculate , for , and .
(164) |
As the maximal then
(165) |
which is equivalent to
(166) |
It is clear that for the right side of the above equation is always greater than .
Case 3a
Let
Since then is not higher than the maximal integer which meets the inequality , i.e. . Thus, , hence . On the other hand, also and . Thus should meet , i.e. . The second condition is more restrictive141414as hence we assume that . Let us calculate assuming , and . So,
(167) |
and thus,
(168) |
The highest allowed value of is , thus it is true that
(169) |
which is equivalent to
(170) |
It is clear that for the above equation is always greater than .
Case 4a
Let
Since then cannot be higher than the maximal integer which meets the inequality , i.e. . Let us calculate , by the assumptions that , and .
(171) |
Since the maximal is then
(172) |
which is equivalent to
(173) |
It is clear that for the above equation is always greater than . This remark completes the proof for .
Proof of (70), part 2 (for odd numbers)
Let (odd), , hence and . In particular, the last assumption implies that . When it holds that:
(174) |
Let us denote , , and . This allows us to simplify the above equation to
(175) |
Let us define:
(176) |
It is clear that
(177) |
Let us try to investigate changes in the values and . To do so, let us write down a few cases of each in the form of a table:
interval | |
---|---|
interval | |
---|---|
interval | |
---|---|
interval | |
---|---|
As we can see, there are four kinds of interval (hereinafter referred to as cases) that need to be considered with respect to . Every analyzed interval is parametrized by the auxiliary variable . By choosing arbitrarily we are able to analyze the function , and as follows , for every interesting . The cases we need to consider are:
Case | interval of | ||||
---|---|---|---|---|---|
b | |||||
b | |||||
b | |||||
b |
Case 1b
Let .
In general , thus and which implies (providing that ) that and should not be greater than the smallest integer that meets the inequality . This implies that , thus . On the other hand, and . This suggests that , i.e. . Since the second constraint is more restrictive151515as then we adopt
Thus, let us consider where, following the assumptions of case 1, , , and . It is easy to calculate that
(178) |
The highest possible is , hence it holds that
(179) |
which is true if and only if
(180) |
It is clear that the above expression is strictly higher than for .
Case 2b
Let
The highest possible value of is thus , hence, .
Let us consider where (see case 2) , , , and denote:
(181) |
Thus, we may calculate that
(182) |
Adopting the upper bound of we obtain
(183) |
which is equivalent to
(184) |
It is clear that the right side of the above expression is strictly higher than for .
Case 3b
Let . The highest possible value of is , thus the highest possible value of cannot be greater than the smallest positive integer for which . Hence , which implies that . Therefore . On the other hand, and . This suggests that . Since the first condition is more restrictive161616as then we assume that .
Let us consider where (following case 2) , , and . It is easy to calculate that
(185) |
The upper bound for is , thus
(186) |
which is equivalent to
(187) |
It is clear that the above expression is strictly higher than for .
Case 4b
Let . The highest possible value of is . Thus , which is equivalent to .
Let us consider where (see case 4) , , , and denote:
(188) |
It is easy to calculate that
(189) |
As the highest possible value of is then
(190) |
Which is equivalent to
(191) |
It is easy to verify that the above expression is strictly greater than for . The last observation completes the proof of the lemma.