Skip to main content
Sandbox Physics
Volume 3 · Electricity, Magnetism and Circuits

How do charges interact through an electric field?

Add the fields from individual charges to predict a force. Compare two spheres to see why the net charge inside sets the total electric flux.

Before you start: Volume 1 Chapter 5 and Chapter 6 on vectors and forces. This chapter introduces projection onto a surface normal.

After this chapter you can: Find the field and force from several charges, then use Gauss’s law to find the flux through a closed surface.

A source charge sets an electric field around it. Put a small test charge at a point and the field there gives the force per unit charge. If several sources are present, add their fields as vectors before calculating the force. The total outward flux through any closed surface gives the net charge enclosed.

Volume 1, Chapters 5 and 6, used vector components and Newton's laws to calculate motion. Here we use the same components to add electric fields. Then we project the field onto the outward direction of a surface and sum its contributions over the whole surface.

1.1 A positive test charge defines the direction of the field

Hold a point charge qq fixed in vacuum. Call the distance from it to a probe position rr and the unit vector from source to probe r^\hat{\mathbf r}. The distance is in metres and charge is in coulombs. Take the probe to carry a charge qtq_{\mathrm t} small enough to leave the sources in place. Coulomb's law gives the force F\mathbf F on the probe. The electric field E\mathbf E is that force divided by the test charge.

E=14πε0qr2 r^,F=qtE.\begin{aligned} \mathbf E &= \frac{1}{4\pi\varepsilon_0}\frac{q}{r^2}\,\hat{\mathbf r},\\ \mathbf F &= q_{\mathrm t}\mathbf E. \end{aligned}

Here ε0\varepsilon_0 is the vacuum permittivity. The factor 1/(4πε0)1/(4\pi\varepsilon_0) is about 8.99×109 N m2 C−28.99\times10^9\,\mathrm{N\,m^2\,C^{-2}}. Field units are newtons per coulomb. A positive source points the field outward. A negative source points it inward. At the same location a negative test charge feels a force opposite to the field. OpenStax, University Physics Volume 2, Section 5.3.

Suppose a fixed +2.00 nC+2.00\,\mathrm{nC} source sits at the origin. At x=+0.100 mx=+0.100\,\mathrm m its field is about 1.80×103 N C−11.80\times10^3\,\mathrm{N\,C^{-1}} to the right. A test charge of −1.00 nC-1.00\,\mathrm{nC} placed there would feel a force of 1.80 μN1.80\,\mathrm{\mu N} to the left. Doubling the distance divides the field and force by four.

1.2 Add the field from each source at the same point

Let qiq_i be a source with distance rir_i to the point we want to examine. Let r^i\hat{\mathbf r}_i point from that source to the point. Superposition means that each source contributes its own field to the sum.

E=14πε0∑iqiri2 r^i.\mathbf E = \frac{1}{4\pi\varepsilon_0} \sum_i \frac{q_i}{r_i^2}\,\hat{\mathbf r}_i .

Place two sources at x=−0.100 mx=-0.100\,\mathrm m and x=+0.100 mx=+0.100\,\mathrm m. Let the left one be +2.00 nC+2.00\,\mathrm{nC} and the right one be −2.00 nC-2.00\,\mathrm{nC}. At the midpoint the field from the positive source points right, away from the source. The field from the negative source points right too, toward that source. The horizontal components add to about 3.60×103 N C−13.60\times10^3\,\mathrm{N\,C^{-1}}. This pair is an electric dipole. If the right charge changes sign, the two contributions at the midpoint point in opposite directions and cancel. OpenStax, University Physics Volume 2, Section 5.4.

Open Electric Field and choose Dipole, then Test the centre. Read Horizontal field and Vertical field. Predict the two components before selecting Like charges with the same probe position. Then set Probe vertical position to 1.001.00 in both cases and compare the two components again.

Table 1.1 Four values from the simulated model at horizontal position zero. Coordinates and field components use the Lab's normalized units.
SourcesProbe vertical positionHorizontal fieldVertical field
Dipole0.001.370
Like charges0.0000
Dipole1.000.6260
Like charges1.0000.522

Above the dipole midpoint, symmetry cancels the vertical components and leaves a field pointing right. Above the like-charge midpoint, symmetry cancels the horizontal components and leaves a field pointing up. The Lab shows a planar slice of a three-dimensional field and softens its sources over a normalized length of 0.100.10. This keeps the field finite near a source. Use its components to check directions and cancellation. The point charge in Sections 1.3 and 1.4 will use the ideal Coulomb law in SI units.

1.3 Electric flux counts the field component through a surface

