wu :: forums
« wu :: forums - Designing a baseball »

Welcome, Guest. Please Login or Register.
Apr 25th, 2024, 6:15pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   hard
(Moderators: towr, Grimbal, Icarus, Eigenray, ThudnBlunder, william wu, SMQ)
   Designing a baseball
« Previous topic | Next topic »
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Designing a baseball  (Read 5024 times)
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Designing a baseball  
« on: Aug 25th, 2005, 11:24am »
Quote Quote Modify Modify

A 3/8 x 1/8 rectangle has unit circumference. Stiching two of these rectangles together yields a cube of size 1/8 x 1/8 x 1/8 with volume 1/512.  
 
Surely we can do better than that!
 
What is the maximum volume you can obtain by stitching together two identical unit circumference planar shapes?
 
Can you prove for your solution that planar unit-circumference shapes yielding larger volumes are not possible?
 
 
 
 
IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #1 on: Aug 25th, 2005, 1:07pm »
Quote Quote Modify Modify

Hmm.  The five platonic solids:
 
Tetrahedron: a = 1/4; V = sqrt(2)/768 ~ .00184
Cube: a = 1/8; V = 1/512 ~ .00195
Octahedron: a = 1/6; V = 1/648 ~ .00154
Dodecahedron: a = 1/20; V = (15 + 7 sqrt(5)) / 32000 ~ .00096
Icosahedron: a = 1/12; V = 5 (3 + sqrt(5)) / 20736 ~ .00126
 
Round One to the cube...
 
--SMQ
IP Logged

--SMQ

Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Designing a baseball  
« Reply #2 on: Aug 26th, 2005, 4:10am »
Quote Quote Modify Modify

Round 2:
 
2 rectangles with sides 1/3, 1/6 produce a cuboid 1/6 x 1/6 x 1/12 with volume 1/432 = 0.00231...
 
Two 30-side planar shapes produce icosidodecahedron with volume 0.00307... ~ 1/325.25
 
« Last Edit: Aug 26th, 2005, 5:03am by Barukh » IP Logged
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #3 on: Aug 26th, 2005, 6:05am »
Quote Quote Modify Modify

on Aug 26th, 2005, 4:10am, Barukh wrote:
Two 30-side planar shapes produce icosidodecahedron with volume 0.00307... ~ 1/325.25

 
Eh?  The link gives V = (1/6)(45+17sqrt(5)) for a = 1, so for a = 1/30 that's V = [(1/6)(45+17sqrt(5))] * (1/30)^3 ~ .00051, right?
 
In general, more closely approaching a sphere seems to require a more complex perimeter, which reduces the scale too much.
 
My best so far: a bi-cone, where each of the two cones has diameter = height  = 1/(sqrt(5)+pi) ~ .186; V ~ .00337
 
--SMQ
IP Logged

--SMQ

Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Designing a baseball  
« Reply #4 on: Aug 26th, 2005, 6:12am »
Quote Quote Modify Modify

on Aug 26th, 2005, 6:05am, SMQ wrote:
Eh?  The link gives V = (1/6)(45+17sqrt(5)) for a = 1, so for a = 1/30 that's V = [(1/6)(45+17sqrt(5))] * (1/30)^3 ~ .00051, right?

Correct. I didn't notice the 1/6 coefficient. Sorry.
 
Quote:
In general, more closely approaching a sphere seems to require a more complex perimeter, which reduces the scale too much.

This seems to be the right observation.
IP Logged
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #5 on: Aug 26th, 2005, 6:32am »
Quote Quote Modify Modify

It just occurred to me that my biconic solution is formed by simply cutting a circle in half.  I think that's a proveably optimum solution for surface area with a fixed perimeter.  If there's a way to show that, for the types of solids we're considering, maximizing surface area also maximizes volume, we may have at least a sketch of the optimality proof...
 
Or, altermatively, I could be off my nut again. Grin
 
EDIT: See below; I'm definitely off my nut...
 
--SMQ
« Last Edit: Aug 29th, 2005, 6:21am by SMQ » IP Logged

--SMQ

JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #6 on: Aug 26th, 2005, 11:09am »
Quote Quote Modify Modify

