# Diameter of sphere - using only compass and ruler

### Diameter of sphere - using only compass and ruler

Using only a compass and a ruler, how can we measure the diameter of a hollow sphere?
Guest

### Re: Diameter of a sphere

Set the compass to some distance less than $$\frac{\sqrt{3}}{2}$$ times the length of the diameter of the sphere (any value will do as long as it is not too big). Let the distance between the tips of the compass, as measured by the ruler, be $$r$$.

Draw a circle using the compass (set at distance $$r$$) somewhere on the surface the sphere.
Draw another circle (without changing the compass) with its centre somewhere on the circumference of the first circle drawn.
The two circles will intersect at two points, set the compass ends so that they lie on the intersections, then use the ruler to
measure how far apart the ends are, call this distance $$d$$.

The diameter of the sphere will be
$$r\sqrt{\frac{4r^2-d^2}{3r^2-d^2}}$$.

As an example consider a sphere of radius 1. Let us suppose we set $$r=\sqrt{2}$$ (carefully chosen to make the explanation easier), and choose the centre of the first circle to be the "south pole". The circle drawn will be a line of latitude, specifically the equator (due to the carefully chosen choice of $$r$$). Next choose a point on the equator and draw another circle, it will form a "line of longtitude". The intersection of these two circles will be diametrically opposite points, so the distance between the intersections is $$d=2$$. Using the formula the diameter is
$$\sqrt{2}\sqrt{\frac{4(\sqrt{2})^2-2^2}{3(\sqrt{2})^2-2^2}}$$
= $$\sqrt{2}\sqrt{\frac{8-4}{6-4}}$$
= $$\sqrt{2}\sqrt{2}$$
= 2
As expected.

Hope this helped,

R. Baber.
Guest

### Re: Diameter of a sphere

Obviously it helped!

However, can you please explain how you came to this formula? I understand the second part, which proves it is correct, but I don't understand how you came to this in the first place!

Many thanks!
Guest

### Re: Diameter of a sphere

There are four points of interest in my construction: the two intersections of the circles, call them $$A,B$$, and the centres of the two circles, call them $$C,D$$. Because of the fact that the compass was fixed at distance $$r$$, we know that $$r=|AC|=|BC|=|AD|=|BD|=|CD|$$, so $$ACD$$ and $$BCD$$ are two equilateral triangles both with side lengths $$r$$.

Also these two triangles share an edge $$CD$$, which is a bit like a hinge, the two triangles don't lie in the same plane as each other. If we could work out the angle between the planes they lie in that would give us information on how "curved" the surface the triangles are lying in is. If the angle between the planes is close to 180, the surface is close to being flat and so the radius of the sphere is very large, if instead the angle is very small, then the surface is very curved and the radius is very small. Instead of explicitly calculating the angle we can equivalently use the distance $$d=|AB|$$ which is more convenient.

So now you have 4 points that lie on a sphere of radius say $$R$$ and that these 4 points form two equilateral triangles of side length $$r$$, with two of the points being a distance of $$d$$ apart, and all you need to do is work out an equation that relates $$R, r,$$ and $$d$$. You can do this using basic coordinate geometry. We can assume without loss of generality that the sphere is centred on the origin, so any point $$(x,y,z)$$ that lies on the sphere has to satisfy $$x^2+y^2+z^2=R^2$$ (this is the equation of a sphere, which itself comes from Pythagoras' theorem in 3 dimensions).

To make our lives easier we may as well assume that $$C$$ and $$D$$ lie on the equator i.e. their $$z$$ coordinate is $$0$$ (we can always rotate to make this true). Furthermore we can assume that they lie either side of the $$x$$ axis (again we can rotate them along the equator so that this holds true). Consequently the coordinates of $$C$$ and $$D$$ take the form $$(X_1,\pm r/2, 0)$$ for some unknown $$X_1$$ (we forced the $$z$$ coordinate to be $$0$$, and that they should have the same $$x$$ coordinate, the $$y$$ coordinate is determined by the fact that $$|CD|=r$$). You can determine $$X_1$$ by remembering that $$C$$ and $$D$$ lie on the sphere, so their coordinates must satisfy $$x^2+y^2+z^2=R^2$$, I leave that as exercise for you to do.

Next we consider $$A$$ and $$B$$, by symmetry we know that their $$y$$ coordinate is $$0$$, and they lie either size of the $$x-y$$ plane, so their coordinates take the form $$(X_2,0,\pm d/2)$$ (the $$z$$ coordinate is determined by $$|AB|=d$$). Again you can use the fact that $$A$$ and $$B$$ lie on a sphere, to determine $$X_2$$.

Finally you can use the fact that $$|AC|=r$$, and that the formula for the distance between two points $$(x_1,y_1,z_1)$$ and $$(x_2,y_2,z_2)$$ is $$\sqrt{(x_1-x_2)^2+(y_1-y_2)^2+(z_1-z_2)^2}$$ by Pythagoras theorem. This will give you a formula involving $$R, r,$$ and $$d$$, rearranging gives the formula
$$2R = r\sqrt{\frac{4r^2-d^2}{3r^2-d^2}}$$.

Hope this helped,

R. Baber.
Guest

### Re: Diameter of a sphere

Dear friend,
Not only you helped me with your solution, but you explained everything in a crystal clear way, using a very correct and understandable English language, as opposed to many others, who sometimes reply giving a correct solution but without any explanation whatsoever!!

Congratulations and thank you so much!
Guest