For a spherically symmetric mass density, the angular integral in spherical coordinates is . The two disjoint shell contributions therefore give the masssoBoth contributions are positive because and .
The characteristic equation is , so the repeated-root constant-coefficient differential equation gives the general solution . The first boundary condition gives , and the second gives , hence . Therefore
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 . ThusThe 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 isSubstituting this expression into both equations gives the same ratio , verifying the entire line.
There are unlisted articles, also show them or only show them.