## Elastic and Inelastic Collision in Three Dimensions

*Firstly a note in order to avoid any misunderstandings: the exact kinematics of a particle collision is rarely of interest in plasma physics as it is impractical to track a large number of particles individually. I have derived the relationships below actually in a different context but could not find a better place to put them. Also, note that for the determination of the 'impact angle', I used here the hard sphere model which obviously would only be an approximation for charged particles (strictly speaking the Rutherford scattering formula would have to be used for this). Apart from this, the solution below is a completely general and exact description of a 3D collision event (and in any case it provides exact conservation of momentum and energy).*
The collision in three dimensions can be treated analogously to the

collision in two dimensions. However, because of the additional dimension there are now two angles required to specify the velocity vector of ball 2 after the collision. It is convenient to choose these angles as polar coordinates, so that the x- and y- components of this vector can be expressed in terms of the z-component and these angles. With this, the conservation equations for momentum and energy can be written as:

(1) m_{1}^{.}v_{z,1} = m_{1}^{.}v_{z,1}' + m_{2}^{.}Δv_{z,2}'

(2) m_{1}^{.}v_{x,1} = m_{1}^{.}v_{x,1}' + m_{2}^{.}Δv_{z,2}'^{.}tan(θ)^{.}cos(φ)

(3) m_{1}^{.}v_{y,1} = m_{1}^{.}v_{x,1}' + m_{2}^{.}Δv_{z,2}'^{.}tan(θ)^{.}sin(φ)

(4) m_{1}/2^{.}(v_{x,1}^{2}+v_{y,1}^{2}+v_{z,1}^{2}) =
m_{1}/2^{.}(v_{x,1}'^{2}+v_{y,1}'^{2}+v_{z,1}'^{2}) +
m_{2}/2^{.}Δv_{z,2}'^{2}^{.}(1+tan^{2}(θ))

As for the 2D case, it has been assumed here that mass 2 is initially resting i.e. v

_{x,2}=0, v

_{y,2}=0, v

_{x,2}=0, and v

_{z,2}'=Δv

_{z,2}' (this does not affect the general validity of the final result as the assumption will be dropped again later by referring the velocities to mass 2 explicitly).

Solving now Eq.(1) for v

_{z,1}' , Eq.(2) for v

_{x,1}' and Eq.(3) for v

_{y,1}' yields

(5) v_{z,1}' = v_{z,1} - m_{2}/m_{1}^{.}Δv_{z,2}'

(6) v_{x,1}' = v_{x,1} - m_{2}/m_{1}^{.}Δv_{z,2}'^{.}tan(θ)^{.}cos(φ)

(7) v_{y,1}' = v_{y,1} - m_{2}/m_{1}^{.}Δv_{z,2}'^{.}tan(θ)^{.}sin(φ)

Inserting Eqs.(5), (6) and (7) into Eq.(4) results in a quadratic equation for Δv

_{z,2}' which (after some lengthy but straightforward algebraic manipulations) yields the solution:

**
(8)
Δv**_{z,2}' = 2[ v_{z,1} + tan(θ)^{.}( cos(φ)^{.} v_{x,1} + sin(φ)^{.} v_{y,1}) ] / [(1+tan^{2}(θ))^{.}(1+m_{2} /m_{1} )] .

With Eqs.(1)-(3) and (5)-(7) the velocity components after the collision are then

**
(9) v**_{z,2}' = Δv_{z,2}' ,

(10) v_{x,2}' = tan(θ)^{.}cos(φ)^{.}Δv_{z,2}' ,

(11) v_{y,2}' = tan(θ)^{.}sin(φ)^{.}Δv_{z,2}' ,

(12) v_{z,1}' = v_{z,1} - m_{2}/m_{1}^{.}Δv_{z,2}' ,

(13) v_{x,1}' = v_{x,1} - tan(θ)^{.}cos(φ)^{.} m_{2}/m_{1}^{.}Δv_{z,2}' ,

(14) v_{y,1}' = v_{y,1} - tan(θ)^{.}sin(φ)^{.} m_{2}/m_{1}^{.}Δv_{z,2}' .

Note that in contrast to the corresponding

2D equations, Eqs.(8)-(14) are still formulated in a coordinate system where the initial velocity of ball 2 is zero. This is because the angles θ and φ still have to be specified. The problem here is that the angles for the position and velocity vectors can not be simply added as in the 2D case as the vectors do in general not lie in a coordinate plane. One can therefore not characterise the angles by the corresponding arctan function but has to choose a different approach: the easiest way to define the scattering geometry for the 3D case is to choose the coordinate system such that the relative position vector coincides with the z-axis, i.e ball 1 is at the origin (moving with the relative velocity of both balls) and ball 2 rests on the z-axis at a point corresponding to the distance between both balls). This involves not only subtracting the velocity of ball 2 (as implicitly done already above in Eqs.(1)-(4) ) and subtracting the position vector of ball 1, but in addition a corresponding rotation of the coordinate system (in fact two successive rotations about the y and z axis). With these transformations, the required angles are then directly given by the polar coordinates of the velocity vector of ball 1. Applying the above equations and reversing the coordinate transformations gives then the velocities after the collision in the original coordinate system. The positions can then also be updated analogously to the 2D-case (for a better understanding of this, see the corresponding

Fortran or

C/C++ Code).

## Generalization to Inelastic Collisions

The generalization of the above formulae to inelastic collisions is ultimately simple: we just have to refer the velocity components (Eq.(9)-(14)) to the center of mass reference frame, apply the restitution coefficient to these, and add again the center of mass velocity to return to the lab frame, i.e. with

(15) v_{x,cm} = ( m_{1}^{.}v_{x,1} + m_{2}^{.}v_{x,2} )/( m_{1}+ m_{2})

(16) v_{y,cm} = ( m_{1}^{.}v_{y,1} + m_{2}^{.}v_{y,2} )/( m_{1}+ m_{2})

(17) v_{z,cm} = ( m_{1}^{.}v_{z,1} + m_{2}^{.}v_{z,2} )/( m_{1}+ m_{2})

we have

**
(18) v**_{x,1}'' = (v_{x,1}'-v_{x,cm})^{.}R + v_{x,cm}

(19) v_{y,1}'' = (v_{y,1}'-v_{y,cm})^{.}R + v_{y,cm}

(20) v_{z,1}'' = (v_{z,1}'-v_{z,cm})^{.}R + v_{z,cm}

(21) v_{x,2}'' = (v_{x,2}'-v_{x,cm})^{.}R + v_{x,cm}

(22) v_{y,2}'' = (v_{y,2}'-v_{y,cm})^{.}R + v_{y,cm}

(23) v_{z,2}'' = (v_{z,2}'-v_{z,cm})^{.}R + v_{z,cm}

where R is the restitution coefficient (=1 for a perfectly elastic collision; =0 for a perfectly inelastic collission (balls stick together after the collision)).