For a spherically symmetric mass density, the angular integral in spherical coordinates is . The two disjoint shell contributions therefore give the mass
so
Both contributions are positive because and .
Apply the multivariable chain rule, keeping the other new coordinate fixed in each differentiation. At fixed , the derivatives of with respect to are . At fixed , their derivatives with respect to are . Thus
The factor two arises because the ordinary polar angle is .
The common ratio in the two plane equations can be denoted by . Their intersection then has , , and . The direction vector has Euclidean norm , so the requested unit vector form is
Substituting this expression into both equations gives the same ratio , verifying the entire line.

There are unlisted articles, also show them or only show them.