Chapter 21: Q1Q (page 897)
The electric field on a closed surface is due to all the charges in the universe, including the charges outside the closed surface. Explain why the total flux nevertheless proportional only to the charges that are inside the surface, with no apparent influence of the charges outside.
Short Answer
The electric flux is proportional to inside charge of enclosed surface but not the outside charges because electric field lines are always normal to the enclosed surface for inside charges.