Take a flat patch of area AA in a uniform field. Choose a unit normal n^\hat{\mathbf n} perpendicular to the patch and let θ\theta be its angle to the field. The electric flux ΦE\Phi_E through the patch is

ΦE=(E⋅n^)A=EAcos⁡θ.\Phi_E=(\mathbf E\cdot\hat{\mathbf n})A=EA\cos\theta .

Here EE is the magnitude of the field. A patch with normal pointing along the field receives positive flux. Rotating the normal by a right angle gives zero flux because the field is then parallel to the patch. Turning the normal to face against the field gives negative flux. The units are newton square metres per coulomb. OpenStax, University Physics Volume 2, Section 6.1.

For a curved surface or a varying field, divide the area into small patches, use the local normal on each one and add their fluxes. As the patches shrink, the sum becomes a surface integral. For a closed surface SS, take the normal pointing outward everywhere. An inward field counts with a minus sign.

Put a positive point charge at the center of a sphere of radius RR. Now the field is perpendicular to every patch, pointing outwards with the same strength everywhere. Its magnitude falls as the inverse square of the radius. The sphere's area grows as the square of the radius. Multiplying cancels both powers of the radius.

ΦE=E(4πR2)=q4πε0R2(4πR2)=qε0.\Phi_E = E(4\pi R^2) = \frac{q}{4\pi\varepsilon_0 R^2}(4\pi R^2) = \frac{q}{\varepsilon_0}.

For the +2.00 nC+2.00\,\mathrm{nC} charge in Section 1.1, compare radii 0.100 m0.100\,\mathrm m and 0.200 m0.200\,\mathrm m. The first sphere has four times the field of the second and one quarter of its area. Both have about 226 N m2 C−1226\,\mathrm{N\,m^2\,C^{-1}} of outward flux.

Electric field at two spheres around the same point chargeThe larger sphere has twice the radius and four times the area of the smaller one. At its surface the outward electric field is one quarter as strong. The field plot shows the decrease with distance.

Figure 1.1 Cross-sections of two imaginary spheres around the same positive point charge. The arrows show the outward radial field. Each flux is calculated over the whole spherical surface.

1.4 Gauss's law uses the net charge inside

The flux from a point charge stays the same if the enclosing surface is deformed or the charge moves within it. To see why, view each small patch from the charge. Let heta heta now be the angle between the ray and the outward normal. The patch's signed projected area perpendicular to the ray is cos⁡θ dA\cos\theta\,\mathrm dA. Divide by the square of the distance to get the signed solid angle dΩ=cos⁡θ dA/r2\mathrm d\Omega=\cos\theta\,\mathrm dA/r^2. This is the portion of the sphere of directions covered by the patch, with inward crossings counted negatively.

A ray from an inside charge has one more exit than entry. The signed angles add to 4π4\pi steradians. From an outside charge, each entry has a matching exit, so the signed sum is zero. Using the Coulomb field makes the flux per unit signed solid angle q/(4πε0)q/(4\pi\varepsilon_0). Adding the individual fluxes gives Gauss's law.

∮SE⋅n^ dA=Qencε0.\oint_S \mathbf E\cdot\hat{\mathbf n}\,\mathrm dA =\frac{Q_{\mathrm{enc}}}{\varepsilon_0}.

Here QencQ_{\mathrm{enc}} is the algebraic sum of the charges inside. Keep any ideal point charges off the surface so the field there is defined. An outside charge can change the field at every patch, with its inward and outward fluxes canceling in the total. A surface around a dipole has zero net flux even though the field on it generally varies in strength and direction. OpenStax, University Physics Volume 2, Section 6.2.

To recover a field from the total flux, look for symmetry. Take an isolated infinite sheet with uniform surface charge density σ\sigma. In-plane translations and rotations leave it unchanged, so there is no preferred direction along the plane and the field points along the normal. Reflection across the sheet gives the same field magnitude on both sides. Draw a closed cylinder straddling the sheet with its two end caps parallel to it. For positive charge, flux is outward through each cap and zero through the curved wall. The enclosed charge is the density times the area of one cap, so the area cancels and the magnitude is E=∣σ∣/(2ε0)E=|\sigma|/(2\varepsilon_0). With negative charge the field points toward the sheet. A finite sheet can approximate this result near its middle at distances small compared with the distance to its edges. OpenStax, University Physics Volume 2, Section 6.3.

