Potential energy in an external field

A compass needle dropped onto a table does not stay wherever it lands — it swings, wobbles, and settles pointing north. Something is pulling it toward one particular orientation and resisting every other one, the way a marble rolls to the bottom of a bowl rather than stopping halfway up the side. That something is potential energy, and the compass needle — magnetic though it is — behaves exactly like its electrical cousin: an electric dipole sitting inside an external electric field. This article is about the energy a charge, or a pair of charges forming a dipole, carries simply by virtue of where it sits inside a field made by something else. It is a different question from "how much energy does it take to assemble this charge configuration in the first place" — that was the previous topic, the mutual potential energy of a system of charges. Here the field is a given, external backdrop, like the room a marble rolls around in, and we ask how much energy the marble (our charge or dipole) has at each point of that backdrop. The single-charge case is almost too simple to call a result: U=qVU = qV, a direct reading of what potential itself means. The dipole case is the one worth sitting with. A dipole in a uniform field has an energy that depends only on its orientation — not its position — and that dependence, U=−pEcos⁡θU = -pE\cos\theta, quietly explains why compass needles align, why polar molecules like water twist to face an applied field, and why the torque you already met on this dipole vanishes exactly where this energy is at its minimum and its maximum. By the end you will be able to read the number U=−pEU=-pE and know, without any further calculation, that the dipole is sitting in its most comfortable, stable orientation.

Key takeaways
  • A charge qq sitting at a point of external potential VV has potential energy U=qVU = qV — a direct restatement of what potential means.
  • A dipole of moment p⃗\vec p placed in a uniform external field E⃗\vec E at angle θ\theta to it has potential energy U=−p⃗⋅E⃗=−pEcos⁡θU = -\vec p\cdot\vec E = -pE\cos\theta.
  • θ=0°\theta = 0° (dipole aligned with the field) gives U=−pEU = -pE, the minimum energy — the stable equilibrium orientation.
  • θ=180°\theta = 180° (dipole opposed to the field) gives U=+pEU = +pE, the maximum energy — the unstable equilibrium orientation.
  • θ=90°\theta = 90° gives U=0U = 0, but this is not an equilibrium orientation — the torque τ=pEsin⁡θ\tau = pE\sin\theta is at its own maximum there.
  • Rotating a dipole between two orientations against the field takes work equal to the change in UU: W=Ufinal−UinitialW = U_{\text{final}} - U_{\text{initial}}.
  • Key idea: a dipole's potential energy in a uniform field, U=−pEcos⁡θU=-pE\cos\theta, depends only on orientation, is most negative when aligned with the field (stable) and most positive when opposed to it (unstable), and its slope with θ\theta is exactly the restoring torque that turns the dipole toward alignment.
The core insight

The potential energy of a dipole in a uniform external field, U=−p⃗⋅E⃗=−pEcos⁡θU=-\vec p\cdot\vec E=-pE\cos\theta, is a pure function of orientation whose minimum at θ=0°\theta=0° is the stable, field-aligned equilibrium and whose maximum at θ=180°\theta=180° is the unstable, anti-aligned one.

Where it fits in the syllabus

This sits inside the CBSE Class 12 Physics chapter "Electrostatic Potential and Capacitance" (Unit II, Electrostatics), directly after the potential energy of a system of point charges. The prescribed scope is exactly two formulas — U=qVU=qV for a single charge in an external field, and U=−p⃗⋅E⃗U=-\vec p\cdot\vec E for a dipole in a uniform external field — together with reading off the stable/unstable orientations and connecting to the torque τ=pEsin⁡θ\tau=pE\sin\theta from the electric-dipole topic that came before it. Nothing beyond this (no energy of a dipole in a non-uniform field, no higher multipoles) is examined at this level, so this article stays deliberately narrow and goes deep on the one result that carries almost all the marks.

The physical picture

Start with a single point charge qq placed at some location inside a field produced by other, external charges — the field and its potential VV at that point already exist before qq arrives. By the very definition of electric potential as "potential energy per unit charge," the potential energy this charge acquires by being there is

U=qVU = qV

