First, we can consider the whole sphere with charge density $\rho$ and radius $R$ as a superposition of two spheres: one with charge density $\rho$ and radius $R$, and another with charge density $-\rho$ and radius $R/2$. The second sphere represents the cavity.
Show moreā¦