A Byte of PhysicsLogo

Scalar potentials

Electric potential assigns one scalar value to each point. Potential difference predicts potential-energy change per unit positive test charge and is often easier to inspect than a full vector field. A potential value is not an absolute energy fact: its additive reference is a choice, while differences and gradients carry the usual electrostatic predictions.

Think like a programmer

Implement potential as a pure scalar function beside an independently testable field function. Make coordinates, source charge, coupling constant, and potential reference explicit in the API. Sum compatible source contributions in one reducer, reject probes at ideal point-source singularities, and calculate potential difference from two named probes—not from colors or screen height.

Model checklist

Inputs
Probe positions in metres, source positions and charges, electric constant/permittivity policy, reference offset, source mask, and test-charge convention.
State
Per-source potential terms, total potential at each probe in volts, potential difference, and optional test-particle potential-energy change.
Rule
Evaluate kq/r for each valid point source, sum terms by superposition, apply the declared common reference offset, and subtract target minus reference probe.
Output
Scalar potential, potential difference, energy-per-unit-charge interpretation, source contribution ledger, and singularity/rejection state.
Check
Independent source terms add linearly; doubling distance halves an isolated point-source potential; equal opposite sources give zero potential at a symmetry point; adding one constant to every potential leaves all differences and derived fields unchanged; probes at source locations are rejected or explicitly regularized.
\[V=\frac{kq}{r}\qquad \Delta U=q\Delta V\]

For one ideal point source, the usual isolated-source reference sets V → 0 as r → ∞. That is a convention that works for this bounded charge configuration, not a renderer default. If a positive test charge moves from A to B, its electrostatic potential-energy change is ΔU = qtest(VB − VA). A negative test charge reverses the sign of the energy change; the potential function itself remains the potential defined for a positive unit test charge.

\[V(\mathbf r)=\sum_i\frac{kq_i}{\lVert\mathbf r-\mathbf r_i\rVert}+C,\qquad \Delta U=q_{test}(V_B-V_A)\]

The + C matters operationally. Adding 7 V to every sample changes a displayed absolute label but leaves VB − VA unchanged and leaves E = −∇V unchanged. This is a reliable regression test: an implementation that changes field arrows after a uniform potential shift has coupled a reference choice to a physical prediction. It also explains why “zero potential” is not synonymous with “zero electric field.”

Potential superposition is scalar addition; field superposition is vector addition. A symmetric pair of equal opposite sources can have zero potential at a midpoint while their fields add rather than cancel there. Use both a potential fixture and a field fixture for that geometry so a wrong intuition does not become a hidden test assumption.

Try this experiment

Prediction: Doubling distance halves isolated point-source potential, while adding a constant reference offset changes neither potential difference nor the derived field.

Set an isolated positive source and compute potential at r and 2r. Add a second source with opposite charge and test a symmetry point for zero potential. Compare two named probes before and after adding a common reference offset. Finally state what your API returns when a probe equals a point-source position.

Where this model breaks

Potential has an arbitrary additive reference and ideal point sources diverge at their locations. Infinite or non-decaying source configurations can require a different reference treatment. The electrostatic scalar potential picture omits time-varying fields, radiation, material polarization, conductor charge rearrangement, and quantum-scale charge structure unless those are modeled separately.

Summary

Use scalar potentials as reproducible energy-per-unit-charge data, with source superposition, reference offset, singularity behavior, and two-probe differences all explicit. Cross-check the scalar result against the independently derived field gradient.

Glossary

Sources

Model contract

Treat the lesson as a small function before treating it as a fact to memorize. Give every value a unit, keep only the state needed for the next step, and make the output easy to inspect.

\[\text{observable output} = f(\text{inputs},\,\text{state})\]
Inputs
Quantities you set or measure, with units and useful bounds.
State
Values the program must retain to reproduce the next result.
Rule
The relationship or update that turns inputs and state into a result.
Check
A known limit, unit check, invariant, or measured result that can expose a bad model.

Implement the idea as a model

For Scalar Potentials, write down the quantities you can control, the values your program must retain, and the result a reader could inspect. In Electric Potential and Capacitance, the useful program is not the drawing: it is the smallest explicit model that makes a prediction you can test.

Guided experiment

Prediction: changing one declared input while holding the others fixed should change only the outputs that the model connects to that input. Choose one input, predict the direction of change, then check a limiting case such as zero, a symmetric arrangement, or a familiar low-speed or small-change approximation.

Where this model breaks

This lesson is a teaching model, not a complete simulator. Before using it outside the stated question, check which interactions, scales, uncertainties, boundary conditions, and measurement limits it leaves out.

Summary

Treat Scalar Potentials as a contract: named inputs and units enter a rule, the rule produces an observable result, and a known limit or invariant checks whether the implementation deserves trust.

Glossary

  • Input: a measured value or chosen parameter supplied to a model.
  • State: the smallest set of values needed to continue or reproduce a model.
  • Validation: comparing an output with a known result, limit, invariant, or measurement.

Self-check

  1. Which values are inputs, and which values must remain state?
  2. What observable result would tell you the model is behaving as expected?
  3. Which assumption would you test first before applying the model to a real system?

Model review: turn Scalar Potentials into a test

Use explicit scalar potential functions and references to reason about electric energy differences.

  1. Name the inputs and units that the electric potential and capacitance model needs.
  2. Separate the state you must keep from values you can calculate when needed.
  3. Write one rule that maps the current state and inputs to an observable result.
  4. Choose a limiting case, unit check, invariant, or known result before trusting an output.
  5. State one assumption you would change before using this simplified model for a real decision.

Share to: