Charged Particle In A Spatially Varying Magnetic Field

A spatially varying magnetic field is given by B = B 0 x z ^ . B=-B_0 x \hat { z }. A particle of charge q q and mass m m leaves the origin with initial velocity v 0 v_{0} in the positive x ^ \hat{x} direction. Find the value of x max x_\textrm{max} , the farthest horizontal displacement reached by the particle.

Details and Assumptions:

  • m = 1 kg m = \SI{1}{\kilo\gram}
  • q = 1 C q = \SI{1}{\coulomb}
  • B 0 = 1 T / m B_0 =\SI[per-mode=symbol]{1}{\tesla\per\meter}
  • v 0 = 2 m / s v_0 = \SI[per-mode=symbol]{2}{\meter\per\second}


The answer is 2.0.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

5 solutions

Josh Silverman Staff
Oct 25, 2016

Before we start our calculation, let's take a look at the magnetic field. In this flat representation of the field we see that as we move away from the axis, the magnitude of the field grows. Moreover, the field is negative at positive x x and positive at negative values of x x .

In a magnetic field of constant strength, we expect charged particles to orbit in circles. This doesn't change when the field varies in space. Therefore, as the particle moves into regions of higher field strength, we expect charged particles to to travel in curved trajectories of decreasing radius. Near the y y -axis, we expect the trajectory to settle into straight lines.

When the particle crosses the y y -axis, the sign of the magnetic field flips so we expect the direction of curvature to flip as well. Thus, the particle should move back and forth across the y y -axis, making 180 ° \SI{180}{\degree} turns on either side as it works its way down the y y -axis.

We can generalize fields of this kind a la B = B 0 x n z ^ {\bf{B}} = -B_0x^n{\hat{\bf{z}}} . For n = 0 n=0 we have the classic vertical field of constant strength and we expect the particle to move in circles. As n n grows, the magnetic field starts to ramp up in strength more quickly as we venture away from the y y -axis, causing the particle to turn around closer and closer to the axis.

The crux of the calculation is the Lorentz force law v ˙ = q m v × B \dot{\bf{v}} = \frac{q}{m}\bf{v}\times\bf{B} . Writing it out in component form, we have

v ˙ = q m v × B = q B 0 x n m ( v x x ^ + v y y ^ ) × z ^ = q B 0 x n m det ( x ^ y ^ z ^ v x v y v z 0 0 1 ) = q B 0 x n m ( v y x ^ v x y ^ ) \begin{aligned} \dot{{\bf{v}}} &= \frac{q}{m}\bf{v}\times\bf{B} \\ &= -\frac{qB_0x^n}{m}\left(v_x\hat{\bf{x}} + v_y\hat{\bf{y}} \right)\times\hat{\bf{z}} \\ &= -\frac{qB_0x^n}{m} \det \left(\begin{matrix}\hat{\bf{x}} &\hat{\bf{y}} & \hat{\bf{z}} \\ v_x & v_y & v_z \\ 0 & 0 & 1\end{matrix}\right) \\ &= -\frac{qB_0x^n}{m}\left(v_y\hat{\bf{x}} - v_x\hat{\bf{y}}\right) \end{aligned}

If we let α = q B 0 m \alpha = \frac{qB_0}{m} and expand the left hand side into component form, we have v x ˙ , v y ˙ = α x n v y , v x \langle \dot{v_x}, \dot{v_y}\rangle = \alpha x^n \langle -v_y, v_x \rangle or v x ˙ = α v y x n v y ˙ = + α v x x n \begin{aligned} \dot{v_x} &= -\alpha v_y x^n \\ \dot{v_y} &= +\alpha v_x x^n \end{aligned}

Now these coupled differential equations are not straightforward to resolve—as we reasoned earlier, the trajectory is some curve who radius changes with distance from the axis. We know that when the particle turns around its velocity is purely in the y y direction, so that v x = 0 v_x=0 . We also know that magnetic fields do no work (even when they're spatially variant), so v y = v 0 v_y = v_0 at the point of turn around.

Taking the equation for v y ˙ \dot{v_y} , we have d v y d t = d v y d x d x d t = d v y d x v x \frac{dv_y}{dt} = \frac{dv_y}{dx}\frac{dx}{dt} = \frac{dv_y}{dx}v_x , so that d v y d x v x = α v x x n d v y d x = α x n \begin{aligned} \frac{dv_y}{dx}v_x &= \alpha v_x x^n \\ \frac{dv_y}{dx} &= \alpha x^n \end{aligned} This yields 0 v y ( T ) d v y = 0 x max x n d x v y ( T ) = α n + 1 x max n + 1 \begin{aligned} \int\limits_0^{v_y(T)} dv_y &= \int\limits_0^{x_\textrm{max}} x^n dx \\ v_y(T) &= \frac{\alpha}{n+1} x_\textrm{max}^{n+1} \end{aligned} which leads to x max = ( ( n + 1 ) v 0 α ) 1 n + 1 x_\textrm{max} = \left(\frac{\left(n+1\right)v_0}{\alpha}\right)^{\frac{1}{n+1}}

We can confirm our qualitative argument about the trajectory of the particle by numerically solving the system for x , y \langle x,y\rangle :

May i know how did you plot that graph in the end? Software?

Jatin Sharma - 3 years, 11 months ago

Log in to reply

I used Mathematica. But you could also use some open-source Python plotting package like matptlotlib or bokehplot .

Josh Silverman Staff - 3 years, 11 months ago

Excellent!

Swapnil Das - 4 years, 7 months ago

Nice. Extended explanation serves to clear concepts very well. Just one tiny mistake in the determinant for the cross product. You have written B_0 both inside and outside. Apart from that very good :)

Jatin Sharma - 4 years, 7 months ago

Log in to reply

Good find. Thanks.

Josh Silverman Staff - 4 years, 7 months ago

@Josh Silverman- Nice description and especially the visuals. I explicitly used energy conservation in my solution, so I posted it in case someone might benefit from it. In the last figure, I believe the y axis should be positive.

Wesley Zumino - 3 years, 11 months ago

Log in to reply

Like you think the particle is moving in the wrong direction?

Josh Silverman Staff - 3 years, 11 months ago

Log in to reply

Yes, the pcle should move in +y dir for n odd. I made a quick pic but had to dump it in my solution (see below) b/c apparently pics can't be added to comments. Thank you again.

Wesley Zumino - 3 years, 11 months ago

Yeah. the field i gave was LaTeX: B = B 0 x z ^ . B=-B_0 x \hat { z }. . The negative sign was deliberate so that it goes in positive y. But its okay, very minor error.

Jatin Sharma - 3 years, 10 months ago
Anubhav Tyagi
Oct 27, 2016

Let the components of velocity of particle along x-axis be v(x) and along y axis be v(y).

Now d x d t \frac{dx}{dt} =v(x) and a(y)= d v ( y ) d t \frac{d{v(y)}}{dt}

I can resolve the magntic force as: a(y)=Bxv(x)

d v ( y ) d t \frac{dv(y)}{dt} =Bx d x d t \frac{dx}{dt}

d{v(y)}=Bx(dx)

Integrating both sides to get

v(y)=B x 2 2 \frac{x^2}{2} +c

At t=0 v(y)=o and at the instant when x=x(max) v(y)=v

Solving we get v=B x ( m a x ) 2 2 \frac{x(max)^2}{2}

Hence x(max)=2

Perfect. :)

Jatin Sharma - 4 years, 7 months ago

Log in to reply

Thanks. Did you like my solution?

Anubhav Tyagi - 4 years, 7 months ago

Log in to reply

Yeah. Short and sweet.

Jatin Sharma - 4 years, 7 months ago

Log in to reply

@Jatin Sharma Thanks bro. Are you on slack? @Jatin Sharma

Anubhav Tyagi - 4 years, 7 months ago

Log in to reply

@Anubhav Tyagi What is slack?

Jatin Sharma - 4 years, 6 months ago
Abhi Kumbale
Nov 20, 2016

@Jatin Sharma do see this solution.

Abhi Kumbale - 4 years, 6 months ago

Different approach! Very good! My original solution was somewhat like this. using radius of curvature :)

Jatin Sharma - 4 years, 6 months ago
Swagat Panda
Oct 28, 2016

See my solution to the problem A charge in motion.

Putting the given data in the formula obtained for x m a x x_{max} , we get

x m a x = 2 v 0 m q B 0 = 2 2 1 1 1 = 4 = 2 x_{max}=\sqrt {\dfrac{{2v}_{0}m}{q{B}_{0}}}=\sqrt{\dfrac{2\cdot 2\cdot 1}{1\cdot 1}} =\sqrt{4}=2

Cool. Short and sweet.

Jatin Sharma - 4 years, 7 months ago

Log in to reply

Thanks. :)

Swagat Panda - 4 years, 7 months ago
Wesley Zumino
Jul 10, 2017