on Aug 26th, 2005, 6:05am, SMQ wrote:
In general, more closely approaching a sphere seems to require a more complex perimeter, which reduces the scale too much.

 
This is an important observation: you are effectively maximising V/L3 with V the volume and L the total stitch-length (circumference of each of the two shapes). Small sacrifices in 1/L in order to make a gain in V hit back to the third power... So keep it simple! Wink
 
You guys went a long way: from a cube (1/512) via a block (1/432) to a bi-cone (1/297). But... there are solutions better than a bi-cone...
 
(Have to admit that I have no idea whether my best solution is optimal. So I am curious to see whether one can find even better solutions...)
 
 
 
« Last Edit: Aug 26th, 2005, 4:36pm by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #7 on: Aug 26th, 2005, 6:06pm »
Quote Quote Modify Modify

OK, let each planar shape be a circle of radius ~ .1626 with a chord subtending ~85.233 degrees cut out.  These shapes can be folded into truncated cones with a base radius of ~.1241, an end radius of ~.1197, and a height of ~.1100.
 
These give a volume of ~.01027 or about 1/97.37
 
EDIT: On further thought, I don't think you can construct a truncated cone like that...whups.  Back to the drawing board, I guess... Embarassed
 
--SMQ
« Last Edit: Aug 26th, 2005, 8:16pm by SMQ » IP Logged

--SMQ

Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Designing a baseball  
« Reply #8 on: Aug 28th, 2005, 8:52am »
Quote Quote Modify Modify

