What is an intercircle quadrangle?
Take two equal circles of radius r whose centres are a apart, with the gap b = a − 2r > 0 between them. Draw one straight edge at the height j above the line of centres and one at the depth i below it, 0 ≤ i, j ≤ r, each joining the two circles' inner points at that level. The intercircle quadrangle is the region between the two edges, bounded at the sides by the inner arcs of the circles, which here cross the line of centres. The line of centres splits it into two interarc quadrangles that start on that line; with i = 0 or j = 0 it is one of them. Its perpendicular bisector is a mirror axis; when i = j the line of centres is a second one and the shape is also point-symmetric. All four corners have angles of at most 90°: 90° − arcsin(i/r) at the edge l and 90° − arcsin(j/r) at the edge m.
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 depth i, the height j and the total height h (h = i + j). The gap must be greater than 0, i and j must each lie between 0 and r and not both be 0; anything else is refused with a sentence that names the reason. The page gives the two edges, the arc and chord of each side, the 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, gap b between the circles and height h of the shape must each be from 0.000001 to 1,000,000,000 and depth i of edge l below the line of centres and height j of edge m above the line of centres 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, above or below the line of centres, the straight edge between the inner points 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) $$
Each side is the arc of a circle from the depth i to the height j, through the inner point on the line of centres, of central angle arcsin(i/r) + arcsin(j/r):
$$ n = r\left(\arcsin\frac{i}{r} + \arcsin\frac{j}{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, the sum of the two interarc quadrangles from 0 to i and from 0 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] $$
The page sums 4 sin θ − sin 2θ − 2θ from its own series, whose first term is 2θ³/3, so a low shape loses no digits. The tangent of an arc at a corner gives the corner angle 90° − arcsin(y/r) at the edge at distance y from the line of centres.
Worked example
The page opens with radius r of each circle = 2, gap b between the circles = 1, depth i of edge l below the line of centres = 1, height j of edge m above the line of centres = 1.5. Then area A ≈ 3.296992; perimeter P ≈ 9.37679; edge l (at depth i) ≈ 1.535898; edge m (at height j) ≈ 2.354249; arc length n (each side) ≈ 2.743322; corner angle at edge l ≈ 60°; 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
How does it relate to the interarc quadrangle?
The line of centres cuts it into two interarc quadrangles that each have one edge on that line. With i = 0 the page gives exactly the values of the interarc quadrangle with the heights 0 and j.
Why must the gap be greater than 0?
If the circles touch, both sides pass through the touching point on the line of centres and the shape pinches to a point there, so it is no longer one quadrangle. The page refuses a gap of 0.
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