1.5 Exercises

  1. A +2.00 nC+2.00\,\mathrm{nC} point charge is at the origin. Find the field at x=−0.200 mx=-0.200\,\mathrm m and the direction of the force on a negative test charge there.
  2. An equal positive and negative charge sit at opposite ends of a segment. Compare the fields they produce at the midpoint. What does reversing just the negative charge do to the net field?
  3. Use Table 1.1. Why does the like-charge case have a nonzero field at the upper probe position though it had zero field at the midpoint?
  4. A patch of area 0.30 m20.30\,\mathrm{m^2} has a normal at 60∘60^\circ to a uniform field of magnitude 200 N C−1200\,\mathrm{N\,C^{-1}}. Calculate the flux through the patch. What changes if you reverse the normal?
  5. Double the radius of a sphere centered on an isolated point charge. By what factors do the field magnitude and total flux change?
  6. A sphere encloses charges of +3.00 nC+3.00\,\mathrm{nC} and −1.00 nC-1.00\,\mathrm{nC} and has a larger positive charge outside. Calculate the net outward flux.
  7. Move a positive point charge off center while keeping it inside its spherical surface. What happens to the flux? Can you still infer the field magnitude at every point by dividing flux by area?
  8. An ideal infinite sheet has σ=+4.00 nC m−2\sigma=+4.00\,\mathrm{nC\,m^{-2}}. Find the field magnitude on either side. What happens if you double the end-cap area of your Gaussian cylinder?

1.6 Answers and explanations

Exercise 1

The magnitude is about 449 N C−1449\,\mathrm{N\,C^{-1}} from Coulomb's law. A positive source points outward, so the field to its left points left. Multiplying by a negative test charge makes the force point right.

Exercise 2

The two contributions have the same magnitude and both point from the positive source toward the negative one. Reversing the negative source reverses its contribution, so the two now cancel.

Exercise 3

At the upper point, each source points its field away from itself along an upward diagonal. The horizontal components remain equal and opposite. The vertical components now both point up and add.

Exercise 4

The projected field is (200 N C−1)cos⁡60∘=100 N C−1(200\,\mathrm{N\,C^{-1}})\cos60^\circ=100\,\mathrm{N\,C^{-1}}. Multiplying by the area gives +30 N m2 C−1+30\,\mathrm{N\,m^2\,C^{-1}}. Reversing the normal reverses the sign because the same field now points through the patch in the opposite sense.

Exercise 5

The field magnitude falls by a factor of four according to the inverse-square law. The area grows by four, so their product and thus the total flux stay the same.

Exercise 6

The enclosed net charge is +2.00 nC+2.00\,\mathrm{nC}, so the flux is about +226 N m2 C−1+226\,\mathrm{N\,m^2\,C^{-1}}. The outside source contributes equal inward and outward flux magnitudes.

Exercise 7

The flux stays at q/ε0q/\varepsilon_0 because the charge remains inside. Dividing by area now gives only the average outward component. The field varies with distance from the source and its angle to the local normal changes.

Exercise 8

The two cap fluxes give a field magnitude of ∣σ∣/(2ε0)≈226 N C−1|\sigma|/(2\varepsilon_0)\approx226\,\mathrm{N\,C^{-1}}. The field points away from the sheet on both sides. Doubling the cap area doubles the enclosed charge and the flux, leaving the calculated magnitude unchanged.

Test it in the Lab

Change one setting at a time, then compare what you see with the tables and answers in this chapter.

Electric Field →Set up a dipole or a quadrupole. Move a probe across the potential landscape, scan the field, and check how its direction follows the downhill slope of the potential.

Sources and reading scope

  1. OpenStax, University Physics Volume 2, §5.3 Coulomb’s Law

    The section gives the force between two point charges and the rule for adding forces from several sources.

  2. OpenStax, University Physics Volume 2, §5.4 Electric Field

    The electric field follows from the arrangement of the source charges. Multiplying it by a test charge gives the force on that charge.

  3. OpenStax, University Physics Volume 2, §6.1 Electric Flux

    The section defines electric flux by projecting the field along the surface normal and summing over the surface.

  4. OpenStax, University Physics Volume 2, §6.2 Explaining Gauss’s Law

    Gauss’s law relates signed electric flux through any closed surface to the net charge inside it.

  5. OpenStax, University Physics Volume 2, §6.3 Applying Gauss’s Law

    The worked examples use symmetry to find surfaces where the field magnitude is constant on the contributing parts.

Keep reading

What this page links to directly

You are hereHow do charges interact through an electric field?

Articles

See this series on the content map →

Interactive Physics Textbook · Reading path

Electricity, Magnetism and Circuits

  1. You are hereHow do charges interact through an electric field?
  2. ArticleHow does electric potential reveal the electric field?
  3. ArticleHow do currents divide at junctions and around loops?
  4. ArticleWhy does a magnetic field bend a moving charge?
  5. ArticleWhy does changing magnetic flux produce an emf?
  6. ArticleHow do capacitors and inductors respond to a changing voltage?
  7. ArticleHow do electric and magnetic fields travel as a wave?
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy