logoalt Hacker News

Dark Alley Mathematics

116 pointsby quibonolast Monday at 3:58 PM39 commentsview on HN

Comments

doogliustoday at 3:41 AM

EDIT: ok this was nagging at me for a while as something being off, I think this is actually wrong (in some way that must cancel out to accidentally get the right answer) because I need to multiply by 2 pi c to consider all rotations of centers around (0,0) at a given radius, but then my integral no longer works. Ah well, that's what I get for trying to method act and solve quickly, I guess the hooligan stabs me. I think at least this approach done properly could save some dimensions out of the Jacobian we need to calculate. Original post below:

Much more elegant: consider every circle that fits inside the unit circle, and we will work backward to find combinations of points. We only need consider centers on the x axis by symmetry, so these are parameterized by circle center at (0,c) and radius r with 0<c<1 and 0<r<1-c. Each circle contributes (2 pi r)^3 volume of triples of points, and this double integral easily works out to 2 pi^3/5 which is the answer (after dividing by the volume of point triples in the unit circle, pi^3)

show 4 replies
layman51today at 2:52 AM

When I first read the title, I thought it was gonna be about a book similar to one I heard about called “Street Fighting Mathematics” and it would be about like heuristics, estimation, etc. but this one seems to be about a specific problem.

show 1 reply
foscotoday at 5:07 AM

The intro strongly reminded me of https://existentialcomics.com/comic/604

Really enjoyed this keep writing!

show 1 reply
tzstoday at 5:34 AM

I've got an idea for a simpler approach, but I've forgotten too much math to be able to actually try it.

The idea is to consider the set A of all circles that intersect the unit circle.

If you pick 3 random points inside the unit circle the probability that circle c ∈ A is the circle determined by those points should be proportional the length of the intersection of c's circumference with the unit circle.

The constant of proportionality should be such that the integral over all the circles is 1.

Then consider the set of all circles that are contained entirely in the unit circle. Integrate their circumferences times the aforementioned constant over all of these contained circles.

The ratio of these two integrals should I think be the desired probability.

show 1 reply
alkyontoday at 12:37 PM

I also enjoyed: https://blog.szczepan.org/blog/los-alamos-primer/

Although there is small error regarding the neutron number calculation. I assume 3/4 of the neutrons are lost and then the author can multiply by 1/4 to get the result that the naturally occurring uranium is safe (as its neutron number is less then 1)

it4rbtoday at 5:34 AM

We were told a (kind of) similar story in high school: https://medium.com/intuition/explain-this-or-i-will-shoot-yo...

vessenestoday at 3:58 PM

It's improperly formed as a question - the ruffian can shoot whenever he likes;

Consider:

Does "random" mean

1. uniform distribution on x and y coordinates with some sort of capping at the circle boundary? Or perhaps uniform across all possible x,y pairs inside (on the edge also?) of the circle? what about a normal distribution?

2. a choice of an angle and a length?

3. A point using 1 or 2, and then a random walk for 2 and 3?

I could go on. The worked solution is for random = uniform distribution across all possible reals inside the boundary, I think.

show 2 replies
elcapitantoday at 6:37 AM

I would calculate that the probability of a mathematician doing anything practical like operating a gun is even lower than the probability that I could solve the riddle (even with pen, paper, wikipedia and a liter of coffee on a good day), and choose to sprint off.

show 1 reply
del_operatortoday at 7:23 AM

Ah, 24, reminds me of ole days the lattice of those math alleys had a monstrous moonshine leeching into reality stranger than we’d care to code…

mehulashahtoday at 4:25 AM

So, I’m left wondering why he did it the hard way.

jb1991today at 7:18 AM

It’s funny because it’s true.

fancyswimtimetoday at 4:42 AM

I'd prefer a world like this; higher levels of whimsy accompanied with greater danger

analog8374today at 2:51 PM

I would just take a billion random samples and derive my probability from that. But I'm bad at math.

lupiretoday at 2:29 PM

"Three points are chosen independently and uniformly at random from the interior of a unit circle. "

The distribution is under specified

Is it "uniformly" over area, even though it's not an area problem? That is, is it independent random coordinates (x, y) in rectangular coordinate space, or (r, theta) polar space, or in some other parameterization?

show 3 replies
derelictatoday at 2:40 AM

What's even scarier than such encounter, is that I personally know some people who would survive it. Unfortunately, I'm not one of them.

show 1 reply