TITLE: What is the tangent plane equation on the 3 spheres?
QUESTION [5 upvotes]: 3 spheres are on $z=0$ plane and touch each other as shown in the picture. Coordinates of their centers are  $O_1=(0,0,5),O_2=(0,y_2,3),O_3=(x_3,y_3,2)$. What is the tangent plane equation on 3 spheres? ($ax+by+cz=d$)
Thanks for answers.

REPLY [2 votes]: There are three methods to get direct solutions without iteration.

Use an extended version of Gaussian elimination the results in having to get the fourth root of an equation.  This technique is a general solution for geometry problems, with only the equations changed for this problem.
You can use the symmetry of the plane-sphere tangent equations to make all but one row linear.  The other rows break down to just two variables and a constant.  You can then replace one of these with the other and a constant in the nonlinear.  You end up with one variable in the for AX^4 +BX^3+CX^2+DX+E=0

Another general solution that works.  Expand the three spheres until two touch.  Consider an inversion sphere where the spheres meet.  (I like radius 1.0 since it allows the largest range of inversion.)  The two spheres become two parallel planes.  This gives you the the radius of the inverted solution and the midplane the center is on.  Since you want a plane, the solution sphere must also go through the mirror point.  Invert that sphere to get a plane and using the expansion coefficient to move the plane to the unexpanded tangency.

Determine vectors from two centers to the center of the largest sphere.  Scale (using the sphere radii) the vectors to determine two planes that slice that sphere.  The intersection of that sphere and the two planes intersect where the plane is tangent.  This gives you a vector from that center to that point that (when normalized) is the normal of the plane.  Plugging the tangent point into the plane equation will generate the delta to complete the plane definition.


**I can give you the more details (and my solution) for any one of these if you post a request here.  I do want to give a good answer, but each one takes time. **

is dull but simple, except for the need for a quartic equation
is a bit more interesting.
is a bit more complex, but really interesting.  It is a general solution for Appolonius' 10th problem in any number of (n) dimensions, as long as one of the tangent entities is a hypersphere.  You need another, but simpler, method for a problem with all hyperplanes. You get the tangent plane by using the center of the inversion sphere as the (n+1)th tangency, which assures a plane.