Loading [MathJax]/jax/output/HTML-CSS/jax.js

Monday, March 28, 2022

Xiddlerian Algorithm

The astronomers of Planet Xiddler are back at it. They have developed a new technology for measuring the radius of a planet by analyzing its cross sections.

And so, they launch a satellite to study a newly discovered, spherical planet. The satellite sends back data about three parallel, equally spaced circular cross sections which have radii A, B and C megameters, with 0<A<B<C. Based on these values, the scientists calculate the radius of the planet is R megameters. To their astonishment, they find that A, B, C and R are all whole numbers!

What is the smallest possible radius of the newly discovered planet?

Let's first discuss the method to the Xiddlerian algorithmic madness. Setting up a reference frame, let's assume that we rotate the newly discovered planet so that the cross sections are parallel to the xy-plane and that the smallest cross section has the largest value of z, at say z=k. Let's additionally assume that the equal distance between each cross section is h for some 0<h<R. Then we have the following system of equations: A2+k2=R2B2+(kh)2=R2C2+(k2h)2=R2 where 0<h<k<R are unknown.

By taking the difference between the first two equations we get the hyperbola (kh)2k2+B2A2=h22kh+B2A2=0 or equivalently h=k±k2B2+A2. Naturally, since we want h<k, we need to choose the lower branch of the hyperbola, that is h1(k)=kk2B2+A2. Similarly, by taking the difference between the first and last equations, we get the hyperbola (k2h)2k2+C2A2=4h24kh+C2A2=0 or equivalently h=k±k2C2+A22. Here, again, we can safely choose the lower branch since otherwise we are not guaranteed to have (k2h)2<(kh)2 (which is equivalent to B<C), that is h2(k)=kk2C2+A22.

The intersection of these two curves occurs when k=2k2B2+A2k2C2+A2. Squaring both sides gives k2=4(k2B2+A2)4k2B2+A2k2C2+A2+(k2C2+A2), or equivalently 4k2B2+A2k2C2+A2=4k24(B2A2)(C2A2). Squaring both sides again gives 16(k2B2+A2)(k2C2+A2)=(4k24(B2A2)(C2A2))2 or equivalently 0=16k416((B2A2)+(C2A2))k2+(A2B2)(C2A2)16k4+8(4(B2A2)+(C2A2))k2+(4(B2A2)+(C2A2))2=8(2(B2A2)(C2A2))k2(4(B2A2)+(C2A2))2+16(C2A2)(B2A2)=8(2(B2A2)(C2A2))k2(4(B2A2)(C2A2))2. That is, k2=(4(B2A2)(C2A2))28(2(B2A2)(C2A2))=(4B23A2C2)28(2B2A2C2) and hence R2=A2+k2=A2+(4B23A2C2)28(2B2A2C2)=8A2(2B2A2C2)+(4B23A2C2)28(2B2A2C2)=B2+(C2A2)28(2B2A2C2) That is, R=R(A,B,C)=B2+(C2A2)28(2B2A2C2).

So we can just about start hunting and pecking for suitable triples (A,B,C)N3 such that RN, but we can narrow the search by including 0<A<B<C<R. Additionally, since k2 must be a positive integer we must additionally have 8(C2A2)2 and 2B2A2C2>0. The first conclusion is equivalent to the condition that ACmod2, while the second conclusion ensures that we must have C<2B2A2. After a while of hunting an pecking, we see that (2,7,8) yields R(A,B,C)=8. An exhaustive search of triples A<B<C<8 with ACmod2 and C<2B2A2 reveals only four valid competitors: (1,4,5)R(1,4,5)=47(1,6,7)R(1,6,7)=616511(2,5,6)R(2,5,6)=5224(3,6,7)R(3,6,7)=41547 Since each of the competitors does not produce a sufficiently whole numbered R, the smallest radius the newly discovered planet can be is 8=R(2,7,8) megameters.

No comments:

Post a Comment