Electric Field Simulator
Place positive and negative point charges and visualize the resulting electric field lines and equipotential contours.
About Electric Fields
An electric field describes the force per unit charge at every point in space. A positive test charge placed at any location will feel a force in the direction of the local field vector. For a single point charge, the field radiates outward (for positive) or inward (for negative) with magnitude E = kq/r².
Key Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| k_e | Coulomb Constant | N·m²/C² | 8.9875 × 10⁹ |
| q | Charge | C | Source charge magnitude |
| r | Distance | m | Separation from charge |
| E | Electric Field | N/C | Force per unit positive charge |
| F | Coulomb Force | N | Force between two point charges |
| V | Electric Potential | V | Potential energy per unit charge |
Superposition Principle
When multiple charges are present, the total electric field at any point is the vector sum of contributions from each charge. This superposition principle allows us to build complex field configurations from simple point-charge solutions.
Field Line Tracing
Field lines are drawn by starting near a positive charge and stepping in the direction of the local E field at each point. The algorithm terminates when a negative charge is reached, the boundary is hit, or the maximum step count is exceeded.
Key Formulas
Coulomb's Law
The force between two point charges is proportional to the product of their charges and inversely proportional to the square of the distance between them.
Electric Field from a Point Charge
Superposition
Electric Potential
Frequently Asked Questions
Why do field lines start on positive and end on negative charges?
By convention, field lines point in the direction a positive test charge would move. Positive charges exert a repulsive force (lines point away) and negative charges attract (lines point in).
What does field line density represent?
Closer field lines indicate a stronger electric field. The magnitude |E| is proportional to the density of lines per unit area perpendicular to the field direction.
Why are equipotential lines perpendicular to field lines?
Moving along an equipotential surface does no work (dV = 0). Since E = -∇V, the field must point in the direction of maximum potential decrease — always perpendicular to constant-potential surfaces.
What is the electric field at the exact location of a point charge?
Theoretically it diverges to infinity. In practice, real charges have finite size. The simulator caps the field to zero inside a small radius to avoid numerical issues.