The particle with mass m m and charge q q is launched from the origin r = 0 \textbf{r} = \textbf{0} with initial velocity v 0 = v 0 x ^ \mathbf{v_0} = v_0 \mathbf{\hat{x}} into a magnetic field B = B 0 x z ^ \mathbf{B} = -B_0 x \mathbf{\hat{z}} which exerts a force F = q v × B \mathbf{F} = q \mathbf{v \times B} at all times on the particle. When the particle has a velocity v = v x x ^ + v y y ^ + v z z ^ \mathbf{v} = v_x \mathbf{\hat{x}} + v_y \mathbf{\hat{y}} + v_z \mathbf{\hat{z}} , by Newton's second law, it will experience an acceleration v ˙ = a = F / m = ( q / m ) v × B \mathbf{\dot v} = \mathbf{a} = \mathbf{F}/m = (q/m) \mathbf{v \times B} . Defining α q B 0 / m \alpha \equiv q B_0/m and substituting in for v \mathbf{v} and B \mathbf{B} yields: v ˙ = q m ( v x x ^ + v y y ^ + v z z ^ ) × ( B 0 x z ^ ) = α d e t [ x ^ y ^ z ^ v x v y v z 0 0 x ] = α ( v y x x ^ v x x y ^ ) . \mathbf{\dot v} \; = \; \dfrac{q}{m} ( v_x \mathbf{\hat{x}} + v_y \mathbf{\hat{y}} + v_z \mathbf{\hat{z}} ) \mathbf{\times} (-B_0 x \mathbf{\hat{z}}) \; = \; - \alpha \, \mathrm{det} \! \left[ \begin{array}{ccc} \mathbf{\hat{x}} & \mathbf{\hat{y}} & \mathbf{\hat{z}} \\ v_x & v_y & v_z \\ 0 & 0 & x \end{array} \right] \; = \; - \alpha \, (v_y\, x\, \mathbf{\hat{x}} - v_x\, x\, \mathbf{\hat{y}} ) \text{.} In terms of components, ( 1 ) d v x d t = α x v y ( 2 ) d v y d t = α x v x = α x d x d t = α 1 2 d d t [ x 2 ( t ) ] v y ( t ) = 1 2 α x 2 ( t ) + const and v y ( 0 ) = 0 = x ( 0 ) v y ( t ) = 1 2 α x 2 ( t ) ( 3 ) d v z d t = 0 , when combined with v z ( 0 ) = 0 v z ( t ) = 0 . \begin{aligned} (1) \; \dfrac{\mathrm{d} v_x}{\mathrm{d} t} &= - \alpha x v_y \\ (2) \; \dfrac{\mathrm{d} v_y}{\mathrm{d} t} &= \alpha x v_x = \alpha \, x \dfrac{\mathrm{d} x}{\mathrm{d} t} = \alpha \, \frac{1}{2} \dfrac{\mathrm{d}}{\mathrm{d} t} [x^2(t)] \; \Rightarrow \; v_y(t) = \dfrac{1}{2} \alpha \, x^2(t) + \text{const and } v_y(0) = 0 = x(0) \; \Rightarrow \; \underline{v_y(t) = \dfrac{1}{2} \alpha \, x^2(t) }\\ (3) \; \dfrac{\mathrm{d} v_z}{\mathrm{d} t} &= 0 \text{, when combined with } v_z(0) = 0 \; \Rightarrow \; \underline{v_z(t) = 0}. \end{aligned} These are easier to analyze in reverse order. (3) tells us that the particle's motion is confined to the x x - y y plane. (2) gives an expression for the y y -component of velocity which shows in particular that v y 0 v_y \ge 0 , i.e., the particle drifts only in the + y y -direction . (1) shows that, because v y v_y is always non-negative, the particle is always accelerated towards the y y -axis (i.e., towards x = 0 x=0 except when x = 0 x=0 ), and that the restoring acceleration gets larger when the particle tries to get further away from the y y -axis. In fact, subbing v y ( t ) v_y(t) into (1) gives x ¨ ( t ) = 1 2 α 2 x 3 ( t ) \ddot x(t) = - \frac{1}{2} \alpha^2 x^3(t) , an equation similar to that for a simple harmonic oscillator except that it has a cubic restoring force versus a linear one - see Note 1. Thus, the particle is expected to reach extreme displacements away from x = 0 x=0 at some ± x m a x \pm x_{max} values before being forced to return.

