<?xml version='1.0'?>
<!DOCTYPE art SYSTEM 'http://www.biomedcentral.com/xml/article.dtd'>
<art>
   <ui>1748-7188-3-5</ui>
   <ji>1748-7188</ji>
   <fm>
      <dochead>Research</dochead>
      <bibl>
         <title>
            <p>On the optimality of the neighbor-joining algorithm</p>
         </title>
         <aug>
            <au id="A1">
               <snm>Eickmeyer</snm>
               <fnm>Kord</fnm>
               <insr iid="I1"/>
               <email>eickmeye@informatik.hu-berlin.de</email>
            </au>
            <au id="A2">
               <snm>Huggins</snm>
               <fnm>Peter</fnm>
               <insr iid="I2"/>
               <email>phuggins@math.berkeley.edu</email>
            </au>
            <au id="A3" ca="yes">
               <snm>Pachter</snm>
               <fnm>Lior</fnm>
               <insr iid="I2"/>
               <email>lpachter@math.berkeley.edu</email>
            </au>
            <au id="A4">
               <snm>Yoshida</snm>
               <fnm>Ruriko</fnm>
               <insr iid="I3"/>
               <email>ruriko.yoshida@uky.edu</email>
            </au>
         </aug>
         <insg>
            <ins id="I1">
               <p>Department of    Computer Science, Humboldt University, Unter den Linden  6, 10099 Berlin, Germany  </p>
            </ins>
            <ins id="I2">
               <p>Department of Mathematics, University of California at Berkeley Berkeley, CA 94720-3840, USA</p>
            </ins>
            <ins id="I3">
               <p>Department of Statistics, University of Kentucky Lexington, KY 40506, USA</p>
            </ins>
         </insg>
         <source>Algorithms for Molecular Biology</source>
         <issn>1748-7188</issn>
         <pubdate>2008</pubdate>
         <volume>3</volume>
         <issue>1</issue>
         <fpage>5</fpage>
         <url>http://www.almob.org/content/3/1/5</url>
         <xrefbib>
            <pubidlist>
               <pubid idtype="pmpid">18447942</pubid>
               <pubid idtype="doi">10.1186/1748-7188-3-5</pubid>
            </pubidlist>
         </xrefbib>
      </bibl>
      <history>
         <rec>
            <date>
               <day>13</day>
               <month>11</month>
               <year>2007</year>
            </date>
         </rec>
         <acc>
            <date>
               <day>30</day>
               <month>4</month>
               <year>2008</year>
            </date>
         </acc>
         <pub>
            <date>
               <day>30</day>
               <month>4</month>
               <year>2008</year>
            </date>
         </pub>
      </history>
      <cpyrt>
         <year>2008</year>
         <collab>Eickmeyer et al; licensee BioMed Central Ltd.</collab>
         <note>This is an Open Access article distributed under the terms of the Creative Commons Attribution License (<url>http://creativecommons.org/licenses/by/2.0</url>), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</note>
      </cpyrt>
      <abs>
         <sec>
            <st>
               <p>Abstract</p>
            </st>
            <p>The popular neighbor-joining (NJ) algorithm used in phylogenetics is a greedy algorithm for finding the balanced minimum evolution (BME) tree associated to a dissimilarity map. From this point of view, NJ is "optimal" when the algorithm outputs the tree which minimizes the balanced minimum evolution criterion. We use the fact that the NJ tree topology and the BME tree topology are determined by polyhedral subdivisions of the spaces of dissimilarity maps <inline-formula><m:math name="1748-7188-3-5-i1" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi mathvariant="script">R</m:mi><m:mo>+</m:mo><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aa0baaSqaaiabgUcaRaqaamaabmaabaqbaeqabiqaaaqaaiabd6gaUbqaaiabikdaYaaaaiaawIcacaGLPaaaaaaaaa@3BA1@</m:annotation></m:semantics></m:math></inline-formula> to study the optimality of the neighbor-joining algorithm. In particular, we investigate and compare the polyhedral subdivisions for <it>n </it>&#8804; 8. This requires the measurement of volumes of spherical polytopes in high dimension, which we obtain using a combination of Monte Carlo methods and polyhedral algorithms. Our results include a demonstration that highly unrelated trees can be co-optimal in BME reconstruction, and that NJ regions are not convex. We obtain the <it>l</it><sub>2 </sub>radius for neighbor-joining for <it>n </it>= 5 and we conjecture that the ability of the neighbor-joining algorithm to recover the BME tree depends on the diameter of the BME tree.</p>
         </sec>
      </abs>
   </fm>
   <bdy>
      <sec>
         <st>
            <p>1 Introduction</p>
         </st>
         <p>The popular neighbor-joining algorithm used for phylogenetic tree reconstruction <abbrgrp><abbr bid="B1">1</abbr></abbrgrp> has recently been "revealed" to be a greedy algorithm for finding the balanced minimum evolution tree associated to a dissimilarity map <abbrgrp><abbr bid="B2">2</abbr></abbrgrp>. This means the following:</p>
         <p>Let <inline-formula><m:math name="1748-7188-3-5-i2" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mi>D</m:mi><m:mo>=</m:mo><m:msubsup><m:mrow><m:mo>{</m:mo><m:msub><m:mi>d</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow></m:msub><m:mo>}</m:mo></m:mrow><m:mrow><m:mi>i</m:mi><m:mo>,</m:mo><m:mi>j</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow><m:mi>n</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiraqKaeyypa0Jaei4EaSNaemizaq2aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGG9bqFdaqhaaWcbaGaemyAaKMaeiilaWIaemOAaOMaeyypa0JaeGymaedabaGaemOBa4gaaaaa@3C4B@</m:annotation></m:semantics></m:math></inline-formula> be a dissimilarity map (this is an <it>n </it>&#215; <it>n </it>symmetric matrix with zeroes on the diagonals and non-negative real entries). The <it>balanced minimum evolution problem </it>is to find the unrooted binary tree <it>T </it>with <it>n </it>leaves that minimizes</p>
         <p>
            <display-formula id="M1">
               <m:math name="1748-7188-3-5-i3" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:mfrac>
                           <m:mn>1</m:mn>
                           <m:mrow>
                              <m:mrow>
                                 <m:mo>|</m:mo>
                                 <m:mrow>
                                    <m:mi>o</m:mi>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:mi>T</m:mi>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                                 <m:mo>|</m:mo>
                              </m:mrow>
                           </m:mrow>
                        </m:mfrac>
                        <m:mstyle displaystyle="true">
                           <m:munder>
                              <m:mo>&#8721;</m:mo>
                              <m:mrow>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:msub>
                                    <m:mi>x</m:mi>
                                    <m:mn>1</m:mn>
                                 </m:msub>
                                 <m:mo>,</m:mo>
                                 <m:mn>...</m:mn>
                                 <m:mo>,</m:mo>
                                 <m:msub>
                                    <m:mi>x</m:mi>
                                    <m:mi>n</m:mi>
                                 </m:msub>
                                 <m:mo stretchy="false">)</m:mo>
                                 <m:mo>&#8712;</m:mo>
                                 <m:mi>o</m:mi>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:mi>T</m:mi>
                                 <m:mo stretchy="false">)</m:mo>
                              </m:mrow>
                           </m:munder>
                           <m:mrow>
                              <m:mrow>
                                 <m:mo>[</m:mo>
                                 <m:mrow>
                                    <m:mfrac>
                                       <m:mn>1</m:mn>
                                       <m:mn>2</m:mn>
                                    </m:mfrac>
                                    <m:mstyle displaystyle="true">
                                       <m:munderover>
                                          <m:mo>&#8721;</m:mo>
                                          <m:mrow>
                                             <m:mi>i</m:mi>
                                             <m:mo>=</m:mo>
                                             <m:mn>1</m:mn>
                                          </m:mrow>
                                          <m:mi>n</m:mi>
                                       </m:munderover>
                                       <m:mrow>
                                          <m:msub>
                                             <m:mi>d</m:mi>
                                             <m:mrow>
                                                <m:msub>
                                                   <m:mi>x</m:mi>
                                                   <m:mi>i</m:mi>
                                                </m:msub>
                                                <m:msub>
                                                   <m:mi>x</m:mi>
                                                   <m:mrow>
                                                      <m:mi>i</m:mi>
                                                      <m:mo>+</m:mo>
                                                      <m:mn>1</m:mn>
                                                   </m:mrow>
                                                </m:msub>
                                             </m:mrow>
                                          </m:msub>
                                       </m:mrow>
                                    </m:mstyle>
                                 </m:mrow>
                                 <m:mo>]</m:mo>
                              </m:mrow>
                           </m:mrow>
                        </m:mstyle>
                        <m:mo>.</m:mo>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaadaabdaqaaiabd+gaVjabcIcaOiabdsfaujabcMcaPaGaay5bSlaawIa7aaaakmaaqafabaWaamWaaeaajuaGdaWcaaqaaiabigdaXaqaaiabikdaYaaakmaaqahabaGaemizaq2aaSbaaSqaaiabdIha4naaBaaameaacqWGPbqAaeqaaSGaemiEaG3aaSbaaWqaaiabdMgaPjabgUcaRiabigdaXaqabaaaleqaaaqaaiabdMgaPjabg2da9iabigdaXaqaaiabd6gaUbqdcqGHris5aaGccaGLBbGaayzxaaaaleaacqGGOaakcqWG4baEdaWgaaadbaGaeGymaedabeaaliabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabdIha4naaBaaameaacqWGUbGBaeqaaSGaeiykaKIaeyicI4Saem4Ba8MaeiikaGIaemivaqLaeiykaKcabeqdcqGHris5aOGaeiOla4caaa@5EB5@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>Here <it>o</it>(<it>T</it>) is the set of all cyclic permutations of the leaves that arise from planar embeddings of <it>T </it>and <it>x</it><sub><it>i </it></sub>are leaves of <it>T</it>. Denote by <inline-formula><m:math name="1748-7188-3-5-i4" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>p</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiCaa3aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdsfaubaaaaa@3154@</m:annotation></m:semantics></m:math></inline-formula> the set of internal vertices in a tree <it>T </it>on the path between <it>i </it>and <it>j</it>. Then (1) is equivalent to minimizing</p>
         <p>
            <display-formula id="M2">
               <m:math name="1748-7188-3-5-i5" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:mstyle displaystyle="true">
                           <m:munder>
                              <m:mo>&#8721;</m:mo>
                              <m:mrow>
                                 <m:mi>i</m:mi>
                                 <m:mi>j</m:mi>
                              </m:mrow>
                           </m:munder>
                           <m:mrow>
                              <m:msubsup>
                                 <m:mi>&#955;</m:mi>
                                 <m:mrow>
                                    <m:mi>i</m:mi>
                                    <m:mi>j</m:mi>
                                 </m:mrow>
                                 <m:mi>T</m:mi>
                              </m:msubsup>
                              <m:msub>
                                 <m:mi>d</m:mi>
                                 <m:mrow>
                                    <m:mi>i</m:mi>
                                    <m:mi>j</m:mi>
                                 </m:mrow>
                              </m:msub>
                           </m:mrow>
                        </m:mstyle>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaabuaeaacqaH7oaBdaqhaaWcbaGaemyAaKMaemOAaOgabaGaemivaqfaaOGaemizaq2aaSbaaSqaaiabdMgaPjabdQgaQbqabaaabaGaemyAaKMaemOAaOgabeqdcqGHris5aaaa@3AFC@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>where <inline-formula><m:math name="1748-7188-3-5-i6" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>&#955;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup><m:mo>=</m:mo><m:mstyle displaystyle="true"><m:msub><m:mo>&#8719;</m:mo><m:mrow><m:mi>v</m:mi><m:mo>&#8712;</m:mo><m:msubsup><m:mi>p</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup></m:mrow></m:msub><m:mrow><m:msup><m:mrow><m:mo stretchy="false">(</m:mo><m:mi>d</m:mi><m:mi>e</m:mi><m:mi>g</m:mi><m:mo stretchy="false">(</m:mo><m:mi>v</m:mi><m:mo stretchy="false">)</m:mo><m:mo>&#8722;</m:mo><m:mn>1</m:mn><m:mo stretchy="false">)</m:mo></m:mrow><m:mrow><m:mo>&#8722;</m:mo><m:mn>1</m:mn></m:mrow></m:msup></m:mrow></m:mstyle></m:mrow><m:annotation encoding="MathType-MTEF">
MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeq4UdW2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdsfaubaakiabg2da9maarababaGaeiikaGIaemizaqMaemyzauMaem4zaCMaeiikaGIaemODayNaeiykaKIaeyOeI0IaeGymaeJaeiykaKYaaWbaaSqabeaacqGHsislcqaIXaqmaaaabaGaemODayNaeyicI4SaemiCaa3aa0baaWqaaiabdMgaPjabdQgaQbqaaiabdsfaubaaaSqab0Gaey4dIunaaaa@49B5@</m:annotation></m:semantics></m:math></inline-formula> if <it>i </it>&#8800; <it>j </it>and <inline-formula><m:math name="1748-7188-3-5-i7" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>&#955;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup><m:mo>=</m:mo><m:mn>0</m:mn></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeq4UdW2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdsfaubaakiabg2da9iabicdaWaaa@339D@</m:annotation></m:semantics></m:math></inline-formula>. In <abbrgrp><abbr bid="B3">3</abbr></abbrgrp>, Day shows that choosing a minimizing tree for (2) from among the (2<it>n</it>-5)!! unrooted binary trees is an <it>NP</it>-hard problem. Yet it is desirable to find algorithms for minimizing (2) because of the following statistical interpretation:</p>
         <sec>
            <st>
               <p>Definition 1.1</p>
            </st>
            <p><it>Let T be a tree with n leaves and l</it>: <it>E</it>(<it>T</it>) &#8594; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><it>an assignment of lengths to the edges. Then the length l</it>(<it>T</it>) <it>of T is defined to be</it></p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i9" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mi>l</m:mi>
                           <m:mo stretchy="false">(</m:mo>
                           <m:mi>T</m:mi>
                           <m:mo stretchy="false">)</m:mo>
                           <m:mo>=</m:mo>
                           <m:mstyle displaystyle="true">
                              <m:munder>
                                 <m:mo>&#8721;</m:mo>
                                 <m:mrow>
                                    <m:mi>e</m:mi>
                                    <m:mo>&#8712;</m:mo>
                                    <m:mi>E</m:mi>
                                    <m:mo stretchy="false">(</m:mo>
                                    <m:mi>T</m:mi>
                                    <m:mo stretchy="false">)</m:mo>
                                 </m:mrow>
                              </m:munder>
                              <m:mrow>
                                 <m:mi>l</m:mi>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:mi>e</m:mi>
                                 <m:mo stretchy="false">)</m:mo>
                              </m:mrow>
                           </m:mstyle>
                           <m:mo>.</m:mo>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiBaWMaeiikaGIaemivaqLaeiykaKIaeyypa0ZaaabuaeaacqWGSbaBcqGGOaakcqWGLbqzcqGGPaqkaSqaaiabdwgaLjabgIGiolabdweafjabcIcaOiabdsfaujabcMcaPaqab0GaeyyeIuoakiabc6caUaaa@3FB1@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
         </sec>
         <sec>
            <st>
               <p>Theorem 1.2</p>
            </st>
            <p>(<abbrgrp><abbr bid="B4">4</abbr></abbrgrp>)<it>Let T be a binary tree with edge lengths given by l</it>: <it>E</it>(<it>T</it>) &#8594; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sub>+ </sub><it>and </it><inline-formula><m:math name="1748-7188-3-5-i2" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mi>D</m:mi><m:mo>=</m:mo><m:msubsup><m:mrow><m:mo>{</m:mo><m:msub><m:mi>d</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow></m:msub><m:mo>}</m:mo></m:mrow><m:mrow><m:mi>i</m:mi><m:mo>,</m:mo><m:mi>j</m:mi><m:mo>=</m:mo><m:mn>1</m:mn></m:mrow><m:mi>n</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiraqKaeyypa0Jaei4EaSNaemizaq2aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGG9bqFdaqhaaWcbaGaemyAaKMaeiilaWIaemOAaOMaeyypa0JaeGymaedabaGaemOBa4gaaaaa@3C4B@</m:annotation></m:semantics></m:math></inline-formula><it>a dissimilarity map. If the variance of d<sub>ij </sub>is proportional to </it><inline-formula><m:math name="1748-7188-3-5-i10" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mn>2</m:mn><m:mrow><m:mrow><m:mo>|</m:mo><m:mrow><m:msubsup><m:mi>p</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup></m:mrow><m:mo>|</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeGOmaiZaaWbaaSqabeaadaabdaqaaiabdchaWnaaDaaameaacqWGPbqAcqWGQbGAaeaacqWGubavaaaaliaawEa7caGLiWoaaaaaaa@35A1@</m:annotation></m:semantics></m:math></inline-formula><it>(i. e., var</it>(<it>d<sub>ij</sub></it>) = <inline-formula><m:math name="1748-7188-3-5-i11" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mi>c</m:mi><m:msup><m:mn>2</m:mn><m:mrow><m:mrow><m:mo>|</m:mo><m:mrow><m:msubsup><m:mi>p</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup></m:mrow><m:mo>|</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4yamMaeGOmaiZaaWbaaSqabeaadaabdaqaaiabdchaWnaaDaaameaacqWGPbqAcqWGQbGAaeaacqWGubavaaaaliaawEa7caGLiWoaaaaaaa@36F0@</m:annotation></m:semantics></m:math></inline-formula><it>for some constant c) then (2) is the minimum variance tree length estimator of T. Moreover, the weighted least squares tree length estimate is equal to (2)</it>.</p>
            <p>This result provides a weighted least squares rationale for the minimization of (2), and highlights the importance of understanding the <it>balanced minimum evolution polytope</it>:</p>
         </sec>
         <sec>
            <st>
               <p>Definition 1.3</p>
            </st>
            <p>
               <it>The balanced minimum evolution polytope is the convex hull of the vectors</it>
            </p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i12" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mrow>
                              <m:mo>{</m:mo>
                              <m:mrow>
                                 <m:mrow>
                                    <m:mo>[</m:mo>
                                    <m:mrow>
                                       <m:msubsup>
                                          <m:mi>&#955;</m:mi>
                                          <m:mrow>
                                             <m:mn>12</m:mn>
                                          </m:mrow>
                                          <m:mi>T</m:mi>
                                       </m:msubsup>
                                       <m:mo>,</m:mo>
                                       <m:msubsup>
                                          <m:mi>&#955;</m:mi>
                                          <m:mrow>
                                             <m:mn>13</m:mn>
                                          </m:mrow>
                                          <m:mi>T</m:mi>
                                       </m:msubsup>
                                       <m:mo>,</m:mo>
                                       <m:mn>...</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:msubsup>
                                          <m:mi>&#955;</m:mi>
                                          <m:mrow>
                                             <m:mi>i</m:mi>
                                             <m:mi>j</m:mi>
                                          </m:mrow>
                                          <m:mi>T</m:mi>
                                       </m:msubsup>
                                       <m:mo>,</m:mo>
                                       <m:mn>...</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:msubsup>
                                          <m:mi>&#955;</m:mi>
                                          <m:mrow>
                                             <m:mi>n</m:mi>
                                             <m:mo>&#8722;</m:mo>
                                             <m:mn>1</m:mn>
                                             <m:mo>,</m:mo>
                                             <m:mi>n</m:mi>
                                          </m:mrow>
                                          <m:mi>T</m:mi>
                                       </m:msubsup>
                                    </m:mrow>
                                    <m:mo>]</m:mo>
                                 </m:mrow>
                                 <m:mo>:</m:mo>
                                 <m:mi>T</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>i</m:mi>
                                 <m:mi>s</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>a</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>t</m:mi>
                                 <m:mi>r</m:mi>
                                 <m:mi>e</m:mi>
                                 <m:mi>e</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>w</m:mi>
                                 <m:mi>i</m:mi>
                                 <m:mi>t</m:mi>
                                 <m:mi>h</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>n</m:mi>
                                 <m:mtext>&#160;</m:mtext>
                                 <m:mi>l</m:mi>
                                 <m:mi>e</m:mi>
                                 <m:mi>a</m:mi>
                                 <m:mi>v</m:mi>
                                 <m:mi>e</m:mi>
                                 <m:mi>s</m:mi>
                              </m:mrow>
                              <m:mo>}</m:mo>
                           </m:mrow>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaiWaaeaadaWadaqaaiabeU7aSnaaDaaaleaacqaIXaqmcqaIYaGmaeaacqWGubavaaGccqGGSaalcqaH7oaBdaqhaaWcbaGaeGymaeJaeG4mamdabaGaemivaqfaaOGaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaeq4UdW2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdsfaubaakiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabeU7aSnaaDaaaleaacqWGUbGBcqGHsislcqaIXaqmcqGGSaalcqWGUbGBaeaacqWGubavaaaakiaawUfacaGLDbaacqGG6aGocqWGubavcqqGGaaicqWGPbqAcqWGZbWCcqqGGaaicqWGHbqycqqGGaaicqWG0baDcqWGYbGCcqWGLbqzcqWGLbqzcqqGGaaicqWG3bWDcqWGPbqAcqWG0baDcqWGObaAcqqGGaaicqWGUbGBcqqGGaaicqWGSbaBcqWGLbqzcqWGHbqycqWG2bGDcqWGLbqzcqWGZbWCaiaawUhacaGL9baaaaa@721A@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p><b>Example. </b>There are four trees with <it>n </it>= 4 leaves. They are the 3 binary trees and the star-shaped tree. In this case the balanced minimum evolution polytope is the convex hull of the vectors:</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i13" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mtable columnalign="left">
                              <m:mtr columnalign="left">
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mrow>
                                          <m:mo>[</m:mo>
                                          <m:mrow>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>2</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>2</m:mn>
                                             </m:mfrac>
                                          </m:mrow>
                                          <m:mo>]</m:mo>
                                       </m:mrow>
                                    </m:mrow>
                                 </m:mtd>
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mtext>T&#160;is&#160;the&#160;tree&#160;with&#160;leaves&#160;</m:mtext>
                                       <m:mn>1</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>2</m:mn>
                                       <m:mtext>&#160;seperated&#160;from&#160;</m:mtext>
                                       <m:mn>3</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>4</m:mn>
                                       <m:mo>,</m:mo>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                              <m:mtr columnalign="left">
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mrow>
                                          <m:mo>[</m:mo>
                                          <m:mrow>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>2</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>2</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                          </m:mrow>
                                          <m:mo>]</m:mo>
                                       </m:mrow>
                                    </m:mrow>
                                 </m:mtd>
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mtext>T&#160;is&#160;the&#160;tree&#160;with&#160;leaves&#160;</m:mtext>
                                       <m:mn>1</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>3</m:mn>
                                       <m:mtext>&#160;seperated&#160;from&#160;</m:mtext>
                                       <m:mn>2</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>4</m:mn>
                                       <m:mo>,</m:mo>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                              <m:mtr columnalign="left">
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mrow>
                                          <m:mo>[</m:mo>
                                          <m:mrow>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>2</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>2</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>4</m:mn>
                                             </m:mfrac>
                                          </m:mrow>
                                          <m:mo>]</m:mo>
                                       </m:mrow>
                                    </m:mrow>
                                 </m:mtd>
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mtext>T&#160;is&#160;the&#160;tree&#160;with&#160;leaves&#160;</m:mtext>
                                       <m:mn>1</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>4</m:mn>
                                       <m:mtext>&#160;seperated&#160;from&#160;</m:mtext>
                                       <m:mn>2</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>3</m:mn>
                                       <m:mo>,</m:mo>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                              <m:mtr columnalign="left">
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mrow>
                                          <m:mo>[</m:mo>
                                          <m:mrow>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>3</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>3</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>3</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>3</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>3</m:mn>
                                             </m:mfrac>
                                             <m:mo>,</m:mo>
                                             <m:mfrac>
                                                <m:mn>1</m:mn>
                                                <m:mn>3</m:mn>
                                             </m:mfrac>
                                          </m:mrow>
                                          <m:mo>]</m:mo>
                                       </m:mrow>
                                    </m:mrow>
                                 </m:mtd>
                                 <m:mtd columnalign="left">
                                    <m:mrow>
                                       <m:mtext>T&#160;is&#160;the&#160;star-shaped&#160;tree</m:mtext>
                                       <m:mo>.</m:mo>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                           </m:mtable>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeaabqGaaaaabaWaamWaaeaajuaGdaWcaaqaaiabigdaXaqaaiabikdaYaaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeGinaqdaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaI0aanaaGccqGGSaaljuaGdaWcaaqaaiabigdaXaqaaiabisda0aaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeGinaqdaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaaakiaawUfacaGLDbaaaeaacqqGubavcqqGGaaicqqGPbqAcqqGZbWCcqqGGaaicqqG0baDcqqGObaAcqqGLbqzcqqGGaaicqqG0baDcqqGYbGCcqqGLbqzcqqGLbqzcqqGGaaicqqG3bWDcqqGPbqAcqqG0baDcqqGObaAcqqGGaaicqqGSbaBcqqGLbqzcqqGHbqycqqG2bGDcqqGLbqzcqqGZbWCcqqGGaaicqaIXaqmcqGGSaalcqaIYaGmcqqGGaaicqqGZbWCcqqGLbqzcqqGWbaCcqqGLbqzcqqGYbGCcqqGHbqycqqG0baDcqqGLbqzcqqGKbazcqqGGaaicqqGMbGzcqqGYbGCcqqGVbWBcqqGTbqBcqqGGaaicqaIZaWmcqGGSaalcqaI0aancqGGSaalaeaadaWadaqaaKqbaoaalaaabaGaeGymaedabaGaeGinaqdaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaGccqGGSaaljuaGdaWcaaqaaiabigdaXaqaaiabisda0aaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeGinaqdaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaGccqGGSaaljuaGdaWcaaqaaiabigdaXaqaaiabisda0aaaaOGaay5waiaaw2faaaqaaiabbsfaujabbccaGiabbMgaPjabbohaZjabbccaGiabbsha0jabbIgaOjabbwgaLjabbccaGiabbsha0jabbkhaYjabbwgaLjabbwgaLjabbccaGiabbEha3jabbMgaPjabbsha0jabbIgaOjabbccaGiabbYgaSjabbwgaLjabbggaHjabbAha2jabbwgaLjabbohaZjabbccaGiabigdaXiabcYcaSiabiodaZiabbccaGiabbohaZjabbwgaLjabbchaWjabbwgaLjabbkhaYjabbggaHjabbsha0jabbwgaLjabbsgaKjabbccaGiabbAgaMjabbkhaYjabb+gaVjabb2gaTjabbccaGiabikdaYiabcYcaSiabisda0iabcYcaSaqaamaadmaabaqcfa4aaSaaaeaacqaIXaqmaeaacqaI0aanaaGccqGGSaaljuaGdaWcaaqaaiabigdaXaqaaiabisda0aaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeGOmaidaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaGccqGGSaaljuaGdaWcaaqaaiabigdaXaqaaiabisda0aaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeGinaqdaaaGccaGLBbGaayzxaaaabaGaeeivaqLaeeiiaaIaeeyAaKMaee4CamNaeeiiaaIaeeiDaqNaeeiAaGMaeeyzauMaeeiiaaIaeeiDaqNaeeOCaiNaeeyzauMaeeyzauMaeeiiaaIaee4DaCNaeeyAaKMaeeiDaqNaeeiAaGMaeeiiaaIaeeiBaWMaeeyzauMaeeyyaeMaeeODayNaeeyzauMaee4CamNaeeiiaaIaeGymaeJaeiilaWIaeGinaqJaeeiiaaIaee4CamNaeeyzauMaeeiCaaNaeeyzauMaeeOCaiNaeeyyaeMaeeiDaqNaeeyzauMaeeizaqMaeeiiaaIaeeOzayMaeeOCaiNaee4Ba8MaeeyBa0MaeeiiaaIaeGOmaiJaeiilaWIaeG4mamJaeiilaWcabaWaamWaaeaajuaGdaWcaaqaaiabigdaXaqaaiabiodaZaaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeG4mamdaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaIZaWmaaGccqGGSaaljuaGdaWcaaqaaiabigdaXaqaaiabiodaZaaakiabcYcaSKqbaoaalaaabaGaeGymaedabaGaeG4mamdaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaIZaWmaaaakiaawUfacaGLDbaaaeaacqqGubavcqqGGaaicqqGPbqAcqqGZbWCcqqGGaaicqqG0baDcqqGObaAcqqGLbqzcqqGGaaicqqGZbWCcqqG0baDcqqGHbqycqqGYbGCcqqGTaqlcqqGZbWCcqqGObaAcqqGHbqycqqGWbaCcqqGLbqzcqqGKbazcqqGGaaicqqG0baDcqqGYbGCcqqGLbqzcqqGLbqzcqGGUaGlaaaaaa@5203@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>The balanced minimum evolution polytope in this case is a triangle in <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup>6</sup>. Note that the star-shaped tree is in the interior of the triangle.</p>
            <p>For any dissimilarity map, the trees which minimize (2) will be vertices of the balanced minimum evolution polytope; these are always the binary trees. In fact, for such trees <inline-formula><m:math name="1748-7188-3-5-i14" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>&#955;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup><m:mo>=</m:mo><m:msup><m:mn>2</m:mn><m:mrow><m:mn>1</m:mn><m:mo>&#8722;</m:mo><m:mrow><m:mo>|</m:mo><m:mrow><m:msubsup><m:mi>p</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup></m:mrow><m:mo>|</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeq4UdW2aa0baaSqaaiabdMgaPjabdQgaQbqaaiabdsfaubaakiabg2da9iabikdaYmaaCaaaleqabaGaeGymaeJaeyOeI0YaaqWaaeaacqWGWbaCdaqhaaadbaGaemyAaKMaemOAaOgabaGaemivaqfaaaWccaGLhWUaayjcSdaaaaaa@3E58@</m:annotation></m:semantics></m:math></inline-formula>; this is Pauplin's formula <abbrgrp><abbr bid="B5">5</abbr></abbrgrp>.</p>
            <p>The BME polytope lies in <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula> and has dimension <inline-formula><m:math name="1748-7188-3-5-i16" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaeWaaeaafaqabeGabaaabaGaemOBa4gabaGaeGOmaidaaaGaayjkaiaawMcaaaaa@2FC2@</m:annotation></m:semantics></m:math></inline-formula> - <it>n</it>. The normal fan <abbrgrp><abbr bid="B6">6</abbr></abbrgrp> of the BME polytope gives rise to <it>BME cones </it>which form a polyhedral subdivision of the space of dissimilarity maps <inline-formula><m:math name="1748-7188-3-5-i1" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi mathvariant="script">R</m:mi><m:mo>+</m:mo><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aa0baaSqaaiabgUcaRaqaamaabmaabaqbaeqabiqaaaqaaiabd6gaUbqaaiabikdaYaaaaiaawIcacaGLPaaaaaaaaa@3BA1@</m:annotation></m:semantics></m:math></inline-formula>. They describe, for each tree <it>T</it>, those dissimilarity maps for which <it>T </it>minimizes (2). We provide an introduction to the necessary polyhedral combinatorics in Section 2, and discuss the polytope in more detail in Section 3.</p>
            <p>The neighbor-joining algorithm is a greedy algorithm for finding an approximate solution to (2). We omit a detailed description of the algorithm here &#8211; readers can consult <abbrgrp><abbr bid="B2">2</abbr></abbrgrp> &#8211; but we do mention the crucial fact that the selection criterion is linear in the dissimilarity map <abbrgrp><abbr bid="B7">7</abbr></abbrgrp>. Thus, the NJ algorithm will pick pairs of leaves to merge in a particular order and output a particular tree <it>T </it>if and only if the pairwise distances satisfy a system of linear inequalities, whose solution set forms a polyhedral cone in <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula>. We call such a cone a <it>neighbor-joining cone</it>. or <it>NJ cone</it>. The NJ algorithm will output a particular tree <it>T </it>if and only if the distance data lies in a union of NJ cones. In Section 4 we show that the NJ cones partition <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula>, but do not form a fan. This has important implications for the behavior of the NJ algorithm.</p>
            <p>Our main result is a comparison of the neighbor-joining cones with the normal fan of the balanced minimum evolution polytope. This means that we characterize those dissimilarity maps for which neighbor-joining, despite being a greedy algorithm, is able to identify the balanced minimum evolution tree. These results are discussed in Section 5.</p>
         </sec>
      </sec>
      <sec>
         <st>
            <p>2 Polyhedral preliminaries</p>
         </st>
         <p>In this section we will introduce some of the elementary polyhedral combinatorics necessary for this paper. For more details see <abbrgrp><abbr bid="B8">8</abbr></abbrgrp>.</p>
         <p>Let {<it>y</it><sub>1</sub>, <it>y</it><sub>2</sub><it>, ..., y</it><sub><it>m</it></sub>} be a finite set of points in <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d</it></sup>. An <it>affine linear combination </it>is a linear combination of the form</p>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i17" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:mtable>
                           <m:mtr>
                              <m:mtd>
                                 <m:mrow>
                                    <m:mi>y</m:mi>
                                    <m:mo>=</m:mo>
                                    <m:mstyle displaystyle="true">
                                       <m:munderover>
                                          <m:mo>&#8721;</m:mo>
                                          <m:mrow>
                                             <m:mi>i</m:mi>
                                             <m:mo>=</m:mo>
                                             <m:mn>1</m:mn>
                                          </m:mrow>
                                          <m:mi>m</m:mi>
                                       </m:munderover>
                                       <m:mrow>
                                          <m:msub>
                                             <m:mi>&#945;</m:mi>
                                             <m:mi>i</m:mi>
                                          </m:msub>
                                          <m:msub>
                                             <m:mi>y</m:mi>
                                             <m:mi>i</m:mi>
                                          </m:msub>
                                       </m:mrow>
                                    </m:mstyle>
                                    <m:mo>,</m:mo>
                                 </m:mrow>
                              </m:mtd>
                              <m:mtd>
                                 <m:mrow>
                                    <m:mtext>where</m:mtext>
                                 </m:mrow>
                              </m:mtd>
                              <m:mtd>
                                 <m:mrow>
                                    <m:mstyle displaystyle="true">
                                       <m:munderover>
                                          <m:mo>&#8721;</m:mo>
                                          <m:mrow>
                                             <m:mi>i</m:mi>
                                             <m:mo>=</m:mo>
                                             <m:mn>1</m:mn>
                                          </m:mrow>
                                          <m:mi>m</m:mi>
                                       </m:munderover>
                                       <m:mrow>
                                          <m:msub>
                                             <m:mi>&#945;</m:mi>
                                             <m:mi>i</m:mi>
                                          </m:msub>
                                          <m:mo>=</m:mo>
                                          <m:mn>1.</m:mn>
                                       </m:mrow>
                                    </m:mstyle>
                                 </m:mrow>
                              </m:mtd>
                           </m:mtr>
                        </m:mtable>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabeWaaaqaaiabdMha5jabg2da9maaqahabaGaeqySde2aaSbaaSqaaiabdMgaPbqabaGccqWG5bqEdaWgaaWcbaGaemyAaKgabeaaaeaacqWGPbqAcqGH9aqpcqaIXaqmaeaacqWGTbqBa0GaeyyeIuoakiabcYcaSaqaaiabbEha3jabbIgaOjabbwgaLjabbkhaYjabbwgaLbqaamaaqahabaGaeqySde2aaSbaaSqaaiabdMgaPbqabaGccqGH9aqpcqaIXaqmcqGGUaGlaSqaaiabdMgaPjabg2da9iabigdaXaqaaiabd2gaTbqdcqGHris5aaaaaaa@5093@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>A <it>convex linear combination </it>is an affine linear combination with nonnegative linear coefficients, i.e. <it>&#945;</it><sub><it>i </it></sub>&#8805; 0 for <it>i </it>= 1, ..., <it>m</it>. The <it>affine hull </it>of a set <it>C </it>&#8838; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>is the set of all affine linear combinations of vectors from <it>C</it>. The <it>convex hull </it>of <it>C </it>is the set of all convex linear combinations on vectors from <it>C</it>. A set is called <it>affinely closed </it>or an <it>affine space </it>if it equals its affine hull, and it is called <it>convex </it>if it equals its convex hull. Every affine space <it>A </it>&#8834; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>can be written as</p>
         <p>
            <display-formula><it>a </it>+ <it>V </it>= {<it>a </it>+ <it>v </it>: <it>v </it>&#8838; <it>V</it>}</display-formula>
         </p>
         <p>where <it>V </it>&#8838; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>is a subspace and <it>a </it>&#8712; <it>A</it>. <it>V </it>is uniquely determined by <it>A </it>and the <it>affine dimension </it>of <it>A </it>is defined to be the dimension of <it>V</it>.</p>
         <p>Given two distinct points <it>x</it>, <it>y </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d</it></sup>, the set [<it>x, y</it>] = {<it>&#945;x </it>+ (1 - <it>&#945;</it>)<it>y </it>: 0 &#8804; <it>&#945; </it>&#8804; 1} of all convex combinations of <it>x </it>and <it>y </it>is called the <it>interval </it>with endpoints <it>x </it>and <it>y</it>. Then <it>C </it>&#8834; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>is convex iff [<it>x, y</it>] &#8834; <it>C </it>for any two <it>x, y </it>&#8712; <it>C</it>.</p>
         <p>Let <it>A</it><sub>1</sub>, <it>A</it><sub>2</sub>, ..., <it>A</it><sub><it>N </it></sub>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>and let <it>b</it><sub>1</sub>, <it>b</it><sub>2</sub>, ..., <it>b</it><sub><it>N </it></sub>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula>. Then the set</p>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i18" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:mi>P</m:mi>
                        <m:mo>:</m:mo>
                        <m:mo>=</m:mo>
                        <m:mo>{</m:mo>
                        <m:mi>x</m:mi>
                        <m:mo>&#8712;</m:mo>
                        <m:msup>
                           <m:mi mathvariant="script">R</m:mi>
                           <m:mi>d</m:mi>
                        </m:msup>
                        <m:mo>:</m:mo>
                        <m:msub>
                           <m:mi>A</m:mi>
                           <m:mi>i</m:mi>
                        </m:msub>
                        <m:mo>&#8901;</m:mo>
                        <m:mi>x</m:mi>
                        <m:mo>&#8804;</m:mo>
                        <m:msub>
                           <m:mi>b</m:mi>
                           <m:mi>i</m:mi>
                        </m:msub>
                        <m:mtext>&#160;for&#160;</m:mtext>
                        <m:mi>i</m:mi>
                        <m:mo>=</m:mo>
                        <m:mn>1</m:mn>
                        <m:mo>,</m:mo>
                        <m:mn>2</m:mn>
                        <m:mo>,</m:mo>
                        <m:mn>...</m:mn>
                        <m:mo>,</m:mo>
                        <m:mi>N</m:mi>
                        <m:mo>}</m:mo>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiuaaLaeiOoaOJaeyypa0Jaei4EaSNaemiEaGNaeyicI48enfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaacqWGKbazaaGccqGG6aGocqWGbbqqdaWgaaWcbaGaemyAaKgabeaakiabgwSixlabdIha4jabgsMiJkabdkgaInaaBaaaleaacqWGPbqAaeqaaOGaeeiiaaIaeeOzayMaee4Ba8MaeeOCaiNaeeiiaaIaemyAaKMaeyypa0JaeGymaeJaeiilaWIaeGOmaiJaeiilaWIaeiOla4IaeiOla4IaeiOla4IaeiilaWIaemOta4KaeiyFa0haaa@5DF6@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>is called a <it>polyhedron</it>. The convex hull of a finite set of points in <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>is called a <it>polytope </it>and the Weyl-Minkowski Theorem says that a polytope is a bounded polyhedron <abbrgrp><abbr bid="B9">9</abbr></abbrgrp>. Polytopes are familiar objects in geometry. In the plane, polytopes are precisely the convex polygons. In <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup>3</sup>, examples of polytopes are shown in Figure <figr fid="F1">1</figr>. The dimension dim <it>P </it>of a polytope or polyhedron <it>P </it>is defined to be the dimension of the affine hull of <it>P</it>.</p>
         <fig id="F1">
            <title>
               <p>Figure 1</p>
            </title>
            <caption>
               <p>The four types of facets of <it>P</it></p>
            </caption>
            <text>
               <p>
                  <b>The four types of facets of <it>P</it>.</b>
               </p>
            </text>
            <graphic file="1748-7188-3-5-1"/>
         </fig>
         <p>A (<it>d </it>- 1) dimensional affine set in <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>is called a <it>hyperplane </it>and every hyperplane can be represented as {<it>x </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d</it></sup>: <it>n</it>&#183;<it>x </it>= <it>b</it>} for some <it>n </it>&#8800; 0 &#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>and <it>b </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula>, where <it>n</it>&#183;<it>x </it>is the dot-product of <it>n </it>and <it>x</it>. We call <it>n </it>a <it>normal vector </it>of this hyperplane.</p>
         <p>Let <it>H </it>:= {<it>x </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>: <it>h</it>&#183;<it>x </it>&#8804; <it>b</it>}, where <it>h </it>&#8800; 0 &#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>and <it>b </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula>, be an <it>affine half space</it>. Then if <it>P </it>&#8834; <it>H </it>and <it>P </it>&#8898; {<it>x </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d </it></sup>: <it>h</it>&#183;<it>x </it>= <it>b</it>} &#8800; &#8709;, then <it>H </it>is called a <it>supporting hyperplane </it>of <it>P</it>. A subset <it>F </it>of <it>P </it>is called a <it>face </it>if <it>F </it>= <it>P </it>or <it>F </it>= <it>P </it>&#8898; <it>H</it>, where <it>H </it>is a supporting hyperplane. Faces of polyhedra are polyhedra and faces of polytopes are polytopes.</p>
         <p>Faces of dimension 0 are called <it>vertices</it>, faces of dimension 1 are called <it>edges</it>, and faces of dimension <it>d </it>- 1 are called <it>facets</it>. The <it>f-vector </it>of <it>P </it>is the vector (<it>f</it><sub>0</sub>, <it>f</it><sub>1</sub>, <it>f</it><sub>2</sub>, ...), where <it>f</it><sub><it>i </it></sub>is the number of faces of dimension <it>i </it>of <it>P'</it>. For example, consider the 3-dimensional polytope labeled 'C' in Figure <figr fid="F1">1</figr>. This polytope has 6 vertices, 9 edges, and 5 facets (3 quadrilaterals and 2 triangles), and so its <it>f</it>-vector is (6, 9, 5).</p>
         <p>A polyhedron <it>C </it>is a <it>cone </it>if it can be written as</p>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i19" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:mi>C</m:mi>
                        <m:mo>=</m:mo>
                        <m:mrow>
                           <m:mo>{</m:mo>
                           <m:mrow>
                              <m:mstyle displaystyle="true">
                                 <m:munderover>
                                    <m:mo>&#8721;</m:mo>
                                    <m:mrow>
                                       <m:mi>i</m:mi>
                                       <m:mo>=</m:mo>
                                       <m:mn>1</m:mn>
                                    </m:mrow>
                                    <m:mi>N</m:mi>
                                 </m:munderover>
                                 <m:mrow>
                                    <m:msub>
                                       <m:mi>&#945;</m:mi>
                                       <m:mi>i</m:mi>
                                    </m:msub>
                                    <m:msub>
                                       <m:mi>y</m:mi>
                                       <m:mi>i</m:mi>
                                    </m:msub>
                                    <m:mo>:</m:mo>
                                    <m:msub>
                                       <m:mi>&#945;</m:mi>
                                       <m:mi>i</m:mi>
                                    </m:msub>
                                    <m:mo>&#8805;</m:mo>
                                    <m:mn>0</m:mn>
                                    <m:mtext>&#160;for&#160;</m:mtext>
                                    <m:mi>i</m:mi>
                                    <m:mo>=</m:mo>
                                    <m:mn>1</m:mn>
                                    <m:mo>,</m:mo>
                                    <m:mn>...</m:mn>
                                    <m:mo>,</m:mo>
                                    <m:mi>N</m:mi>
                                 </m:mrow>
                              </m:mstyle>
                           </m:mrow>
                           <m:mo>}</m:mo>
                        </m:mrow>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qamKaeyypa0ZaaiWaaeaadaaeWbqaaiabeg7aHnaaBaaaleaacqWGPbqAaeqaaOGaemyEaK3aaSbaaSqaaiabdMgaPbqabaGccqGG6aGocqaHXoqydaWgaaWcbaGaemyAaKgabeaakiabgwMiZkabicdaWiabbccaGiabbAgaMjabb+gaVjabbkhaYjabbccaGiabdMgaPjabg2da9iabigdaXiabcYcaSiabc6caUiabc6caUiabc6caUiabcYcaSiabd6eaobWcbaGaemyAaKMaeyypa0JaeGymaedabaGaemOta4eaniabggHiLdaakiaawUhacaGL9baaaaa@52DA@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>for some <it>y</it><sub>1</sub>, ..., <it>y</it><sub><it>N </it></sub>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d</it></sup>. This is equivalent to the existence of a matrix <it>A </it>&#8712; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>m </it>&#215; <it>n </it></sup>such that <it>C </it>= {<it>x </it>: <it>A</it><sub><it>x </it></sub>&#8805; 0}. A cone is <it>pointed </it>if its lineality space is {0}.</p>
         <p>Given a face <it>F </it>of a polytope P, the <it>normal cone N</it>(<it>F</it>) is the set of all vectors <it>c </it>for which <it>c</it>&#183;<it>v </it>= max<sub><it>x</it>&#8712;<it>P </it></sub><it>c</it>&#183;<it>x </it>for all <it>v </it>&#8712; <it>F</it>. The collection of relative interiors of normal cones of faces of <it>P </it>partition <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d</it></sup>, and for each face we have dim(<it>F</it>) + dim(<it>N</it>(<it>F</it>)) = <it>d</it>. The collection of normal cones of faces of <it>P </it>is called the <it>normal fan </it>of <it>P</it>.</p>
         <p>Given a polyhedron <it>P</it>, the <it>lineality space </it>of <it>P </it>is the set of vectors <it>v </it>for which <it>y </it>+ <it>c&#183;v </it>&#8712; <it>P </it>for all <it>y </it>&#8712; <it>P </it>and <it>c </it>&#8712; <it>R</it>. The largest such subspace is called <it>lineality space </it>of <it>P</it>. If a polyhedron <it>P </it>has lineality space <it>V</it>, we can let <it>V' </it>be the orthogonal complement <it>V' </it>(i.e. <it>V </it>&#8853; <it>V' </it>= <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sup><it>d</it></sup>) and consider the polyhedron <it>P' </it>:= <it>P </it>&#8898; <it>V'</it>, which has lineality space {0}.</p>
      </sec>
      <sec>
         <st>
            <p>3 The balanced minimum evolution polytope</p>
         </st>
         <p>Throughout this paper we work with binary unrooted trees on <it>n </it>leaves labeled {1, ..., <it>n</it>}. Such trees are also known as <it>phylogenetic X-trees</it>. We refer the reader to <abbrgrp><abbr bid="B10">10</abbr></abbrgrp> for more detail about such trees, and for related definitions. Recall there are 2<it>n </it>- 3 edges in an unrooted tree with <it>n </it>leaves. For a fixed tree topology <it>T</it>, let <it>B</it><sub><it>T </it></sub>be the <inline-formula><m:math name="1748-7188-3-5-i16" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaeWaaeaafaqabeGabaaabaGaemOBa4gabaGaeGOmaidaaaGaayjkaiaawMcaaaaa@2FC2@</m:annotation></m:semantics></m:math></inline-formula> &#215; (2<it>n </it>- 3) matrix with rows indexed by pairs of leaves and columns indexed by edges in <it>T </it>defined as follows:</p>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i20" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:msub>
                           <m:mi>B</m:mi>
                           <m:mi>T</m:mi>
                        </m:msub>
                        <m:mo stretchy="false">(</m:mo>
                        <m:mo>{</m:mo>
                        <m:mi>a</m:mi>
                        <m:mo>,</m:mo>
                        <m:mi>b</m:mi>
                        <m:mo>}</m:mo>
                        <m:mo>,</m:mo>
                        <m:mi>e</m:mi>
                        <m:mo stretchy="false">)</m:mo>
                        <m:mo>=</m:mo>
                        <m:mrow>
                           <m:mo>{</m:mo>
                           <m:mrow>
                              <m:mtable>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mrow>
                                          <m:mtext>if&#160;edge&#160;</m:mtext>
                                          <m:mi>e</m:mi>
                                          <m:mtext>&#160;is&#160;in&#160;the&#160;path&#160;from&#160;leaf&#160;</m:mtext>
                                          <m:mi>a</m:mi>
                                          <m:mtext>&#160;to&#160;leaf&#160;</m:mtext>
                                          <m:mi>b</m:mi>
                                          <m:mo>,</m:mo>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mrow>
                                          <m:mtext>otherwise</m:mtext>
                                          <m:mo>.</m:mo>
                                       </m:mrow>
                                    </m:mtd>
                                 </m:mtr>
                              </m:mtable>
                           </m:mrow>
                        </m:mrow>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOqai0aaSbaaSqaaiabdsfaubqabaGccqGGOaakcqGG7bWEcqWGHbqycqGGSaalcqWGIbGycqGG9bqFcqGGSaalcqWGLbqzcqGGPaqkcqGH9aqpdaGabaqaauaabmqaciaaaeaacqaIXaqmaeaacqqGPbqAcqqGMbGzcqqGGaaicqqGLbqzcqqGKbazcqqGNbWzcqqGLbqzcqqGGaaicqWGLbqzcqqGGaaicqqGPbqAcqqGZbWCcqqGGaaicqqGPbqAcqqGUbGBcqqGGaaicqqG0baDcqqGObaAcqqGLbqzcqqGGaaicqqGWbaCcqqGHbqycqqG0baDcqqGObaAcqqGGaaicqqGMbGzcqqGYbGCcqqGVbWBcqqGTbqBcqqGGaaicqqGSbaBcqqGLbqzcqqGHbqycqqGMbGzcqqGGaaicqWGHbqycqqGGaaicqqG0baDcqqGVbWBcqqGGaaicqqGSbaBcqqGLbqzcqqGHbqycqqGMbGzcqqGGaaicqWGIbGycqGGSaalaeaacqaIWaamaeaacqqGVbWBcqqG0baDcqqGObaAcqqGLbqzcqqGYbGCcqqG3bWDcqqGPbqAcqqGZbWCcqqGLbqzcqGGUaGlaaaacaGL7baaaaa@826B@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>For example, for the tree in Figure <figr fid="F2">2</figr>,</p>
         <fig id="F2">
            <title>
               <p>Figure 2</p>
            </title>
            <caption>
               <p>A tree with five leaves</p>
            </caption>
            <text>
               <p>
                  <b>A tree with five leaves.</b>
               </p>
            </text>
            <graphic file="1748-7188-3-5-2"/>
         </fig>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i21" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:msub>
                           <m:mi>B</m:mi>
                           <m:mi>T</m:mi>
                        </m:msub>
                        <m:mo>=</m:mo>
                        <m:mrow>
                           <m:mo>(</m:mo>
                           <m:mrow>
                              <m:mtable>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                                 <m:mtr>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>1</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                    <m:mtd>
                                       <m:mn>0</m:mn>
                                    </m:mtd>
                                 </m:mtr>
                              </m:mtable>
                           </m:mrow>
                           <m:mo>)</m:mo>
                        </m:mrow>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemOqai0aaSbaaSqaaiabdsfaubqabaGccqGH9aqpdaqadaqaauaabeqakCaaaaaaaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIWaamaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaeaacqaIWaamaeaacqaIXaqmaeaacqaIXaqmaeaacqaIWaamaeaacqaIWaamaaaacaGLOaGaayzkaaaaaa@72D9@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>where its rows are indexed by pairs of leaves (1, 2), (1, 3), (2, 3), (1, 4), (2, 4), (3, 4), (1, 5), (2, 5), (3, 5), (4, 5) and its columns are indexed by edges (1, <it>a</it>), (2, <it>a</it>), (3, <it>b</it>), (4, <it>c</it>), (5, <it>c</it>), (<it>a</it>, <it>b</it>), (<it>b</it>, <it>c</it>) with <it>a </it>is an internal node adjacent to leaves 1 and 2, <it>c </it>is an internal node adjacent to leaves 4, 5, and <it>b </it>is an internal node adjacent to nodes 3, <it>a </it>and <it>c</it>. Given edge lengths <it>l </it>: <it>E</it>(<it>T</it>) &#8594; <inline-formula><m:math name="1748-7188-3-5-i8" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mi mathvariant="script">R</m:mi><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHifaaa@36A5@</m:annotation></m:semantics></m:math></inline-formula><sub>+ </sub>we let <b>b </b>be the vector with components <it>l</it>(<it>e</it>) as <it>e </it>ranges over <it>E</it>(<it>T</it>). Any dissimilarity map <b>d </b>(encoded as a row vector) can now be written as</p>
         <p>
            <display-formula><b>d </b>= <it>B</it><sub><it>T </it></sub><b>b </b>+ <b>e</b></display-formula>
         </p>
         <p>where <b>e </b>is a vector of "error" terms that are zero when <b>d </b>is a tree metric.</p>
         <p>The weighted least squares solution for the edge lengths <b>b </b>assuming a variance matrix <it>V </it>with off-diagonal entries <inline-formula><m:math name="1748-7188-3-5-i22" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi>v</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow></m:msub><m:mo>=</m:mo><m:msubsup><m:mi>&#955;</m:mi><m:mrow><m:mi>i</m:mi><m:mi>j</m:mi></m:mrow><m:mi>T</m:mi></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemODay3aaSbaaSqaaiabdMgaPjabdQgaQbqabaGccqGH9aqpcqaH7oaBdaqhaaWcbaGaemyAaKMaemOAaOgabaGaemivaqfaaaaa@3708@</m:annotation></m:semantics></m:math></inline-formula> (as defined in the introduction) and dissimilarity map <b>d </b>is given by</p>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i23" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:mover accent="true">
                           <m:mi>b</m:mi>
                           <m:mo>^</m:mo>
                        </m:mover>
                        <m:mo>=</m:mo>
                        <m:msup>
                           <m:mrow>
                              <m:mo stretchy="false">(</m:mo>
                              <m:msubsup>
                                 <m:mi>B</m:mi>
                                 <m:mi>T</m:mi>
                                 <m:mi>t</m:mi>
                              </m:msubsup>
                              <m:msup>
                                 <m:mi>V</m:mi>
                                 <m:mrow>
                                    <m:mo>&#8722;</m:mo>
                                    <m:mn>1</m:mn>
                                 </m:mrow>
                              </m:msup>
                              <m:msub>
                                 <m:mi>B</m:mi>
                                 <m:mi>T</m:mi>
                              </m:msub>
                              <m:mo stretchy="false">)</m:mo>
                           </m:mrow>
                           <m:mrow>
                              <m:mo>&#8722;</m:mo>
                              <m:mn>1</m:mn>
                           </m:mrow>
                        </m:msup>
                        <m:msubsup>
                           <m:mi>B</m:mi>
                           <m:mi>T</m:mi>
                           <m:mi>t</m:mi>
                        </m:msubsup>
                        <m:msup>
                           <m:mi>V</m:mi>
                           <m:mrow>
                              <m:mo>&#8722;</m:mo>
                              <m:mn>1</m:mn>
                           </m:mrow>
                        </m:msup>
                        <m:mi>d</m:mi>
                        <m:mo>,</m:mo>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaacbeGaf8NyaiMbaKaacqGH9aqpcqGGOaakcqWGcbGqdaqhaaWcbaGaemivaqfabaGaemiDaqhaaOGaemOvay1aaWbaaSqabeaacqGHsislcqaIXaqmaaGccqWGcbGqdaWgaaWcbaGaemivaqfabeaakiabcMcaPmaaCaaaleqabaGaeyOeI0IaeGymaedaaOGaemOqai0aa0baaSqaaiabdsfaubqaaiabdsha0baakiabdAfawnaaCaaaleqabaGaeyOeI0IaeGymaedaaOGae8hzaqMaeiilaWcaaa@4551@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>where &#183;<sup><it>t </it></sup>denotes matrix transpose. The length of <it>T </it>with respect to the least squares edge lengths is then</p>
         <p>
            <display-formula><it>l</it>(<it>T</it>) = <b>v</b><sub><it>T</it></sub>&#183;<b>d</b>,</display-formula>
         </p>
         <p>where <inline-formula><m:math name="1748-7188-3-5-i24" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi>v</m:mi><m:mi>T</m:mi></m:msub><m:mo>=</m:mo><m:msup><m:mi>V</m:mi><m:mrow><m:mo>&#8722;</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:msub><m:mi>B</m:mi><m:mi>T</m:mi></m:msub><m:msup><m:mrow><m:mo stretchy="false">(</m:mo><m:msubsup><m:mi>B</m:mi><m:mi>T</m:mi><m:mi>t</m:mi></m:msubsup><m:msup><m:mi>V</m:mi><m:mrow><m:mo>&#8722;</m:mo><m:mn>1</m:mn></m:mrow></m:msup><m:msub><m:mi>B</m:mi><m:mi>T</m:mi></m:msub><m:mo stretchy="false">)</m:mo></m:mrow><m:mrow><m:mo>&#8722;</m:mo><m:mn>1</m:mn></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaacbeGae8NDay3aaSbaaSqaaiabdsfaubqabaGccqGH9aqpcqWGwbGvdaahaaWcbeqaaiabgkHiTiabigdaXaaakiabdkeacnaaBaaaleaacqWGubavaeqaaOGaeiikaGIaemOqai0aa0baaSqaaiabdsfaubqaaiabdsha0baakiabdAfawnaaCaaaleqabaGaeyOeI0IaeGymaedaaOGaemOqai0aaSbaaSqaaiabdsfaubqabaGccqGGPaqkdaahaaWcbeqaaiabgkHiTiabigdaXaaaaaa@4327@</m:annotation></m:semantics></m:math></inline-formula><b>1 </b>and <b>1 </b>is the vector of all 1's. We call the vectors <b>v</b><sub><it>T </it></sub>the balanced minimum evolution vectors (or BME vectors). In the case of Figure <figr fid="F2">2</figr>, the BME vector is</p>
         <p>
            <display-formula>
               <m:math name="1748-7188-3-5-i25" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:msub>
                           <m:mi>v</m:mi>
                           <m:mi>T</m:mi>
                        </m:msub>
                        <m:mo>=</m:mo>
                        <m:mrow>
                           <m:mo>[</m:mo>
                           <m:mrow>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>2</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>4</m:mn>
                              </m:mfrac>
                              <m:mo>,</m:mo>
                              <m:mfrac>
                                 <m:mn>1</m:mn>
                                 <m:mn>2</m:mn>
                              </m:mfrac>
                           </m:mrow>
                           <m:mo>]</m:mo>
                        </m:mrow>
                        <m:mo>.</m:mo>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaacbeGae8NDay3aaSbaaSqaaiabdsfaubqabaGccqGH9aqpdaWadaqaaKqbaoaalaaabaGaeGymaedabaGaeGOmaidaaOGaeiilaWscfa4aaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaI0aanaaGaeiilaWYaaSaaaeaacqaIXaqmaeaacqaIYaGmaaaakiaawUfacaGLDbaacqGGUaGlaaa@4F85@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>The BME method is equivalent to minimizing the linear functional <b>v</b><sub><it>T</it></sub>&#183;<b>d </b>over all BME vectors for all tree topologies <it>T</it>. The BME polytope is the convex hull of all BME vectors in <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula>. The following facts follow from the definition of the balanced minimum evolution tree:</p>
         <sec>
            <st>
               <p>Lemma 3.1</p>
            </st>
            <p><it>The vertices of the BME polytope are the BME vectors of binary trees. The BME vector of the star phylogeny lies in the interior of the BME polytope, and all other BME vectors lie on the boundary of the BME polytope</it>.</p>
            <p>The normal fan of a BME polytope partitions the space <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula> of dissimilarity maps into cones, one for each tree. We call these <it>BME cones</it>. They completely characterize the BME method: <it>T </it>is the BME tree topology if and only if the dissimilarity map <it>D </it>lies in the BME cone of <it>T</it>.</p>
            <p>For a leaf node <it>a </it>in a binary unrooted tree, the <it>shift vector </it><b>s</b><sub><it>a </it></sub>is the dissimilarity map in which <it>a </it>is at distance 1 from all other leaves, and all other distances are 0 (see <abbrgrp><abbr bid="B11">11</abbr></abbrgrp> for the description of shift vectors). According to <abbrgrp><abbr bid="B5">5</abbr></abbrgrp>, for a tree <it>T</it>, (<b>v</b><sub><it>T</it></sub>)<sub><it>ab </it></sub>gives the probability that <it>a </it>will immediately precede <it>b </it>in a random circular ordering of <it>T</it>. Thus the dot-product of a BME vector with a shift vector must necessarily equal 1, and in fact the lineality space of BME cones is spanned by shift vectors. So when we describe a BME cone we will always describe just the pointed component, i.e. modulo the lineality space of shift vectors.</p>
            <p>As part of our computational study, we computed the BME polytope and BME cones for trees with <it>n </it>= 4, 5, 6, 7, 8 leaves using the software polymake <abbrgrp><abbr bid="B12">12</abbr></abbrgrp>. In Table <tblr tid="T1">1</tblr> we display some of the components of <it>f</it>-vectors we were able to compute. This provides information about the polytopes: Recall that the <it>i</it>th component of the <it>f</it>-vector of a polytope is the number of faces of dimension <it>i </it>- 1. For example, the first component in each vector in Table <tblr tid="T1">1</tblr> is the number of 0-dimensional faces (vertices) of the corresponding BME polytope, i.e., the number of binary trees.</p>
            <tbl id="T1">
               <title>
                  <p>Table 1</p>
               </title>
               <caption>
                  <p>The <it>f</it>-vector for small BME polytopes.</p>
               </caption>
               <tblbdy cols="3">
                  <r>
                     <c ca="left">
                        <p>#leaves</p>
                     </c>
                     <c ca="left">
                        <p>dim(BME polytope)</p>
                     </c>
                     <c ca="left">
                        <p><it>f</it>-vector</p>
                     </c>
                  </r>
                  <r>
                     <c cspan="3">
                        <hr/>
                     </c>
                  </r>
                  <r>
                     <c ca="left">
                        <p>4</p>
                     </c>
                     <c ca="left">
                        <p>2</p>
                     </c>
                     <c ca="left">
                        <p>(3,3)</p>
                     </c>
                  </r>
                  <r>
                     <c ca="left">
                        <p>5</p>
                     </c>
                     <c ca="left">
                        <p>5</p>
                     </c>
                     <c ca="left">
                        <p>(15, 105, 250, 210, 52)</p>
                     </c>
                  </r>
                  <r>
                     <c ca="left">
                        <p>6</p>
                     </c>
                     <c ca="left">
                        <p>9</p>
                     </c>
                     <c ca="left">
                        <p>(105, 5460, ?, ?, ?, 90262)</p>
                     </c>
                  </r>
                  <r>
                     <c ca="left">
                        <p>7</p>
                     </c>
                     <c ca="left">
                        <p>14</p>
                     </c>
                     <c ca="left">
                        <p>(945, 445410, ?, ?, ?, ?, ?)</p>
                     </c>
                  </r>
                  <r>
                     <c ca="left">
                        <p>&#8492;</p>
                     </c>
                     <c ca="left">
                        <p>&#8492;</p>
                     </c>
                     <c ca="left">
                        <p>&#8492;</p>
                     </c>
                  </r>
                  <r>
                     <c ca="left">
                        <p>
                           <it>n</it>
                        </p>
                     </c>
                     <c ca="left">
                        <p><inline-formula><m:math name="1748-7188-3-5-i16" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaeWaaeaafaqabeGabaaabaGaemOBa4gabaGaeGOmaidaaaGaayjkaiaawMcaaaaa@2FC2@</m:annotation></m:semantics></m:math></inline-formula> - <it>n</it></p>
                     </c>
                     <c ca="left">
                        <p>((2<it>n </it>- 5)!!,?, ...)</p>
                     </c>
                  </r>
               </tblbdy>
            </tbl>
            <p>We found that the edge graph of the BME polytope is the complete graph for <it>n </it>= 4, 5, 6 which means that for every pair of trees <it>T</it><sub>1 </sub>and <it>T</it><sub>2 </sub>with the same number (&#8804; 6) of leaves, there is a dissimilarity map for which <it>T</it><sub>1 </sub>and <it>T</it><sub>2 </sub>are (the only) co-optimal BME trees. However, for <it>n </it>= 7, the BME polytope does in fact have one combinatorial type of non-edge. Namely, two bifurcating trees with seven leaves and three cherries (two leaves adjacent to the same node in the tree) will form a non-edge if and only if they are related by two leaf exchanges as depicted in Figure <figr fid="F3">3</figr>. This completely characterizes the non-edges for <it>n </it>= 7. It is an interesting open problem to characterize the non-edges of the BME polytope in general.</p>
            <fig id="F3">
               <title>
                  <p>Figure 3</p>
               </title>
               <caption>
                  <p>The non-edges on the BME polytope for <it>n </it>= 7</p>
               </caption>
               <text>
                  <p><b>The non-edges on the BME polytope for <it>n </it>= 7. </b>Two trees will form a non-edge if and only if they are trees that have three cherries, and differ by the pair of leaf exchanges shown in the figure. There are two ways to perform each leaf-exchange, so each binary tree with three cherries is not adjacent to 4 trees.</p>
               </text>
               <graphic file="1748-7188-3-5-3"/>
            </fig>
         </sec>
      </sec>
      <sec>
         <st>
            <p>4 Neighbor-joining cones</p>
         </st>
         <p>The neighbor-joining algorithm takes as input a dissimilarity map and outputs a tree. The tree is constructed "one cherry at a time". In each step the algorithm chooses a pair of leaves <it>a </it>and <it>b </it>that minimize the <it>Q-criterion</it>, which is defined by the formula</p>
         <p>
            <display-formula id="M3">
               <m:math name="1748-7188-3-5-i26" xmlns:m="http://www.w3.org/1998/Math/MathML">
                  <m:semantics>
                     <m:mrow>
                        <m:msub>
                           <m:mi>q</m:mi>
                           <m:mrow>
                              <m:mi>a</m:mi>
                              <m:mi>b</m:mi>
                           </m:mrow>
                        </m:msub>
                        <m:mo>:</m:mo>
                        <m:mo>=</m:mo>
                        <m:mo stretchy="false">(</m:mo>
                        <m:mi>n</m:mi>
                        <m:mo>&#8722;</m:mo>
                        <m:mn>2</m:mn>
                        <m:mo stretchy="false">)</m:mo>
                        <m:msub>
                           <m:mi>d</m:mi>
                           <m:mrow>
                              <m:mi>a</m:mi>
                              <m:mi>b</m:mi>
                           </m:mrow>
                        </m:msub>
                        <m:mo>&#8722;</m:mo>
                        <m:mstyle displaystyle="true">
                           <m:munderover>
                              <m:mo>&#8721;</m:mo>
                              <m:mrow>
                                 <m:mi>k</m:mi>
                                 <m:mo>=</m:mo>
                                 <m:mn>1</m:mn>
                              </m:mrow>
                              <m:mi>N</m:mi>
                           </m:munderover>
                           <m:mrow>
                              <m:msub>
                                 <m:mi>d</m:mi>
                                 <m:mrow>
                                    <m:mi>a</m:mi>
                                    <m:mi>k</m:mi>
                                 </m:mrow>
                              </m:msub>
                           </m:mrow>
                        </m:mstyle>
                        <m:mo>&#8722;</m:mo>
                        <m:mstyle displaystyle="true">
                           <m:munderover>
                              <m:mo>&#8721;</m:mo>
                              <m:mrow>
                                 <m:mi>k</m:mi>
                                 <m:mo>=</m:mo>
                                 <m:mn>1</m:mn>
                              </m:mrow>
                              <m:mi>n</m:mi>
                           </m:munderover>
                           <m:mrow>
                              <m:msub>
                                 <m:mi>d</m:mi>
                                 <m:mrow>
                                    <m:mi>k</m:mi>
                                    <m:mi>b</m:mi>
                                 </m:mrow>
                              </m:msub>
                           </m:mrow>
                        </m:mstyle>
                        <m:mo>.</m:mo>
                     </m:mrow>
                     <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemyCae3aaSbaaSqaaiabdggaHjabdkgaIbqabaGccqGG6aGocqGH9aqpcqGGOaakcqWGUbGBcqGHsislcqaIYaGmcqGGPaqkcqWGKbazdaWgaaWcbaGaemyyaeMaemOyaigabeaakiabgkHiTmaaqahabaGaemizaq2aaSbaaSqaaiabdggaHjabdUgaRbqabaaabaGaem4AaSMaeyypa0JaeGymaedabaGaemOta4eaniabggHiLdGccqGHsisldaaeWbqaaiabdsgaKnaaBaaaleaacqWGRbWAcqWGIbGyaeqaaaqaaiabdUgaRjabg2da9iabigdaXaqaaiabd6gaUbqdcqGHris5aOGaeiOla4caaa@5437@</m:annotation>
                  </m:semantics>
               </m:math>
            </display-formula>
         </p>
         <p>The nodes <it>a, b </it>are replaced by a single node <it>z</it>, and new distances <it>d</it><sub><it>zk </it></sub>are obtained by a straightforward linear combination of the original pairwise distances:<inline-formula><m:math name="1748-7188-3-5-i27" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi>d</m:mi><m:mrow><m:mi>z</m:mi><m:mi>k</m:mi></m:mrow></m:msub><m:mo>:</m:mo><m:mo>=</m:mo><m:mfrac><m:mn>1</m:mn><m:mn>2</m:mn></m:mfrac><m:mo stretchy="false">(</m:mo><m:msub><m:mi>d</m:mi><m:mrow><m:mi>a</m:mi><m:mi>k</m:mi></m:mrow></m:msub><m:mo>+</m:mo><m:msub><m:mi>d</m:mi><m:mrow><m:mi>b</m:mi><m:mi>k</m:mi></m:mrow></m:msub><m:mo>&#8722;</m:mo><m:msub><m:mi>d</m:mi><m:mrow><m:mi>a</m:mi><m:mi>b</m:mi></m:mrow></m:msub><m:mo stretchy="false">)</m:mo></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemizaq2aaSbaaSqaaiabdQha6jabdUgaRbqabaGccqGG6aGocqGH9aqpjuaGdaWcaaqaaiabigdaXaqaaiabikdaYaaakiabcIcaOiabdsgaKnaaBaaaleaacqWGHbqycqWGRbWAaeqaaOGaey4kaSIaemizaq2aaSbaaSqaaiabdkgaIjabdUgaRbqabaGccqGHsislcqWGKbazdaWgaaWcbaGaemyyaeMaemOyaigabeaakiabcMcaPaaa@44C8@</m:annotation></m:semantics></m:math></inline-formula>. Then the NJ method is applied recursively.</p>
         <p>We note that since new distances <it>d</it><sub><it>zk </it></sub>are always linear combinations of the previous distances, all Q-criteria computed throughout the NJ algorithm are linear combinations of the original pairwise distances. Thus, for a fixed <it>n</it>, for every possible ordering <it>&#963; </it>of picked cherries that results in one of the trees <it>T </it>with <it>n </it>leaves there is a polyhedral cone <it>C</it><sub><it>&#963; </it></sub>&#8834; <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula> of dissimilarity maps. The set of all neighbor-joining cones is denoted by <inline-formula><m:math name="1748-7188-3-5-i28" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi mathvariant="script">C</m:mi><m:mi>n</m:mi></m:msub></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae8NaXp0aaSbaaSqaaiabd6gaUbqabaaaaa@38DE@</m:annotation></m:semantics></m:math></inline-formula>. Their union <inline-formula><m:math name="1748-7188-3-5-i29" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mstyle displaystyle="true"><m:msub><m:mo>&#8746;</m:mo><m:mrow><m:mi>C</m:mi><m:mo>&#8712;</m:mo><m:msub><m:mi mathvariant="script">C</m:mi><m:mi>n</m:mi></m:msub></m:mrow></m:msub><m:mi>C</m:mi></m:mstyle></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaambeaeaacqWGdbWqaSqaaiabdoeadjabgIGioprtHrhAL1wy0L2yHvtyaeHbnfgDOvwBHrxAJfwnaGabaiab=jq8dnaaBaaameaacqWGUbGBaeqaaaWcbeqdcqWIQisvaaaa@3E00@</m:annotation></m:semantics></m:math></inline-formula> is all of of <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula>, and the intersection of any two cones is a subset &#8211; but not necessarily a face &#8211; of the boundary of each of the cones. Given an input from the interior of <it>C</it><sub><it>&#963;</it></sub>, the NJ algorithm will pick the cherries in the order <it>&#963; </it>and output the corresponding tree. For inputs <b>d </b>on the boundary of one (and therefore at least two) of the cones, the order in which NJ picks cherries is undefined, because at some point there will be two cherries both of which have minimal Q-criterion. We call the cones <it>C</it><sub><it>&#963; </it></sub><it>neighbor-joining cones</it>, or <it>NJ cones</it>. See <abbrgrp><abbr bid="B11">11</abbr></abbrgrp> for the hyperplane representation of NJ cones and descriptions how to construct each cone.</p>
         <p><b>Example. </b>There is only one unlabeled binary tree with 5 leaves and there are 15 distinct labeled trees. For each labeled tree, there are two ways in which a cherry might be picked by the NJ algorithm in the first step. For instance, neighbor-joining applied to any dissimilarity map in <it>C</it><sub>12,45 </sub>or <it>C</it><sub>45,12 </sub>will produce the tree in Figure <figr fid="F2">2</figr>. There are a total of 30 NJ cones for <it>n </it>= 5.</p>
         <p>We note that all Q-criteria for shift vectors equal -2, so adding any linear combination of shift vectors to a dissimilarity map does not change the relative values of the Q-criteria. Also, after picking a cherry, the reduced distance matrix of a shift vector is again a shift vector. Thus, for any input vector <b>d</b>, the behavior of the NJ algorithm on <b>d </b>will be the same as on <b>d </b>+ <b>s </b>if <b>s </b>is any linear combination of shift vectors. In fact it can be shown that the lineality space of NJ cones is spanned by shift vectors, just as for BME cones <abbrgrp><abbr bid="B11">11</abbr></abbrgrp>. So from now on, when we refer to NJ cones, we will mean the pointed portion of the cone, i.e. modulo the lineality space.</p>
         <sec>
            <st>
               <p>Theorem 4.1</p>
            </st>
            <p><it>The cones in </it><inline-formula><m:math name="1748-7188-3-5-i28" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi mathvariant="script">C</m:mi><m:mi>n</m:mi></m:msub></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae8NaXp0aaSbaaSqaaiabd6gaUbqabaaaaa@38DE@</m:annotation></m:semantics></m:math></inline-formula><it>do not form a fan. In particular, they are not the normal fan of any polytope for n </it>&#8805; 5.</p>
            <p>The theorem follows from that fact that the NJ cones have rays which are on the boundary of other cones but not rays of them. Thus there are pairs of cones whose intersection is not a face of both cones. We describe the case <it>n </it>= 5 in detail; it also suffices to prove the theorem.</p>
            <p>We begin by noting that all of the NJ cones are equivalent under the action of the symmetric group on five elements (<it>S</it><sub>5</sub>), where an element of <it>S</it><sub>5 </sub>permutes the five taxa or, equivalently, the rows and columns of the input distance matrix. Each NJ cone is defined by <inline-formula><m:math name="1748-7188-3-5-i30" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mn>5</m:mn></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow><m:mo>&#8722;</m:mo><m:mn>1</m:mn></m:mrow><m:mo>)</m:mo></m:mrow><m:mo>+</m:mo><m:mrow><m:mo>(</m:mo><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mn>4</m:mn></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow><m:mo>&#8722;</m:mo><m:mn>1</m:mn></m:mrow><m:mo>)</m:mo></m:mrow><m:mo>=</m:mo><m:mn>14</m:mn></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaeWaaeaadaqadaqaauaabeqaceaaaeaacqaI1aqnaeaacqaIYaGmaaaacaGLOaGaayzkaaGaeyOeI0IaeGymaedacaGLOaGaayzkaaGaey4kaSYaaeWaaeaadaqadaqaauaabeqaceaaaeaacqaI0aanaeaacqaIYaGmaaaacaGLOaGaayzkaaGaeyOeI0IaeGymaedacaGLOaGaayzkaaGaeyypa0JaeGymaeJaeGinaqdaaa@3D6D@</m:annotation></m:semantics></m:math></inline-formula> inequalities that are implied by the Q-criteria as the NJ algorithm picks the two cherries. The cones are 5-dimensional, and their intersection with a suitable hyperplane leaves a four dimensional polytope <it>P</it>. The <it>f</it>-vector of <it>P </it>is (14, 32, 27, 9).</p>
            <p>The 30 cones share many of their rays, giving a total of 82 rays which decompose into three orbits under the action of <it>S</it><sub>5</sub>. We refer to the types of rays as Type I, Type II and Type III. Each cone has 6 rays of type I, 4 rays of type II and 4 rays of type III. Each ray of type I is the common ray of 3 cones, and belongs to 2 other cones of which it is not a ray (i.e. it is in the interior of a face). Note that this implies that the cones cannot form a fan. The type II rays are contained in 10 cones each, and the type III rays in 12. Type II and III rays are rays of all cones which contain them. For the cone <it>C</it><sub>23,45</sub>, this information is tabulated in Table <tblr tid="T2">2</tblr>.</p>
            <tbl id="T2">
               <title>
                  <p>Table 2</p>
               </title>
               <caption>
                  <p>The 14 rays of the cone <it>C</it><sub>23,45</sub>. Each ray is determined by a vector shown in the second column. The third column shows, for each ray, which cones it belongs to. If a cone is starred then the ray is on the boundary of that cone, but not a ray of it.</p>
               </caption>
               <tblbdy cols="3">
                  <r>
                     <c ca="center">
                        <p>Type</p>
                     </c>
                     <c ca="center">
                        <p>rays</p>
                     </c>
                     <c ca="center">
                        <p>Cones</p>
                     </c>
                  </r>
                  <r>
                     <c cspan="3">
                        <hr/>
                     </c>
                  </r>
                  <r>
                     <c ca="center">
                        <p>I</p>
                     </c>
                     <c ca="center">
                        <p>(-3, 5, -3, -1, 5, -3, -1, 1, 1, -1)</p>
                        <p>(-3, 5, -3, -1, 1, 1, -1, 5, -3, -1)</p>
                        <p>(5, -3, -3, -1, -3, 5, -1, 1, 1, -1)</p>
                        <p>(1, 1, -3, -1, -3, 5, -1, 5, -3, -1)</p>
                        <p>(5, -3, -3, -1, 1, 1, -1, -3, 5, -1)</p>
                        <p>(1, 1, -3, -1, 5, -3, -1, -3, 5, -1)</p>
                     </c>
                     <c ca="center">
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,14</sub>, <inline-formula><m:math name="1748-7188-3-5-i31" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>12</m:mn><m:mo>,</m:mo><m:mn>34</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabigdaXiabikdaYiabcYcaSiabiodaZiabisda0aqaaiabgEHiQaaaaaa@32AC@</m:annotation></m:semantics></m:math></inline-formula>, <inline-formula><m:math name="1748-7188-3-5-i32" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>34</m:mn><m:mo>,</m:mo><m:mn>12</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabiodaZiabisda0iabcYcaSiabigdaXiabikdaYaqaaiabgEHiQaaaaaa@32AC@</m:annotation></m:semantics></m:math></inline-formula></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,14</sub>, <inline-formula><m:math name="1748-7188-3-5-i33" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>12</m:mn><m:mo>,</m:mo><m:mn>35</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabigdaXiabikdaYiabcYcaSiabiodaZiabiwda1aqaaiabgEHiQaaaaaa@32AE@</m:annotation></m:semantics></m:math></inline-formula>, <inline-formula><m:math name="1748-7188-3-5-i34" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>35</m:mn><m:mo>,</m:mo><m:mn>12</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabiodaZiabiwda1iabcYcaSiabigdaXiabikdaYaqaaiabgEHiQaaaaaa@32AE@</m:annotation></m:semantics></m:math></inline-formula></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,14</sub>, <inline-formula><m:math name="1748-7188-3-5-i35" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>24</m:mn><m:mo>,</m:mo><m:mn>13</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabikdaYiabisda0iabcYcaSiabigdaXiabiodaZaqaaiabgEHiQaaaaaa@32AC@</m:annotation></m:semantics></m:math></inline-formula>, <inline-formula><m:math name="1748-7188-3-5-i36" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>13</m:mn><m:mo>,</m:mo><m:mn>24</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabigdaXiabiodaZiabcYcaSiabikdaYiabisda0aqaaiabgEHiQaaaaaa@32AC@</m:annotation></m:semantics></m:math></inline-formula></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,14</sub>, <inline-formula><m:math name="1748-7188-3-5-i37" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>25</m:mn><m:mo>,</m:mo><m:mn>13</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabikdaYiabiwda1iabcYcaSiabigdaXiabiodaZaqaaiabgEHiQaaaaaa@32AE@</m:annotation></m:semantics></m:math></inline-formula>, <inline-formula><m:math name="1748-7188-3-5-i37" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>25</m:mn><m:mo>,</m:mo><m:mn>13</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabikdaYiabiwda1iabcYcaSiabigdaXiabiodaZaqaaiabgEHiQaaaaaa@32AE@</m:annotation></m:semantics></m:math></inline-formula></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,14</sub>, <inline-formula><m:math name="1748-7188-3-5-i38" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>24</m:mn><m:mo>,</m:mo><m:mn>35</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabikdaYiabisda0iabcYcaSiabiodaZiabiwda1aqaaiabgEHiQaaaaaa@32B4@</m:annotation></m:semantics></m:math></inline-formula>, <inline-formula><m:math name="1748-7188-3-5-i39" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>35</m:mn><m:mo>,</m:mo><m:mn>24</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabiodaZiabiwda1iabcYcaSiabikdaYiabisda0aqaaiabgEHiQaaaaaa@32B4@</m:annotation></m:semantics></m:math></inline-formula></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,14</sub>, <inline-formula><m:math name="1748-7188-3-5-i40" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>25</m:mn><m:mo>,</m:mo><m:mn>34</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabikdaYiabiwda1iabcYcaSiabiodaZiabisda0aqaaiabgEHiQaaaaaa@32B4@</m:annotation></m:semantics></m:math></inline-formula>, <inline-formula><m:math name="1748-7188-3-5-i40" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi>C</m:mi><m:mrow><m:mn>25</m:mn><m:mo>,</m:mo><m:mn>34</m:mn></m:mrow><m:mo>&#8727;</m:mo></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaem4qam0aa0baaSqaaiabikdaYiabiwda1iabcYcaSiabiodaZiabisda0aqaaiabgEHiQaaaaaa@32B4@</m:annotation></m:semantics></m:math></inline-formula></p>
                     </c>
                  </r>
                  <r>
                     <c cspan="3">
                        <hr/>
                     </c>
                  </r>
                  <r>
                     <c ca="center">
                        <p>II</p>
                     </c>
                     <c ca="center">
                        <p>(-1, 1, -1, 1, 1, -1, -1, 1, 1, -1)</p>
                        <p>(-1, 1, -1, -1, 1, 1, 1, 1, -1, -1)</p>
                        <p>(1, 1, -1, -1, -1, 1, -1, 1, -1, 1)</p>
                        <p>(1, -1, -1, 1, -1, 1, -1, 1, 1, -1)</p>
                     </c>
                     <c ca="center">
                        <p><it>C</it><sub>12,45</sub>, <it>C</it><sub>12,34</sub>, <it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>34,15</sub>, <it>C</it><sub>34,12</sub>, <it>C</it><sub>45,23</sub>, <it>C</it><sub>45,12</sub>, <it>C</it><sub>15,34</sub>, <it>C</it><sub>15,23</sub></p>
                        <p><it>C</it><sub>12,45</sub>, <it>C</it><sub>12,35</sub>, <it>C</it><sub>23,45</sub>, <it>C</it><sub>23,14</sub>, <it>C</it><sub>35,14</sub>, <it>C</it><sub>35,12</sub>, <it>C</it><sub>45,23</sub>, <it>C</it><sub>45,12</sub>, <it>C</it><sub>14,35</sub>, <it>C</it><sub>14,23</sub></p>
                        <p><it>C</it><sub>25,14</sub>, <it>C</it><sub>25,13</sub>, <it>C</it><sub>23,14</sub>, <it>C</it><sub>23,45</sub>, <it>C</it><sub>13,45</sub>, <it>C</it><sub>13,25</sub>, <it>C</it><sub>14,23</sub>, <it>C</it><sub>14,25</sub>, <it>C</it><sub>45,13</sub>, <it>C</it><sub>45,23</sub></p>
                        <p><it>C</it><sub>24,15</sub>, <it>C</it><sub>24,13</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>23,45</sub>, <it>C</it><sub>13,45</sub>, <it>C</it><sub>13,24</sub>, <it>C</it><sub>15,23</sub>, <it>C</it><sub>15,24</sub>, <it>C</it><sub>45,13</sub>, <it>C</it><sub>45,23</sub></p>
                     </c>
                  </r>
                  <r>
                     <c cspan="3">
                        <hr/>
                     </c>
                  </r>
                  <r>
                     <c ca="center">
                        <p>III</p>
                     </c>
                     <c ca="center">
                        <p>(1, -1, -1, 1, 1, -1, -1, -1, 3, -1)</p>
                        <p>(1, -1, -1, -1, -1, 3, 1, 1, -1, -1)</p>
                        <p>(1, -1, -1, 1, 1, -1, -1, -1, 3, -1)</p>
                        <p>(1, -1, -1, -1, -1, 3, 1, 1, -1, -1)</p>
                     </c>
                     <c ca="center">
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>12,45</sub>, <it>C</it><sub>12,35</sub>, <it>C</it><sub>24,15</sub>, <it>C</it><sub>24,35</sub>, <it>C</it><sub>35,24</sub>, <it>C</it><sub>35,12</sub>, <it>C</it><sub>15,24</sub>, <it>C</it><sub>15,23</sub>, <it>C</it><sub>45,12</sub>, <it>C</it><sub>45,23</sub></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,14</sub>, <it>C</it><sub>12,45</sub>, <it>C</it><sub>12,34</sub>, <it>C</it><sub>25,14</sub>, <it>C</it><sub>25,34</sub>, <it>C</it><sub>34,25</sub>, <it>C</it><sub>34,12</sub>, <it>C</it><sub>14,25</sub>, <it>C</it><sub>14,23</sub>, <it>C</it><sub>45,12</sub>, <it>C</it><sub>45,23</sub></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,15</sub>, <it>C</it><sub>13,45</sub>, <it>C</it><sub>13,25</sub>, <it>C</it><sub>34,15</sub>, <it>C</it><sub>34,25</sub>, <it>C</it><sub>25,34</sub>, <it>C</it><sub>25,13</sub>, <it>C</it><sub>15,34</sub>, <it>C</it><sub>15,23</sub>, <it>C</it><sub>45,13</sub>, <it>C</it><sub>45,23</sub></p>
                        <p><it>C</it><sub>23,45</sub>, <it>C</it><sub>23,14</sub>, <it>C</it><sub>13,45</sub>, <it>C</it><sub>13,24</sub>, <it>C</it><sub>35,14</sub>, <it>C</it><sub>35,24</sub>, <it>C</it><sub>24,35</sub>, <it>C</it><sub>24,13</sub>, <it>C</it><sub>14,35</sub>, <it>C</it><sub>14,23</sub>, <it>C</it><sub>45,13</sub>, <it>C</it><sub>45,23</sub></p>
                     </c>
                  </r>
               </tblbdy>
            </tbl>
            <p>We note that the rays of NJ cones are minimal intersections of NJ cones, and thus give dissimilarity maps for which the NJ algorithm is least stable.</p>
            <p><b>Example. </b>Consider two alignments of 5 sequences that are to be used to construct a tree. These may consist of two different genes and for each of them the homologs among 5 genomes. Suppose that distances are estimated using the Jukes-Cantor correction <abbrgrp><abbr bid="B6">6</abbr><abbr bid="B13">13</abbr></abbrgrp> separately for each set of sequences. That is, for the first set of sequences</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i41" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:msub>
                              <m:mrow>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:msub>
                                    <m:mi>D</m:mi>
                                    <m:mn>1</m:mn>
                                 </m:msub>
                                 <m:mo stretchy="false">)</m:mo>
                              </m:mrow>
                              <m:mrow>
                                 <m:mi>i</m:mi>
                                 <m:mi>j</m:mi>
                              </m:mrow>
                           </m:msub>
                           <m:mo>=</m:mo>
                           <m:mo>&#8722;</m:mo>
                           <m:mfrac>
                              <m:mn>3</m:mn>
                              <m:mn>4</m:mn>
                           </m:mfrac>
                           <m:mi>log</m:mi>
                           <m:mo>&#8289;</m:mo>
                           <m:mo stretchy="false">(</m:mo>
                           <m:mn>1</m:mn>
                           <m:mo>&#8722;</m:mo>
                           <m:mfrac>
                              <m:mn>4</m:mn>
                              <m:mn>3</m:mn>
                           </m:mfrac>
                           <m:msub>
                              <m:mi>f</m:mi>
                              <m:mrow>
                                 <m:mi>i</m:mi>
                                 <m:mi>j</m:mi>
                              </m:mrow>
                           </m:msub>
                           <m:mo stretchy="false">)</m:mo>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeiikaGIaemiraq0aaSbaaSqaaiabigdaXaqabaGccqGGPaqkdaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabg2da9iabgkHiTKqbaoaalaaabaGaeG4mamdabaGaeGinaqdaaOGagiiBaWMaei4Ba8Maei4zaCMaeiikaGIaeGymaeJaeyOeI0scfa4aaSaaaeaacqaI0aanaeaacqaIZaWmaaGccqWGMbGzdaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabcMcaPaaa@4601@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>where <it>f</it><sub><it>ij </it></sub>is the fraction of different nucleotides between sequences <it>i </it>and <it>j </it>in the first set and for the second set</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i42" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:msub>
                              <m:mrow>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:msub>
                                    <m:mi>D</m:mi>
                                    <m:mn>2</m:mn>
                                 </m:msub>
                                 <m:mo stretchy="false">)</m:mo>
                              </m:mrow>
                              <m:mrow>
                                 <m:mi>i</m:mi>
                                 <m:mi>j</m:mi>
                              </m:mrow>
                           </m:msub>
                           <m:mo>=</m:mo>
                           <m:mo>&#8722;</m:mo>
                           <m:mfrac>
                              <m:mn>3</m:mn>
                              <m:mn>4</m:mn>
                           </m:mfrac>
                           <m:mi>log</m:mi>
                           <m:mo>&#8289;</m:mo>
                           <m:mo stretchy="false">(</m:mo>
                           <m:mn>1</m:mn>
                           <m:mo>&#8722;</m:mo>
                           <m:mfrac>
                              <m:mn>4</m:mn>
                              <m:mn>3</m:mn>
                           </m:mfrac>
                           <m:msub>
                              <m:mi>g</m:mi>
                              <m:mrow>
                                 <m:mi>i</m:mi>
                                 <m:mi>j</m:mi>
                              </m:mrow>
                           </m:msub>
                           <m:mo stretchy="false">)</m:mo>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaeiikaGIaemiraq0aaSbaaSqaaiabikdaYaqabaGccqGGPaqkdaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabg2da9iabgkHiTKqbaoaalaaabaGaeG4mamdabaGaeGinaqdaaOGagiiBaWMaei4Ba8Maei4zaCMaeiikaGIaeGymaeJaeyOeI0scfa4aaSaaaeaacqaI0aanaeaacqaIZaWmaaGccqWGNbWzdaWgaaWcbaGaemyAaKMaemOAaOgabeaakiabcMcaPaaa@4605@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>where <it>g</it><sub><it>ij </it></sub>is the fraction of different nucleotides between sequences <it>i </it>and <it>j </it>in the second set.</p>
            <p>If the fractions <it>f</it><sub><it>ij </it></sub>and <it>g</it><sub><it>ij </it></sub>are given by</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i43" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mtable>
                              <m:mtr>
                                 <m:mtd>
                                    <m:mrow>
                                       <m:mi>f</m:mi>
                                       <m:mo>:</m:mo>
                                       <m:mo>=</m:mo>
                                       <m:mrow>
                                          <m:mo>(</m:mo>
                                          <m:mrow>
                                             <m:mtable>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054187</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151108</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.368136</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054198</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054187</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151117</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054198</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.36813</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151108</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151117</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054187</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054198</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.368136</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054198</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054187</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151108</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054198</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.36813</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054198</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151108</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                </m:mtr>
                                             </m:mtable>
                                          </m:mrow>
                                          <m:mo>)</m:mo>
                                       </m:mrow>
                                       <m:mtext>&#160;and</m:mtext>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                              <m:mtr>
                                 <m:mtd>
                                    <m:mrow>
                                       <m:mi>g</m:mi>
                                       <m:mo>:</m:mo>
                                       <m:mo>=</m:mo>
                                       <m:mrow>
                                          <m:mo>(</m:mo>
                                          <m:mrow>
                                             <m:mtable>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151068</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.05414</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.368161</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.104517</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151068</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054245</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054245</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.395699</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.05414</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054245</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151068</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.194428</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.368161</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.054245</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.151068</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.104421</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.104517</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.395699</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.194428</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.104421</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                </m:mtr>
                                             </m:mtable>
                                          </m:mrow>
                                          <m:mo>)</m:mo>
                                       </m:mrow>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                           </m:mtable>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabiqaaaqaaiabdAgaMjabcQda6iabg2da9maabmaabaqbaeqabuqbaaaaaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI4aaocqaI3aWnaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI1aqncqaIXaqmcqaIXaqmcqaIWaamcqaI4aaoaeaacqaIWaamcqGGUaGlcqaIZaWmcqaI2aGncqaI4aaocqaIXaqmcqaIZaWmcqaI2aGnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI5aqocqaI4aaoaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI4aaocqaI3aWnaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI1aqncqaIXaqmcqaIXaqmcqaIXaqmcqaI3aWnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI5aqocqaI4aaoaeaacqaIWaamcqGGUaGlcqaIZaWmcqaI2aGncqaI4aaocqaIXaqmcqaIZaWmaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI1aqncqaIXaqmcqaIXaqmcqaIWaamcqaI4aaoaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI1aqncqaIXaqmcqaIXaqmcqaIXaqmcqaI3aWnaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI4aaocqaI3aWnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI5aqocqaI4aaoaeaacqaIWaamcqGGUaGlcqaIZaWmcqaI2aGncqaI4aaocqaIXaqmcqaIZaWmcqaI2aGnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI5aqocqaI4aaoaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI4aaocqaI3aWnaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI1aqncqaIXaqmcqaIXaqmcqaIWaamcqaI4aaoaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI5aqocqaI4aaoaeaacqaIWaamcqGGUaGlcqaIZaWmcqaI2aGncqaI4aaocqaIXaqmcqaIZaWmaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI0aancqaIXaqmcqaI5aqocqaI4aaoaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI1aqncqaIXaqmcqaIXaqmcqaIWaamcqaI4aaoaeaacqaIWaamaaaacaGLOaGaayzkaaGaeeiiaaIaeeyyaeMaeeOBa4MaeeizaqgabaGaem4zaCMaeiOoaOJaeyypa0ZaaeWaaeaafaqabeqbfaaaaaqaaiabicdaWaqaaiabicdaWiabc6caUiabigdaXiabiwda1iabigdaXiabicdaWiabiAda2iabiIda4aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabisda0iabigdaXiabisda0aqaaiabicdaWiabc6caUiabiodaZiabiAda2iabiIda4iabigdaXiabiAda2iabigdaXaqaaiabicdaWiabc6caUiabigdaXiabicdaWiabisda0iabiwda1iabigdaXiabiEda3aqaaiabicdaWiabc6caUiabigdaXiabiwda1iabigdaXiabicdaWiabiAda2iabiIda4aqaaiabicdaWaqaaiabicdaWiabc6caUiabicdaWiabiwda1iabisda0iabikdaYiabisda0iabiwda1aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabisda0iabikdaYiabisda0iabiwda1aqaaiabicdaWiabc6caUiabiodaZiabiMda5iabiwda1iabiAda2iabiMda5iabiMda5aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabisda0iabigdaXiabisda0aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabisda0iabikdaYiabisda0iabiwda1aqaaiabicdaWaqaaiabicdaWiabc6caUiabigdaXiabiwda1iabigdaXiabicdaWiabiAda2iabiIda4aqaaiabicdaWiabc6caUiabigdaXiabiMda5iabisda0iabisda0iabikdaYiabiIda4aqaaiabicdaWiabc6caUiabiodaZiabiAda2iabiIda4iabigdaXiabiAda2iabigdaXaqaaiabicdaWiabc6caUiabicdaWiabiwda1iabisda0iabikdaYiabisda0iabiwda1aqaaiabicdaWiabc6caUiabigdaXiabiwda1iabigdaXiabicdaWiabiAda2iabiIda4aqaaiabicdaWaqaaiabicdaWiabc6caUiabigdaXiabicdaWiabisda0iabisda0iabikdaYiabigdaXaqaaiabicdaWiabc6caUiabigdaXiabicdaWiabisda0iabiwda1iabigdaXiabiEda3aqaaiabicdaWiabc6caUiabiodaZiabiMda5iabiwda1iabiAda2iabiMda5iabiMda5aqaaiabicdaWiabc6caUiabigdaXiabiMda5iabisda0iabisda0iabikdaYiabiIda4aqaaiabicdaWiabc6caUiabigdaXiabicdaWiabisda0iabisda0iabikdaYiabigdaXaqaaiabicdaWaaaaiaawIcacaGLPaaaaaaaaa@6F8A@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>then we obtain</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i44" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mtable>
                              <m:mtr>
                                 <m:mtd>
                                    <m:mrow>
                                       <m:msub>
                                          <m:mi>D</m:mi>
                                          <m:mn>1</m:mn>
                                       </m:msub>
                                       <m:mo>=</m:mo>
                                       <m:mrow>
                                          <m:mo>(</m:mo>
                                          <m:mrow>
                                             <m:mtable>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056244</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168744</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.506257</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056256</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056244</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168755</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056256</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.506245</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168744</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168755</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056244</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056256</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.506257</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056256</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056244</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168744</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056256</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.506245</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056256</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168744</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                </m:mtr>
                                             </m:mtable>
                                          </m:mrow>
                                          <m:mo>)</m:mo>
                                       </m:mrow>
                                       <m:mtext>&#160;and</m:mtext>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                              <m:mtr>
                                 <m:mtd>
                                    <m:mrow>
                                       <m:msub>
                                          <m:mi>D</m:mi>
                                          <m:mn>2</m:mn>
                                       </m:msub>
                                       <m:mo>=</m:mo>
                                       <m:mrow>
                                          <m:mo>(</m:mo>
                                          <m:mrow>
                                             <m:mtable>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168694</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056194</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.506306</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.112556</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168694</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056307</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056307</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.562445</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056194</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056307</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168694</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.225056</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.506306</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.056307</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.168694</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.112444</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                </m:mtr>
                                                <m:mtr>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.112556</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.562445</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.225056</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mrow>
                                                         <m:mn>0.112444</m:mn>
                                                      </m:mrow>
                                                   </m:mtd>
                                                   <m:mtd>
                                                      <m:mn>0</m:mn>
                                                   </m:mtd>
                                                </m:mtr>
                                             </m:mtable>
                                          </m:mrow>
                                          <m:mo>)</m:mo>
                                       </m:mrow>
                                       <m:mo>.</m:mo>
                                    </m:mrow>
                                 </m:mtd>
                              </m:mtr>
                           </m:mtable>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqbaeqabiqaaaqaaiabdseaenaaBaaaleaacqaIXaqmaeqaaOGaeyypa0ZaaeWaaeaafaqabeqbfaaaaaqaaiabicdaWaqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabisda0iabisda0aqaaiabicdaWiabc6caUiabigdaXiabiAda2iabiIda4iabiEda3iabisda0iabisda0aqaaiabicdaWiabc6caUiabiwda1iabicdaWiabiAda2iabikdaYiabiwda1iabiEda3aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabiwda1iabiAda2aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabisda0iabisda0aqaaiabicdaWaqaaiabicdaWiabc6caUiabigdaXiabiAda2iabiIda4iabiEda3iabiwda1iabiwda1aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabiwda1iabiAda2aqaaiabicdaWiabc6caUiabiwda1iabicdaWiabiAda2iabikdaYiabisda0iabiwda1aqaaiabicdaWiabc6caUiabigdaXiabiAda2iabiIda4iabiEda3iabisda0iabisda0aqaaiabicdaWiabc6caUiabigdaXiabiAda2iabiIda4iabiEda3iabiwda1iabiwda1aqaaiabicdaWaqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabisda0iabisda0aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabiwda1iabiAda2aqaaiabicdaWiabc6caUiabiwda1iabicdaWiabiAda2iabikdaYiabiwda1iabiEda3aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabiwda1iabiAda2aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabisda0iabisda0aqaaiabicdaWaqaaiabicdaWiabc6caUiabigdaXiabiAda2iabiIda4iabiEda3iabisda0iabisda0aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabiwda1iabiAda2aqaaiabicdaWiabc6caUiabiwda1iabicdaWiabiAda2iabikdaYiabisda0iabiwda1aqaaiabicdaWiabc6caUiabicdaWiabiwda1iabiAda2iabikdaYiabiwda1iabiAda2aqaaiabicdaWiabc6caUiabigdaXiabiAda2iabiIda4iabiEda3iabisda0iabisda0aqaaiabicdaWaaaaiaawIcacaGLPaaacqqGGaaicqqGHbqycqqGUbGBcqqGKbazaeaacqWGebardaWgaaWcbaGaeGOmaidabeaakiabg2da9maabmaabaqbaeqabuqbaaaaaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI2aGncqaI4aaocqaI2aGncqaI5aqocqaI0aanaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI2aGncqaIXaqmcqaI5aqocqaI0aanaeaacqaIWaamcqGGUaGlcqaI1aqncqaIWaamcqaI2aGncqaIZaWmcqaIWaamcqaI2aGnaeaacqaIWaamcqGGUaGlcqaIXaqmcqaIXaqmcqaIYaGmcqaI1aqncqaI1aqncqaI2aGnaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI2aGncqaI4aaocqaI2aGncqaI5aqocqaI0aanaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI2aGncqaIZaWmcqaIWaamcqaI3aWnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI2aGncqaIZaWmcqaIWaamcqaI3aWnaeaacqaIWaamcqGGUaGlcqaI1aqncqaI2aGncqaIYaGmcqaI0aancqaI0aancqaI1aqnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI2aGncqaIXaqmcqaI5aqocqaI0aanaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI2aGncqaIZaWmcqaIWaamcqaI3aWnaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI2aGncqaI4aaocqaI2aGncqaI5aqocqaI0aanaeaacqaIWaamcqGGUaGlcqaIYaGmcqaIYaGmcqaI1aqncqaIWaamcqaI1aqncqaI2aGnaeaacqaIWaamcqGGUaGlcqaI1aqncqaIWaamcqaI2aGncqaIZaWmcqaIWaamcqaI2aGnaeaacqaIWaamcqGGUaGlcqaIWaamcqaI1aqncqaI2aGncqaIZaWmcqaIWaamcqaI3aWnaeaacqaIWaamcqGGUaGlcqaIXaqmcqaI2aGncqaI4aaocqaI2aGncqaI5aqocqaI0aanaeaacqaIWaamaeaacqaIWaamcqGGUaGlcqaIXaqmcqaIXaqmcqaIYaGmcqaI0aancqaI0aancqaI0aanaeaacqaIWaamcqGGUaGlcqaIXaqmcqaIXaqmcqaIYaGmcqaI1aqncqaI1aqncqaI2aGnaeaacqaIWaamcqGGUaGlcqaI1aqncqaI2aGncqaIYaGmcqaI0aancqaI0aancqaI1aqnaeaacqaIWaamcqGGUaGlcqaIYaGmcqaIYaGmcqaI1aqncqaIWaamcqaI1aqncqaI2aGnaeaacqaIWaamcqGGUaGlcqaIXaqmcqaIXaqmcqaIYaGmcqaI0aancqaI0aancqaI0aanaeaacqaIWaamaaaacaGLOaGaayzkaaGaeiOla4caaaaa@749E@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>Notice that the vector representation of <it>D</it><sub>1 </sub>lies in the cone <it>C</it><sub>12,45 </sub>and the vector representation of <it>D</it><sub>2 </sub>lies in the cone <it>C</it><sub>45,12</sub>. Thus NJ returns the same tree topology for both <it>D</it><sub>1 </sub>and <it>D</it><sub>2</sub>.</p>
            <p>If we concatenate the alignments and combine the data to build one tree, then we estimate the distances using the average of <it>f </it>and <it>g</it>:</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i45" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mfrac>
                              <m:mn>1</m:mn>
                              <m:mn>2</m:mn>
                           </m:mfrac>
                           <m:mo stretchy="false">(</m:mo>
                           <m:mi>f</m:mi>
                           <m:mo>+</m:mo>
                           <m:mi>g</m:mi>
                           <m:mo stretchy="false">)</m:mo>
                           <m:mo>=</m:mo>
                           <m:mrow>
                              <m:mo>(</m:mo>
                              <m:mrow>
                                 <m:mtable>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102628</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102624</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.368148</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.079357</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102628</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102681</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.054222</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.381915</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102624</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102681</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102628</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.124313</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.368148</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.054222</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.102628</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.127765</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.079357</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.381915</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.124313</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.127765</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                    </m:mtr>
                                 </m:mtable>
                              </m:mrow>
                              <m:mo>)</m:mo>
                           </m:mrow>
                           <m:mo>.</m:mo>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaGccqGGOaakcqWGMbGzcqGHRaWkcqWGNbWzcqGGPaqkcqGH9aqpdaqadaqaauaabeqafuaaaaaabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGOmaiJaeGioaGdabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGOmaiJaeGinaqdabaGaeGimaaJaeiOla4IaeG4mamJaeGOnayJaeGioaGJaeGymaeJaeGinaqJaeGioaGdabaGaeGimaaJaeiOla4IaeGimaaJaeG4naCJaeGyoaKJaeG4mamJaeGynauJaeG4naCdabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGOmaiJaeGioaGdabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGioaGJaeGymaedabaGaeGimaaJaeiOla4IaeGimaaJaeGynauJaeGinaqJaeGOmaiJaeGOmaiJaeGOmaidabaGaeGimaaJaeiOla4IaeG4mamJaeGioaGJaeGymaeJaeGyoaKJaeGymaeJaeGynaudabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGOmaiJaeGinaqdabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGioaGJaeGymaedabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGOmaiJaeGioaGdabaGaeGimaaJaeiOla4IaeGymaeJaeGOmaiJaeGinaqJaeG4mamJaeGymaeJaeG4mamdabaGaeGimaaJaeiOla4IaeG4mamJaeGOnayJaeGioaGJaeGymaeJaeGinaqJaeGioaGdabaGaeGimaaJaeiOla4IaeGimaaJaeGynauJaeGinaqJaeGOmaiJaeGOmaiJaeGOmaidabaGaeGimaaJaeiOla4IaeGymaeJaeGimaaJaeGOmaiJaeGOnayJaeGOmaiJaeGioaGdabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGOmaiJaeG4naCJaeG4naCJaeGOnayJaeGynaudabaGaeGimaaJaeiOla4IaeGimaaJaeG4naCJaeGyoaKJaeG4mamJaeGynauJaeG4naCdabaGaeGimaaJaeiOla4IaeG4mamJaeGioaGJaeGymaeJaeGyoaKJaeGymaeJaeGynaudabaGaeGimaaJaeiOla4IaeGymaeJaeGOmaiJaeGinaqJaeG4mamJaeGymaeJaeG4mamdabaGaeGimaaJaeiOla4IaeGymaeJaeGOmaiJaeG4naCJaeG4naCJaeGOnayJaeGynaudabaGaeGimaadaaaGaayjkaiaawMcaaiabc6caUaaa@D389@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>Using this frequency matrix we obtain the distance matrix <it>D</it><sub>3 </sub>via the Jukes-Cantor correction:</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i46" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:msub>
                              <m:mi>D</m:mi>
                              <m:mn>3</m:mn>
                           </m:msub>
                           <m:mo>=</m:mo>
                           <m:mrow>
                              <m:mo>(</m:mo>
                              <m:mrow>
                                 <m:mtable>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110364</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110359</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.506281</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.083878</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110364</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110425</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.056281</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.533818</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110359</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110425</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110364</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.135917</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.506281</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.056281</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.110364</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.140066</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.083878</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.533818</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.135917</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mn>0.140066</m:mn>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                    </m:mtr>
                                 </m:mtable>
                              </m:mrow>
                              <m:mo>)</m:mo>
                           </m:mrow>
                           <m:mo>.</m:mo>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiraq0aaSbaaSqaaiabiodaZaqabaGccqGH9aqpdaqadaqaauaabeqafuaaaaaabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeG4mamJaeGOnayJaeGinaqdabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeG4mamJaeGynauJaeGyoaKdabaGaeGimaaJaeiOla4IaeGynauJaeGimaaJaeGOnayJaeGOmaiJaeGioaGJaeGymaedabaGaeGimaaJaeiOla4IaeGimaaJaeGioaGJaeG4mamJaeGioaGJaeG4naCJaeGioaGdabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeG4mamJaeGOnayJaeGinaqdabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeGinaqJaeGOmaiJaeGynaudabaGaeGimaaJaeiOla4IaeGimaaJaeGynauJaeGOnayJaeGOmaiJaeGioaGJaeGymaedabaGaeGimaaJaeiOla4IaeGynauJaeG4mamJaeG4mamJaeGioaGJaeGymaeJaeGioaGdabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeG4mamJaeGynauJaeGyoaKdabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeGinaqJaeGOmaiJaeGynaudabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeG4mamJaeGOnayJaeGinaqdabaGaeGimaaJaeiOla4IaeGymaeJaeG4mamJaeGynauJaeGyoaKJaeGymaeJaeG4naCdabaGaeGimaaJaeiOla4IaeGynauJaeGimaaJaeGOnayJaeGOmaiJaeGioaGJaeGymaedabaGaeGimaaJaeiOla4IaeGimaaJaeGynauJaeGOnayJaeGOmaiJaeGioaGJaeGymaedabaGaeGimaaJaeiOla4IaeGymaeJaeGymaeJaeGimaaJaeG4mamJaeGOnayJaeGinaqdabaGaeGimaadabaGaeGimaaJaeiOla4IaeGymaeJaeGinaqJaeGimaaJaeGimaaJaeGOnayJaeGOnaydabaGaeGimaaJaeiOla4IaeGimaaJaeGioaGJaeG4mamJaeGioaGJaeG4naCJaeGioaGdabaGaeGimaaJaeiOla4IaeGynauJaeG4mamJaeG4mamJaeGioaGJaeGymaeJaeGioaGdabaGaeGimaaJaeiOla4IaeGymaeJaeG4mamJaeGynauJaeGyoaKJaeGymaeJaeG4naCdabaGaeGimaaJaeiOla4IaeGymaeJaeGinaqJaeGimaaJaeGimaaJaeGOnayJaeGOnaydabaGaeGimaadaaaGaayjkaiaawMcaaiabc6caUaaa@CDE6@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>However, the vector representation of <it>D</it><sub>3 </sub>lies in the cone <it>C</it><sub>24,15</sub>, which means that neighbor-joining returns a different tree topology for <it>D</it><sub>3</sub>. This example provides a distance-based recon-struction analog to the recent mixture model results of <abbrgrp><abbr bid="B14">14</abbr></abbrgrp>.</p>
            <p>An analysis of the rays of <inline-formula><m:math name="1748-7188-3-5-i28" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msub><m:mi mathvariant="script">C</m:mi><m:mi>n</m:mi></m:msub></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae8NaXp0aaSbaaSqaaiabd6gaUbqabaaaaa@38DE@</m:annotation></m:semantics></m:math></inline-formula> suffices to prove Theorem 4.1. but the facet structure of each cone is also informative, and we were able to obtain complete information for <it>n </it>= 5. The types of facets constituting each cone are shown in Figure <figr fid="F1">1</figr>. Each cone consists of one Type A facet, two Type B facets, two Type C facets and four Type D facets. These facets intersect as follows: Type A facets are shared by pairs of cones of the form <it>C</it><sub><it>ab</it>,<it>cd</it></sub>, <it>C</it><sub><it>cd</it>,<it>ab</it></sub>. Type B facets are shared by pairs of cones of the form <it>C</it><sub><it>ab</it>,<it>de</it></sub>, <it>C</it><sub><it>ab</it>,<it>ce</it></sub>; there are two such pairs for each cone. Two of the square facets of a Type A facet belong to Type B facets, and a pair of Type B facets share a hexagon consisting of six Type I rays. The remaining two square facets of a Type A facet form Type C facets with two Type I rays. The four triangular facets of a Type A facet form Type D facets (Egyptian pyramids) with two Type I rays.</p>
            <p>We used our description of the NJ cones to examine the <it>l</it><sub>2 </sub>distance between tree metrics and the boundaries of NJ cones. Without loss of generality, by shifting the leaves in the cherries, we can assume the tree metric is of the form</p>
            <p>
               <display-formula>
                  <m:math name="1748-7188-3-5-i47" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:msub>
                              <m:mi>D</m:mi>
                              <m:mi>T</m:mi>
                           </m:msub>
                           <m:mo>=</m:mo>
                           <m:mrow>
                              <m:mo>(</m:mo>
                              <m:mrow>
                                 <m:mtable>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#945;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#945;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mi>&#945;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#945;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#946;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#946;</m:mi>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#946;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                    </m:mtr>
                                    <m:mtr>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mrow>
                                             <m:mi>&#945;</m:mi>
                                             <m:mo>+</m:mo>
                                             <m:mi>&#946;</m:mi>
                                          </m:mrow>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mi>&#946;</m:mi>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                       <m:mtd>
                                          <m:mn>0</m:mn>
                                       </m:mtd>
                                    </m:mtr>
                                 </m:mtable>
                              </m:mrow>
                              <m:mo>)</m:mo>
                           </m:mrow>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemiraq0aaSbaaSqaaiabdsfaubqabaGccqGH9aqpdaqadaqaauaabeqafuaaaaaabaGaeGimaadabaGaeGimaadabaGaeqySdegabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqySdeMaey4kaSIaeqOSdigabaGaeGimaadabaGaeGimaadabaGaeqySdegabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqySdegabaGaeqySdegabaGaeGimaadabaGaeqOSdigabaGaeqOSdigabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqOSdigabaGaeGimaadabaGaeGimaadabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqySdeMaey4kaSIaeqOSdigabaGaeqOSdigabaGaeGimaadabaGaeGimaadaaaGaayjkaiaawMcaaaaa@67C3@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>where <it>&#945; </it>and <it>&#946; </it>are the internal branch lengths, <it>&#945; </it>&#8805; <inline-formula><m:math name="1748-7188-3-5-i48" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mfrac><m:mn>1</m:mn><m:mn>2</m:mn></m:mfrac></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaaaaa@2E55@</m:annotation></m:semantics></m:math></inline-formula> and <it>&#945; </it>+ <it>&#946; </it>= 1. It is easy to see that <it>D</it><sub><it>T </it></sub>&#8712; <it>C</it><sub>12,45 </sub>confirming the consistency of neighbor-joining. The cone <it>C</it><sub>12,45 </sub>contains 9 faces, but we may ignore one of them (namely the one shared with <it>C</it><sub>45,12</sub>) because it is shared with a cone resulting in the same tree topology. The distance to the closest of the remaining eight faces is</p>
            <p>
               <display-formula id="M4">
                  <m:math name="1748-7188-3-5-i49" xmlns:m="http://www.w3.org/1998/Math/MathML">
                     <m:semantics>
                        <m:mrow>
                           <m:mi>d</m:mi>
                           <m:mo stretchy="false">(</m:mo>
                           <m:msub>
                              <m:mi>D</m:mi>
                              <m:mi>T</m:mi>
                           </m:msub>
                           <m:mo>,</m:mo>
                           <m:msup>
                              <m:mrow>
                                 <m:mo stretchy="false">(</m:mo>
                                 <m:msub>
                                    <m:mi>C</m:mi>
                                    <m:mrow>
                                       <m:mn>12</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>45</m:mn>
                                    </m:mrow>
                                 </m:msub>
                                 <m:mo>&#8746;</m:mo>
                                 <m:msub>
                                    <m:mi>C</m:mi>
                                    <m:mrow>
                                       <m:mn>45</m:mn>
                                       <m:mo>,</m:mo>
                                       <m:mn>12</m:mn>
                                    </m:mrow>
                                 </m:msub>
                                 <m:mo stretchy="false">)</m:mo>
                              </m:mrow>
                              <m:mi>c</m:mi>
                           </m:msup>
                           <m:mo stretchy="false">)</m:mo>
                           <m:mo>=</m:mo>
                           <m:mfrac>
                              <m:mrow>
                                 <m:mn>1</m:mn>
                                 <m:mo>&#8722;</m:mo>
                                 <m:mi>&#945;</m:mi>
                              </m:mrow>
                              <m:mrow>
                                 <m:msqrt>
                                    <m:mn>3</m:mn>
                                 </m:msqrt>
                              </m:mrow>
                           </m:mfrac>
                           <m:mo>.</m:mo>
                        </m:mrow>
                        <m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xI8qiVKYPFjYdHaVhbbf9v8qqaqFr0xc9vqFj0dXdbba91qpepeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaGaemizaqMaeiikaGIaemiraq0aaSbaaSqaaiabdsfaubqabaGccqGGSaalcqGGOaakcqWGdbWqdaWgaaWcbaGaeGymaeJaeGOmaiJaeiilaWIaeGinaqJaeGynaudabeaakiabgQIiilabdoeadnaaBaaaleaacqaI0aancqaI1aqncqGGSaalcqaIXaqmcqaIYaGmaeqaaOGaeiykaKYaaWbaaSqabeaacqWGJbWyaaGccqGGPaqkcqGH9aqpjuaGdaWcaaqaaiabigdaXiabgkHiTiabeg7aHbqaamaakaaabaGaeG4mamdabeaaaaGccqGGUaGlaaa@4A52@</m:annotation>
                     </m:semantics>
                  </m:math>
               </display-formula>
            </p>
            <p>The <it>l</it><sub>2 </sub>radius is obtained by dividing (4) by <it>min</it>(<it>&#945;</it>, <it>&#946;</it>), so the minimum is attained at <it>&#945; </it>= <it>&#946; </it>= <inline-formula><m:math name="1748-7188-3-5-i48" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mfrac><m:mn>1</m:mn><m:mn>2</m:mn></m:mfrac></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaaaaa@2E55@</m:annotation></m:semantics></m:math></inline-formula></p>
         </sec>
         <sec>
            <st>
               <p>Theorem 4.2</p>
            </st>
            <p><it>The l</it><sub>2 </sub><it>radius of neighbor-joining for </it>5 <it>taxa is </it><inline-formula><m:math name="1748-7188-3-5-i50" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mfrac><m:mn>1</m:mn><m:mrow><m:msqrt><m:mn>3</m:mn></m:msqrt></m:mrow></m:mfrac></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaadaGcaaqaaiabiodaZaqabaaaaaaa@2E67@</m:annotation></m:semantics></m:math></inline-formula> &#8776; 0.5773.</p>
            <p>This is slightly larger than the <it>l</it><sub>&#8734; </sub>radius of <inline-formula><m:math name="1748-7188-3-5-i48" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mfrac><m:mn>1</m:mn><m:mn>2</m:mn></m:mfrac></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaacqaIYaGmaaaaaa@2E55@</m:annotation></m:semantics></m:math></inline-formula> given by Atteson's theorem <abbrgrp><abbr bid="B15">15</abbr></abbrgrp>. It is an interesting problem to compute the <it>l</it><sub>2 </sub>radius for neighbor-joining with more taxa.</p>
            <p>The description of the NJ cones we have provided can also be used in practice to evaluate the robustness of the algorithm when used with a specific dataset. For <it>n </it>= 5, we examined data simulated from subtrees of the two tree models <it>T</it><sub>1 </sub>and <it>T</it><sub>2 </sub>in <abbrgrp><abbr bid="B16">16</abbr></abbrgrp> with the Jukes-Cantor model and the Kimura 2-parameter models <abbrgrp><abbr bid="B6">6</abbr></abbrgrp>. For each of 40, 000 simulations, we calculated the &#8467;<sub>2</sub>-distance between the NJ cone of the given tree and the maximum likelihood estimates for the pairwise distances (see supplementary material). These show that in many cases the maximum likelihood estimates lie very close to the boundary. In such cases, one must conclude that the NJ tree is possibly incorrect due to the variance in the distance estimates.</p>
         </sec>
      </sec>
      <sec>
         <st>
            <p>5 Optimality of the neighbor-joining algorithm</p>
         </st>
         <p>In order to study the optimality of the neighbor-joining algorithm, we compared the BME cones with the NJ cones. Such a comparison involves intersecting the cones with the (<inline-formula><m:math name="1748-7188-3-5-i16" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWaaeWaaeaafaqabeGabaaabaGaemOBa4gabaGaeGOmaidaaaGaayjkaiaawMcaaaaa@2FC2@</m:annotation></m:semantics></m:math></inline-formula> - 1)-sphere (in the first orthant) and then studying the volumes of their intersection by computing the standard Euclidean volume of the resulting surfaces. These surfaces are an intersection of closed hemispheres, i.e. <it>spherical polytopes</it>. Computing Euclidean volumes of (non-spherical) polytopes is a standard problem that is usually solved by triangulating and summing the volumes of the simplices. However there has been no publicly available software developed for computing or approximating volumes of spherical polytopes of dimension > 3 using this method. One possible reason for this is that in higher dimensions the volumes of spherical simplices are given by complicated analytical formulas <abbrgrp><abbr bid="B17">17</abbr></abbrgrp> whose computational complexities are unknown.</p>
         <p>We implemented two approaches in MATLAB (using polymake as a preprocessing step) for approximating the volume of a spherical polytope <it>P</it>. One approach is trivial: it simply samples uniformly from the sphere, and counts how many points are inside <it>P</it>. This approach is particularly suitable if <it>P </it>has large volume, or if many spherical polytopes are being simultaneously measured which partition the sphere, as is the case for NJ and BME cones. The second approach is suitable for spherical polytopes having small volume. We used this approach for computing the volumes of <it>consistency cones </it><abbrgrp><abbr bid="B18">18</abbr></abbrgrp> which we discuss briefly in the Discussion section.</p>
         <p>The second approach begins by computing a triangulation of the vertices of <it>P </it>with some additional interior points of <it>P </it>added. This triangulation defines a simplicial mesh <it>M </it>which is obtained by replacing each spherical simplex with the corresponding Euclidean simplex having the same vertices. The volume of <it>M </it>(i.e. the sum of the volumes of the simplices in the mesh) is already an approximation to the volume of <it>P</it>. We refine this estimate by Monte Carlo estimation of the average value of the Jacobian from <it>M </it>to <it>P</it>. This requires sampling uniformly from <it>M</it>, which can be done very quickly in <it>O</it>(<it>m </it>+ <it>kd </it>log <it>d </it>+ <it>k </it>log <it>k</it>) time, where <it>m </it>is the number of simplices in the mesh, <it>k </it>is the number of samples, and <it>d </it>is the dimension. Briefly, the method partitions the unit interval into <it>m </it>subintervals, where the length of the <it>i</it>th subinterval is proportional to the volume of the <it>i</it>th simplex <it>S</it><sub><it>i </it></sub>in the mesh. Then to sample <it>k </it>points from the mesh, first we decide how many of the <it>k </it>samples to draw from each <it>S</it><sub><it>i</it></sub>, by sampling uniformly from unit interval <it>k </it>times. For each <it>S</it><sub><it>i</it></sub>, we sample &#8467;<sub><it>i </it></sub>points uniformly from <it>S</it><sub><it>i </it></sub>where &#8467;<sub><it>i </it></sub>is the number of samples <it>x </it>&#8712; [0, 1] which land in the <it>i</it>th subinterval. Sampling uniformly from a single simplex is a classical problem solved in <it>O</it>(<it>d </it>log <it>d</it>) time.</p>
         <p>Our main results on the optimality of NJ for <it>n </it>= 5, 6, 7, 8 taxa are summarized in Table <tblr tid="T3">3</tblr>. Each row of the table describes one type of tree. Trees are classified by their topology. A <it>k</it>-cherry tree is a tree with <it>k </it>cherries. The NJ volume column shows the volume of that part of the positive orthant of dissimilarity maps for which the NJ tree is of the specified type. Similarly, the BME volume column shows the same statistic for BME trees. Finally, NJ accuracy shows the fraction of the BME cone that overlaps the NJ cone. In other words, NJ accuracy is a measure of how frequently NJ will find the BME tree for a dissimilarity map that is chosen at random.</p>
         <tbl id="T3">
            <title>
               <p>Table 3</p>
            </title>
            <caption>
               <p>Comparison of NJ and BME cones. The volume estimates for <it>n </it>= 8 do not all add up to exactly 100% due to round-off errors</p>
            </caption>
            <tblbdy cols="6">
               <r>
                  <c ca="center">
                     <p>#taxa</p>
                  </c>
                  <c ca="center">
                     <p>tree shape</p>
                  </c>
                  <c ca="center">
                     <p>#trees</p>
                  </c>
                  <c ca="center">
                     <p>NJ vol</p>
                  </c>
                  <c ca="center">
                     <p>BME vol</p>
                  </c>
                  <c ca="center">
                     <p>NJ accuracy</p>
                  </c>
               </r>
               <r>
                  <c cspan="6">
                     <hr/>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>4</p>
                  </c>
                  <c ca="center">
                     <p>unique</p>
                  </c>
                  <c ca="right">
                     <p>3</p>
                  </c>
                  <c ca="right">
                     <p>100%</p>
                  </c>
                  <c ca="right">
                     <p>100%</p>
                  </c>
                  <c ca="right">
                     <p>100%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>5</p>
                  </c>
                  <c ca="center">
                     <p>unique</p>
                  </c>
                  <c ca="right">
                     <p>15</p>
                  </c>
                  <c ca="right">
                     <p>100%</p>
                  </c>
                  <c ca="right">
                     <p>100%</p>
                  </c>
                  <c ca="right">
                     <p>98.06%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>6</p>
                  </c>
                  <c ca="center">
                     <p>3-cherry</p>
                  </c>
                  <c ca="right">
                     <p>15</p>
                  </c>
                  <c ca="right">
                     <p>18.49%</p>
                  </c>
                  <c ca="right">
                     <p>18.57%</p>
                  </c>
                  <c ca="right">
                     <p>90.39%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>6</p>
                  </c>
                  <c ca="center">
                     <p>caterpillar</p>
                  </c>
                  <c ca="right">
                     <p>90</p>
                  </c>
                  <c ca="right">
                     <p>81.51%</p>
                  </c>
                  <c ca="right">
                     <p>81.43%</p>
                  </c>
                  <c ca="right">
                     <p>91.33%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>7</p>
                  </c>
                  <c ca="center">
                     <p>3-cherry</p>
                  </c>
                  <c ca="right">
                     <p>315</p>
                  </c>
                  <c ca="right">
                     <p>45.32%</p>
                  </c>
                  <c ca="right">
                     <p>44.58%</p>
                  </c>
                  <c ca="right">
                     <p>82.42%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>7</p>
                  </c>
                  <c ca="center">
                     <p>caterpillar</p>
                  </c>
                  <c ca="right">
                     <p>630</p>
                  </c>
                  <c ca="right">
                     <p>54.68%</p>
                  </c>
                  <c ca="right">
                     <p>55.42%</p>
                  </c>
                  <c ca="right">
                     <p>78.85%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>8</p>
                  </c>
                  <c ca="center">
                     <p>4-cherry</p>
                  </c>
                  <c ca="right">
                     <p>315</p>
                  </c>
                  <c ca="right">
                     <p>6.48%</p>
                  </c>
                  <c ca="right">
                     <p>6.36%</p>
                  </c>
                  <c ca="right">
                     <p>70.12%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>8</p>
                  </c>
                  <c ca="center">
                     <p>3-cherry (two are neighbors)</p>
                  </c>
                  <c ca="right">
                     <p>2520</p>
                  </c>
                  <c ca="right">
                     <p>27.12%</p>
                  </c>
                  <c ca="right">
                     <p>25.84%</p>
                  </c>
                  <c ca="right">
                     <p>69.93%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>8</p>
                  </c>
                  <c ca="center">
                     <p>3-cherry (none are neighbors)</p>
                  </c>
                  <c ca="right">
                     <p>2520</p>
                  </c>
                  <c ca="right">
                     <p>35.67%</p>
                  </c>
                  <c ca="right">
                     <p>34.55%</p>
                  </c>
                  <c ca="right">
                     <p>71.63%</p>
                  </c>
               </r>
               <r>
                  <c ca="center">
                     <p>8</p>
                  </c>
                  <c ca="center">
                     <p>caterpillar</p>
                  </c>
                  <c ca="right">
                     <p>5040</p>
                  </c>
                  <c ca="right">
                     <p>30.73%</p>
                  </c>
                  <c ca="right">
                     <p>33.24%</p>
                  </c>
                  <c ca="right">
                     <p>61.75%</p>
                  </c>
               </r>
            </tblbdy>
         </tbl>
         <p>We also classified and measured the intersections of NJ and BME cones in which the NJ tree differs from the BME tree. Many of these intersection cones are equivalent under the action of <it>S</it><sub><it>n </it></sub>on the leaf labels, particularly as the stabilizer of the BME tree permutes the leaf labels in the NJ tree. In fact, for <it>n </it>= 5 taxa there are only three types of mistakes that the NJ algorithm can make when it fails to reproduce the BME tree. These are depicted in Figure <figr fid="F4">4</figr> and the normalized spherical volumes of corresponding NJ/BME intersection cones are given.</p>
         <fig id="F4">
            <title>
               <p>Figure 4</p>
            </title>
            <caption>
               <p>Frequencies of the all three possible types of NJ trees that may picked instead of the BME tree for <it>n </it>= 5 leaves</p>
            </caption>
            <text>
               <p><b>Frequencies of the all three possible types of NJ trees that may picked instead of the BME tree for <it>n </it>= 5 leaves. </b>Neighbor-joining agrees with the BME tree 98.06% of the time.</p>
            </text>
            <graphic file="1748-7188-3-5-4"/>
         </fig>
         <p>Figure <figr fid="F4">4</figr> can be interpreted as follows: For a random dissimilarity map, if the NJ algorithm does not produce the BME tree, then with probability 0.67 it produces the tree on the right, and if not then it almost always produces the tree in the middle. This tree differs from the BME tree significantly. A surprising result is that the tree on the left is almost <it>never </it>the NJ tree. We believe that a deeper understanding of the "mistakes" NJ makes when it does not optimize the balanced minimum evolution criterion may be important in interpreting the results, especially for large trees.</p>
         <p>We also computed analogous results for <it>n </it>= 6, 7, 8, 9, 10. They are available, together with the software for computing volumes at <abbrgrp><abbr bid="B19">19</abbr></abbrgrp>.</p>
      </sec>
      <sec>
         <st>
            <p>6 Discussion</p>
         </st>
         <p>Theoretical studies of the neighbor-joining algorithm have focused on statistical consistency and the robustness of the algorithm to small perturbations of tree metrics. The paper by <abbrgrp><abbr bid="B20">20</abbr></abbrgrp> established the consistency of NJ, that is, if <it>D</it><sub><it>T </it></sub>is a tree metric then NJ outputs the tree <it>T</it>. This result was then extended in <abbrgrp><abbr bid="B15">15</abbr></abbrgrp> and more recently by <abbrgrp><abbr bid="B18">18</abbr></abbrgrp> who show that if <it>D </it>is "close" to a tree metric <it>D</it><sub><it>T </it></sub>for some <it>T</it>, then NJ outputs <it>T </it>on input <it>D</it>.</p>
         <p>Our results provide a different perspective on the NJ algorithm. Namely, we address the question of the accuracy of the greedy approach for the underlying linear programming problem of BME optimization. This led us to the study of BME polytopes, and the combinatorics of these polytopes is interesting in its own right:</p>
         <sec>
            <st>
               <p>Question 6.1</p>
            </st>
            <p><it>Is there a combinatorial criterion for two tree topologies forming an edge in the BME polytope, similar to pruning/re-grafting or some other operation on trees? If so, this could be used to define a combinatorial pivoting rule on tree space that could be used in hill-climbing algorithms for phylogenetic reconstruction. Such a pivoting rule would have the advantage that it would be equivalent to performing an edge-walk on the BME polytope. Edge-walking methods are known to perform well in practice for solving linear programs. See </it><abbrgrp><abbr bid="B21">21</abbr></abbrgrp><it>for an example of a local search approach to finding minimum evolution trees</it>.</p>
            <p>Similarly, a better understanding of the combinatorics of the NJ cones will lead to a clearer view of the strengths and weaknesses of the neighbor-joining algorithm. A basic problem is the following:</p>
         </sec>
         <sec>
            <st>
               <p>Question 6.2</p>
            </st>
            <p>
               <it>Find a combinatorial description of the NJ cones for general n. How many facets/rays are there?</it>
            </p>
            <p>Our computational results lend new insights into the performance of the NJ and BME algorithms for small trees. We have measured the relative sizes of cones for different shapes of trees, and measured the frequencies of all combinatorial types of discrepancies between BME and NJ trees. In particular, we have observed that the NJ algorithm is least likely to reproduce the BME tree when the BME tree is the caterpillar tree.</p>
         </sec>
         <sec>
            <st>
               <p>Conjecture 6.3</p>
            </st>
            <p><it>For n </it>> 6, <it>it is the caterpillar tree that yields the smallest ratio of spherical cone volumes vol(NJ &#8898; BME)/vol(BME) where NJ is the spherical cone volume of a union of the NJ cones and BME is the spherical cone volume of the BME cone for a fixed tree. In other words, the caterpillar tree is the most difficult BME tree topology for the NJ algorithm to reproduce</it>.</p>
            <p>Another problem we believe is very important is to extend the results shown in Figure <figr fid="F4">4</figr> to large trees. In other words, to understand how neighbor-joining can fail when it does not succeed in finding the balanced minimum evolution tree.</p>
         </sec>
         <sec>
            <st>
               <p>Question 6.4</p>
            </st>
            <p>
               <it>What tree topologies is neighbor-joining likely to pick when it fails to construct the balanced minimum evolution tree?</it>
            </p>
            <p>There are many other interesting cones related to distance-based methods that can be considered in this context. For example, in <abbrgrp><abbr bid="B18">18</abbr></abbrgrp>, it is shown that the <it>quartet consistency </it>condition is sufficient for neighbor-joining to reconstruct a tree from a dissimilarity map for <it>n </it>&#8804; 7 leaves. The quartet consistency conditions define polyhedral cones (consistency cones) in <inline-formula><m:math name="1748-7188-3-5-i15" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mi>n</m:mi></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqWGUbGBaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3ABF@</m:annotation></m:semantics></m:math></inline-formula>; see <abbrgrp><abbr bid="B18">18</abbr></abbrgrp> for details. For <it>n </it>= 4 taxa the consistency cones cover all of <inline-formula><m:math name="1748-7188-3-5-i51" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msup><m:mi mathvariant="script">R</m:mi><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mn>4</m:mn></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aaWbaaSqabeaadaqadaqaauaabeqaceaaaeaacqaI0aanaeaacqaIYaGmaaaacaGLOaGaayzkaaaaaaaa@3A50@</m:annotation></m:semantics></m:math></inline-formula> showing that quartet consistency explains the behavior of neighbor-joining for all dissimilarity maps. Using the second method outlined in Section 4 we succeeded in computing the volumes of the consistency cones intersected with the first orthant of the sphere for <it>n </it>= 5 taxa. There are 15 cones, all equivalent under orthogonal transformation, and their union covers 27.93% of <inline-formula><m:math name="1748-7188-3-5-i52" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:msubsup><m:mi mathvariant="script">R</m:mi><m:mo>+</m:mo><m:mrow><m:mrow><m:mo>(</m:mo><m:mrow><m:mtable><m:mtr><m:mtd><m:mn>5</m:mn></m:mtd></m:mtr><m:mtr><m:mtd><m:mn>2</m:mn></m:mtd></m:mtr></m:mtable></m:mrow><m:mo>)</m:mo></m:mrow></m:mrow></m:msubsup></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaWenfgDOvwBHrxAJfwnHbqeg0uy0HwzTfgDPnwy1aaceaGae83gHi1aa0baaSqaaiabgUcaRaqaamaabmaabaqbaeqabiqaaaqaaiabiwda1aqaaiabikdaYaaaaiaawIcacaGLPaaaaaaaaa@3B34@</m:annotation></m:semantics></m:math></inline-formula>, measured with respect to spherical volume. In other words, quartet consistency explains the behavior of neighbor-joining on almost <inline-formula><m:math name="1748-7188-3-5-i53" xmlns:m="http://www.w3.org/1998/Math/MathML"><m:semantics><m:mrow><m:mfrac><m:mn>1</m:mn><m:mn>3</m:mn></m:mfrac></m:mrow><m:annotation encoding="MathType-MTEF">
 MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacPC6xNi=xH8viVGI8Gi=hEeeu0xXdbba9frFj0xb9qqpG0dXdb9aspeI8k8fiI+fsY=rqGqVepae9pg0db9vqaiVgFr0xfr=xfr=xc9adbaqaaeGaciGaaiaabeqaaeqabiWaaaGcbaqcfa4aaSaaaeaacqaIXaqmaeaacqaIZaWmaaaaaa@2E57@</m:annotation></m:semantics></m:math></inline-formula> of dissimilarity maps.</p>
            <p>Such computations are pushing the boundary of computational polyhedral geometry. For <it>n </it>&#8805; 6 taxa, triangulating a consistency cone is too unwieldy, although we are confident that spherical volumes could still be computed using polynomial time hit-and-run sampling methods for volume approximation <abbrgrp><abbr bid="B22">22</abbr></abbrgrp>. Such methods are complicated and not yet implemented.</p>
            <p>Finally, we comment on the example in Section 3 that shows how different alignments may lead to the same neighbor-joining tree, whereas the neighbor-joining tree constructed from a concatenation of the alignments is different. This result has significant implications for studies where species trees are constructed from multiple gene families by combining the data.</p>
         </sec>
      </sec>
      <sec>
         <st>
            <p>7 Competing interests</p>
         </st>
         <p>The authors declare that they have no competing interests.</p>
      </sec>
   </bdy>
   <bm>
      <refgrp>
         <bibl id="B1">
            <title>
               <p>The neighbor joining method: a new method for reconstructing phylogenetic trees</p>
            </title>
            <aug>
               <au>
                  <snm>Saitou</snm>
                  <fnm>N</fnm>
               </au>
               <au>
                  <snm>Nei</snm>
                  <fnm>M</fnm>
               </au>
            </aug>
            <source>Mol Biol Evol</source>
            <pubdate>1987</pubdate>
            <volume>4</volume>
            <issue>4</issue>
            <fpage>406</fpage>
            <lpage>425</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="pmpid" link="fulltext">3447015</pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B2">
            <title>
               <p>Neighbor-joining revealed</p>
            </title>
            <aug>
               <au>
                  <snm>Gascuel</snm>
                  <fnm>O</fnm>
               </au>
               <au>
                  <snm>Steel</snm>
                  <fnm>M</fnm>
               </au>
            </aug>
            <source>Molecular Biology and Evolution</source>
            <pubdate>2006</pubdate>
            <volume>23</volume>
            <issue>11</issue>
            <fpage>1997</fpage>
            <lpage>2000</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="doi">10.1093/molbev/msl072</pubid>
                  <pubid idtype="pmpid" link="fulltext">16877499</pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B3">
            <title>
               <p>Computational complexity of inferring phylogenies from dissimilarity matrices</p>
            </title>
            <aug>
               <au>
                  <cnm>WHE Day</cnm>
               </au>
            </aug>
            <source>Bulletin of Mathematical Biology</source>
            <pubdate>1987</pubdate>
            <volume>49</volume>
            <issue>4</issue>
            <fpage>461</fpage>
            <lpage>467</lpage>
            <xrefbib>
               <pubid idtype="pmpid">3664032</pubid>
            </xrefbib>
         </bibl>
         <bibl id="B4">
            <title>
               <p>Theoretical foundation of the balanced minimum evolution method of phylogenetic inference and its relationship to weighted least-squares tree fitting</p>
            </title>
            <aug>
               <au>
                  <snm>Desper</snm>
                  <fnm>R</fnm>
               </au>
               <au>
                  <snm>Gascuel</snm>
                  <fnm>O</fnm>
               </au>
            </aug>
            <source>Mol Biol Evol</source>
            <pubdate>2004</pubdate>
            <volume>21</volume>
            <issue>3</issue>
            <fpage>587</fpage>
            <lpage>98</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="doi">10.1093/molbev/msh049</pubid>
                  <pubid idtype="pmpid" link="fulltext">14694080</pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B5">
            <title>
               <p>Cyclic permutations and evolutionary trees</p>
            </title>
            <aug>
               <au>
                  <snm>Semple</snm>
                  <fnm>C</fnm>
               </au>
               <au>
                  <snm>Steel</snm>
                  <fnm>M</fnm>
               </au>
            </aug>
            <source>Applied Mathematics</source>
            <pubdate>2003</pubdate>
            <volume>32</volume>
            <fpage>669</fpage>
            <lpage>680</lpage>
         </bibl>
         <bibl id="B6">
            <aug>
               <au>
                  <snm>Pachter</snm>
                  <fnm>L</fnm>
               </au>
               <au>
                  <snm>Sturmfels</snm>
                  <fnm>B</fnm>
               </au>
            </aug>
            <source>Algebraic Statistics for Computational Biology</source>
            <publisher>Cambridge University Press</publisher>
            <pubdate>2005</pubdate>
         </bibl>
         <bibl id="B7">
            <title>
               <p>On the uniqueness of the selection criterion in neighbor-joining</p>
            </title>
            <aug>
               <au>
                  <snm>Bryant</snm>
                  <fnm>D</fnm>
               </au>
            </aug>
            <source>J Classif</source>
            <pubdate>2005</pubdate>
            <volume>22</volume>
            <fpage>3</fpage>
            <lpage>15</lpage>
            <xrefbib>
               <pubid idtype="doi">10.1007/s00357-005-0003-x</pubid>
            </xrefbib>
         </bibl>
         <bibl id="B8">
            <aug>
               <au>
                  <snm>Ziegler</snm>
                  <fnm>GM</fnm>
               </au>
            </aug>
            <source>Lectures on polytopes, Graduate Texts in Mathematics</source>
            <publisher>Springer-Verlag, New York</publisher>
            <pubdate>1995</pubdate>
            <volume>152</volume>
         </bibl>
         <bibl id="B9">
            <aug>
               <au>
                  <snm>Schrijver</snm>
                  <fnm>A</fnm>
               </au>
            </aug>
            <source>Theory of Linear and Integer Programming. Wiley-Interscience Series in Discrete Mathematics</source>
            <publisher>John Wiley &amp; Sons Ltd., Chichester. A Wiley-Interscience Publication</publisher>
            <pubdate>1986</pubdate>
         </bibl>
         <bibl id="B10">
            <aug>
               <au>
                  <snm>Semple</snm>
                  <fnm>C</fnm>
               </au>
               <au>
                  <snm>Steel</snm>
                  <fnm>M</fnm>
               </au>
            </aug>
            <source>Phylogenetics, Oxford Lecture Series in Mathematics and its Applications</source>
            <publisher>Oxford University Press, Oxford</publisher>
            <pubdate>2003</pubdate>
            <volume>24</volume>
         </bibl>
         <bibl id="B11">
            <title>
               <p>Geometry of neighbor-joining algorithm for small trees</p>
            </title>
            <aug>
               <au>
                  <snm>Eickmeyer</snm>
                  <fnm>K</fnm>
               </au>
               <au>
                  <snm>Yoshida</snm>
                  <fnm>R</fnm>
               </au>
            </aug>
            <source>Proceedings of the third international conference on Algebraic Biology</source>
            <pubdate>2008</pubdate>
         </bibl>
         <bibl id="B12">
            <title>
               <p>Polymake: a framework for analyzing convex polytopes</p>
            </title>
            <aug>
               <au>
                  <snm>Gawrilow</snm>
                  <fnm>E</fnm>
               </au>
               <au>
                  <snm>Joswig</snm>
                  <fnm>M</fnm>
               </au>
            </aug>
            <source>Polytopes &#8211; Combinatorics and Computation. Birkh&#228;user</source>
            <editor>Kalai G, Ziegler GM</editor>
            <pubdate>2000</pubdate>
            <fpage>43</fpage>
            <lpage>74</lpage>
         </bibl>
         <bibl id="B13">
            <title>
               <p>Evolution of protein molecules</p>
            </title>
            <aug>
               <au>
                  <snm>Jukes</snm>
                  <fnm>TH</fnm>
               </au>
               <au>
                  <snm>Cantor</snm>
                  <fnm>C</fnm>
               </au>
            </aug>
            <source>Mammalian Protein Metabolism</source>
            <publisher>New York Academic Press</publisher>
            <editor>Munro HN</editor>
            <pubdate>1969</pubdate>
            <fpage>21</fpage>
            <lpage>32</lpage>
         </bibl>
         <bibl id="B14">
            <title>
               <p>Phylogenetic mixtures on a single tree can mimic a tree of another topology</p>
            </title>
            <aug>
               <au>
                  <snm>Matsen</snm>
                  <fnm>FA</fnm>
               </au>
               <au>
                  <snm>Steel</snm>
                  <fnm>M</fnm>
               </au>
            </aug>
            <source>Systematic Biology</source>
            <pubdate>2007</pubdate>
            <volume>56</volume>
            <issue>5</issue>
            <fpage>767</fpage>
            <lpage>775</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="doi">10.1080/10635150701627304</pubid>
                  <pubid idtype="pmpid" link="fulltext">17886146</pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B15">
            <title>
               <p>The performance of neighbor-joining methods of phylogenetic reconstruction</p>
            </title>
            <aug>
               <au>
                  <snm>Atteson</snm>
                  <fnm>K</fnm>
               </au>
            </aug>
            <source>Algorithmica</source>
            <pubdate>1999</pubdate>
            <volume>25</volume>
            <fpage>251</fpage>
            <lpage>278</lpage>
            <xrefbib>
               <pubid idtype="doi">10.1007/PL00008277</pubid>
            </xrefbib>
         </bibl>
         <bibl id="B16">
            <title>
               <p>NJML: A hybrid algorithm for the neighbor-joining and maximum likelihood methods</p>
            </title>
            <aug>
               <au>
                  <snm>Ota</snm>
                  <fnm>S</fnm>
               </au>
               <au>
                  <snm>Li</snm>
                  <fnm>WH</fnm>
               </au>
            </aug>
            <source>Molecular Biology and Evolution</source>
            <pubdate>2000</pubdate>
            <volume>17</volume>
            <issue>9</issue>
            <fpage>1401</fpage>
            <lpage>1409</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="pmpid" link="fulltext">10958856</pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B17">
            <title>
               <p>Spherical simplicies and their polars</p>
            </title>
            <aug>
               <au>
                  <snm>Sat&#244;</snm>
                  <fnm>Q</fnm>
               </au>
            </aug>
            <source>Quarterly J Math</source>
            <pubdate>2007</pubdate>
            <volume>58</volume>
            <fpage>107</fpage>
            <lpage>126</lpage>
            <xrefbib>
               <pubid idtype="doi">10.1093/qmath/hal008</pubid>
            </xrefbib>
         </bibl>
         <bibl id="B18">
            <title>
               <p>Why neighbor-joining works</p>
            </title>
            <aug>
               <au>
                  <snm>Mihaescu</snm>
                  <fnm>R</fnm>
               </au>
               <au>
                  <snm>Levy</snm>
                  <fnm>D</fnm>
               </au>
               <au>
                  <snm>Pachter</snm>
                  <fnm>L</fnm>
               </au>
            </aug>
            <source>Algorithmica</source>
            <pubdate>2007</pubdate>
            <inpress/>
         </bibl>
         <bibl id="B19">
            <title>
               <p>NJBMEVolume: Software for computing volumes</p>
            </title>
            <aug>
               <au>
                  <snm>Huggins</snm>
                  <fnm>P</fnm>
               </au>
            </aug>
            <pubdate>2008</pubdate>
            <url>http://bio.math.berkeley.edu/NJBME</url>
         </bibl>
         <bibl id="B20">
            <title>
               <p>A note on the neighbor-joining method of Saitou and Nei</p>
            </title>
            <aug>
               <au>
                  <snm>Studier</snm>
                  <fnm>JA</fnm>
               </au>
               <au>
                  <snm>Keppler</snm>
                  <fnm>KJ</fnm>
               </au>
            </aug>
            <source>Mol Biol Evol</source>
            <pubdate>1988</pubdate>
            <volume>5</volume>
            <issue>6</issue>
            <fpage>729</fpage>
            <lpage>731</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="pmpid" link="fulltext">3221794 </pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B21">
            <title>
               <p>Fast and accurate phylogeny reconstruction algorithms based on the minimum-evolution principle</p>
            </title>
            <aug>
               <au>
                  <snm>Desper</snm>
                  <fnm>R</fnm>
               </au>
               <au>
                  <snm>Gascuel</snm>
                  <fnm>O</fnm>
               </au>
            </aug>
            <source>Journal of Computational Biology</source>
            <pubdate>2002</pubdate>
            <fpage>687</fpage>
            <lpage>705</lpage>
            <xrefbib>
               <pubidlist>
                  <pubid idtype="doi">10.1089/106652702761034136</pubid>
                  <pubid idtype="pmpid" link="fulltext">12487758</pubid>
               </pubidlist>
            </xrefbib>
         </bibl>
         <bibl id="B22">
            <title>
               <p>Matrix approximation and projective clustering via volume sampling</p>
            </title>
            <aug>
               <au>
                  <snm>Deshpande</snm>
                  <fnm>A</fnm>
               </au>
               <au>
                  <snm>Rademacher</snm>
                  <fnm>L</fnm>
               </au>
               <au>
                  <snm>Vemapla</snm>
                  <fnm>S</fnm>
               </au>
               <au>
                  <snm>Wang</snm>
                  <fnm>G</fnm>
               </au>
            </aug>
            <source>Theory of Computing</source>
            <pubdate>2006</pubdate>
            <fpage>225</fpage>
            <lpage>247</lpage>
         </bibl>
      </refgrp>
   </bm>
</art>
