Skip to content
Tutorials Center
My learning

Topics

Lesson 8 of 38 · Charge and Electric Fields

Field Lines and Electric Dipoles

Learn the rules for drawing electric field lines, see the field of a dipole with a Python plot, and use the dipole moment p = qd on the axis.

A formula gives you the field at one point. A field line picture gives you the whole field at a glance. In this lesson you learn the drawing rules, plot the field of two charges, and study the dipole, a positive and a negative charge close together. Dipoles matter because many molecules (such as water) behave like them.

Rules for field lines

  1. Lines start on positive charges and end on negative charges (or go off to infinity).
  2. At any point the line's tangent shows the direction of E.
  3. The closer the lines, the stronger the field.
  4. Lines never cross, because the field has only one direction at each point.
  5. The number of lines leaving or entering a charge is proportional to the size of the charge.

For a single positive charge the lines spread out radially. For a negative charge they point inward. Close to the charge the lines are crowded (strong field); far away they spread (weak field), matching the 1/r² law.

flowchart LR
  P["+ charge"] --> A["lines leave radially"]
  N["- charge"] --> B["lines enter radially"]
  A --> C["spacing grows with r"]

Lines spread out as you move away from a point charge.

The electric dipole

An electric dipole is two equal and opposite charges +q and -q a small distance d apart. Its strength is the dipole moment

Text
p = q d       unit: C·m

The vector p points from the negative to the positive charge. Field lines leave +q and curve around to enter -q.

Python Plot the field lines of a dipole

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The lines run from the red positive charge to the black negative one, never crossing, and are densest between and near the charges.

The field far from a dipole

Far from the dipole (distance r ≫ d), the fields of the two charges almost cancel, so the dipole field drops faster than a point charge: as 1/r³. Two special directions are easy:

  • On the axis (the line through both charges): E ≈ 2kp / r³, in the direction of p.
  • On the perpendicular bisector (equatorial line): E ≈ kp / r³, in the direction opposite to p.

Let us check these against the exact sum of two point-charge fields.

Python Far-field dipole formula against exact sum

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The two columns agree better as r grows, as promised.

A dipole in a uniform field

In a uniform field a dipole feels no net force (the two charges feel equal and opposite forces), but it feels a torque that turns p toward the field:

Text
τ = p E sin θ

where θ is the angle between p and E. The torque is zero when p is parallel to E, which is a stable orientation. This explains why water molecules line up in an electric field, which is part of how microwave ovens heat food.

To remember the direction: a dipole turns so that its positive end moves with the field and its negative end moves against it, until p points along E.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which statement about field lines is correct?

    At each point the field has a single direction, so lines cannot cross.
  2. 2. The dipole moment of charges ±2.0 nC separated by 3.0 mm is

    p = qd = 2.0e-9 × 3.0e-3 = 6.0e-12 C·m.
  3. 3. Far from a dipole, the field falls off as

    The two charges nearly cancel, leaving a 1/r³ dependence.
  4. 4. A dipole in a uniform field feels

    The forces on the two charges cancel but they act at different points, producing a torque.

Summary

  • Field lines start on positive charge, end on negative charge, never cross, and are closest where the field is strongest.
  • A dipole is ±q separated by d, with moment p = qd.
  • Far away its field falls as 1/r³ (2kp/r³ on the axis, kp/r³ on the bisector, opposite to p).
  • In a uniform field it feels a torque τ = pE sin θ.

Next: Gauss's Law