Question
Question: The shortest distance between $(1-x)^2 + (x-y)^2 + (y-z)^2 + z^2 = \frac{1}{4}$ and $4x+2y+4z+7=0$ i...
The shortest distance between (1−x)2+(x−y)2+(y−z)2+z2=41 and 4x+2y+4z+7=0 in 3-dimensional coordinates system is equal to ____.

2
Solution
The given equation of the surface is (1−x)2+(x−y)2+(y−z)2+z2=41.
Let u1=1−x, u2=x−y, u3=y−z, u4=z. The equation becomes u12+u22+u32+u42=41. We also note the relationship between these variables: u1+u2+u3+u4=(1−x)+(x−y)+(y−z)+z=1.
So, we are looking for points (x,y,z) such that the vector (u1,u2,u3,u4)=(1−x,x−y,y−z,z) satisfies u12+u22+u32+u42=41 and u1+u2+u3+u4=1.
Let u=(u1,u2,u3,u4). The conditions are ∣u∣2=41 and n⋅u=1, where n=(1,1,1,1). The set of vectors u satisfying these conditions is the intersection of a sphere centered at the origin with radius 1/2 and a hyperplane defined by n⋅u=1.
The point on the hyperplane n⋅u=1 closest to the origin is the projection of the origin onto the hyperplane. This point is given by u0=∣n∣2n(1)=12+12+12+12(1,1,1,1)(1)=4(1,1,1,1)=(1/4,1/4,1/4,1/4). Let's check if this point lies on the sphere ∣u∣2=41. ∣u0∣2=(1/4)2+(1/4)2+(1/4)2+(1/4)2=161+161+161+161=164=41.
Since the point u0=(1/4,1/4,1/4,1/4) satisfies both conditions, it is the only point of intersection. This means there is only one vector (u1,u2,u3,u4) that satisfies the given constraints, which is (1/4,1/4,1/4,1/4).
Now we find the corresponding point (x,y,z) from u1,u2,u3,u4: z=u4=1/4. y−z=u3=1/4⟹y−1/4=1/4⟹y=1/2. x−y=u2=1/4⟹x−1/2=1/4⟹x=3/4. 1−x=u1=1/4⟹1−3/4=1/4. This is consistent.
So the surface defined by the equation is a single point (x,y,z)=(3/4,1/2,1/4).
We need to find the shortest distance between this point (3/4,1/2,1/4) and the plane 4x+2y+4z+7=0. The distance from a point (x0,y0,z0) to a plane Ax+By+Cz+D=0 is given by the formula A2+B2+C2∣Ax0+By0+Cz0+D∣. Here (x0,y0,z0)=(3/4,1/2,1/4) and the plane is 4x+2y+4z+7=0, so A=4,B=2,C=4,D=7.
The distance is d=42+22+42∣4(3/4)+2(1/2)+4(1/4)+7∣. d=16+4+16∣3+1+1+7∣=36∣12∣=612=2.
The shortest distance between the given surface (which is a single point) and the plane is 2.