Lorentz force:
$$\vec{F}= q(\vec{E}+ \vec{v}\times \vec{B})$$Gyroradius in a pure magnetic field: $r = \dfrac{mv}{|q|B}$
Cyclotron frequency: \ = \dfrac{|q|B}{2\pi m}\$ Period: \ = \dfrac{2\pi m}{|q|B}\$
Equation of motion: $m\dot{\vec{v}}= q(\vec{E}+ \vec{v}\times\vec{B})$, numerically integrated with RK4
What is Lorentz Force & Charged Particle Motion?
Physical Model & Key Equations
The fundamental law of motion is Newton's second law with the Lorentz force as the driving mechanism. This gives us the equation of motion for the charged particle.
$$m \frac{d\vec{v}}{dt}= \vec{F}= q(\vec{E}+ \vec{v}\times \vec{B})$$Here, $m$ is particle mass (kg), $q$ is electric charge (C), $\vec{v}$ is velocity (m/s), $\vec{E}$ is the electric field (V/m), and $\vec{B}$ is the magnetic flux density (T). The cross product $\vec{v}\times \vec{B}$ ensures the magnetic force is perpendicular to the plane containing $\vec{v}$ and $\vec{B}$.
For the special case of a uniform magnetic field ($\vec{B}=B\hat{z}$) and no electric field ($\vec{E}=0$), the motion is purely circular in the plane perpendicular to $\vec{B}$. Two key quantities define this motion:
$$r_c = \frac{m v_\perp}{|q| B}, \quad \omega_c = \frac{|q| B}{m}$$$r_c$ is the cyclotron (or Larmor) radius — the radius of the circular orbit. $v_\perp$ is the speed component perpendicular to $\vec{B}$. $\omega_c$ is the cyclotron angular frequency (rad/s). The rotation period is $T = 2\pi / \omega_c$. Notice how a heavier particle (like a proton) has a larger radius and slower frequency than a light electron in the same field, which you can test directly with the "Particle Type" dropdown.
Frequently Asked Questions
Real-World Applications
Cyclotron & Synchrotron Design: These particle accelerators use a constant magnetic field to bend charged particles into circular paths while an oscillating electric field accelerates them at just the right frequency ($\omega_c$). Engineers use these exact equations to design the magnet size and RF frequency. The simulator's frequency calculation shows why heavier particles require lower frequency accelerators.
Magnetic Resonance Imaging (MRI): The core principle involves the precession (a form of gyration) of proton spins in a massive static magnetic field. The resonant frequency at which these spins absorb energy is directly proportional to the field strength ($\omega \propto B$), just like the cyclotron frequency. Adjusting the B-field changes the calculated frequency, mimicking how different MRI machines operate.
Plasma Confinement in Fusion Devices: To contain a 100-million-degree plasma, powerful magnetic fields are used. The charged particles in the plasma gyrate around magnetic field lines. The E×B drift phenomenon you can create in the simulator is critical for analyzing and controlling plasma stability in devices like tokamaks, as unwanted drifts can lead to energy loss.
Mass Spectrometry: In a magnetic sector mass spectrometer, ions are sent into a known magnetic field. Heavier ions (larger $m$) bend with a larger radius ($r_c \propto m$), while lighter ions bend more sharply. By measuring the radius of curvature, the mass-to-charge ratio ($m/q$) of an unknown ion can be determined. Try varying the mass and charge sliders independently to see how the orbit radius changes.
Common Misconceptions and Points to Note
First, let's establish the point that "magnetic fields do no work." You can confirm this in the simulator by observing that a particle's speed doesn't change when only a magnetic field is applied. The Lorentz force $q \vec{v} \times \vec{B}$ is always perpendicular to velocity, so it does not increase or decrease the particle's kinetic energy. Only the work done by the electric field can change the energy. In practice, attempting to accelerate a particle using only a magnetic field is a fundamental error.
Next, pay attention to the relationship between the initial velocity direction and the magnetic field direction. The velocity component parallel to the magnetic field $v_{\parallel}$ is not bent at all, causing the particle to undergo helical motion. If you enter a value for "initial velocity vz" in the simulator, you'll see it moving in the Z-direction while performing circular motion. The pitch of this helix is determined by $v_{\parallel}$, so setting the initial conditions correctly is crucial for accurately guiding a particle beam.
Finally, beware of confusion between unit systems. The tesla (T) unit for magnetic field is particularly unintuitive and a common source of mistakes. For example, 0.01 T is about twice the Earth's magnetic field, 0.1–0.5 T is typical at the surface of a common permanent magnet, and MRI machines use 1.5 T or 3 T. In the simulator, setting "proton, velocity 1e6 m/s, magnetic field 1 T" yields a gyroradius of about 10 mm. Misreading this as "1 m" would severely throw off your design. Make it a habit to always check the order of magnitude.
How to Use
- Set particle charge using qSlider (range: -1.6e-19 to +1.6e-19 C for electron/proton equivalents)
- Adjust mass via mSlider (9.109e-31 kg for electron, 1.673e-27 kg for proton)
- Define velocity components: the slider and the slider in m/s (typical range 1e5 to 1e7 m/s for visible orbital dynamics)
- Apply magnetic field strength (B-field default 0.1 to 1 Tesla) via simulator interface
- Monitor real-time outputs: Lorentz force F, gyroradius r, cyclotron frequency fc, and period T
- Click animate to visualize helical or circular particle trajectory in 3D space
Worked Example
Electron in 0.5 T magnetic field: charge q = -1.6e-19 C, mass m = 9.109e-31 kg, velocity v = 2e6 m/s perpendicular to B. Lorentz force F = qvB = 1.6e-19 × 2e6 × 0.5 = 1.6e-13 N (centripetal). Gyroradius r = mv/(qB) = (9.109e-31 × 2e6)/(1.6e-19 × 0.5) = 0.0227 m (22.7 mm). Cyclotron frequency fc = qB/(2πm) = 1.4e10 Hz (14 GHz). Period T = 1/fc = 7.1e-11 s (71 ps). Particle executes circular orbit with 22.7 mm radius at GHz frequencies—typical for particle accelerator and magnetron physics.
Practical Notes
- Protons occupy larger gyroradii than electrons at identical velocities (1836× mass ratio) in cyclotron accelerators and tokamak confinement—adjust m accordingly
- High-velocity ions (v > 1e7 m/s) produce tighter spirals; sweep the slider and the slider to observe transition from circular to helical paths
- Magnetic bottle traps arise when B-field gradients confine particles; non-zero initial vy component shows pitch angle effects in stellar magnetospheres
- Negative charge reverses force direction—compare electron vs. proton orbital sense by toggling qSlider sign
