376 points · by fanf2 · 2y ago · 151 comments
I have slides that detail the problem setup and the mathematics, as well as a consideration of three-dimensional onions, here: https://drspoulsen.github.io/Onion_Marp/index.html
I have submitted a formal write-up of the details of the problem and the solution to a recreational mathematics journal.
I'm also happy to answer any questions about this!
Your solution seems to assume that all cuts need to be directed towards a single point, but doesn't it seem likely that an even more optimal solution increases h (depth of cut target) as the cuts move outward? Or did I miss a reason that's not the case?
"So, the best depth for an onion with ten layers would be somewhere between 0 and 0.5573066. I have not investigated this in depth, but this seems like a fun next step."
You are suggesting something even more advanced. :)
If you're still checking, I have a semi-related question:
You're solving the problem for a circle in a plane (actually, a semicircle in a plane), and the reduction in dimensions is related to something that has bothered me.
I can easily segment a circle into a bunch of identical arcs (say, by making each arc 3 degrees long and getting 120 identical copies). Polar coordinates are great for this.
But spherical coordinates are terrible for accomplishing the same thing on a sphere, and my understanding is that the analogous effect - tiling the surface of a sphere with a single shape - can't be achieved?
What motivated me to thinking about this was the idea of a coordinate system that would allow every "square" on a map to be the same as the other squares, regardless of how much distortion there might be between the shape of the region on the spherical surface and the shape of the same region as a square on this fancy map. But it also seems relevant to the question of how well your two-dimensional analogue to the onion problem answers the original three-dimensional question. (I'm writing this comment in the middle of reading your article, so I don't know if the 3D solution is ultimately addressed.)
I'd be happy for any comments you might have related to this.
Can someone explain to me why a half sphere (the shape of half an onion) can be modeled as a half-disk in this problem? Why would we expect the solutions to be the same? If you think about the outermost cross-sections at the ends of the onion (closest to the heel and tip of the knife), as you get closer and closer to the ends, you approach cutting these cross-sections more vertically. I'd expect that you'd have to make the center cross-section a bit shallower to "make up" for the fact that the outsides are being cut vertically. Idk, either way I think declaring this the true "Onion constant" is probably wrong.
> The insight that leads to a solution comes from the Jacobian.
It's not a unform half disk. It has more weight away from the Y axis.
You can imagine it's painted with watercolors and you want to collect the same ammount of ink.
In an uniform disk you have
xx
xxxx
xxxx
xxxxxx
xxxxxx
xxxxxx
But in the weighted disk of the article the top and bottom are darker and the center lighter ..
x..x
x..x
x..x
Xx..xX
Xx..xX
Xx..xX
but there are no strips like in my ASCII art, the shade changes slowly.I'm lazy and cut my onions perpendicularly through halves, and don't try a radial cut for uniformity.
The question I have is not about modeling an imperfect object as a perfect abstraction, it's about modeling a 3D object as a 2d object, and assuming that the optimization still holds. I think it's pretty plainly clear that it doesn't. Think about some cross-section of the onion that's closer to you and smaller than the center cross-section. Let's say it's of radius 0.25 instead of 1. The slices you take of it will be much more vertical than the center slice. This changes things. My intuition tells me it means the optimal solution is shallower than the solution found here, since you'd want the "average" cross-section to follow this constant.
At the end of the day a straight cut is limiting. The next step would be to design the perfect onion dicing knife.
My intuition says that as long as you could get to the desired 3D shape from revolving the 2D shape around an axis, essentially integrating the area into a volume, the results will be valid or equivalent.
I don’t think that’s the entire story, there are probably other ways to simplify 3D shapes. And yes, onions will have non constant variations (or ones that don’t cancel out to 0) along the sweep which is what actually invalidates the real world application.
One of my favorite hacks for Ceasar Salad: Take a bag of packaged croutons, put it flat on the table, and crush it with the bottom of a pan. Repeatedly. Until you get a mix of various sized crouton chunks, gravel, and dust. Apply to salad.
I ate a Ceasar this way in some fancy restaurant and I've been making it that way ever since.
At normal restaurants, you can use the two-plate method to approximate the effect of pan-smashing croutons.
That being said, most of Ragusea's takes haven't aged all that well, some by his own admission.
Grating the Gordian knot, if you will.
https://www.youtube.com/watch?v=UBj9H6z6Uxw
"Perfection is lots of little things done well."
For garlic, I prefer crushing them for many recipes. This creates much rougher outlines that blend better into the food and crisp nicely when fried.
the problem is that you want to cut up an onion in such a way as to minimize variation in the size and shape of the cut-up pieces
usually, so that the pieces will cook evenly
It's more of a geometry thought experiment than a practical epicurean "problem".
Not very well. There are some snippets:
"to keep the pieces as similar as possible"
"The Jacobian r dr dθ gives a measure of how big the infinitely small pieces are relative to each other"
"The variance is a good measure of the uniformity of the pieces."
technique and a sharp knife enable the horizontal cut second to be vastly superior to doing it first.
Don't get me wrong, I'm sure there's a reason everyone is doing it this way, because it's kind of clearly more annoying than the way I'm doing it?
(I'm just nerding out on this).
NB: maybe stick a hotdog in one of the fingers to test it first.
Two things to prevent injuries: a) never put any force if the material resists b) do it slowly.
IME kitchen knife injuries are just not common or severe enough to warrant something like that.
All because we want to chew less. (I suppose nice texture too)
[1] https://www.youtube.com/watch?v=QjZ1LFqNWRM&list=PLnujfCpADf...
Wife walks into kitchen with 3447 cut onions in piles: "What are you doing?!" This guy: "I just cannot get these onions cut to a point 55.73066% below the origin! The best I have achieved is only 2 significant digits of accuracy." Wife, mumbling: "Maybe that's why Kenji said: 60%..."
[1] https://theonion.com/kenji-lopez-alt-returns-from-beef-dimen...
ontopic edit: I am interested in an optimal onion cutting technique, while I'm happy with mine, the upside-down banana teaches that there's always a few ways to approach and learn something.
Then, when you present your solution to the client, you find out there was a third, unspoken requirement: that it should involve as little cleanup as possible, which the blender also doesn't satisfy. The user researcher was on vacation, and you didn't find out about this before beginning design. Damn!
The blender solution turns out to be overoptimized on a single requirement at the expense of the others.
You could also hire two interns to do it layer by layer, call it the consultant‘s solution.
Food processor might be better, but still won't be even.
Source: I cook onions a lot, and am lazy. This article is great!
Food processor might be more what you're thinking about but it's more so for dice or mince. You won't ever really get an even chop out of a processor.