1
$\begingroup$

I recently suspected a bug in a subroutine which traces the path of an electron in an electrostatic potential. (I had written that subroutine myself some time ago...) It had separate code-branches for the relativistic and the non-relativistic case. The non-relativistic case used neither the mass, nor the charge of the electron, nor any derived quantity like their ratio.

First I thought that this must be related to the bug, but then I found that the real problem was just an accidentally duplicated line. But how is it possible that the path of an electron in the electrostatic potential doesn't depend on its mass or charge?
The code tracks the position of the electron (in [um]), its direction (normalized), and its energy (in [eV]). The potential field can be queried at specified points, and returns an analytic gradient (in [V/um]) and the potential itself (in [V]).

Edit As suggested in the comments, giving the actual equations solved by the code could be helpful: $\frac{dx}{ds}=\frac{D}{||D||}$, $\frac{dD}{ds}=\nabla\phi \frac{||D||}{2E}$, $E=E_0+\phi(x)-\phi(x_0)$. This should come close to what the code does by forcing the direction $D$ to stay normalized and updating the energy $E$ based on the potential $\phi$. For $E_0=\phi_0$, the differential equation for $\frac{D}{||D||}$ becomes $2\frac{d\frac{D}{||D||}}{ds}=\nabla\ln\phi-\langle\frac{D}{||D||},\nabla\ln\phi\rangle\frac{D}{||D||}$.

$\endgroup$
  • $\begingroup$ Then, probably there is more than one bug in your program. The charge is important for calculating the force, qE, where E is the field, and the mass, for obtaining the acceleration a = Fe/m. $\endgroup$ – Sofia Dec 12 '14 at 1:06
  • $\begingroup$ @Sofia There are probably countless more bugs in my program (and maybe even in this subroutine), but probably at places where I don't expect them. And my testing is probably also not very systematic, but at least it should be relatively independent of the actual code. The acceleration is useless for me, because I'm not really interested in the speed or time evolution of the electron, I only need the path in space (i.e. its shape). $\endgroup$ – Thomas Klimpel Dec 12 '14 at 1:47
  • $\begingroup$ Do you want to tell me the formulas you got for the trajectory? Maybe I can help. But this can be only much later. In my country it's 5 o'clock in the morning, and I want to catch some sleep hours before everybody is awaken. $\endgroup$ – Sofia Dec 12 '14 at 3:11
  • $\begingroup$ sorry not to answer this earlier - the path does not depend on charge or mass, but the time of flight does depend on mass and charge $\endgroup$ – tom Dec 12 '14 at 11:36
2
$\begingroup$

The path of charged particles in electrostatic field is completely indepedent of mass and charge; the path depends on the kinetic energy. From another point of view the time taken to travel along a path does depend on mass and charge.

It is a classic result in the motion of charged particles in electric and magnetic fields that in magnetic fields the deviation of a particle depends on the momentum of the charged particle, whereas in electrostatic fields the displacement depends on the kinetic energy. This is reason why many mass spectrometers have magnetic as well as electrostatic fields.

To distinguish between masses in a electrostatic field you need to measure the time-of-flight or speed of the charged particels - for example in time-of-flight mass spectrometry.

So in answer to your question the path of an electron in an electrostatic field is independent of mass and charge (except if it's charge is reversed to make a postiron and the path would be in the opposite direction). Hope this is useful.

[Another way of using purely electrostatic fiels is in a quadrupole mass spectrometer or similar system where there are RF electric fields]

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.