Motion of charged particle in magnetic field

In summary, two individuals discuss finding the standard solution for the circular motion of a charged particle in a magnetic field. They contemplate posting in the homework section and discuss different methods for solving the problem, including the use of eigenvalues and eigenvectors. One individual provides helpful tips for solving the problem and points out mistakes in the other's approach. They also discuss the freedom to set initial conditions and the use of definite integrals to simplify the solution. The conversation ends with a plan to redo the problem using a different technique for fun.
  • #1
Sparky_
227
5
Greetings-

I'm playing with the differential equations to get the standard or classical solution for the circular motion of a charged particle in a magnetic field. I have some question on my math.

I'm doing this for fun - (just because)

Should I post this in the homework section. Does this type of question belong in the homework section?

Thanks
Sparky_
 
Physics news on Phys.org
  • #2
Go ahead and show what you've got, I'll help you out.
 
  • #3
Regarding the motion of a charged particle in a magnetic field –

I have said the magnetic field is in the y direction (By)

Using
[tex]
F = q(v X B)
[/tex]

"X" = cross product

[tex]
m\frac {dv}{dt} = -q(v X B)
[/tex]

I had a matrix and ended up with 2 differential equations

Below is my work -

I’m uncertain on how to resolve the constants – I do have the liberty to set the initial conditions

Once I get this method to work, I want to solve this again using Eigenvalues and Eigenvectors.


[tex]
m\frac {d^2x}{dt^2} = -qB \frac{dz}{dt}
[/tex]
[tex]
m\frac {d^2z}{dt^2} = qB \frac{dx}{dt}
[/tex]

Take time derivative of both sides (of eq. 1):
[tex]
\frac {d}{dt} m\frac {d^2x}{dt^2} =\frac {d}{dt} -qB \frac{dz}{dt}
[/tex]


[tex]
m\frac {d^3x}{dt^3} = -qB \frac{d^2z}{dt^2}
[/tex]

From equation 2:
[tex]
\frac {d^2z}{dt^2} = \frac {qB}{m} \frac{dx}{dt}

[/tex]

Some algebra and apply Euler’s equation:
[tex]

m\frac {d^3x}{dt^3} = \frac {(-qB)(qB)}{m} \frac{dx}{dt}
[/tex]
[tex]
\frac {d^3x}{dt^3} = (\frac {(qB)}{m})^2 \frac{dx}{dt}
[/tex]
[tex]
u= \frac {dx}{dt}
[/tex]

Use a substitution to reduce the order of the equation:

[tex]
pick: u = e^{at}
[/tex]
[tex]
u’ = ae^{at}
[/tex]
[tex]
u’’ = a^2e^{at}
[/tex]
[tex]
a^2e^{at} + (\frac {(qB)}{m})^2 e^{at} = 0
[/tex]
[tex]
a^2 + (\frac {(qB)}{m})^2 = 0
[/tex]
[tex]
a = + - (\frac {(qB)}{m})
[/tex]
[tex]
u = e^{i\frac{qB}{m}t} + e^{-i\frac{qB}{m}t}
[/tex]
[tex]
u = C1cos(\frac{qB}{m}) + iC2sin(\frac{qB}{m}) + C3cos(\frac{qB}{m}) – iC4sin(\frac{qB}{m})
[/tex]

[tex]

u= \frac {dx}{dt}
[/tex]
[tex]
dx = u dt
[/tex]
[tex]
x = \frac{mC1}{qB}sin(\frac{qBt}{m}) - \frac{imC2}{qB}cos(\frac{qBt}{m}) + \frac{mC3}{qB}sin(\frac{qBt}{m}) + \frac{imC4}{qB}cos(\frac{qBt}{m})
[/tex]
[tex]
x = (\frac{mC1}{qB} + \frac{mC3}{qB}))sin(\frac{qB}{m}t) – (\frac{imC2}{qB} + \frac{imC4}{qB})cos(\frac{qB}{m}t)

[/tex]

Now – I’m not sure on the steps below:
Is it correct to do the following:

[tex]
\int{ \frac{d^2x}{dt^2}} = \int{ \frac{-qB}{m}\frac{dz}{dt}}
[/tex]
[tex]
\frac{dx}{dt} = \frac{-qBz}{m}
[/tex]

[tex]

z = -\frac{m}{qB}\frac{dx}{dt}
[/tex]

[tex]
z = K1 \frac{qB}{m}cos() + K2\frac{qB}{m}sin()

[/tex]

Three questions:
1)
The big question -
Is my math correct – any gotcha’s? While I know what the correct answer is, I want to accurately work it out.


2)
Regarding the constants –

I have the freedom to say x = z = 0 at t=0.

There is some complication with the cos term at t=0 and gave x=z=0 – correct?

