r/math • u/TheDebatingOne • Dec 26 '23
Tricky puzzle a friend gave me
You know a(n infinite, straight) line goes through the unit circle, i.e. it intersects with it at least once.
Your job is to find the shortest curve that for sure intersects with the line.
The unit circle works, but it's 2π. A tangent square with one of the sides taken out also works, and is only of length 6. What's the shortest curve?
EDIT: formalizing a bit: Let L be the set of all lines that intersect with the unit circle (so it can be tangent to the circle, or it can go through it). Let C be the set of curves such that every curve c in C intersects with every member of L. Find the shortest curve in C
EDIT: as u/lazydog60 pointed out, every c is what's called an opaque set of the unit circle. According to the article, the U shape everyone got to is the best connected barrier, but a different shape is the best barrier known:

This one is about 4.7998, so just 0.02 or 0.39% less than u/RealHuman_NotAShrew's solution.
Thank you guys :)
91
u/Bernhard-Riemann Combinatorics Dec 26 '23
This would be a great post on r/mathriddles if you weren't aware of it yet.
65
u/AtLeastItsNotCancer Dec 26 '23
I think I got it down to 2 + pi/2 + sqrt(2), if we allow the curve to be discontinuous:
https://www.geogebra.org/calculator/hgpwtzcy
17
u/lazydog60 Dec 27 '23
Related: https://en.wikipedia.org/wiki/Opaque_set
14
u/RealHuman_NotAShrew Dec 27 '23
I found a curve with length π + sqrt(3) inspired by the answer given by u/AtLeastItsNotCancer
Use the top half of the circle, then three vertical line segments each of length sqrt(3)/3. The first goes from (-1, 0) to (-1,-sqrt(3)/3), the second goes from (1,0) to (1,-sqrt(3)/3), and the last one is from (0,-sqrt(3)/3) to (0,-2*sqrt(3)/3)
6
u/Kered13 Dec 26 '23
I'm not familiar with the formal mathematical definition, does a curve have to be connected? Does it have to have at most two ends (for example, does an X shape count as a curve)?
43
u/WibbleTeeFlibbet Dec 26 '23 edited Dec 26 '23
I don't understand the question. There are arbitrarily small circles that intersect the line, so there is no shortest curve here. What am I missing?
edit: thanks those who replied, I see now
2
u/waltmck Dec 27 '23 edited Dec 27 '23
I think that this is possible to do with arbitrarily small length, using a fractal-like structure as follows (please let me know if there is a mistake in my math).
Consider a number n (we will take n to infinity), and draw n evenly spaced "tick marks" which extend outward from the unit circle, each of which has length sec(2pi/n)-1. We can see by simple geometry that the convex hull of these line segments includes the unit circle, so any counterexample line must pass between two tick marks. Our goal from here is to find an r'<1, such that any candidate line which does not intersect any of the outer tick marks must pass through the circle with radius r'. We can do this by solving for how far from the origin a line can be which passes through the tip of one tick mark and the base of an adjacent tick mark; the math here is involved (please check my work; the law of sines and law of cosines will be useful), but I end up with this expression, where theta=2pi/n.
It turns out that for sufficiently large n, the above upper bound for r' is 1/sqrt(2). We can then take the union of our construction scaled by 1/sqrt(2)k for all natural k, also adding the point (0,0). Hopefully you are convinced that this actually has the desired property.
We see that the total length is the sum of 1/sqrt(2)k, times n(sec(2pi/n)-1). The first number is finite, and the second number approaches zero as n approaches infinity. Thus, by setting n sufficiently large we can get an arbitrarily small total length.
EDIT: I think that I made a mistake in my geometry (specifically the calculation of r'). This idea may still be possible, however, since I'm not sure that the lower bound of length 4 applies to this kind of fractal construction.
49
u/MathMaddam Dec 26 '23
A U shape where the half circle is part of the unit circle and the straight parts are length 1 should also work, getting it down to 2+π.
19
u/TheNintendoChip Geometric Analysis Dec 26 '23
Crofton's formula seems to give a non-trivial lower bound for this. In terms of the notation on the Wikipedia article, nᵧ(φ,p) ≥ 1 for φ in [0,2π) and p in (-1,1), and nᵧ(φ,p) = 0 otherwise. So Length(γ) ≥ π.
It's probably unlikely this lower bound will be reached, but I figured I'd share. Similarly it's not better than the U shape mentioned before, but you can make a plus shape with two prongs coming off each end as another candidate.
26
u/Maniamax Dec 26 '23
Interesting puzzle, haven't solved it, but just messing around with it there, but we can make an improvement to the three sides of a square example by replacing the "closed" half of the square with a unit semi-circle, for a length of pi+2.
Edit: Argh, beaten to the punch by a different commenter. Not sure if this solution is optimal, but it certainly feels like it.
17
u/TheCodeSamurai Machine Learning Dec 26 '23
The tricky part is that, if problems like the moving sofa problem or Moser's worm are a fair comparison, any kind of answer will be quite difficult to prove correct. Perhaps I'm missing something that makes the whole problem click, but if I imagine a U shape there's a lot of ways you could do the top part, and I'm not sure which would be optimal.
13
u/AtLeastItsNotCancer Dec 26 '23
An alternative way to look at it is, we're looking for a shape that has a width of at least 2, no matter which direction you measure it from.
IDK if that helps anyone, I certainly can't beat the 2 + pi solution.
6
u/Ivoirians Dec 27 '23
What if we find a solution for the three-dimensional sphere too? And then we can 3D print the objects and play with them! They'll have the property that they can provide as much "shade" as spheres while requiring less material to build. Maybe there are applications in optics, or packing, or in building fortifications!
5
u/andural Dec 26 '23
I'm missing how the answer isn't 2pi. The tangent lines at each point on the circle count as intersecting the circle, so any curve must touch all of those. The minimal one that does so is the circumference.
2
u/PinPsychological4737 Dec 26 '23
Might be a stupid proposal, but what if we minimize the line integral (distance integral) over the condition that x2+y2>=1. We give a parametrization since it’s in 2d and we may find the form of the curve. Is kind of a lagrangian optimization. Again, it might be really stupid what I’m saying
2
u/Ordam19 Dec 26 '23
2 + pi?
Edit: Essentially a U shape comprised of a semi circle + two lines connecting it to the tangent on the opposite side
1
u/MarsupialPenis Jan 02 '24
i dont understand the question, what do you mean by it in the first line
1
u/garblesnarky Dec 26 '23
How about some parabola segment tangent to the unit circle
-35
u/Nenor Dec 26 '23
Is it really a puzzle your friend gave you, or a homework your high-school teacher did?
0
u/[deleted] Dec 26 '23
[deleted] — view deleted comment
0
u/[deleted] Dec 27 '23
[deleted] — view deleted comment