We are given a solid sphere of radius R whose volume-charge density varies with the distance r from the centre as
ρ(r)=ρ0(1−Rr),0≤r≤R.
To find the electric field at an external point P situated at a distance r (with r>R) from the centre, we first need the total charge Q contained in the sphere, because outside the sphere the entire charge can be treated as if it were concentrated at the centre (this is a consequence of Gauss’s law combined with spherical symmetry).
The infinitesimal charge of a thin spherical shell of radius r and thickness dr is
dq=ρ(r)dV=ρ(r)4πr2dr.
Substituting ρ(r)=ρ0(1−Rr), we get
dq=4πr2ρ0(1−Rr)dr.
The total charge is obtained by integrating dq from the centre r=0 to the surface r=R:
Q=∫0Rdq=4πρ0∫0Rr2(1−Rr)dr.
We separate the integrand:
∫0Rr2(1−Rr)dr=∫0R(r2−Rr3)dr=∫0Rr2dr−R1∫0Rr3dr.
Using the standard power-integral formulas
∫rndr=n+1rn+1,
we evaluate the two parts:
∫0Rr2dr=[3r3]0R=3R3,
∫0Rr3dr=[4r4]0R=4R4.
Hence,
∫0Rr2(1−Rr)dr=3R3−R1⋅4R4=3R3−4R3=R3(31−41)=R3(124−3)=12R3.
Substituting this result into the expression for Q, we have
Q=4πρ0(12R3)=124πρ0R3=3πρ0R3.
Now we turn to the electric field at the external point. From Gauss’s law, for a spherical Gaussian surface of radius r (with r>R) concentric with the sphere, the outward flux is
Φ=E(4πr2),
and Gauss’s law states
Φ=ε0Qenc,
where Qenc=Q, the total charge calculated above. Therefore,
E(4πr2)=ε0Q.
Solving for E gives
E=4πε0r2Q=4πε0r21(3πρ0R3)=12πε0r2πρ0R3=12ε0r2ρ0R3.
The electric field outside the charged ball thus decreases as 1/r2 and has the magnitude
E(r)=12ε0r2ρ0R3.
Comparing with the given alternatives, we see that this matches Option D.
Hence, the correct answer is Option D.