Magnetic force bends a moving charged particle perpendicular to both its velocity and the field. In a uniform field with no electric field, that perpendicular force does no instantaneous work: it turns velocity but does not change ideal kinetic energy. A trajectory curve alone is weak evidence; a simulation should report the force, speed, energy, turn rate, and numerical drift that generated it.
v·F, speed, kinetic energy, step size, and accumulated angle. Use a fixed uniform-field fixture before rendering an orbit, because a picture can look circular while the integrator steadily adds energy.In the page’s two-dimensional reference, velocity lies in x-y and a uniform magnetic field lies in ±z. For positive charge, vx with positive Bz produces a negative y force under the stated helper convention. Reversing either charge or field reverses the curvature; reversing both leaves it unchanged. If velocity is parallel to the field, the cross product vanishes. These are basis fixtures, not optional visual interpretations.
For E = 0 and a uniform field perpendicular to velocity, the ideal path is a circle with radius r = mv⊥/(|q|B). The sign determines which way it turns; the radius uses speed magnitude. That gives two independent reference quantities: angular frequency should not depend on speed in this nonrelativistic model, while radius should scale linearly with perpendicular speed. Do not infer either from screen pixels—measure from physical state samples.
The integrator matters. Velocity Verlet’s usual position-force assumptions do not directly apply when acceleration depends on velocity, so document that limitation instead of calling it automatically superior. Compare a simple method against a smaller-step run or an appropriate analytic uniform-field solution. Store sample times consistently; an energy value sampled before velocity update cannot be compared blindly with a position after the update.
Prediction: Reversing charge reverses curvature without changing the ideal radius or speed, and a velocity parallel to the field has no magnetic force.
Use a positive charge with initial velocity in +x and uniform B in +z. Predict the initial force axis, then reverse q. Checkv·F, speed, and kinetic energy at each recorded time. Halve the step twice and compare the observed turn rate with |qB|/m. Finally rotate velocity to +z in a three-dimensional formulation and predict the zero magnetic force.Integrate the Lorentz force from explicit state, but validate more than curvature: check the zero-work dot product, speed/energy ledger, basis-direction fixtures, cyclotron turn rate, and step refinement against the scope of the chosen integrator.
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})\]For Lorentz Force Simulations, write down the quantities you can control, the values your program must retain, and the result a reader could inspect. In Magnetism and Induction, the useful program is not the drawing: it is the smallest explicit model that makes a prediction you can test.
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.
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.
Treat Lorentz Force Simulations 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.
Integrate charged-particle motion from a vector Lorentz force and test its no-work property.