Question
Charges of magnitudes 2q and – q are located at points (a, 0, 0) and (4a, 0, 0). Find the ratio of the flux of electric field due to these charges through concentric spheres of radii 2a and 8a centred at the origin.
Solution
The locations of the charges 2q(a,0,0) and -q(4a,0,0) are shown in the figure.

Radii of the sphere are given as 2a and 8a respectively.
Now, using the formula as per gauss law,
Electric flux through the sphere of radius 2a,
Electric flux through the sphere of radius 8a,
Therefore, the ratio of the flux is given as,