The value of x m a x x_{max} can be determined from energy conservation. Note that B \mathbf{B} does no work on the particle because the force it exerts is always orthogonal to the particle trajectory: d W = F d s = F v d t = q v × B v d t = q v × v B d t = 0 dW = \mathbf{F\cdot}\, d \mathbf{s} = \mathbf{F\cdot}\, \mathbf{v} dt = q \mathbf{v \times B\cdot}\, \mathbf{v} dt = q \mathbf{v \times v\cdot}\, \mathbf{B} dt = 0 . Therefore, the particle's energy at any point on its trajectory is entirely kinetic, 1 2 m v 2 \frac{1}{2} m v^2 , and equals its initial kinetic energy 1 2 m v 0 2 v 0 2 = v 2 \frac{1}{2} m v_0^2 \; \Rightarrow v_0^2 = v^2 . At extreme x x -displacement x = x m a x x=x_{max} , v x = 0 v_x = 0 and v y = 1 2 α x m a x 2 v_y = \frac{1}{2} \alpha \, x_{max}^2 . Since v z = 0 v_z = 0 always, v 0 2 = v 2 = v x 2 + v y 2 + v z 2 = 0 + ( 1 2 α x m a x 2 ) 2 + 0 v 0 = 1 2 α x m a x 2 x m a x = 2 m v 0 q B 0 = 2 1 2 1 1 = 2 m. v_0^2 \; = \; v^2 \; = \; v_x^2 + v_y^2 + v_z^2 \; = \; 0 + (\frac{1}{2} \alpha \, x_{max}^2)^2 + 0 \; \Rightarrow \; v_0 = \frac{1}{2} \alpha \, x_{max}^2 \; \Rightarrow \; \boxed{x_{max} = \sqrt{\dfrac{2 m v_0}{q B_0}} = \sqrt{\dfrac{2 \cdot 1 \cdot 2 }{1 \cdot 1}} = 2 \text{ m.}}

Note 1: The x x -motion can be regarded as that of a mass m m at the origin connected to a spring exerting a non-linear force of F x = k x 3 F_x = -k x^3 with a spring constant k = 1 2 q 2 B 0 2 / m k = \frac{1}{2} q^2 B_0^2 / m . Such a force is conservative and the spring would have potential energy U ( x ) = 1 4 k x 4 U(x) = \frac{1}{4} k x^4 . If the mass at rest at the origin (where the spring is not compressed nor extended) is given an initial velocity v 0 v_0 , then x m a x x_{max} can be obtained by equating the initial kinetic energy to the potential energy when the mass is momentarily at rest at max displacement: 1 2 m v 0 2 = K = U = 1 4 k x m a x 4 \frac{1}{2} m v_0^2 = K = U = \frac{1}{4} k x_{max}^4 .

Note 2: Whenever the particle crosses the y y -axis, the trajectory is orthogonal to it. This follows because v y ( t ) = 1 2 α x 2 ( t ) = 0 v_y(t) = \frac{1}{2} \alpha \, x^2(t) = 0 when x ( t ) = 0 x(t) = 0 . In this case, v 2 = v x 2 = v 0 2 0 v^2 = v_x^2 = v_0^2 \ne 0 , so the particle's velocity is a non-zero vector in the x x direction when it crosses the y y -axis.

Note 3: Considering as Josh did a magnetic field B = B 0 x n z ^ \mathbf{B} = -B_0 x^n \mathbf{\hat{z}} for integral n 1 n \ge 1 , (2) becomes instead:

( 2 ) d v y d t = α x n v x = α 1 n + 1 d d t [ x n ( t ) ] v y ( t ) = 1 n + 1 α x n + 1 ( t ) \quad (2') \; \dfrac{\mathrm{d} v_y}{\mathrm{d} t} = \alpha x^n v_x = \alpha \, \dfrac{1}{n+1} \dfrac{\mathrm{d}}{\mathrm{d} t} [x^n(t)] \; \Rightarrow \; \underline{v_y(t) = \frac{1}{n+1} \alpha \, x^{n+1}(t)}

which, when substituted into (1), changes the x x equation of motion as follows:

( 1 ) d v x d t = α x n v y x ¨ ( t ) = 1 n + 1 α 2 x 2 n + 1 ( t ) \quad (1') \; \dfrac{\mathrm{d} v_x}{\mathrm{d} t} = - \alpha x^n v_y \; \Rightarrow \; \underline{\ddot x(t) = - \frac{1}{n+1} \alpha^2 x^{2n+1}(t)} .

Interestingly, for any positive integer n n , the force term F x = k x 2 n + 1 F_x = -k x^{2n+1} is always restoring since it has odd symmetry in x x or, equivalently, the particle moves in an even potential U ( x ) = 1 2 n + 2 k x 2 n + 2 U(x) = \frac{1}{2n+2} k x^{2n+2} . For n n even, B \mathbf{B} does not change direction for negative x x , unlike the original problem where n = 1 n=1 is odd. However, v y ( t ) v_y(t) does change direction from + y +y to y -y for negative x x . These two changes combine to not only keep the x x equation of motion oscillatory but also to cause the trajectory to be an orbit , unlike the drifting "S" pattern trajectory for n n odd.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...