where: qq is the test/placed charge (coulombs, can be positive or negative), VV is the electric potential at that point due to the external sources only (volts), and UU comes out in joules. A positive charge parked at a high-potential point has large positive UU (it "wants" to move to lower potential, the way a ball wants to roll downhill); a negative charge at that same point has negative UU and is instead pulled toward higher potential. This single relation is really just V=U/qV=U/q rearranged — nothing new is being derived, only reinterpreted. Now replace the single charge with a rigid dipole: two equal and opposite charges +q+q and −q-q separated by a small fixed distance 2a2a, forming a dipole moment p⃗\vec p of magnitude p=q(2a)p=q(2a) pointing from −q-q to +q+q. Place this dipole in a uniform external field E⃗\vec E, with its axis making angle θ\theta with the field direction, and add up the potential energy of each end separately using U=qVU=qV for each charge. The uniform field means the potential varies linearly with position along E⃗\vec E, and carrying through that bookkeeping (done in full below) collapses to a strikingly compact result:

U=−p⃗⋅E⃗=−pEcos⁡θU = -\vec p\cdot\vec E = -pE\cos\theta

where: pp is the dipole moment magnitude (C·m), EE is the uniform external field strength (N/C or V/m), and θ\theta is the angle between p⃗\vec p and E⃗\vec E. The physical reading is that UU depends on orientation alone — swing the dipole around at a fixed location in a uniform field and its energy oscillates between −pE-pE and +pE+pE as θ\theta runs from 0°0° to 180°180°, tracing out a cosine curve. There is no dependence on where the dipole sits, only on how it is tilted — a direct consequence of the field being uniform (translating the dipole sideways changes nothing, since both charges feel the same EE).

Figure
A graph of dipole potential energy against orientation angle theta from zero to one hundred eighty degrees, a cosine-shaped curve starting at minus pE at theta equal zero, crossing zero at theta equal ninety degrees, and rising to plus pE at theta equal one hundred eighty degrees, with the stable equilibrium marked at the minimum and the unstable equilibrium marked at the maximum
Dipole energy U(theta) equals minus pE cos theta theta U 0 90 180 0 +pE -pE stable min unstable max U = 0, but not equilibrium
Derivation APotential energy of a dipole in a uniform field

The goal is to build the compact result U=−p⃗⋅E⃗=−pEcos⁡θU=-\vec p\cdot\vec E=-pE\cos\theta from nothing more than the single-charge relation U=qVU=qV applied twice, once to each end of the dipole, using the fact that a uniform field's potential changes linearly with displacement along the field direction. This is the one derivation the syllabus expects a student to reconstruct, and every mark scheme rewards seeing where the minus sign is born.

Step 1. Set up the dipole. Place charges −q-q at position r⃗−a⃗\vec r - \vec a and +q+q at position r⃗+a⃗\vec r + \vec a, where r⃗\vec r is the location of the dipole's centre and a⃗\vec a is a vector of length aa pointing along the dipole axis, from centre toward +q+q. The dipole moment is p⃗=q(2a⃗)\vec p = q(2\vec a), of magnitude p=2qap=2qa, and it makes angle θ\theta with the uniform external field E⃗\vec E.

Step 2. Write the potential energy of each charge separately using U=qVU=qV. Let V(r⃗+a⃗)V(\vec r+\vec a) be the external potential at the +q+q end and V(r⃗−a⃗)V(\vec r-\vec a) the potential at the −q-q end. The total potential energy of the pair is U=q V(r⃗+a⃗)+(−q) V(r⃗−a⃗)=q[V(r⃗+a⃗)−V(r⃗−a⃗)]U = q\,V(\vec r+\vec a) + (-q)\,V(\vec r-\vec a) = q\big[V(\vec r+\vec a)-V(\vec r-\vec a)\big].

Step 3. Use the uniform-field fact that potential drops linearly along the field direction: moving through a small displacement d⃗\vec d in a uniform field E⃗\vec E changes the potential by −E⃗⋅d⃗-\vec E\cdot\vec d. Here the two charges are separated by displacement 2a⃗2\vec a from −q-q to +q+q, so V(r⃗+a⃗)−V(r⃗−a⃗)=−E⃗⋅(2a⃗)V(\vec r+\vec a)-V(\vec r-\vec a) = -\vec E\cdot(2\vec a).

Step 4. Substitute back. U=q[−E⃗⋅(2a⃗)]=−E⃗⋅(q⋅2a⃗)=−E⃗⋅p⃗=−p⃗⋅E⃗U = q\big[-\vec E\cdot(2\vec a)\big] = -\vec E\cdot(q\cdot 2\vec a) = -\vec E\cdot \vec p = -\vec p\cdot\vec E. Writing the dot product with the angle between p⃗\vec p and E⃗\vec E gives the final, exam-ready form U=−pEcos⁡θU=-pE\cos\theta. The minus sign is not a bookkeeping accident — it comes directly from potential decreasing along the field, which is what pulls the positive end of the dipole to a lower-energy position when it points along E⃗\vec E. Consistent with the grounding formula U=−p⃗⋅E⃗U=-\vec p\cdot\vec E (CBSE 2025-26, Electrostatic Potential and Capacitance): at θ=0°\theta=0°, U=−pEU=-pE (minimum); at θ=180°\theta=180°, U=+pEU=+pE (maximum); at θ=90°\theta=90°, U=0U=0.