How do I get my constants set right?

3) Am I on the right path?

Once I’m sure this math is correct – next I want to rework this using eigenvalues / eigenvectors.

Thanks
-Sparky_
 
  • #4
Ok, this is pretty complex. Let me start with how I approach the problem.

Write out the force equation, do the cross product, and find the remaining coupled DE's.
Substitute one into the other to find a DE in time. Substitute that solution into the other equation to solve the other variable as a function of time.

I find it easier to just integrate the coupled DE's with respect to the other variable, and get two equations in X, Vx, Z and Vz, instead of going to the 3rd order and doing reduction of order.

I think you made it a lot harder on yourself when you took the exponential functions and said they were equal to four trig functions with four unknowns in front.

you wrote

[itex]u=e^{\frac{iqBt}{m}}+e^{\frac{-iqBt}{m}}[/itex] and then u = [itex]\frac{dx}{dt}[/itex]

If you had integrated from Xo to X, and t0 to t, without doing all the rest of that stuff, it would have been like this:

[itex]\int dx=\int e^{\frac{iqBt}{m}}+e^{\frac{-iqBt}{m}} dt[/itex]

Giving [itex]x-x_{0} = \frac{me^{\frac{iqBt}{m}}}{iqB} -\frac{me^{\frac{-iqBt}{m}}}{iqB}[/itex] using [itex]t_{0}=0[/itex]

Having seen Eulers formula, you should recognize that this is [itex]x(t)=\frac{2mSin(\frac{qbt}{m})}{qB}+x_{0}[/itex] assuming [itex]t_{0}=0[/itex] and voila! you've got a particular solution with the constants figured out already.

Finally, on the last part where you said you weren't sure about it, I think you're missing the 2nd DE. Either way, when you integrated, you didn't add a constant, and that's no good.

I find it much easier to just do definite integrals on everything, rather than worrying about solving for the constants later on. Plus you can look at your results and start crossing things out which are zeros while substituting in your IV's or BC's without doing any more work.

overall, you managed to get the answer, so props. the good thing about having unknown constants is that if you can figure them out, they will eat up any dropped negatives or simple algebra mistakes you made along the way.

Hope this helps!
austin
 
  • #5
Elegysix,

Thanks for the help.

I am going to “try” to fix / cleanup my attempt – I would like to post my cleanup and make sure I’m correct.

I’m doing this just for fun – many of my weeknights are booked – this little math practice my extend over several days.

I recall first doing this for real in school and for whatever reason this particular problem stands out as when things first starting to “click” – it’s where I actually saw how to apply differential equation tools I had been taught and my plasma professor kept making the problem more interesting by adding additional components.

Once I am convinced I have my mathematics “clean” – correcting the points you caught, I would like to redo the problem using a different differential equation technique (probably Eigenvalue / Eigenvectors) – again just for fun.

Thanks for your guidance.

-Sparky_
 
  • #6
Elegysix,

I have duplicated your work for myself –

[tex]
u = e^{i\frac{qB}{m}t} + e^{-i\frac{qB}{m}t}
[/tex]

[tex]
u= \frac {dx}{dt}
[/tex]

[tex]
\int{ dx} = \int{ u dt}
[/tex]

[tex]
x – x0 = \frac{m}{iqB}e^{frac{iqBt}{m}} - \frac{m}{iqB}e^{frac{-iqBt}{m}}
[/tex]

[tex]
x – x0 = \frac{m}{iqB}[cos() + isin( )] - \frac{m}{iqB}[cos() - isin( )]
[/tex]

Now for a question or 2:


I agree things cancel like this, but shouldn’t I also have a constant for each term like this:

[tex]

x – x0 = \frac{m}{iqB}[C1*cos() + iC2*sin( )] - \frac{m}{iqB}[C3*cos() – iC4*sin( )]
[/tex]

I know examples from my Diff E. book place constants there in these cases.

Next question, I know from the answer is
[tex]
(x - x0) = K1cos( ) + K2sin( )
[/tex]

(no formal solution, just told that is the answer and a few steps pointing to using tools from differential equations)

In the answer there is a cos term.

Should I have the constants for each cos and sin term and not cancel the cos terms out?

Thanks again
Sparky_
 
  • #7
When you use definite integrals, there are no arbitrary constants needed. However, what we are solving for here is a particular solution - the general solution will contain a cosine term.

[itex]\int dx = \int e^{i \frac{qBt}{m}} + e^{-i \frac{qBt}{m}} dt[/itex]

[itex]x(t)-x_{0} = \frac {me ^{i \frac{qBt}{m} } }{iqB} - \frac {me ^{-i \frac{qBt}{m} } }{iqB} [/itex] (using [itex]t_{0}=0[/itex])

