Function for line segment configuration between dots

Click For Summary

Discussion Overview

The discussion revolves around determining the number of configurations for lines connecting a set of dots, exploring both theoretical and practical aspects of graph theory. Participants analyze specific cases for different numbers of dots and propose potential functions to describe the configurations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests that for 0 or 1 dot, there are 0 configurations, while another claims there is 1 configuration for 1 dot (no lines).
  • For 2 dots, configurations are counted as 2 (one connection or none).
  • For 3 dots, one participant counts 8 configurations, while another later questions the accuracy of this count.
  • For 4 dots, one participant counts 65 configurations, while another calculates 64 based on the number of possible lines (6) and configurations (2^6).
  • There is a proposal that for 5 dots, there are 10 possible lines, leading to 1024 configurations, but this is debated with a suggestion that it should be 8 lines instead.
  • Another participant mentions a formula involving the number of dots and lines, suggesting a pattern in the configurations.
  • One participant references a graph theory resource that may provide insight into calculating configurations for connected graphs.

Areas of Agreement / Disagreement

Participants express differing views on the number of configurations for various numbers of dots, leading to multiple competing interpretations of the problem. There is no consensus on the exact counts or the functions that govern these configurations.

Contextual Notes

Participants note potential errors in counting configurations and the complexity of deriving a function that accurately describes the relationship between dots and configurations. Some calculations remain unresolved, and assumptions about the nature of connections are not fully clarified.

Who May Find This Useful

This discussion may be of interest to those studying combinatorial graph theory, exploring configurations in mathematical contexts, or seeking to understand the relationships between graph structures and their properties.

Labyrinth
Messages
26
Reaction score
0
If I have n dots, how many configurations exist for lines that connect them, including no connections?

For example, if I have 0, or 1 dots I believe this should be 0 since no connections are possible (or perhaps I should consider the single dot as having a single connection to itself?) If I have 2 dots, there would be two possibilities, one connection between the two, and zero connections.

To clarify what I mean, for three dots I counted 8: http://i.imgur.com/EHZLcYe.png

For four dots I counted 65, but I could be wrong as I was drawing them and this is error prone: http://imgur.com/Zw0JM0j
The final possibility used 6 lines.

I tried looking through various possibilities and renditions in OEIS, but nothing popped out.

I'm having trouble coming up with a function that returns such an odd sequence as 0,0,2,8,65. I'm hoping that I goofed, because 0,0,2,8,64 looks a lot more palpable.

Surely this function is known? Or something very similar?

Thank you for your time.
 
Mathematics news on Phys.org
0 dots: Well...
1 dot: There is 1 configuration: no lines.

4 dots: There are 6 possible lines, they all can be present or not (2 options each), for a total of 26=64 options.
Do you see the pattern?

In your image, the "N" pattern has a duplicate: second block, first column third row and second column fourth row.
 
  • Like
Likes   Reactions: Labyrinth
mfb said:
0 dots: Well...
1 dot: There is 1 configuration: no lines.

4 dots: There are 6 possible lines, they all can be present or not (2 options each), for a total of 26=64 options.
Do you see the pattern?

I'll just use zero for 0 dots.

0,1,2,8,64..

0,20,21, 23, 26..

I suppose 5 dots would have 8 lines to connect them all, so I should expect 2^8 configurations, if the function is 2^n where n is number of lines to connect all the dots. Now I need a function that gets n from a number of dots.

For two dots it was one line, three dots, 3 lines, four dots, 6 lines, 5 dots, 8 lines, 6 dots, 14 lines.

undefined,0,1,3,6,8,14 Ugh.

In your image, the "N" pattern has a duplicate: second block, first column third row and second column fourth row.

Thank goodness!
 
Labyrinth said:
I suppose 5 dots would have 8 lines to connect them all
Why 8? Compared to 4 dots (6 possible edges), you get 4 additional options for an edge - one for each of the original dots. 6+4=10.
 
  • Like
Likes   Reactions: Labyrinth
mfb said:
Why 8? Compared to 4 dots (6 possible edges), you get 4 additional options for an edge - one for each of the original dots. 6+4=10.

You are correct. I got the number wrong for 6 dots too, sigh. I believe it is 15.

So to make a chart:

dots max lines configurations (assuming 2^(maxlines))

0 undefined 0
1 0 1
2 1 2
3 3 8
4 6 64
5 10 1024
6 15 32768

It's hard to believe that 6 dots would have so many configurations.

So for d dots I get:

2(d/2)(d-1)

For zero dots I get one configuration this way, but oh well. Not all that important.

jim mcnamara said:

I came across that link when looking at this, but I didn't understand it and so wasn't even sure if it fit the problem I was trying to solve. Looking at it more carefully I see that it is quite relevant :-)

Assuming 2(d/2)(d-1) holds, I believe my question has been answered. Thanks for the help.
 
That is the right formula.
Labyrinth said:
For zero dots I get one configuration this way, but oh well. Not all that important.
I think that is a natural result. Same as for one dot, "no connections" is the unique configuration.
 
  • Like
Likes   Reactions: Labyrinth

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 0 ·
Replies
0
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
0
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K