Worked examples

Board level - dipole energy at a fixed angle

A dipole of moment p=5×10−9 C ⋅ mp=5\times10^{-9}\ \text{C}\,\cdot\,\text{m} sits in a uniform field of magnitude E=4×104 N/CE=4\times10^{4}\ \text{N/C}, at θ=60°\theta=60° to the field. Find its potential energy.

Step 1. Write the formula: U=−pEcos⁡θU=-pE\cos\theta.

Step 2. Substitute the given values: p=5×10−9 C ⋅ mp=5\times10^{-9}\ \text{C}\,\cdot\,\text{m}, E=4×104 N/CE=4\times10^{4}\ \text{N/C}, cos⁡60°=0.5\cos 60°=0.5.

Step 3. Compute in stages: pE=(5×10−9)(4×104)=2×10−4 JpE = (5\times10^{-9})(4\times10^{4}) = 2\times10^{-4}\ \text{J}, then U=−(2×10−4)(0.5)U=-(2\times10^{-4})(0.5).

Answer: U=−1×10−4 JU = -1\times10^{-4}\ \text{J}. The negative sign says the dipole is closer to its stable orientation (θ=0°\theta=0°) than its unstable one (θ=180°\theta=180°) — a 60°60° tilt is "on the aligned side" of perpendicular.

Competitive level - work done rotating a dipole between two orientations

A dipole of moment p=2×10−8 C ⋅ mp=2\times10^{-8}\ \text{C}\,\cdot\,\text{m} starts aligned with a uniform field of magnitude E=105 N/CE=10^{5}\ \text{N/C} (θ=0°\theta=0°) and is rotated by an external agent to θ=90°\theta=90°. Find the work done by the external agent, and check it against the work done by the field itself.

