SimuveliqLearnEspañolOpen the simulators
Learn › Engineering

Electric charges, field and Gauss's law

Electric charges attract or repel each other at a distance. Three linked ideas describe it: the force between charges (Coulomb's law), the electric field a charge creates around it and the potential, which measures energy per unit charge. For highly symmetric bodies, Gauss's law gives the field with hardly any calculation. The Electric charges and Gauss's law tools solve both cases step by step.

Coulomb's law

Two point charges exert equal and opposite forces on each other, along the line joining them: repulsive if they have the same sign and attractive if not. Its size is

With several charges the superposition principle holds: the force on a charge is the vector sum of those exerted by each of the others separately. In practice: write each force with its unit vector (from the charge that pushes to the one that receives) and add components.

+−+q1 +5 µCq2 −3 µCq3 +2 µC4 cm3 cm84.26 N99.86 Nnet 130.7 N
Forces on in example 1: their sum is the net force.
Distances go in meters: 3 cm is 0.03 m and squared, m². Forgetting it gives forces 10 000 times larger.

Electric field

The electric field at a point is the force per unit charge a test charge placed there would feel: . It exists even if there is no test charge. That of a point charge points away from it if positive and toward it if negative:

Field lines draw it: they leave positive charges, arrive at negative ones, never cross, and where they are closer together the field is stronger.

Potential and energy

The potential is potential energy per unit charge. Unlike the field, it is a scalar: the potentials of several charges add with their signs, with no components.

The energy of a system of charges is the sum of over all pairs. If it is negative, the set is bound: work is needed to pull it apart. The field points where the potential drops fastest: at a point there can be a field with zero potential (the perpendicular bisector of a dipole, example 2).

Continuous distributions

A charged object (a rod, a ring, a disk) is divided into pieces , each a point charge, and their fields are added (integrated): , or depending on whether it is a line, a surface or a volume. Before integrating, use symmetry: components that cancel in pairs do not need to be computed.

For example, for a ring of radius and charge , at a point on its axis at a distance from the center:

Gauss's law

The flux of the field through a closed surface depends only on the charge it encloses:

It is always true, but it is only useful for computing when the symmetry lets you choose a Gaussian surface on which is constant and perpendicular (or parallel) to the surface. Then the integral is just times an area:

spherical chargeGaussian sphereline of chargeGaussian cylinderplane of chargepillbox
The three symmetries of Gauss's law and their Gaussian surface.
DistributionField
Point charge or sphere, outside ()
Solid insulating sphere, inside ()
Conducting sphere, inside
Infinite line
Infinite plane
Between two opposite plates (capacitor), cero afuera,zero outside
In a conductor at equilibrium the field inside is zero and all the charge goes to the surface. That is why a metal shell shields its interior (the Faraday cage).

Common mistakes

  • Adding the sizes of forces or fields instead of their components.
  • Putting the charge signs in and also in the direction: the sense is decided only once (attraction or repulsion).
  • Treating potential as a vector, or adding potentials without their sign.
  • Using Gauss's law without symmetry (a cube, a finite rod): the equality holds, but cannot be pulled out of the integral.
  • Taking all the charge instead of the enclosed charge when the point is inside the distribution.

Worked examples

Example 1Net force on a charge

µC is at the origin, µC at (4, 0) cm and µC at (0, 3) cm. Find the net force on .
+−+q1 +5 µCq2 −3 µCq3 +2 µC4 cm3 cm84.26 N99.86 Nnet 130.7 N

Solution

  1. attracts (opposite signs), toward : N.
  2. repels (same sign), toward : N.
  3. Sum: N, N, at from .
  4. Third-law check: the net forces on the three charges add up to zero.
N: 130.7 N at −49.84°.

Solve it in Simuveliq

  1. In Engineering → Electric charges, in Examples, «Load configuration» → Three charges in a triangle (net force).
  2. With Charge to analyze = q1, the «Coulomb's law step by step» computes each force with its unit vector and the vector sum; the Net force on each charge table gives 130.7 N at −49.84° and the forces on q2 and q3, which add up to zero with that on q1.

Example 2Field and potential of a dipole

A dipole has +2 µC at (−3, 0) cm and −2 µC at (3, 0) cm. Find the field and the potential at P = (0, 3) cm.
++2 µC−−2 µCPE1 E2 E = 14.12 MN/C6 cm4.243 cm

Solution

  1. Both charges are cm from P, so their fields have the same size: N/C.
  2. That of the positive one points away from it: direction . That of the negative one points toward it: . The components cancel and the ones add: N/C, toward .
  3. Potential: . All along the perpendicular bisector of the dipole the potential is zero, even though the field is not.
N/C and .

Solve it in Simuveliq

  1. «Load configuration» → Dipole (+ and −): it already has point P at (0, 3) cm.
  2. The Field at P card gives 14.12 MN/C and V = 0 V; the «Electric field and potential at point P» block tabulates each charge's contribution, (7.061·10⁶, ±7.061·10⁶), and their sum. Drag P along the bisector and see that V stays at 0.

Example 3Charged ring: direct integration

A 10 cm radius ring carries 5 nC spread uniformly. Find the field and the potential on its axis, 7 cm from the center.

Solution

  1. All the pieces are the same distance from the point, m.
  2. By symmetry, the components perpendicular to the axis cancel in pairs; what is left is , and since and do not change, the integral is just .
  3. kN/C and V.
  4. A curiosity: the field is zero at the center and largest at cm, right next to the requested point.
kN/C along the axis and V.

Solve it in Simuveliq

  1. In Engineering → Gauss's law, Charge distribution → «Ring · point on its axis», with Q = 5n, R = 10 and x = 7 cm (the button sets them).
  2. The cards give Electric field at P 1.73 kN/C and Potential at P 368.1 V; the «Step by step» explains the symmetry and compares with a numerical integration. Move the x slider to travel along the E chart.

Example 4Solid insulating sphere: Gauss's law

An insulating sphere of radius 10 cm has 5 nC spread uniformly through its volume. Find the field 6 cm from the center (inside) and at 20 cm (outside).
R = 10 cm5 cm20 cm30 cmr = 6 cm: 2.696 kN/Cr = 20 cm: 1.123 kN/CE (N/C)Emax = 4.494 kN/Cr

Solution

  1. Gaussian surface: a concentric sphere of radius . By symmetry is radial and constant over it: .
  2. Inside, only the enclosed charge counts: nC, so kN/C.
  3. Outside, it encloses all the charge and behaves like a point charge: kN/C.
  4. The field grows linearly up to the surface ( kN/C) and then falls as .
kN/C and kN/C.

Solve it in Simuveliq

  1. Charge distribution → «Solid insulating sphere (uniform charge)», Q = 5n, R = 10, r = 6 cm (the button sets them). The Electric field at P card gives 2.696 kN/C, and the «Step by step» shows the Gaussian surface, the enclosed charge (1.08 nC) and the result.
  2. Change r to 20 cm: the field becomes 1.123 kN/C and the step by step uses all the charge. The E-versus-r chart peaks at R.

Related topics