# Join all circles together only with 6 lines

In the below image, can you draw 6 straight lines that pass all the circles?
As soon as you start drawing lines you can't take your pen up until you draw all six lines.
hint: you don't have to keep the polyline inside the square.

Edit: Best answer is the one in which straight line passes center of the circles.

• hint: you don't have to keep the polyline inside the square – John Dvorak Aug 12 '14 at 8:40
• Do you have to use all 6 lines? – RobinvdA Aug 12 '14 at 14:09
• it is possible with less than 6,but only with 6 lines you can pass the center of each circle.if you can do that with less than 6 do it in answer. – Masoud Mohammadi Aug 12 '14 at 15:54

I think this is one possible solution:

If you use just one massive line, you can make it pass through the center of all of the circles!

• that's not what i meant, and what kind of pen is it?it's just a big triangle not big line. – Masoud Mohammadi Aug 12 '14 at 19:36
• It's just a really big pen. It is not a triangle. – waylon531 Aug 12 '14 at 19:56
• I signed up to +1 this. Hilarious! regarding it being a square and not a line, just extend the 'line' very far beyond the border and zoom out. problem solved, you have a line that looks like a line. – n00b Aug 13 '14 at 20:00
• aahahha that made my day... – OutFall Aug 13 '14 at 22:27
• This is a contender for the worst answer on the site, and it has pretty strong competition. The question is clearly a math question, not a troll request. Declaring that a square is a line does not make a line have two dimensions. – Gilles 'SO- stop being evil' Jan 14 '15 at 19:28

Here's an option that uses only 4 lines. You can extend the concept to place another 2 lines if you really want 6 ...

• This is what I immediately thought of when I read the question. +1. This works for arbitrarily small circles, since the lines can be arbitrarily long. And if you give me 0-size circles, I can still do it with infinitely long lines! – Cruncher Aug 12 '14 at 14:35
• it is possible with less than 6,but only with 6 lines you can pass the center of each circle, which i didn't mention in this puzzle.but still your answer is correct.can you pass center of each line with less than 6 lines? – Masoud Mohammadi Aug 12 '14 at 15:56
• @Riddle well that would be the same as passing through 0-size circles which works with infinitely long lines as Cruncher mentioned in his/her comment. – Verena Haunschmid Aug 13 '14 at 9:03
• ... and whether you can draw two parallel lines without lifting your pen depends on whether they meet, which in turn depends on the geometry of the space in which the figure appears. Paste the figure to a torus (at an angle) and you can do it in one line! – user1501 Aug 13 '14 at 12:32
• @ExpectoPatronum I guess the crux is that you can't draw infinitely long lines :) – Cruncher Aug 15 '14 at 20:54

By mapping the puzzle onto a cylindrical topography, I've solved the puzzle using only a single straight line.

• it is possible with less than 6,but only with 6 lines you can pass the center of each circle, which i didn't mention in this puzzle.but still your answer is correct.can you pass center of each line with less than 6 lines? – Masoud Mohammadi Aug 12 '14 at 15:57
• Why have the sides match up evenly? Have the right side of the first row of circles match up with the left side of the second row of circles, and your line should go through the center of all the circles. – Rob Watts Aug 12 '14 at 20:19
• How to create this image? – justhalf Aug 13 '14 at 6:07
• What definition of straight line are you using here? Presumably something other than "shortest path between two points"? – jl6 Aug 14 '14 at 12:40
• @justhalf, that was created in Sketchup with the puzzle image mapped onto a cylinder as a texture (I have the joy of being Simon's boss) – Caius Jard Sep 18 '14 at 14:53

Here's another way of thinking. This is using edges instead.

• I like this one a lot. – jliv902 Aug 13 '14 at 19:27
• This actually looks like art :) +1, I would hang this – Cruncher Aug 15 '14 at 20:59
1. Print the picture.
2. Fold the image such that there is a single stack of circles. This will take 6 folds.
3. Draw one line across the middle of it.
4. Profit.

• actually you just draw a line on one of circles, if you unfold your paper again just one of them has been crossed, it seems you just disappeared the other circles. – Masoud Mohammadi Aug 13 '14 at 7:23
• @Riddle: It's all about point of view. From my point of view the line has crossed the center point of all of the circles as they are stacked on top of each other. The problem with this exercise is that you haven't defined any real boundary conditions (things you are explicitly not allowed to do). This means there are many different ways of solving the puzzle that don't fit your preconception. – NotMe Aug 13 '14 at 14:10
• Just set the point of the pen on the center of the circle and push really hard with the pen, then it will have passed through all the circles. It is one line, going through the z-axis of the folded paper. – Anssssss Aug 15 '14 at 21:18
• @Anssssss: that's even better! – NotMe Aug 15 '14 at 22:42
• -1 for no ??? step – Kaz Wolfe Aug 17 '14 at 9:02

This one doesn't solve it the way you're supposed to, but also doesn't break any of the implied "rules", but kind of defeats the purpose of the puzzle (which is go outside of the square). Were you to make the circles smaller, it would eliminate this answer from plausibility. (Also the (3,3) circle line is a little dubious, if I had taken some more time to perfect this it would fit inside the circle better, but also shows how this solution could be easily invalidated by making the circles smaller)

• You better write that this way you manage to keep the polyline inside the square! +1 – klm123 Aug 12 '14 at 17:33
• You can move the vertex at (1,2) upwards slightly to get a better fit for (3,3) up to the point where it equals the fit for (3,2). – John Dvorak Aug 13 '14 at 18:15
• Yeah, I didn't try super hard to get it to fit perfectly, as it kind of helped point out how this method is easily broken by making the circles smaller. – DLeh Aug 13 '14 at 18:27

Why not this?

This one also does what he wants.

• because you take your pen up for several times – Masoud Mohammadi Aug 13 '14 at 7:19
• @Riddle But if we r allowed to trace back our path then its doable this way without lifting the pen right. – Hubble07 Aug 13 '14 at 8:27
• You don't need to pick your pen up. Just double back on the line you already drew. – Roddy of the Frozen Peas Aug 14 '14 at 1:49
• Wouldn't doubling back be drawing another line, though? So you could only have three lines. – wchargin Aug 14 '14 at 14:42
• No, there is no "depends" about it. There is no doubling back. The instant you try that is the instant you fail on this. Making a line is a forward motion (meaning not doubling back). – Olive Stemforn Jun 26 '15 at 15:53

Similar but different answer. Great puzzle!

my own answer to this question is
in this picture you can see 6 lines throw the center of all circles without taking your pen up.

For some reason I wanted the answer to have a line with an angle that was not a multiple of $45^\circ$.

This could be the answer as well.

6 lines without lifting the pen.

here is my answer!

nice question!

Hope this will also be considered as an answer.

Looking through the answers, there are several similar, but none the same as this one. So here's one more possible answer.

• your answer is exactly same as mine, if you rotate your picture once to right you can see that. – Masoud Mohammadi Nov 28 '14 at 11:31

below is my answer photo.
Just Simple and beautiful :D

I guess my answer matched with at least this

Edit: Best answer is the one in which straight line passes center of the circles.

• how would you draw those lines without lifting the pen? – Kate Gregory Dec 10 '15 at 13:47
• Cannot @KateGregory. That's why I add my last sentence there. – Nai Dec 11 '15 at 8:02
• Well, can you overlap lines? – Mr Pie Jul 10 '18 at 5:07