The Eccentric Empire

In Sheldor's empire, the cities form a tree with cities as vertices and roads as edges. He wishes to choose a capital among his cities and to do that, his ministers come up with the following definition:

  • The eccentricity of a city v v is the maximum distance from v v to any vertex.

Sheldor wishes to choose a city which is the least eccentric. What is the maximum number of such cities that could exist?


The answer is 2.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

展豪 張
Aug 26, 2016

The answer is 2 2 .


First, we will show that 2 2 is attainable.
This should be obvious, just imagine a symmetric case, or even more obvious, there are only two cities.


Next, we will show that if there are (at least) 2 2 such cities, they must be adjacent to each other.
With the assumption of being a tree, this proves that there are at most 2 2 such cities.

Let a , b a,b has the least eccentricity e e .

Notice that a , b a,b cannot be leaves. If it were, that city it links to has less eccentricity.

Assume u , v u,v are the most far away city for a , b a,b respectively.
So e = distance ( a , u ) = distance ( b , v ) e=\text{distance}(a,u)=\text{distance}(b,v)
Further assume the contrary that a , b a,b are not adjacent, so c \exists c between a a and b b .
By the definition of eccentricity, the path from u u to v v is like this:
u , , b , , c , , a , , v u,\cdots,b,\cdots,c,\cdots,a,\cdots,v
It is now obvious that c c has less eccentricity than a , b a,b .

If u = v u = v , Consider the linkage between a , b , u = v a,b,u=v .
It must be one of the three cases: a b u a\cdots b\cdots u , a u b a\cdots u\cdots b , u a b u\cdots a\cdots b .
For the middle one, u u has less eccentricity than a , b a,b .
For the other two, a a and b b has different eccentricity.

Contradiction.


The answer is 2 2 .

PS (something I forgot to prove in the above solution......)


  1. what if a a (or b b ) is a leaf?
    No it is not. If it is a leaf, that city it links to has less eccentricity.

  2. what if u = v u=v ?
    No it doesn't......I am still thinking a proof about this......

展豪 張 - 4 years, 9 months ago

Log in to reply

Consider the linkage between a , b , u = v a,b,u=v .
It must be one of the three cases: a b u a\cdots b\cdots u , a u b a\cdots u\cdots b , u a b u\cdots a\cdots b .
For the middle one, u u has less eccentricity than a , b a,b .
For the other two, a a and b b has different eccentricity.

展豪 張 - 4 years, 9 months ago

Log in to reply

Thanks, I have updated the proof to include these solutions. I must say that this indeed is a very sleek proof.

Agnishom Chattopadhyay - 4 years, 9 months ago

I know I am probably understanding something wrong about trees, but what if the root of the tree was centered at 0,0 in a cartisian plan and then leaves being drawn from the root to a point x,y in the equation y= -sqrt (2- x^2) in the interval of -0.1 to 0.1 (basically only part of the bottom of a semicircle). And since there is an infinite number of points from -0.1 to 0.1 there can be an infinite number of points or vetexes with their maximum eccentricity or distance to the root, which would all be 2. It would be a rare case but would mean it is possible.

Mas No - 4 years, 9 months ago

Log in to reply

In your case the root is the city with least eccentricity.

展豪 張 - 4 years, 9 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...