using Euler's formula: [itex] sin(kt) = \frac {e^{ikt} - e^{-ikt}}{2i} [/itex] gives

[itex] x(t)-x_{0}= \frac{2m Sin( \frac{qBt}{m})}{qB} [/itex]

which is a particular solution.
 
  • #8
Elegysix,

I'm not quite caught up with you.

Are we on the same page - I was asking about constants for the coefficients on each sin and cos term.

The C1, C2, C3, and C4

[tex]

x – x0 = \frac{m}{iqB}[C1*cos() + iC2*sin( )] - \frac{m}{iqB}[C3*cos() – iC4*sin( )]
[/tex]

This would prevent the cos terms from canceling?

If I'm off here, what is my next step to get the cos term?

Thanks
-Sparky_
 
  • #9
When you use definite integrals - evaluated at bounds, you do not introduce constants like the C1 you used. When you do indefinite integration, without evaluating it at the bounds, you have to use constants like that. We did not need them for what we did so far.

I substituted in a sin function for the exponentials, by Euler's formula. You can expand the exponentials into a sin and cos term like you have done, but you do not need to add constants like you've done. You will still end up with the same answer I gave before

if [itex] e^{ix}=cos(x)+isin(x) [/itex]

then

[itex] \frac{m e^{i \frac {qBt}{m} }}{iqB} - \frac{me^{i \frac {-qBt}{m} }}{iqB}= \frac{m}{iqB} [cos(\frac{qBt}{m})+isin (\frac{qBt}{m}) - cos(\frac{qBt}{m}) + isin(\frac{qBt}{m})] [/itex]

combining like terms gives the result

[itex] x(t)-x_{0}= \frac{2m}{qB}sin(\frac{qBt}{m})[/itex]

like I showed before.
Based on your initial conditions, this is the solution for x(t). If you do not use initial conditions (meaning using indefinite integrals) the constants of integration will appear and the cosine terms might not cancel.
 
Last edited:
  • #10
Elegysix,

Thanks for your patience.

I’m either there or I’m close.

Answering this question may help:

So perhaps Within the notes I’m reading where the problem is set up and then just the answer is given as: x =K1*cos() + K2*sin() with no work shown, I can assume that solution was obtained with indefinite integrals?

Meaning in some old notes, I see the electron (or charged particle) and a B-field vector drawn and the Lorentz equation is written, the cross product is taken and the initial differential equation is set up.

Then the solution is given (sin + cos with coefficients).

From your help, without knowing the solution approach, I can assume he went with the indefinite integral since he has the coefficients and the cos term?

Thanks again
Sparky_
 
  • #11
It may have just been a guess to the solution since he did not work it out. We did the work and you should be able to solve this for any similar initial conditions without worrying about what the person in your notes did.

I will say though that the magnetic field was chosen to drastically simplify this problem. If the magnetic field depends on time or position, this will become much, much harder to solve.

Theres a video by an MIT professor on youtube who covers this topic, the last 10 or so minutes of it he talks about the spiraling and does a demonstration if you're interested. here's the link
 
Last edited by a moderator:
  • #12
Thank You!
 

1. What is the force acting on a charged particle in a magnetic field?

The force acting on a charged particle in a magnetic field is known as the Lorentz force, which is given by the equation F = qv x B, where q is the charge of the particle, v is its velocity, and B is the strength and direction of the magnetic field.

2. How does the direction of the magnetic field affect the motion of a charged particle?

The direction of the magnetic field determines the direction of the Lorentz force acting on the charged particle. The force is always perpendicular to both the velocity of the particle and the direction of the magnetic field, causing the particle to move in a circular or helical path.

3. What is the relationship between the velocity of a charged particle and the radius of its path in a magnetic field?

The radius of the path of a charged particle in a magnetic field is directly proportional to its velocity. This means that the faster the particle is moving, the larger the radius of its path will be.

4. How does the strength of the magnetic field affect the motion of a charged particle?

The strength of the magnetic field affects the magnitude of the Lorentz force acting on the charged particle. A stronger magnetic field will result in a larger force, causing the particle to move in a larger radius or at a faster speed.

5. Can a charged particle experience both electric and magnetic forces simultaneously?

Yes, a charged particle can experience both electric and magnetic forces simultaneously. In this case, the particle will move in a curved path, with the direction of the curve determined by the relative strengths and directions of the electric and magnetic fields.

Similar threads

  • Electromagnetism
Replies
8
Views
761
Replies
2
Views
854
Replies
3
Views
708
  • Electromagnetism
Replies
14
Views
1K
  • Electromagnetism
Replies
17
Views
1K
Replies
4
Views
1K
Replies
2
Views
836
Replies
22
Views
2K
  • Electromagnetism
Replies
7
Views
1K
Replies
8
Views
921
Back
Top