<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Coils and Rings</title>
        <link rel="stylesheet" type="text/css" href="main.css"/>
    </head>
    <body>
        <h1>Coils and Rings</h1>

        <p>When cutting rings from metal wire, jewelers and chainmail artists typically coil their
            wire around a cylindrical form, called a <i>mandrel</i>, then cut through one side of
            the coil to obtain rings. The cutting can be done with clippers, a jeweler's hand saw,
            or a high-speed rotary blade.</p>

        <p>I've long wondered about the geometric relationship between <i>one turn of the coil</i>
            and a <i>ring</i>. I've finally begun to "do the math." This is a report on my first
            observations and calculations.</p>

        <h2>Abstract</h2>

        <p>I computed the arc length of a single turn of each of two helices: the one where the wire
            touches the mandrel (the "inner" arc length), and the one formed by the points on the
            wire furthest from the mandrel (the "outer").</p>

        <p>So when the coil is cut and the ring flattened, the "inner" arc length becomes the inner
            diameter (ID) of the ring, and the "outer" becomes the outside diameter (OD). (For now I'm ignoring the width of the cut itself.) The question at issue is whether it's possible for 
            the flattened ring to be a perfect torus.</p> 

        <p>It turns out that the computed outer arc length falls just short of what a true toroidal
            ring would require, given the computed inner arc length as ID. But the effect is tiny: I
            looked at the chainmail-relevant sizes of 20ga rings and the shortfall is one or two
            hundredths of a millimeter in the worst cases (the chunkiest rings).</p>

        <h2>Argument</h2>

        <h3>Arc Length of Inner Helix</h3>

        <p>We take the center of a cylindical mandrel as the z axis, and parametrize our
            right-circular helices in Cartesian co-ordinates as</p>
        <p><math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply><ci type="fn">x</ci><ci>t</ci></apply>
                    <apply><times/><ci>r</ci><apply><ci type="fn">cos</ci><ci>t</ci></apply></apply>
                </apply>
            </math>
            <br/>
            <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply><ci type="fn">y</ci><ci>t</ci></apply>
                    <apply>
                        <times/>
                        <ci>r</ci>
                        <apply><ci type="fn">sin</ci><ci>t</ci></apply>
                    </apply>
                </apply>
            </math>
            <br/>
            <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply><ci type="fn">z</ci><ci>t</ci></apply>
                    <apply><times/><ci>a</ci><ci>t</ci></apply>
                </apply>
            </math>
        </p>

        <p>For the inner helix (the locus of contact between the wire and the mandrel), <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <ci>r</ci>
                    <apply><divide/><msub><mi>d</mi><mi>m</mi></msub>
                        <cn>2</cn></apply>
                </apply>
            </math>, where <math xmlns="http://www.w3.org/1998/Math/MathML">
                <msub><mi>d</mi><mi>m</mi></msub>
            </math> is the diameter of the mandrel.</p>

        <p>In one turn, <math xmlns="http://www.w3.org/1998/Math/MathML"><ci>t</ci></math> runs from
                <math xmlns="http://www.w3.org/1998/Math/MathML"><cn>0</cn></math> to <math
                xmlns="http://www.w3.org/1998/Math/MathML"
                ><apply><times/><cn>2</cn><pi/></apply></math> (radians). And in one turn, the inner
            helix rises by twice the radius of the wire. So, we have <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply><ci type="fn">z</ci><apply><times/><cn>2</cn><pi/></apply></apply>
                    <apply><times/><apply><times/><cn>2</cn><pi/></apply><ci>a</ci></apply>
                    <msub><mi>d</mi><mi>w</mi></msub>
                </apply>
            </math>, where <math xmlns="http://www.w3.org/1998/Math/MathML"
                        ><msub><mi>d</mi><mi>w</mi></msub></math> is the diameter of the wire. So
                <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <ci>a</ci>
                    <apply>
                        <divide/>
                        <msub><mi>d</mi><mi>w</mi></msub>
                        <apply><times/><cn>2</cn><pi/></apply>
                    </apply>
                </apply>
            </math>.</p>

        <p>We can now compute the arc length of our inner helix as <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply>
                        <int/>
                        <bvar>
                            <ci>t</ci>
                        </bvar>
                        <lowlimit>
                            <cn>0</cn>
                        </lowlimit>
                        <uplimit>
                            <apply>
                                <times/>
                                <cn>2</cn>
                                <pi/>
                            </apply>
                        </uplimit>
                        <apply>
                            <!--
                    <root/>
                    <degree>
                        <cn>2</cn>
                    </degree>
                    -->
                            <msqrt/>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <apply>
                                        <diff/>
                                        <bvar>
                                            <ci>t</ci>
                                        </bvar>
                                        <apply>
                                            <ci type="fn">x</ci>
                                            <ci>t</ci>
                                        </apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <diff/>
                                        <bvar>
                                            <ci>t</ci>
                                        </bvar>
                                        <apply>
                                            <ci type="fn">y</ci>
                                            <ci>t</ci>
                                        </apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <diff/>
                                        <bvar>
                                            <ci>t</ci>
                                        </bvar>
                                        <apply>
                                            <ci type="fn">z</ci>
                                            <ci>t</ci>
                                        </apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply><times/><cn>2</cn><pi/></apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <ci>r</ci>
                                    <cn>2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <ci>a</ci>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply><times/><cn>2</cn><pi/></apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <msub><mi>d</mi><mi>m</mi></msub>
                                        <cn>2</cn>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <msub><mi>d</mi><mi>w</mi></msub>
                                        <apply><times/><cn>2</cn><pi/></apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </math>. </p>
        <p>The ratio of <math xmlns="http://www.w3.org/1998/Math/MathML">
                <msub><mi>d</mi><mi>m</mi></msub></math> to <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <msub><mi>d</mi><mi>w</mi></msub></math> is called the <i>aspect ratio</i> of the
            ring. The (positive real) value of the aspect ratio determines the similarity class of
            the (presumably toroidal) ring. In these investigations, it turns out that the aspect
            ratio most often appears in the denominator. So I'll use the reciprocal instead, which I
            denote by <math xmlns="http://www.w3.org/1998/Math/MathML"><ci>&#x03C4;</ci></math>
            (tau).</p>
        <p>Eliminating <math xmlns="http://www.w3.org/1998/Math/MathML">
                <msub><mi>d</mi><mi>w</mi></msub></math> in favor of <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <times/><ci>&#x03C4;</ci><msub><mi>d</mi><mi>m</mi></msub></apply></math>, we
            arrive at the following expression for the inner arc length:<br/>
            <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply>
                        <times/>
                        <apply><times/><cn>2</cn><pi/></apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <msub><mi>d</mi><mi>m</mi></msub>
                                        <cn>2</cn>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <ci>&#x03C4;</ci>
                                            <msub><mi>d</mi><mi>m</mi></msub>
                                        </apply>
                                        <apply><times/><cn>2</cn><pi/></apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                        </apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <cn>1</cn>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>&#x03C4;</ci>
                                        <pi/>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </math>
        </p>
        <h3>Arc Length of Outer Helix</h3>
        <p>For the outer helix, our basic formula for the arc length holds, with no change in the
            parameter <math xmlns="http://www.w3.org/1998/Math/MathML"><ci>a</ci></math>, but with
                <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <ci>r</ci>
                    <apply>
                        <plus/>
                        <msub><mi>d</mi><mi>w</mi></msub>
                        <apply>
                            <divide/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                            <cn>2</cn>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <msub><mi>d</mi><mi>m</mi></msub>
                        <apply>
                            <plus/>
                            <ci>&#x03C4;</ci>
                            <apply>
                                <divide/>
                                <cn>1</cn>
                                <cn>2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </math>. </p>
        <p>The outer arc length is therefore given by:</p>

        <p>
            <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply>
                        <times/>
                        <apply><times/><cn>2</cn><pi/></apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <apply>
                                    <power/>
                                    <apply>
                                        <times/>
                                        <msub><mi>d</mi><mi>m</mi></msub>
                                        <apply>
                                            <plus/>
                                            <ci>&#x03C4;</ci>
                                            <apply>
                                                <divide/>
                                                <cn>1</cn>
                                                <cn>2</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <ci>&#x03C4;</ci>
                                            <msub><mi>d</mi><mi>m</mi></msub>
                                        </apply>
                                        <apply><times/><cn>2</cn><pi/></apply>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                        </apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <cn>1</cn>
                                <apply>
                                    <times/>
                                    <cn>4</cn>
                                    <ci>&#x03C4;</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn>4</cn>
                                    <apply>
                                        <power/>
                                        <ci>&#x03C4;</ci>
                                        <cn>2</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>&#x03C4;</ci>
                                        <pi/>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </math>
        </p>

        <h3>Fitting Inner and Outer Diameters</h3>
        <p>Using the third-order Taylor expansion for <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply>
                        <ci type="fn">g</ci>
                        <ci>x</ci>
                    </apply>
                    <apply>
                        <msqrt/>
                        <apply>
                            <plus/>
                            <cn>1</cn>
                            <ci>x</ci>
                        </apply>
                    </apply>
                </apply></math> around <math xmlns="http://www.w3.org/1998/Math/MathML">
                <cn>0</cn></math>, namely: </p>
        <p><math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <approx/>
                    <apply>
                        <ci type="fn">g</ci>
                        <ci>x</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <cn>1</cn>
                                <mrow>
                                    <mo>(</mo>
                                    <apply>
                                        <divide/>
                                        <ci>x</ci>
                                        <cn>2</cn>
                                    </apply>
                                    <mo>)</mo>
                                </mrow>
                            </apply>
                            <mrow>
                                <mo>(</mo>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <ci>x</ci>
                                        <cn>2</cn>
                                    </apply>
                                    <cn>8</cn>
                                </apply>
                                <mo>)</mo>
                            </mrow>
                        </apply>
                        <mrow>
                            <mo>(</mo>
                            <apply>
                                <divide/>
                                <apply>
                                    <power/>
                                    <ci>x</ci>
                                    <cn>3</cn>
                                </apply>
                                <cn>16</cn>
                            </apply>
                            <mo>)</mo>
                        </mrow>
                    </apply>
                </apply>
            </math></p>
        <p>and keeping terms up to order 3 in <math xmlns="http://www.w3.org/1998/Math/MathML">
                <ci>&#x03C4;</ci></math>, we can make the following approximations:</p>
        <p>Inner arc length: <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <approx/>
                    <apply>
                        <times/>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                        </apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <cn>1</cn>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>&#x03C4;</ci>
                                        <pi/>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <pi/>
                        <msub><mi>d</mi><mi>m</mi></msub>
                        <apply>
                            <plus/>
                            <cn>1</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>&#x03C4;</ci>
                                        <pi/>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                                <cn>2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </math>
        </p>
        <p>Outer arc length: <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <approx/>
                    <apply>
                        <times/>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                        </apply>
                        <apply>
                            <msqrt/>
                            <apply>
                                <plus/>
                                <cn>1</cn>
                                <apply>
                                    <times/>
                                    <cn>4</cn>
                                    <ci>&#x03C4;</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <cn>4</cn>
                                    <apply>
                                        <power/>
                                        <ci>&#x03C4;</ci>
                                        <cn>2</cn>
                                    </apply>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <divide/>
                                        <ci>&#x03C4;</ci>
                                        <pi/>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                        </apply>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <cn>1</cn>
                                <apply>
                                    <times/>
                                    <cn>2</cn>
                                    <ci>&#x03C4;</ci>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <divide/>
                                            <ci>&#x03C4;</ci>
                                            <pi/>
                                        </apply>
                                        <cn>2</cn>
                                    </apply>
                                    <cn>2</cn>
                                </apply>
                            </apply>
                            <mrow>
                                <mo>(</mo>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <ci>&#x03C4;</ci>
                                        <cn>3</cn>
                                    </apply>
                                    <apply>
                                        <power/>
                                        <pi/>
                                        <cn>2</cn>
                                    </apply>
                                </apply>
                                <mo>)</mo>
                            </mrow>
                        </apply>
                    </apply>
                </apply>
            </math>
        </p>
        <p>To second order in <math xmlns="http://www.w3.org/1998/Math/MathML">
                <ci>&#x03C4;</ci></math>, these terms differ by <math
                xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <eq/>
                    <apply>
                        <times/>
                        <cn>2</cn>
                        <ci>&#x03C4;</ci>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>m</mi></msub>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn>2</cn>
                        <apply>
                            <times/>
                            <pi/>
                            <msub><mi>d</mi><mi>w</mi></msub>
                        </apply>
                    </apply>
                </apply>
            </math>, which is precisely the expected difference between the inner and outer
            circumferences of a torus. (The difference between ID and OD is twice the diameter of
            the wire.) </p>
        <p>It is the third-order term, <math xmlns="http://www.w3.org/1998/Math/MathML">
                <apply>
                    <times/>
                    <pi/>
                    <msub><mi>d</mi><mi>m</mi></msub>
                    <mrow>
                        <mo>(</mo>
                        <apply>
                            <divide/>
                            <apply>
                                <power/>
                                <ci>&#x03C4;</ci>
                                <cn>3</cn>
                            </apply>
                            <apply>
                                <power/>
                                <pi/>
                                <cn>2</cn>
                            </apply>
                        </apply>
                        <mo>)</mo>
                    </mrow>
                </apply>
            </math>, which approximates the shortfall of the outer arc length, relative to what
            would be required for a perfect torus.</p>
        <h2>Data</h2>
        <p><i>In progress.</i> I will provide links to spreadsheets illustrating the results.</p>
        <h2>Next Steps</h2>
<h3>Width of Saw Cut</h3>
        <p>As I mention above, this analysis ignores the width of the saw cut
(kerf). I'd like to refine the geometric model, adding kerf as a parameter. Note that the
            shortfall of the outer arc length won't be affected: both ID and OD are diminished by the
            same amount, leaving their difference unchanged. But there are no doubt other effects
            where the size of the kerf plays a significant role.</p>

<h3>Coil "Spring-Back"</h3>
<p>A more drastic idealization in the current model is that it ignores
the mechanical springiness of the wire, which has a significant effect 
on the final size and shape of the rings.</p>

<p>In one common process for forming rings, for example, the artist coils 
wire tightly around a metal mandrel. S/he
then removes the mandrel and inserts a wooden core for cutting. When the 
metal mandrel is removed, the coil
immediately unwinds a bit, increasing its diameter. The magnitude of this
effect depends on both the geometry and the material properties of the 
metal, but in typical cases it is large enough to be plainly visible.</p>

<p>It would be very interesting to estimate the effect of
this "spring-back," based on published material parameters for commonly
used metals. Such an analysis would be useful in predicting the size of 
the finished rings from the sizes of the mandrel and wire.</p>

<p>Note that the analysis of ID and OD given above remains valid, if we 
simply take 
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msub><ci>d</ci><ci>m</ci></msub></math> to be the inner diameter of the
coil <i>at the time of cutting</i>, rather than literally the diameter 
of the mandrel.</p>



    </body>
</html>
