Since a polygon with
n vertices has exactly
n sides, the number of blue lines is:
Blue lines=n
To find the total number of tracks, we must calculate the number of ways to choose 2 stations out of n available vertices. This is given by the combination formula nC2.
The total number of tracks is:
Total tracks=2n(n−1)
The red lines represent the diagonals of the polygon, which are all tracks that are not sides. We find this by subtracting the blue lines from the total tracks:
Red lines=2n(n−1)−n
We are given the condition that the number of red lines is
99 times the number of blue lines. We can express this relationship as:
2n(n−1)−n=99n
To solve for
n, first add
n to both sides to isolate the total number of tracks:
2n(n−1)=100n
Since the problem implies a polygon exists, we know
n>2, meaning
$n
eq 0$. We can safely divide both sides of the equation by
n:
2n−1=100
Multiplying both sides by
2 yields:
n−1=200