Counting lines!

A Mystic Rose consists of twenty points evenly spaced around a circle and every point is joined to every other point.

How many lines are required to construct the Mystic Rose?

Note- this can be generalized for n n points.


The answer is 190.

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.

5 solutions

Discussions for this problem are now closed

J O
Feb 10, 2015

This is what is known as a complete graph . This means that every point is connected to every other point - but not itself!

Therefore, if we have 20 points , each with 19 lines extending out from it, we must have 20 × 19 20 \times 19 lines (that is to say, 20 sets of 19 lines, one set for each point). However, this actually counts each line twice , as each one is shared by two points. We must divide by 2 to get the result.

Therefore our result will be: 20 × 19 2 20\times 19 \over 2 = 190 = 190

To use an analogy, if you want to count the number of handshakes made in a room (with n n people) where each person shakes hands once with every other person, if you count all the handshakes made by every person ( n × ( n 1 ) n \times (n - 1) ), this will be twice as many as you need, because each handshake is made by 2 people. This is why we would half the total number of handshakes made by everyone, i.e. n × ( n 1 ) 2 n \times (n-1) \over 2

Upvoted coz i used the same formula....

Mehul Arora - 6 years, 4 months ago

Hey, I also did in the same way but was thinking that wouldn't some line be passing through more than 2 lines. If so we should subtract those one? Thanks for the help!

Divij Handa - 6 years, 4 months ago

If a line (line 1) crosses over another line (line 2) then we would still only have 2 lines, just overlapping. They don't get split into separate lines when they overlap. (Or at least, we act as if they don't, think about lines that overlap on a (cartesian) graph - they still have only one equation each, and they don't split into two if another lines equation says so).

J O - 6 years, 4 months ago
Nihar Mahajan
Feb 8, 2015

Label the points as A , B , C , D T A , B , C , D \dots\ T

Point A A can be paired with 19 19 points

Point B B can be paired with 18 18 lines. (Since B B is already paired with A A )

Point C C can be paired with 17 17 lines.(Since C C is already paired with A , B A , B )

\dots

\dots

Point S S can be paired with 1 1 lines (Since S S is already paired with A , B , C Q , R A , B , C \dots\ Q , R )

Point T T can be paired with 0 0 lines (Since T T is already paired with A L L ! ALL! )

Hence , total lines = i = 1 19 = \displaystyle \sum_{i=1}^{19}

= 19 × ( 19 + 1 ) 2 =\displaystyle \frac{19 \times (19 + 1)}{2}

= 19 × 20 2 = \displaystyle\frac{19 \times 20}{2}

= 19 × 10 =\displaystyle 19 \times 10

= 190 =\Large \boxed{190}

Rizky Dermawan
Feb 10, 2015

For generalization, there are n points. To make line, we must connect one point to another point (2 points is required to make a line). So the lines that we can make is ( n 2 ) {n \choose 2 }

That is correct or the i = 1 n 1 i \displaystyle \sum_{i=1}^{n-1} i

Roman Frago - 6 years, 4 months ago
Tushar Malik
Feb 24, 2015

Starting at the first point, it must be joined to nineteen other points. The second point only needs to be joined to eighteen points now. The third point needs to join seventeen points and so on. Number of lines, L = 19 + 18 + 17 + ......... + 1 = 1 2 × 19 × [ 19 + 1 ] \frac{1}{2} \times 19 \times [19 + 1] = 190 \huge190 .

Zeeshan Ali
Feb 10, 2015

1st point will be conected to other 19 points with 19 lines.
2nd with 18 points with 18 lines (b/c it is already conected to 1st point) similarly.
3rd with 17 lines
4th with 16 lines
5th with 15 lines
.
.
.
.
.
20th with 0 line (b/c it is already coneced to all other points)
therefore total number of lines is:
19 + 18 + 17 + 16 + 15 + . . . . . . . . . . . . + 0 = 19(19+1)/2 = |190| -----> ANSWER






0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...