PhysSandbox
Classical MechanicsWaves & SoundElectricity & MagnetismOptics & LightGravity & OrbitsLabs
🌙Astronomy & The Sky🌡️Thermodynamics🌍Biophysics, Fluids & Geoscience📐Math Visualization🔧Engineering🧪Chemistry

More from Electricity & Magnetism

Other simulators in this category — or see all 56.

View category →
NewKids

Ferrofluid (Stylized)

Purple metaball pool, spikes, field-line hints — visual only, not MHD.

Launch Simulator
NewSchool

Cyclotron (Schematic)

B uniform, oscillating E in gap; spiral growth; ω_c = (q/m)B in sim units.

Launch Simulator
NewUniversity / research

Cherenkov Radiation Cone

Charged particle in a medium of refractive index n: spherical wavefronts of phase velocity c/n pile up on a Mach-like cone with half-angle cos θ_c = 1/(βn) once β > 1/n. Animated wavefronts, magenta cone envelope and material presets (water, glass, diamond) explain the blue glow of pool reactors and IceCube/Super-Kamiokande detection.

Launch Simulator
NewKids

Bar Magnet & Iron Filings

Drag-and-drop bar magnet on a card of iron-filing rods; each filing aligns with the local two-pole B field.

Launch Simulator
NewSchool

Biot–Savart Law

Infinite wire B ∝ 1/r; ring via segment sum; heatmap + probe.

Launch Simulator
NewSchool

Electric Dipole Field (2D)

±q on axis: V heatmap, equipotentials, E field lines; formulas.

Launch Simulator
PhysSandbox

Interactive physics, chemistry, and engineering simulators for students, teachers, and curious minds.

Physics

  • Classical Mechanics
  • Waves & Sound
  • Electricity & Magnetism

Science

  • Optics & Light
  • Gravity & Orbits
  • Astronomy & The Sky

More

  • Thermodynamics
  • Biophysics, Fluids & Geoscience
  • Math Visualization
  • Engineering
  • Chemistry

© 2026 PhysSandbox. Free interactive science simulators.

PrivacyTermsContact
Home/Electricity & Magnetism/Dipole in Uniform E

Dipole in Uniform E

A classic problem in electrostatics involves the behavior of an electric dipole placed within a uniform electric field. This simulator visualizes that scenario, focusing on the torque and potential energy that govern the dipole's motion. The core physics is described by two fundamental equations: the torque τ = −pE sin θ, which tends to rotate the dipole to align with the field, and the potential energy U = −pE cos θ, which defines the system's energy landscape. Here, p is the dipole moment magnitude, E is the electric field strength, and θ is the angle between the dipole moment vector and the field direction. The negative sign in the torque equation indicates a restoring torque toward the stable equilibrium (θ=0). The simulation models the dipole's damped rotational dynamics under this torque, governed by Newton's second law for rotation (τ = Iα, where I is moment of inertia and α is angular acceleration). Damping is included to represent dissipative effects like friction or viscous drag, causing oscillations to decay until the dipole settles into alignment. An optional alternating current (AC) mode allows exploration of how the dipole responds to a sinusoidally oscillating field, demonstrating forced oscillations and resonance concepts. Key simplifications include a perfectly uniform and constant (or sinusoidally varying) field, a point-like dipole with a fixed moment magnitude, and a two-dimensional representation. By interacting, students learn to connect the vector nature of torque and dipole moment to rotational motion, visualize the relationship between potential energy and equilibrium positions, and observe the transition from underdamped to overdamped rotational behavior.

Who it's for: Undergraduate physics and engineering students studying electrostatics and rotational dynamics in introductory electricity and magnetism courses.

Key terms

  • Electric Dipole
  • Dipole Moment
  • Torque
  • Potential Energy
  • Uniform Electric Field
  • Rotational Dynamics
  • Damped Oscillations
  • Equilibrium

Field & dipole

2.2 sim
1
0.35
0.12
0
0 rad/s

Measured values

E effective2.200 sim
θ (dipole vs E)120.3°
ω0.000 rad/s
U = −pE cos θ0.000 sim

How it works

A rigid dipole p in a uniform electric field E feels τ = p × E. With E along +x and θ the angle from E to p, τ_z = −pE sin θ and U = −pE cos θ. The sim integrates I θ¨ = τ − γ θ̇ (damped). Turn on AC to wobble E and watch lag or parametric-like motion — still a toy scalar model, not a full 3D rigid body.

Key equations

τ = −pE sin θ · I θ¨ = τ − γ θ̇ · U = −pE cos θ

Frequently asked questions

Why is there a negative sign in the torque equation τ = −pE sin θ?
The negative sign indicates the torque is a restoring torque. It acts in the direction to reduce the angle θ, pulling the dipole toward alignment with the field (θ=0). This is consistent with the stable equilibrium position where the potential energy is at a minimum. Without the sign, the equation would give only the magnitude of the torque.
Where is the dipole's potential energy zero?
The formula U = −pE cos θ sets the zero of potential energy when the dipole is perpendicular to the field (θ = 90° or π/2 radians), since cos(90°)=0. The minimum energy (U = −pE) occurs at stable alignment (θ=0°), and the maximum (U = +pE) occurs at anti-alignment (θ=180°). This is a convention; only energy differences are physically meaningful.
What real-world systems behave like this simulated dipole?
Many microscopic and macroscopic systems exhibit dipole behavior. Examples include polar molecules (like water) in an external field, the needle of a compass in a magnetic field (its magnetic analog), and liquid crystal molecules in display pixels. The damping represents energy loss to the surrounding medium, like molecular collisions or fluid friction.
What does the AC field option demonstrate?
Applying an alternating current (AC) field makes the driving torque oscillate sinusoidally. This models forced oscillations. If the AC frequency matches the dipole's natural oscillatory frequency, a resonance can occur, leading to large-amplitude motion. This is analogous to driven mechanical pendulums and is relevant to how materials absorb electromagnetic energy.