GATE 2015 EE – Question 14
Consider a function $\vec{f} = \frac{1}{r^2}\hat{r}$, where $r$ is the distance from the origin and $\hat{r}$ is the unit vector in the radial direction. The divergence of this function over a sphere of radius $R$, which includes the origin, is
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (C) $4\pi$
Explanation
Away from the origin the divergence of $\frac{\hat{r}}{r^2}$ is zero, but at the origin it is a point source. The total over any sphere that includes the origin equals the flux through its surface, $\frac{1}{R^2} \times 4\pi R^2 = 4\pi$.