The charge density varies with the distance from the centre as
ρ(r)=πR4Qr(0≤r≤R)
Step 1: Verify that the given ρ(r) produces total charge Q.
Total charge inside the full sphere is
Qtotal=∫0Rρ(r)dV=∫0Rρ(r)4πr2dr
=4π∫0RπR4Qr(r2)dr=R44Q∫0Rr3dr=R44Q[4r4]0R=Q.
Thus the distribution is consistent.
Step 2: Charge enclosed by a Gaussian sphere of radius r1(r1<R).
qenc=∫0r1ρ(r)4πr2dr=4π∫0r1πR4Qr3dr
=R44Q[4r4]0r1=R4Qr14.
Step 3: Apply Gauss’s law to find the electric field magnitude at r1.
For a spherical Gaussian surface,
E(4πr12)=ε0qenc⟹E=4πε0r12qenc
Insert the value of qenc:
E=4πε0r121R4Qr14=4πε0R4Qr12.
Hence, the magnitude of the electric field at distance r1 inside the sphere is
4πε0R4Qr12.
Option C which is: 4πε0R4Qr12