So there are spheres with radius of 1 centered at (1,2,0), (4,5,0) and (1,3,2). How can one find a plane that is tangent to all 3 spheres? Visually, it looks like as if the spheres are sitting on a plane, but I am not sure how to find the equation of the plane.
-
If 3 sphere have same radii $r$, the plane will be parallel to the one containing the 3 centers of the circle. Compute that plane first and then shift it along the normal direction for a distance of $r$. – achille hui Sep 02 '15 at 15:21
-
Thanks for the answer. So I just have to find a line that goes between all 3 points of the 3 spheres? How can I do that? I was thinking of setting up 2 vectors then finding a normal line, then shift it by 1 radius like u said. – user3015986 Sep 02 '15 at 15:31
-
The equation for a plane passing through 3 points $(x_i,y_i,z_i)$ is given by $$\left|\begin{matrix}x & y & z & 1\x_1 & y_1 & z_1 & 1\ x_2 & y_2 & z_2 & 1\ x_3 & y_3 & z_3 & 1\end{matrix}\right| = 0$$ Once you obtain the equation of the plane in the form $Ax + By + Cz = D$, the unit normal vectors will be given by $\pm \frac{1}{\sqrt{A^2+B^2+C^2}}(A,B,C)$... – achille hui Sep 02 '15 at 15:44
-
Please. Have a look at https://math.stackexchange.com/questions/4791901/tangent-plane-to-3-spheres?rq=1 – Cesareo Aug 07 '24 at 20:18
2 Answers
The spheres centered at (1,2,0) and (4,5,0) have their tops at $z=1$. The sphere centered at (1,3,2) has its bottom at $z=1$. Therefore, the plane $z=1$ is tangent to all three spheres.
- 12,640
- 2
- 26
- 27
There are actually 8 different solutions, since each sphere can touch the plane from 2 different sides. Two solutions have all 3 spheres touching on one side and are parallel to the plane through the sphere centers.
The other 6 solutions all have two spheres touching on one side and the third sphere touching on the other side. By shifting the plane along its normal vector through the center of the two spheres on the same side the problem can be transformed to finding a plane going through 2 points (sphere centers) and touching a third sphere with unchanged center but radius increased to 2.
To find a plane through 2 points and touching a sphere: take the plane P which is normal to the line L through the 2 points and which contains the center of the sphere. Let this plane P cut the line L in S and the sphere in circle C. The tangents of S to C together with the line L form the two solutions to the transformed fitting problem. The plane for the original problem is gained by shifting the plane back along its normal vector.
- 1,718