The oloid was found by the sculptor and inventor Paul Schatz while he was studying the motions of his invertible cube, in 1929 or 1933 (sources differ). According to Georg Unger, Schatz named it the polysomatoloid, after polysomatology (from the Greek for "many bodies"), his name for some kind of new science, but then shortened the name to oloid, since he thought that no one could pronounce it (mathcurve.com); more recently the mathematician Robert March has proposed the name "orthobicycle": the oloid is the convex hull of two circles of radius \(r\) in perpendicular planes, each passing through the centre of the other, and it has some interesting properties: its surface is developable (it can be unrolled onto a plane without stretching or tearing); its area is \(4\pi r^2\), the same as that of a sphere of radius \(r\); and, as it rolls on a plane, every point of its surface touches the plane. Its tumbling motion is put to use in agitators and aerators for water treatment.
Construction
Lengths are given here in units of \(r\). Circle A is the unit circle \(x^2 + y^2 = 1\) in the plane \(z = 0\), centred on the origin, \(O_A\), and circle B is \((x + 1)^2 + z^2 = 1\) in the plane \(y = 0\), centred on \(O_B = (-1, 0, 0)\), so that each passes through the other's centre. SciPy's ConvexHull function, an interface to the Qhull library, finds the convex hull of a set of points, and with enough points on the two circles it gives a good approximation to the oloid:
import numpy as np
from scipy.spatial import ConvexHull
# n points on each circle: A, x^2 + y^2 = 1 in the plane z = 0, and
# B, (x + 1)^2 + z^2 = 1 in the plane y = 0.
n = 12000
t = np.linspace(0, 2 * np.pi, n, endpoint=False)
c, s, zero = np.cos(t), np.sin(t), np.zeros(n)
A = np.column_stack((c, s, zero))
B = np.column_stack((c - 1, zero, s))
hull = ConvexHull(np.vstack((A, B)))
print(f"Area: {hull.area:.6f} (4 pi = {4 * np.pi:.6f})")
print(f"Volume: {hull.volume:.6f}")
# The vertices of the hull are the points of the circles on its surface.
on_A = np.count_nonzero(hull.vertices < n)
print(f"Arc of each circle on the surface: {360 * on_A / n:.1f} deg")
Area: 12.566370 (4 pi = 12.566371)
Volume: 3.052418
Arc of each circle on the surface: 240.0 deg
With 12,000 points on each circle, the area is already within 1 part in \(10^7\) of \(4\pi\). Only two-thirds of each circle, an arc of \(240^\circ\), lies on the oloid's surface, where it forms an edge; the remaining third is inside the oloid. Between the arcs, the surface consists of straight line segments, its generators, each joining a point of one arc to a point of the other, and so it is a ruled surface.
Generators
The generators are found from the planes that touch the oloid. A plane that touches circle A at the point \(P = (\cos t, \sin t, 0)\) contains the circle's tangent there, so its equation can be written
for some \(c\). It meets the plane \(y = 0\) in the line \(x\cos t + cz = 1\), which touches circle B if its distance from B's centre, \((-1, 0)\) in the \(xz\)-plane, is 1: \((1 + \cos t)^2 = \cos^2 t + c^2\), and so
The positive root gives the planes that touch the upper half of the oloid (\(z \ge 0\)), and the negative root those that touch its lower half. The planes exist only for \(\cos t \ge -\tfrac{1}{2}\), the \(240^\circ\) arc of circle A on the oloid's surface. Each touches circle B at the foot of the perpendicular from B's centre to the line,
and both circles lie on one side of it, so the oloid meets the plane in the segment \(PQ\): a generator. Writing \(u = \cos t\), its length is given by
so every generator has the same length, \(\sqrt{3}\,r\).
\(Q\) moves infinitely fast at the ends of the arc, where \(c\) falls to zero, so a better parameter for the generators is the angle \(\theta\) defined by \(\sin(t/2) = \tfrac{\sqrt{3}}{2}\sin\theta\), which runs from \(-\pi/2\) to \(\pi/2\) as \(t\) runs from \(-2\pi/3\) to \(2\pi/3\). With
we have \(\cos t = 2\Delta^2 - 1\) and \(c = \pm\sqrt{3}\cos\theta\), and the ends of the generators are
\(Q\) is the same for \(\theta\) and \(-\theta\), so each half of the surface consists of two quarters, mirror images of each other in the plane \(y = 0\), which meet along a \(120^\circ\) arc of circle B. At \(\theta = \pm\pi/2\), the generators of the two halves coincide: they lie in the plane \(z = 0\), joining the ends of circle A's arc, \((-\tfrac{1}{2}, \pm\tfrac{\sqrt{3}}{2}, 0)\), to the point \((-2, 0, 0)\) of circle B.
Cartesian equation
The surface is the envelope of the family of planes that touch it. Writing the equation of the planes as \(1 - x\cos t - y\sin t = cz\) and squaring it removes the sign of \(c\): \((1 - x\cos t - y\sin t)^2 = (1 + 2\cos t)z^2\). With the tangent half-angle substitution, \(\tau = \tan(t/2)\), \(\cos t = (1 - \tau^2)/(1 + \tau^2)\) and \(\sin t = 2\tau/(1 + \tau^2)\), and multiplying by \((1 + \tau^2)^2\) gives a quartic polynomial in \(\tau\):
A point \((x, y, z)\) lies on the envelope if it lies on two neighbouring planes of the family: that is, if \(F(\tau)\) has a repeated root, at which \(\partial F/\partial\tau = 0\) too. A polynomial has a repeated root if and only if its discriminant is zero, and SymPy can calculate the discriminant:
import sympy as sp
x, y, z, tau = sp.symbols("x y z tau", real=True)
# The planes that touch both circles, (1 - x cos t - y sin t)^2 = (1 + 2 cos t) z^2,
# with cos t = (1 - tau^2)/(1 + tau^2) and sin t = 2 tau/(1 + tau^2).
F = ((1 + x) * tau**2 - 2 * y * tau + (1 - x))**2 - (3 - tau**2) * (1 + tau**2) * z**2
# The surface is the envelope of the planes, where F and dF/dtau have a
# common root: where the discriminant of F, as a polynomial in tau, is zero.
factors = sp.factor_list(sp.discriminant(F, tau))
print(factors[0], [(f if f.is_Symbol else "...", k) for f, k in factors[1]])
octic = next(f for f, k in factors[1] if sp.total_degree(f) == 8)
for power, coeff in sorted(sp.collect(sp.expand(octic), z, evaluate=False).items(),
key=lambda item: sp.degree(item[0], z)):
print(f"{str(power):>5}: {sp.factor(coeff)}")
4096 [(z, 4), ('...', 1)]
1: (x**2 + y**2)*(x**2 + y**2 - 1)**2*(x**2 + 4*x - 3*y**2 + 4)
z**2: -2*(6*x**5 - 3*x**4*y**2 + 23*x**4 - 6*x**3*y**2 + 24*x**3 - 6*x**2*y**4 + 23*x**2*y**2 + 3*x**2 - 12*x*y**4 + 26*x*y**2 - 2*x - 3*y**6 + 5*y**2)
z**4: -6*x**4 - 36*x**3 + 12*x**2*y**2 - 50*x**2 - 8*x - 9*y**4 - 12*y**2 + 1
z**6: -2*(4*x**2 + 10*x - 3*y**2 + 1)
z**8: -3
The discriminant is \(4096z^4\) times a polynomial of degree 8. The factor \(z^4\) is not part of the surface: in the plane \(z = 0\), \(F(\tau)\) is a perfect square, which has repeated roots everywhere. Collecting the terms of the polynomial of degree 8 in powers of \(z\) gives the equation of the surface:
Expanded, this is the equation given on mathcurve.com, whose circles are placed as they are here. It describes more than the oloid: it is satisfied by every point of the whole lines of which the generators are segments. Its section by the plane \(z = 0\), the first line above, consists of circle A, counted twice since both halves of the surface meet there; the pair of lines \((x + 2)^2 = 3y^2\), which contain the two generators that lie in this plane; and the origin, the only real point of \(x^2 + y^2 = 0\).
Area and volume
The strip of surface between the generators at \(\theta\) and \(\theta + \mathrm{d}\theta\) is, to first order, a plane quadrilateral, whose area is half the magnitude of the cross product of its diagonals, \((Q + Q'\,\mathrm{d}\theta) - P\) and \((P + P'\,\mathrm{d}\theta) - Q\), where the primes denote derivatives with respect to \(\theta\):
The oloid can also be divided into thin pyramids, each with its apex at the oloid's centre, \(M = (-\tfrac{1}{2}, 0, 0)\), midway between the circles' centres, and one of these strips as its base. Its volume is therefore \(V = \tfrac{1}{3}\oint h\,\mathrm{d}A\), where \(h\) is the distance of \(M\) from the plane that touches the oloid along the generator. The plane's equation is \(\mathbf{n}\cdot\mathbf{x} = 1\), where \(\mathbf{n} = (\cos t, \sin t, c)\) has length \(\sqrt{2 + 2\cos t} = 2\Delta\), so
The program below checks the expressions for \(P\) and \(Q\) in terms of \(\theta\), and those for \(h\) and \(\mathrm{d}A/\mathrm{d}\theta\), with SymPy, for the upper half of the surface; the lower half is its mirror image in the plane \(z = 0\).
import sympy as sp
theta = sp.symbols("theta", real=True)
D = sp.sqrt(1 - sp.Rational(3, 4) * sp.sin(theta)**2) # cos(t/2)
# The ends of a generator of the upper half of the surface, and the normal
# (cos t, sin t, sqrt(1 + 2 cos t)) to its tangent plane, whose length is 2D.
P = sp.Matrix([2 * D**2 - 1, sp.sqrt(3) * D * sp.sin(theta), 0])
Q = sp.Matrix([-1, 0, sp.sqrt(3) * sp.cos(theta)]) / (2 * D**2)
n = sp.Matrix([2 * D**2 - 1, sp.sqrt(3) * D * sp.sin(theta), sp.sqrt(3) * sp.cos(theta)])
print("|PQ|^2 =", sp.simplify((Q - P).dot(Q - P)))
# The height of the centre, (-1/2, 0, 0), above the tangent plane, n.X = 1.
h = (1 - n.dot(sp.Matrix([-sp.Rational(1, 2), 0, 0]))) / (2 * D)
print("h - (1 + 2D^2)/(4D) =", sp.simplify(h - (1 + 2 * D**2) / (4 * D)))
# The area swept by the generator, dA/dtheta = |(P' + Q') x (Q - P)|/2.
dA = (P.diff(theta) + Q.diff(theta)).cross(Q - P) / 2
print("(dA/dtheta)^2 - (1 + 1/(2D^2))^2 =",
sp.simplify(dA.dot(dA) - (1 + 1 / (2 * D**2))**2))
|PQ|^2 = 3
h - (1 + 2D^2)/(4D) = 0
(dA/dtheta)^2 - (1 + 1/(2D^2))^2 = 0
Using the standard integral \(\int_{-\pi/2}^{\pi/2}\mathrm{d}\theta/(1 - m\sin^2\theta) = \pi/\sqrt{1 - m}\), for \(m < 1\), the area of each half of the surface is
and the area of the oloid is exactly \(4\pi r^2\). The integrand of the volume is even in \(\theta\), so, over both halves of the surface,
These are complete elliptic integrals with \(\Delta = \sqrt{1 - m\sin^2\theta}\) and the parameter \(m = 3/4\): \(K(m) = \int_0^{\pi/2}\mathrm{d}\theta/\Delta\), \(E(m) = \int_0^{\pi/2}\Delta\,\mathrm{d}\theta\) and, a standard result which follows from differentiating \(K(m)\) with respect to \(m\), \(\int_0^{\pi/2}\mathrm{d}\theta/\Delta^3 = E(m)/(1 - m) = 4E(m)\). The volume of the oloid is therefore
which SciPy evaluates as
from scipy.special import ellipe, ellipk
print(2 / 3 * (2 * ellipe(0.75) + ellipk(0.75)))
3.0524184684243743
in agreement with the convex hull's volume. A short warning: SciPy's ellipk and ellipe take the parameter \(m\) as their argument, as here, but some references write these integrals in terms of the modulus, \(k = \sqrt{m}\); calling ellipe(0.75**2) and ellipk(0.75**2) by mistake gives a volume of 3.0320.
Development
Because the oloid's surface is developable, it can be rolled on a plane without slipping, touching it along one generator at a time, and the part of the plane that it touches is its surface unrolled: its development. In one cycle of its roll, the oloid touches the plane along each generator of its upper half in turn, from \(\theta = -\pi/2\) to \(\pi/2\), and then along each generator of its lower half, from \(\theta = \pi/2\) back to \(-\pi/2\), which brings it back to the generator at which it started.
The program below unrolls the surface as the oloid does. The strip between neighbouring generators is divided into two triangles, and each triangle is laid on the plane next to the one before, with the lengths of its sides unchanged. The oloid lies on the plane with the outside of its surface facing down, so that a triangle whose vertices run anticlockwise seen from outside the oloid runs clockwise seen from above, and this decides on which side of the shared edge each triangle goes. The function pose gives the rotation and translation that lay the oloid on the plane along a generator, with its tangent plane on the plane. The animation above was made with it, with the oloid's centre moving forward by equal steps between frames.
"""The oloid: its generators, its development and its rolling.
The oloid is the convex hull of two unit circles in perpendicular planes, each
passing through the other's centre: circle A, x^2 + y^2 = 1 in the plane z = 0,
and circle B, (x + 1)^2 + z^2 = 1 in the plane y = 0. Its curved surface is
made of straight line segments, its generators, each from a point P on circle A
to a point Q on circle B. This program unrolls the surface onto a plane, as the
oloid lays it down when it rolls through one cycle, and plots the result.
"""
import matplotlib.pyplot as plt
import numpy as np
def generators(theta, half=1):
"""Return the ends, P and Q, of the generators at the angles theta and the
outward unit normal, n, to the surface along each, as arrays of shape
(len(theta), 3), for the upper half of the surface (half=1, z >= 0) or the
lower half (half=-1)."""
s, c = np.sin(theta), np.cos(theta)
D = np.sqrt(1 - 3 * s**2 / 4) # cos(t/2)
zero, one = np.zeros_like(s), np.ones_like(s)
P = np.column_stack((2 * D**2 - 1, np.sqrt(3) * D * s, zero))
Q = np.column_stack((-one, zero, half * np.sqrt(3) * c)) / (2 * D[:, None]**2)
n = np.column_stack((2 * D**2 - 1, np.sqrt(3) * D * s,
half * np.sqrt(3) * c)) / (2 * D[:, None])
return P, Q, n
def rolling_cycle(m=1000):
"""Return P, Q and n for the generators in the order in which they touch
the plane on which the oloid rolls, through one cycle: m + 1 generators of
the upper half, from theta = -pi/2 to pi/2, then m of the lower half, from
theta = pi/2 back to -pi/2. The last generator is the first, which begins
the next cycle."""
theta = np.linspace(-np.pi / 2, np.pi / 2, m + 1)
upper = generators(theta, 1)
lower = generators(theta[::-1], -1)
return [np.vstack((u, v[1:])) for u, v in zip(upper, lower)]
def place(a, b, ac, bc, side):
"""Return the point c in the plane at distances ac from a and bc from b,
on the left of the line from a to b if side > 0, else on its right."""
ab = np.linalg.norm(b - a)
x = (ab**2 + ac**2 - bc**2) / (2 * ab)
y = np.sqrt(max(ac**2 - x**2, 0))
e = (b - a) / ab
return a + x * e + np.sign(side) * y * np.array((-e[1], e[0]))
def develop(P, Q, n):
"""Unroll the strip of generators from P to Q onto the plane, one triangle
at a time, and return the ends of the generators there, p and q.
The surface is laid on the plane with its outward normal pointing down, as
when the oloid rolls on it, so that a triangle which is anticlockwise seen
from outside the oloid is clockwise seen from above.
"""
p, q = np.zeros((len(P), 2)), np.zeros((len(P), 2))
q[0] = (np.linalg.norm(Q[0] - P[0]), 0)
for i in range(len(P) - 1):
# The quadrilateral between neighbouring generators is split into the
# triangles P[i], Q[i], P[i+1] and P[i+1], Q[i], Q[i+1].
side = -np.cross(Q[i] - P[i], P[i + 1] - P[i]) @ n[i]
p[i + 1] = place(p[i], q[i], np.linalg.norm(P[i + 1] - P[i]),
np.linalg.norm(P[i + 1] - Q[i]), side)
side = -np.cross(Q[i] - P[i + 1], Q[i + 1] - P[i + 1]) @ n[i]
q[i + 1] = place(p[i + 1], q[i], np.linalg.norm(Q[i + 1] - P[i + 1]),
np.linalg.norm(Q[i + 1] - Q[i]), side)
return p, q
def pose(P, Q, n, p, q):
"""Return the rotation matrix R and the translation d that lay the oloid
on the plane z = 0 along its generator from P to Q, whose image in the
development runs from p to q: a point X of the oloid moves to R @ X + d."""
e1 = (Q - P) / np.linalg.norm(Q - P)
f1 = np.append((q - p) / np.linalg.norm(q - p), 0)
f3 = np.array((0, 0, -1))
R = (np.column_stack((f1, np.cross(f3, f1), f3))
@ np.vstack((e1, np.cross(n, e1), n)))
return R, np.append(p, 0) - R @ P
def polygon_area(xy):
"""Return the area of the polygon with vertices xy (the shoelace formula)."""
x, y = xy.T
return abs(np.dot(x, np.roll(y, -1)) - np.dot(y, np.roll(x, -1))) / 2
if __name__ == "__main__":
m = 1000
P, Q, n = rolling_cycle(m)
p, q = develop(P, Q, n)
# The development is bounded by the images of the generators at its ends
# and of the circles' arcs.
area = polygon_area(np.vstack((p, q[::-1])))
print(f"Area of the development: {area:.6f} (4 pi = {4 * np.pi:.6f})")
# One cycle of rolling turns the oloid about the vertical and moves it,
# carrying the image of the first generator, from p[0] = (0, 0) to q[0],
# to the image of the last, from p[-1] to q[-1].
u, v = q[0] - p[0], q[-1] - p[-1]
angle = np.degrees(np.arctan2(u[0] * v[1] - u[1] * v[0], np.dot(u, v)))
print(f"In one cycle the oloid turns by {angle:.6f} deg"
f" and moves by ({p[-1][0]:.6f}, {p[-1][1]:.6f})")
fig, ax = plt.subplots()
for i in range(0, len(p), m // 20):
ax.plot(*np.column_stack((p[i], q[i])), c="0.7", lw=0.8)
ax.plot(*p.T, label="circle A")
ax.plot(*q.T, label="circle B")
ax.set_aspect("equal")
ax.legend()
plt.show()
Area of the development: 12.566314 (4 pi = 12.566371)
In one cycle the oloid turns by -0.000110 deg and moves by (0.000005, 4.836796)
The area of the development, made of 4,000 triangles, is within 5 parts in a million of \(4\pi\), and the oloid's turn in a cycle is zero to within the accuracy of the calculation: each cycle moves the oloid \(4.8368r\) in a straight line, without turning it. Its centre, meanwhile, weaves from side to side by \(0.56r\). The development of one cycle, shown below, consists of two congruent pieces, one for each half of the surface. Each arc of circle A appears twice, once on each piece, as a curve of length \(4\pi/3\); each \(120^\circ\) arc of circle B also appears twice, as the two curves that meet at a cusp, since two quarters of the surface meet along it.
The PDF file below holds this development with glue tabs, drawn for \(r = 50\,\mathrm{mm}\) to fit an A4 page. Printed on thin card, cut out and glued, it makes a paper oloid; the card bends along the generators but is not creased, since the surface is developable.
Rolling
As the oloid rolls, the plane on which it rests is its tangent plane along the generator that it touches, so the height of its centre above the plane is \(h\), as defined above. In terms of \(t\),
which is \(3/4\) at \(t = 0\) and \(t = \pm 2\pi/3\), and \(1/\sqrt{2}\) at \(t = \pm\pi/2\). The centre therefore rises and falls by \(3/4 - 1/\sqrt{2} \approx 0.043\), about 6% of its height, twice in each half of the cycle, and the oloid wobbles as it rolls.
The circles need not be a distance \(r\) apart. If their centres are a distance \(d\) apart (with circle B centred at \((-d, 0, 0)\)), the same argument gives \(c^2 = (1 + d\cos t)^2 - \cos^2 t\), and the centre, now at \((-d/2, 0, 0)\), is at the height
For \(d = \sqrt{2}\), the denominator is \(\sqrt{2} + \cos t\) and the numerator is \((\sqrt{2} + \cos t)/\sqrt{2}\), so the height is constant: \(h = 1/\sqrt{2}\). The convex hull of two such circles, the two-circle roller, therefore rolls with its centre at a constant height, without the oloid's wobble, as A. T. Stewart showed [Am. J. Phys. 34, 166 (1966), doi:10.1119/1.1972824].