What is an interarc quadrangle?
Take two equal circles of radius r whose centres are a apart, with the gap b = a − 2r between them, and two heights i and j above the line of centres, 0 ≤ i < j ≤ r. At each height draw the straight segment that joins the two circles' inner points (the points of each circle that face the other circle). The interarc quadrangle is the region between those two straight edges, bounded at the sides by the inner arcs of the two circles. It is an isosceles trapezoid whose two slanted sides are replaced by arcs curving into the shape, and its one mirror axis is the perpendicular bisector of the edges. The lower edge l is always the shorter one. The corners at l have the angle 90° + arcsin(i/r), at least 90°; the corners at m have the angle 90° − arcsin(j/r), less than 90°, and 0° when j = r. The same construction with the edges on both sides of the line of centres is the intercircle quadrangle.
How to use it
Choose what you know: two of the radius r, the centre distance a and the gap b (a = b + 2r), and two of the heights i, j and h (h = j − i). The circles must not overlap (b at least 0), the heights must satisfy 0 ≤ i < j ≤ r, and touching circles (b = 0) need a lower height above 0, since the lower edge would otherwise have no length; anything else is refused with a sentence that names the reason. The page gives the two edges, the arc and chord of each side, both corner angles, the perimeter and the area, and shows every length of the two pairs, the ones you typed too, rounded like the other results. The length unit is only a label: lengths come out in that unit and areas in its square. Radius r of each circle, distance a between the centres, upper height j and height h of the shape must each be from 0.000001 to 1,000,000,000 and gap b between the circles and lower height i must each be 0 or from 0.000001 to 1,000,000,000; a number may also be typed in exponent form such as 2.5e3. Anything else, including text, is refused with a sentence that says why, and so is a set of values that cannot form the shape.
Derivation of the formulas
Put the centres at (−a/2, 0) and (a/2, 0). At the height y the inner point of the left circle is at x = −a/2 + √(r² − y²), so the straight edge at that height has the length
$$ L(y) = a - 2\sqrt{r^{2} - y^{2}} = b + \frac{2y^{2}}{r + \sqrt{r^{2} - y^{2}}}, \qquad l = L(i), \quad m = L(j) $$
L grows with y, so l is shorter than m. Each side is the arc of a circle between the heights i and j, of central angle arcsin(j/r) − arcsin(i/r), and its chord joins the two corners:
$$ n = r\left(\arcsin\frac{j}{r} - \arcsin\frac{i}{r}\right), \qquad s = \sqrt{\left(\sqrt{r^{2} - i^{2}} - \sqrt{r^{2} - j^{2}}\right)^{2} + h^{2}}, \qquad P = l + m + 2n $$
The area is the integral of L(y) from i to j. With y = r sin θ the part 2(r − √(r² − y²)) integrates to G(y) = (r²/4)(4 sin θ − sin 2θ − 2θ):
$$ A = b h + 2\left[G(j) - G(i)\right] = a h - \left[y\sqrt{r^{2} - y^{2}} + r^{2}\arcsin\frac{y}{r}\right]_{i}^{j} $$
The page sums 4 sin θ − sin 2θ − 2θ from its own series, whose first term is 2θ³/3, so a thin or low shape loses no digits. The tangent of an arc at a corner gives the corner angles 90° + arcsin(i/r) at l and 90° − arcsin(j/r) at m.
Worked example
The page opens with radius r of each circle = 2, gap b between the circles = 1, lower height i (of edge l) = 1, upper height j (of edge m) = 1.5. Then area A ≈ 0.949884; perimeter P ≈ 5.188; edge l (at height i, the shorter) ≈ 1.535898; edge m (at height j, the longer) ≈ 2.354249; arc length n (each side) ≈ 0.648927; corner angle at edge l ≈ 120°; corner angle at edge m ≈ 41.409622°. Each value is shown rounded once, from the computed number, to six decimals or to 12 significant digits, whichever is fewer; a value of 10¹² and more is written as its 12 significant digits times a power of ten, such as 1.23456789012 × 10¹⁵, since a computed number holds no more digits than that; a value below 0.0000005 is shown as its plain 12-digit number instead.
Frequently asked questions
Which corners are obtuse?
The two corners at the lower edge l: there the arc leaves the edge at 90° + arcsin(i/r), which is exactly 90° when i = 0. The two corners at the upper edge m are acute, with 90° − arcsin(j/r), and become 0° when j = r, where the upper edge touches both circles at their tops.
Which inputs does the page refuse?
Overlapping circles (the radius r and the centre distance a typed with a less than 2r); a gap b at least a, which would leave no room for a radius, since a = b + 2r needs r greater than 0; heights out of order or outside 0 ≤ i < j ≤ r; and touching circles with the lower edge on the line of centres, where that edge has no length. Each refusal says which condition failed.
Why does the unit not change the numbers?
The calculator does not convert between units. Every length is read in the unit you chose, so the unit only labels the results; areas come out in that unit squared.
How accurate are the results?
Every result is computed in 64-digit decimal arithmetic, with π to 57 digits and sine, cosine and arctangent summed from their series until a term falls below 10⁻⁶⁶, by forms that lose no digits to cancellation; each shown value is that result rounded once to six decimals or to 12 significant digits, whichever is fewer. Every digit shown is correct for every input the page accepts.
References
H. S. M. Coxeter, Introduction to Geometry, 2nd edition, Wiley, 1969
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd edition, CRC Press, 2018