[on Aug 26th, 2005, 6:05am, SMQ wrote:
My best so far: a bi-cone, where each of the two cones has diameter = height  = 1/(sqrt(5)+pi) ~ .186; V ~ .00337

on Aug 26th, 2005, 6:32am, SMQ wrote:
It just occurred to me that my biconic solution is formed by simply cutting a circle in half.

Could you explain how did you get to this result? My derivations for half-circle give 0.00333… ~ 1 / 299.75.
IP Logged
Grimbal
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 7527
Re: Designing a baseball  
« Reply #9 on: Aug 29th, 2005, 5:51am »
Quote Quote Modify Modify

I would go for a cylinder-cylinder intersection.  The axes being perpendicular, but offset by one radius, i.e. each axis is tangent to one circle around the other cylinder.  The intersection is like a baseball except that both halves are made of a flat roughly elliptic sheet.
 
I don't know about optimality, I haven't computed the volume or the intersection length for a given radius, but it seems to have all the properties I would expect from an optimal solution.
IP Logged
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #10 on: Aug 29th, 2005, 6:21am »
Quote Quote Modify Modify

on Aug 28th, 2005, 8:52am, Barukh wrote:
Could you explain how did you get to this result? My derivations for half-circle give 0.00333… ~ 1 / 299.75.

 
My fault; my brain doesn't seem to be doing well at translating planar shapes to 3D in this thread...  The optimal biconic solution has cones with diameter = height; which my brain wrongly jumped to being formed from a half-circle (diameter = slant-height) ... sorry for the confusion.  Embarassed
 
--SMQ
IP Logged

--SMQ

SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #11 on: Aug 29th, 2005, 10:27am »
Quote Quote Modify Modify

For a cylinder-cylinder intersection at right angles, I get an optimum volume of ~.00378 (1/265) when the cylinders are offset by ~.869 of their radius.
 
That is, of course, assuming that my numerical cylinder intersection solver is accurate, which, given my history in this thread, I wouldn't count on... Roll Eyes
 
--SMQ
IP Logged

--SMQ

SWF
Uberpuzzler
*****





   


Posts: 879
Re: Designing a baseball  
« Reply #12 on: Aug 29th, 2005, 7:13pm »
Quote Quote Modify Modify

I have a way with a ratio of 1/263.6, and expect to be able to improve it a bit, because have not fully optimized.  Will explain the approach later.
 
Interesting that the Grimbal's cylinder intersection comes so close.  I get 1/266.781 for cylinders offset by one radius.  Haven't tried optmizing the offset a little, as done by SMQ.
IP Logged
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #13 on: Aug 30th, 2005, 11:03am »
Quote Quote Modify Modify

Fiddling with the cylinder-cylinder intersection a bit more:
 
A slightly better result can be obtained by stretching the cylinders (so that their cross sections are elliptical) to make the intersection slightly "deeper".
 
Stretching by ~12.99% leads to an optimal solution when the axes of the elliptical cylinders are separated by ~.9664 of the major axis.  This appears to be the point where the stretching causes the plane shapes to switch from concave to convex, and leads to a volume of ~.003796 or ~1/263.4.
 
If I have more than a few minutes free I'll try to solve the maths to get an exact solution for this situation...
 
--SMQ
IP Logged

--SMQ

SWF
Uberpuzzler
*****





   


Posts: 879
Re: Designing a baseball  
« Reply #14 on: Aug 30th, 2005, 6:25pm »
Quote Quote Modify Modify

263.4 is also what I am getting.  Interesting that deforming intersection cylinders works so well.
 
The approach I used was to define the shape of the seam in three dimensions, for the shape it takes after the two pieces are combined into the volume.  Define one quarter of the curve parametrically in terms of x with x going from 0 to 'a', assuming some symmetry.  y coordinate is some function of x, f(x).  For the identical pieces to fit together, the z coordinate is given by f(a-x).
 
The volume is 8 times the integral from 0 to a/2 of f(x)*f(a-x).  Seam length is 8 times integral of sqrt(1+f '(x)^2+f '(a-x)^2 ). Find f(x) to maximize V/L^3.  Perhaps calculus of variations could be used with constraint on length, but I was unsure how to deal with the f(a-x).
 
To maximize I used Fourier series assuming f '(x) to be 0 at x=a.  Also it seemed reasonable to make f '(x) at 0 be infinite, so fewer terms needed if f(x) is square root of a Fourier series.  The form assumed for f() is:
 
f(x) = sqrt ( b1*sin(x) + b3*sin(3x) + b5*sin(5x) +...)   with a= pi/2
 
Find b1, b3, b5, ... that maximize V/L^3 (this was done numerically)
 
1 term of the series gives approxmately 1/264.921
2 terms in gives 1/263.601
3 terms gives 1/263.454
4 terms gives 1/263.422
« Last Edit: Aug 30th, 2005, 6:26pm by SWF » IP Logged
Barukh
Uberpuzzler
*****






   


Gender: male
Posts: 2276
Re: Designing a baseball  
« Reply #15 on: Aug 31st, 2005, 1:06am »
Quote Quote Modify Modify

This bi-cylinder case is exciting! And raises several questions:
 
1. What's this "radius offset" parameter?
 
2. Are all the bodies "unfoldable"?
 
3. What about cone-cone case?
IP Logged
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #16 on: Aug 31st, 2005, 3:26pm »
Quote Quote Modify Modify

Well.... with SMQ and SWF reaching values in excess of 1/265, I think it is about time to post my own solution...
 
I took the same approach as SWF and tried to optimise the 3-D curve that describes the seam of the two planar shapes. However, I was pretty convinced that the optimal curve would lay on a sphere (see the title of this thread!), so I used a parametric representation of the form:
 
 
x(phi) = sqrt(R2 - z2(phi)) cos(phi)
 
y(phi) = sqrt(R2 - z2(phi)) sin(phi)
 
z(phi) = R(1/sqrt(2) + a1 sin(phi) + a2 sin2(phi)  .. )
 
for (0 < phi < pi) describing a quarter of the total 3-D curve. (Note that it is crucial that the end-points of the quarter curve end in the coordinates (+/-1/sqrt(2), 0, 1/sqrt(2)) so as to be able to compose the total stitch out of four identically shaped quarter curves.)  
 
For the above 3-D stitch, the enclosed volume V is given by:
 
 V = 4 Integral (o < phi < pi) x(phi) z(phi) dy/dphi dphi
 
and the 'stitch length' L by:
 
 L = 4 Integral (o < phi < pi) sqrt((dx/dphi)2 + (dy/dphi)2 + (dz/dphi)2) dphi
 
If all ai's are set to zero, it follows that V/L3 = 1/32 pi2 = 1/315.8.
 
However, optimising V/L3 by tuning the ai's leads to much improved values. Using Excel's solver I reached values of about 1/265. (Using only the first few ai terms.)  
 
I am not too certain about the numerical accuracy of my exercisez in Excel, but doubt whether I could reach 1/263.4...  
 
Yet, my intuition still tries to tell me the curve should be positioned on a sphere...  Huh
 
 
 
 
 
« Last Edit: Aug 31st, 2005, 3:31pm by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #17 on: Aug 31st, 2005, 3:43pm »
Quote Quote Modify Modify

Based on SWF's Fourier-parametrisation, I should perhaps have used:
 
z(phi) = R(1/sqrt(2) + a1 sin(phi) + a2 sin(3.phi) + .. + ak sin((2k-1).phi))
 
However, a more fundamental question for me is:
 
Does SWF's more general approach yield a 3-D curve that with suitably chosen z(phi)  (*) can be parametrised as:
 
x(phi) = sqrt(R2 - z2(phi)) cos(phi)
 
y(phi) = sqrt(R2 - z2(phi)) sin(phi)

 
 
   
(The interesting contributions to this thread leave me with as many questions as Barukh..! Wink )
 
 
 
(*)  z(phi) defined on 0 < phi < pi, z(0) = z(pi) = 1/sqrt(2) and z(pi - phi) = z(phi).
 
 
« Last Edit: Aug 31st, 2005, 3:47pm by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
markr
Junior Member
**





   


Gender: male
Posts: 90
Re: Designing a baseball  
« Reply #18 on: Aug 31st, 2005, 9:55pm »
Quote Quote Modify Modify

This is all quite interesting, but are you tossing out the planar requirement?  You can't wrap a planar figure around a sphere, right?
IP Logged
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #19 on: Sep 1st, 2005, 4:21am »
Quote Quote Modify Modify

on Aug 31st, 2005, 9:55pm, markr wrote:
[..] are you tossing out the planar requirement?  You can't wrap a planar figure around a sphere, right?

 
Huh..?  Huh
 
I was discussing two planar shapes - both bended and stitched together with the stitch being located on a sphere. The 3-D object thus created obviously is not a sphere.
 
The easiest way to visualise the approach is to consider the case z(phi) = constant = 1/sqrt(2).
 
In that case the object created consists of two half-cylinders, each with height equal to twice the radius, glued together with the flat faces each rotated 90 degrees. The round edges of this object are located on a sphere with radius sqrt(2) times the radius of the cylinders.
 
For z depending on phi, the object obviously becomes more complicated, but still consists of two bended planar shapes stitched together using a 'spherical 3-D stitch'.
 
 
 
« Last Edit: Sep 1st, 2005, 4:32am by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #20 on: Sep 1st, 2005, 1:14pm »
Quote Quote Modify Modify

on Aug 29th, 2005, 5:51am, Grimbal wrote:
IThe intersection is like a baseball except that both halves are made of a flat roughly elliptic sheet.

 
All recent (close to optimal?) approaches to this problem seem to lead to (roughly) elliptical planar shapes.
 
Could it be that two identical ellipses - with a suitable eccentricity - when bended and stitched together would produce an optimal result?
 
I have to think a bit about how to calculate the stitch length and the volume. (Doesn't seem to be easy..)
 
 
« Last Edit: Sep 1st, 2005, 1:16pm by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #21 on: Sep 1st, 2005, 1:56pm »
Quote Quote Modify Modify

Hmm, I've now tried playing with other distortions of the cylinder intersection (specifically, representing the cross-section as (x/a)i+yj=1) and made only extremely minimal gains.
 
The same thought had occurred to me about ellipses, but all the solutions I'm finding from pseudo-cylinder intersections look far more like ovals (two semicircles joined by flat sides) than ellipses.
 
--SMQ
IP Logged

--SMQ

JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #22 on: Sep 1st, 2005, 2:17pm »
Quote Quote Modify Modify

on Aug 31st, 2005, 3:43pm, JocK wrote:
[..] a more fundamental question for me is:
 
Does SWF's more general approach yield a 3-D curve that with suitably chosen z(phi)  (*) can be parametrised as:
 
x(phi) = sqrt(R2 - z2(phi)) cos(phi)
 
y(phi) = sqrt(R2 - z2(phi)) sin(phi)
 

 
Well.. not sure about SWF's solution, but SMQ's modification of Barukh's intersecting cylinder model does come close...  
 
The seam curve for the Barukh/SMQ model for elliptical cylinders (with general offset 2r) satisfies:
 
x2/a2 + (z - r)2/b2 = 1
 
y2/a2  + (z + r)2/b2 = 1
 
which can be re-expressed as an equation for a spheroid plus an expression that describes a curve traced out on that spheroid:
 
(x2 + y2)/a2 + 2 z2/b2 = 1 - r2/b2
 
y2 - x2 + 4 (a/b)2 z r = 0
 
So over to curves on spheroids...  Undecided  (I dare to conjecture that SWF is effectively also creating seams on a spheroid..)
 
(No, I am not going to rename this thread to "Designing a rugby ball"...  Grin   ... B.t.w.: no means for me to check, but I assume we are dealing here with oblate spheroids? SMQ, what is the value of a/b that led to your optimum result?)
 
 
 
 
 
 
« Last Edit: Sep 1st, 2005, 3:50pm by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
SMQ
wu::riddles Moderator
Uberpuzzler
*****






   


Gender: male
Posts: 2084
Re: Designing a baseball  
« Reply #23 on: Sep 1st, 2005, 5:10pm »
Quote Quote Modify Modify

on Sep 1st, 2005, 2:17pm, JocK wrote:
B.t.w.: no means for me to check, but I assume we are dealing here with oblate spheroids? SMQ, what is the value of a/b that led to your optimum result?)

 
Um, if I'm translating my coordinate system to yours correctly in my head, then no, it's a prolate spheroid.  I believe I have a = 1, b = 1.1299 for my best ellipsoidal solution.
 
I also, as mentioned above, have an ever-so-slightly better non-ellipsoidal solution given by pseudo-cylinders with the following equations: (where the all-positive solutions are mirrored across the appropriate axes)
 
(x/1.22185)2.22878 + y2.00202 = 1
 
(x/1.22185 - 1.0504)2.22878 + z2.00202 = 1
 
--SMQ
IP Logged

--SMQ

JocK
Uberpuzzler
*****






   


Gender: male
Posts: 877
Re: Designing a baseball  
« Reply #24 on: Sep 3rd, 2005, 6:38am »
Quote Quote Modify Modify

on Sep 1st, 2005, 5:10pm, SMQ wrote:

 
I also, as mentioned above, have an ever-so-slightly better non-ellipsoidal solution given by pseudo-cylinders

 
Yes, that proves that the optimal planar shape leads to a seam that can not be located on a spheroid.  
 
Whilst the deviations from a spheroid seem to be very small, and the improvements in terms of V/L3 miniscule, it does draw the attention to SWF's  more general approach, which I transcribe as follows:
 
For two optimal identical planar shapes 'stitched together', there is a function f(t) such that the resulting 3-D volume is described by:
 
-f(a+z) < x < f(a+z)
 
-f(a-z) < y < f(a-z)
 
with -a < z < a.
 
Here, the function f(..) maps the non-negative reals onto themselves, and satisfies f(0) = 0.  
 
The volume of the above shape is given by:
 
V = 4 [Integral  0 < z < a] f(a+z) f(a-z) dz
 
and the 'seam length' by:
 
L = 8 [Integral  0 < z < a] sqrt(1 +f'(a+z)^2 + f'(a-z)^2) dz
 
where f'(t) denotes the derivative df/dt.
 
As suggested by SWF, we should now apply calculus of variations. We don't need to optimise V whilst constraining L (or the other way around) using Lagrange multiplyers, but we can in principle also optimise V/L^3 directly. Either way, the expressions seem to get rather ugly.  
 
So like SWF, I turned to a numerical approach.  Unlike SWF, I used a simple Taylor expansion for the square of f(t):
 
f(t)2 =  a1 t + a2 t2 + a3 t3 + ...
 
Note that although the expression is different from SWF's Fourier expansion, also here I expanded the square of f(t) rather than f(t) itself so as to allow lim t -> 0 1/f'(t) = 0.
 
Retaining only two terms, in the above expression:
 
f(t)2 = 3.030 t - 0.783 t2
 
we obtain a V/L3 approximately equal to the often quoted value 263.4. The benefit of adding more terms quickly drops, and using above expression, one can only make improvements in the less significant digits.
 
This suggests that we have reached the optimal value. To prove this in a rigorous way needs a brave person who derives the optimal curve from variational principles.
 
Any takers?  Grin
 
 
 
 
 
« Last Edit: Sep 3rd, 2005, 9:52am by JocK » IP Logged

solving abstract problems is like sex: it may occasionally have some practical use, but that is not why we do it.

xy - y = x5 - y4 - y3 = 20; x>0, y>0.
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board