Step 1. The work done by an external agent equals the change in potential energy (this holds because the process is quasi-static and the dipole's kinetic energy stays zero): Wext=U90°−U0°W_{\text{ext}} = U_{90°} - U_{0°}.

Step 2. Evaluate the two energies. At θ=0°\theta=0°: U0°=−pEcos⁡0°=−pE=−(2×10−8)(105)=−2×10−3 JU_{0°} = -pE\cos0° = -pE = -(2\times10^{-8})(10^{5}) = -2\times10^{-3}\ \text{J}. At θ=90°\theta=90°: U90°=−pEcos⁡90°=0U_{90°} = -pE\cos90° = 0.

Step 3. Subtract: Wext=0−(−2×10−3)=2×10−3 JW_{\text{ext}} = 0-(-2\times10^{-3}) = 2\times10^{-3}\ \text{J}.

Step 4. Cross-check with energy conservation. The field does work Wfield=−ΔU=−2×10−3 JW_{\text{field}} = -\Delta U = -2\times10^{-3}\ \text{J} on the dipole — negative, because the field is being fought as the dipole is dragged away from its comfortable, aligned orientation, exactly consistent with θ=0°\theta=0° being the stable minimum.

Answer: the external agent does +2×10−3 J+2\times10^{-3}\ \text{J} of work; the field does −2×10−3 J-2\times10^{-3}\ \text{J} on the dipole, and the two are equal and opposite as energy conservation demands. Timing note: this is a two-line calculation once you trust W=ΔUW=\Delta U — under a minute if you don't re-derive the formula each time. The one place students lose time is second-guessing the sign of WextW_{\text{ext}}; settle it by physical reasoning first (moving away from the stable orientation always costs positive external work), then let the algebra confirm it.

Common traps

  • Dropping the minus sign in U=−pEcos⁡θU=-pE\cos\theta. Without it, θ=0°\theta=0° would read as the maximum energy and the whole stable/unstable labelling flips — a very easy way to lose marks on an otherwise correct calculation.
  • Treating "zero torque" and "zero potential energy" as the same idea. Torque τ=pEsin⁡θ\tau=pE\sin\theta vanishes at both θ=0°\theta=0° and θ=180°\theta=180° (both are equilibria), but UU is at its two different extremes there, not zero at either — U=0U=0 happens at θ=90°\theta=90°, where the torque is instead at its own maximum.
  • Assuming θ=90°\theta=90° is some kind of equilibrium because U=0U=0 there. It is not — a dipole released at θ=90°\theta=90° feels the full torque τ=pE\tau=pE and immediately starts rotating toward θ=0°\theta=0°.
  • Confusing the potential energy of a dipole in a field (U=−p⃗⋅E⃗U=-\vec p\cdot\vec E, a scalar describing the dipole's situation) with the potential due to a dipole at some field point (V=14πε0pcos⁡θr2V=\frac{1}{4\pi\varepsilon_0}\frac{p\cos\theta}{r^2}, a completely different quantity from the earlier topic) — the shared symbols pp, θ\theta invite mixing them up.
  • Forgetting that U=−p⃗⋅E⃗U=-\vec p\cdot\vec E applies to a uniform field only; the compact form relies on the linear potential drop used in Step 3 of the derivation, which does not hold in a non-uniform field (a topic outside this syllabus).

You should be able to…

  • State and correctly apply U=qVU=qV for a single charge sitting in an external potential.
  • Derive U=−p⃗⋅E⃗=−pEcos⁡θU=-\vec p\cdot\vec E=-pE\cos\theta for a dipole in a uniform field, starting from U=qVU=qV applied to each charge.
  • Identify, without recomputation, the angles of stable equilibrium (θ=0°\theta=0°), unstable equilibrium (θ=180°\theta=180°), and zero potential energy (θ=90°\theta=90°), and explain why only the first two are equilibria.
  • Compute the work done rotating a dipole between two orientations as W=ΔUW=\Delta U, and check the sign against physical intuition (moving away from alignment costs positive work).
  • Distinguish this dipole-in-a-field energy from both the potential due to a dipole and the mutual potential energy of a system of charges, despite the overlapping symbols.

Ask the tutor: want to see how this same U=−pEcos⁡θU=-pE\cos\theta curve reappears later as the energy of a current loop's magnetic moment in a magnetic field, or work through a third example where the dipole starts at 180°180° instead of 0°0°?

Why is there a minus sign in U equals minus p dot E? It feels like it should just be plus.

The minus sign comes straight out of the derivation, not from a convention someone chose for looks. Potential decreases as you move along the direction of the field (that is what a field pointing "downhill" in potential means), so the end of the dipole that sits further along E⃗\vec E is at lower potential. When that lower-potential end is the positive charge (dipole aligned with the field), the positive charge's contribution qVqV is small while the negative charge sits at higher potential, contributing a large negative (−q)V(-q)V term — net result, UU comes out negative. Track through the algebra in the derivation above and the sign falls out on its own; it isn't inserted by hand.

Does this energy formula work if the field isn't uniform, like near a point charge?

Not in this compact form. U=−p⃗⋅E⃗U=-\vec p\cdot\vec E relies on the field being the same at both ends of the dipole so that the potential difference between the two charges is exactly −E⃗⋅(2a⃗)-\vec E\cdot(2\vec a), a clean linear relation used in Step 3 of the derivation. In a non-uniform field the two ends sit in genuinely different field strengths, there can even be a net force on the dipole (not just a torque), and the energy expression becomes more involved. CBSE Class 12 keeps you strictly to the uniform-field case, so you never need to handle that complication for this exam.

How is this potential energy different from the potential energy of two point charges I learned earlier?

They answer different questions about different things. The potential energy of a system of two point charges, U=14πε0q1q2rU=\frac{1}{4\pi\varepsilon_0}\frac{q_1q_2}{r}, is the energy stored in assembling those two charges from infinity — it describes the pair's own mutual interaction and has nothing to do with any outside field. The dipole-in-a-field energy here, U=−p⃗⋅E⃗U=-\vec p\cdot\vec E, instead treats the dipole as already assembled (its two charges are a fixed, rigid pair) and asks how much energy it has because of someone else's field acting on it. Same word "potential energy," genuinely different physical setup.

If the perpendicular orientation isn't an equilibrium, what actually happens to a dipole released there?

It starts rotating. At θ=90°\theta=90° the torque τ=pEsin⁡90°=pE\tau=pE\sin90°=pE is at its largest possible value, so a dipole released from rest there experiences the maximum twisting effect of any orientation, and it swings toward θ=0°\theta=0° — the direction that lowers its potential energy fastest. Left undamped it would actually overshoot and oscillate back and forth through θ=0°\theta=0° like a pendulum, eventually settling there only if something (like a resistive medium) removes the extra energy. The zero-energy point at 90°90° is simply the steepest part of the slide toward alignment, not a resting place.

Before this

Where this leads