The equations of motion in curvilinear coordinates, tensor notation and Coriolis force

The formulation of the equations of motion of a particle is simple in Cartesian coordinates using vector notation. However, depending on the problem, for example when describing the motion of a particle as seen from a non-inertial system of references (e.g. a rotating planet, like earth), there is advantage in using curvilinear coordinates and also tensor notation. When the particle's movement is observed from such a rotating referential, we also see "acceleration" that is not due to any force but to the fact that the referential itself is accelerated. The material below discusses and formulates these topics, and derives the expression for the Coriolis and centripetal force in cylindrical coordinates as seen from a rotating system of references.
The computation below is reproducible in Maple 2020 using the Maplesoft Physics Updates v.681 or newer.
Vector notation
Generally speaking the equations of motion of a particle are easy to formulate: the position vector is a function of time, the velocity is its first derivative and the acceleration is its second derivative. For instance, in Cartesian coordinates
> |

|
> |

|

|
(1) |
> |

|

|
(2) |
> |

|

|
(3) |
Newton's 2nd law, that in an inertial system of references when there is force there is acceleration and viceversa, is then given by
> |

|

|
(4) |
where represents the total force acting on the particle. This vectorial equation represents three second order differential equations which, for given initial conditions, can be integrated to arrive at a closed form expression for as a function of .
Tensor notation
In Cartesian coordinates, the tensorial form of the equations (4) is also straightforward. In a flat spacetime - Galilean system of references - the three space coordinates form a 3D tensor, and so does its first derivate and the second one. Set the spacetime to be 3-dimensional and Euclidean and use lowercaselatin indices for the corresponding tensors
> |

|

|
(5) |
The position, velocity and acceleration vectors are expressed in tensor notation as done in (1), (2) and (3)
> |
](/view.aspx?sf=212525_post/fc45a25e0f8b17e8e6d20c5e07077d2c.gif)
|
](/view.aspx?sf=212525_post/37b77853d17b4054ef6d7ac2af203dc7.gif)
|
(6) |
> |
, t)](/view.aspx?sf=212525_post/cecff24e15a6eeccc88965d14752e7eb.gif)
|
)(t), t)](/view.aspx?sf=212525_post/fe0443d29537a571dd7159268ca5735c.gif)
|
(7) |
> |
![diff(Physics[Vectors]:-diff((Physics[SpaceTimeVector][j](X))(t), t), t)](/view.aspx?sf=212525_post/a9846f9eeb5ef76b787ee12cb6af4d2c.gif)
|
)(t), t), t)](/view.aspx?sf=212525_post/678222486808c85995c377c9eaaaf393.gif)
|
(8) |
Setting a tensor to represent the three Cartesian components of the force
> |
![Define(F[j] = [F__x(t), F__y(t), F__z(t)])](/view.aspx?sf=212525_post/1feaf0a575a87ee8cc80a724272d39f9.gif)
|
![{Physics:-Dgamma[a], F[j], Physics:-Psigma[a], Physics:-d_[a], Physics:-g_[a, b], Physics:-LeviCivita[a, b, c], Physics:-SpaceTimeVector[a](X)}](/view.aspx?sf=212525_post/211b10e4d38085d597430cd04c72dc65.gif)
|
(9) |
Newton's 2nd law (4), now expressed in tensorial notation, is given by
> |
![F[j] = m*Physics[Vectors]:-diff(Physics[Vectors]:-diff((Physics[SpaceTimeVector][j](X))(t), t), t)](/view.aspx?sf=212525_post/8a9a0ba823e972f54ee52c2aba8eeeea.gif)
|
![F[j] = m*(diff(diff((Physics:-SpaceTimeVector[j](X))(t), t), t))](/view.aspx?sf=212525_post/d52c8e6cb5462d060d6835c263af31eb.gif)
|
(10) |
The three differential equations behind this tensorial form of (4) are as expected
> |
![TensorArray(F[j] = m*(diff(diff((Physics[SpaceTimeVector][j](X))(t), t), t)), output = setofequations)](/view.aspx?sf=212525_post/ca74b67fa558fb11b4e3339764032192.gif)
|

|
(11) |
Things are straightforward in Cartesian coordinates because the components of the line element are exactly the components of the tensor ![d(X[j])](/view.aspx?sf=212525_post/615216bb3452db9e652fe4e9f3cc91ac.gif)
> |
![TensorArray(d_(X[j]))](/view.aspx?sf=212525_post/71585d22f380c74ead0d9d541af70d52.gif)
|

|
(12) |
and so, the form factors (see related Mapleprimes post) are all equal to 1.
In the case of no external forces, and the equations of motion, whose solution are the trajectory, can be formulated as the path of minimal length between two points, a geodesic. In the case under consideration, because the spacetime is flat (Galilean) those two points lie on a plane, we are talking about Euclidean geometry, that information is encoded in the metric (the 3x3 identity matrix (5)), and the geodesic is a straight line. The differential equations of this geodesic are thus the equations of motion (11) with , and can be computed using Geodesics
> |

|
![[diff(diff(z(t), t), t) = 0, diff(diff(y(t), t), t) = 0, diff(diff(x(t), t), t) = 0]](/view.aspx?sf=212525_post/47f70b1a4460fb1ea70473cd1cadacec.gif)
|
(13) |
Curvilinear coordinates
Vector notation
The form of these equations in the case of curvilinear coordinates, for example in cylindrical or spherical variables, is obtained performing a change of coordinates.
> |
)](/view.aspx?sf=212525_post/3e263c1f74daafa482893a880465e549.gif)
|
![[x = rho*cos(phi), y = rho*sin(phi), z = z]](/view.aspx?sf=212525_post/bc111c0158c230051f79172072b28972.gif)
|
(14) |
This change keeps the z axis unchanged, so the corresponding unit vector remains unchanged.
Changing the basis and coordinates used to represent the position vector , it becomes
> |

|

|
(15) |
where since in (1) the coordinates ( ) depend on t, in (15), not just and but also the unit vector depends on t. The velocity is computed as usual, differentiating
> |

|

|
(16) |
The second term is due to the dependency of on the coordinate together with the chain rule . The dependency of curvilinear unit vectors on the coordinates is automatically taken into account when differentiating due to the Setup setting geometricdifferentiation = true.
For the acceleration,
> |

|

|
(17) |
where the term involving comes from differentiating in (16) taking into account the dependency of on the coordinate This result can also be obtained by directly changing variables in the acceleration , in equation (3)
> |

|

|
(18) |
Newton's 2nd law becomes
> |

|

|
(19) |
In the absence of external forces, equating to 0 the vector components (coefficients of the unit vectors) of the acceleration we get the system of differential equations in cylindrical coordinates whose solution is the trajectory of the particle expressed in the (
> |
, t), t) = _rho(t)*(diff(diff(rho(t), t), t)-rho(t)*(diff(phi(t), t))^2)+_phi(t)*(2*(diff(rho(t), t))*(diff(phi(t), t))+rho(t)*(diff(diff(phi(t), t), t)))+(diff(diff(z(t), t), t))*_k), [`#mover(mi("ρ",fontstyle = "normal"),mo("∧"))`(t), `#mover(mi("φ",fontstyle = "normal"),mo("∧"))`(t), `#mover(mi("k"),mo("∧"))`])}, 0)](/view.aspx?sf=212525_post/86d077d9afb4837d35ecaa82e99ced35.gif)
|

|
(20) |
> |

|

|
(21) |
In this formulation (21) with , although , no acceleration in the direction, is naturally expected, the same cannot be said about the other two equations for and . Those two equations are discussed below under Coriolis and Centripetal forces. The key observation at this point, however, is that the right-hand sides of both unexpected equations involve , rotation around the z axis.
Tensor notation
The same equations (19) and (21) result when using tensor notation. For that purpose, one can transform the position, velocity and acceleration tensors (6), (7), (8), but since they are expressed as functions of a parameter (the time), it is simpler to transform only the underlying metric using TransformCoordinates. That has the advantage that all the geometrical subtleties of curvilinear coordinates, like scale factors and dependency of unit vectors on curvilinear coordinates, get automatically, very succinctly, encoded in the metric:
> |
![TransformCoordinates(tr, g_[j, k], [rho, phi, z], setmetric)](/view.aspx?sf=212525_post/d9c2c23cef526c03baf627daf3da5db5.gif)
|

|
(22) |
The computation of geodesics assumes that the coordinates ( ) depend on a parameter. That parameter is passed as the first argument to Geodesics
> |

|
![[diff(diff(rho(t), t), t) = rho(t)*(diff(phi(t), t))^2, diff(diff(phi(t), t), t) = -2*(diff(rho(t), t))*(diff(phi(t), t))/rho(t), diff(diff(z(t), t), t) = 0]](/view.aspx?sf=212525_post/ab2f593260682032e4f7ad49a762dd36.gif)
|
(23) |
These equations of motion (23) are the same as the equations (21) computed using standard vector notation, differentiating and taking into account the dependency of curvilinear unit vectors on the curvilinear coordinates in (16) and (17). One of the interesting features of computing with tensors is, as said, that all those geometrical algebraic subtleties of curvilinear coordinates are automatically encoded in the metric (22).
To understand how are the geodesic equations computed in one go in (23), one can perform the calculation in steps:
1. |
Make be a function of directly in the metric
|
2. |
Compute - not the final form of the equations (23) - but the intermediate form expressing the geodesic equation using tensor notation, in terms of Christoffel symbols
|
3. |
Compute the components of that tensorial equation for the geodesic (using TensorArray)
|
For step 1, we have
> |
![subs(rho = rho(t), g_[])](/view.aspx?sf=212525_post/fe646807a08bd990c412efd419a7abb7.gif)
|
![Physics:-g_[a, b] = Matrix(%id = 18446744078354237910)](/view.aspx?sf=212525_post/0b0ef9f705be95b205ae444aa55f281d.gif)
|
(24) |
Set this metric where 
> |

|

|
(25) |
Step 2, the geodesic equations in tensor notation with the coordinates depending on the time t are computed passing the optional argument tensornotation
> |

|
)(t), t), t)+Physics:-Christoffel[`~a`, b, c]*(diff((Physics:-SpaceTimeVector[`~b`](X))(t), t))*(diff((Physics:-SpaceTimeVector[`~c`](X))(t), t)) = 0](/view.aspx?sf=212525_post/748b6a145f6025e043a4f97a7393411b.gif)
|
(26) |
Step 3: compute the components of this tensorial equation
> |
![TensorArray(diff(diff((Physics[SpaceTimeVector][`~a`](X))(t), t), t)+Physics[Christoffel][`~a`, b, c]*(diff((Physics[SpaceTimeVector][`~b`](X))(t), t))*(diff((Physics[SpaceTimeVector][`~c`](X))(t), t)) = 0, output = listofequations)](/view.aspx?sf=212525_post/6a261b3d47b74e62da9815e4768b425a.gif)
|
![[diff(diff(rho(t), t), t)-rho(t)*(diff(phi(t), t))^2 = 0, diff(diff(phi(t), t), t)+2*(diff(rho(t), t))*(diff(phi(t), t))/rho(t) = 0, diff(diff(z(t), t), t) = 0]](/view.aspx?sf=212525_post/0a86a3014d2a7b2d181c4b4d60269911.gif)
|
(27) |
These are the same equations (23).
Having the tensorial equation (26) is also useful to formulate the equations of motion in tensorial form in the presence of force. For that purpose, redefine the contravariant tensor to represent the force in the cylindrical basis
> |
![Define(F[`~j`] = [`F__ρ`(t), `F__φ`(t), F__z(t)])](/view.aspx?sf=212525_post/25f8dbd6a4cb5f1109278db6b8e26285.gif)
|
![{Physics:-D_[a], Physics:-Dgamma[a], F[j], Physics:-Psigma[a], Physics:-Ricci[a, b], Physics:-Riemann[a, b, c, d], Physics:-Weyl[a, b, c, d], Physics:-d_[a], Physics:-g_[a, b], Physics:-Christoffel[a, b, c], Physics:-Einstein[a, b], Physics:-LeviCivita[a, b, c], Physics:-SpaceTimeVector[a](X)}](/view.aspx?sf=212525_post/0dfdb004bf9bd1638f70523436fab957.gif)
|
(28) |
Newton's 2nd law (19)
> |

|

|
(29) |
now using tensorial notation, becomes
> |
![F[`~a`] = m*lhs(diff(diff((Physics[SpaceTimeVector][`~a`](X))(t), t), t)+Physics[Christoffel][`~a`, b, c]*(diff((Physics[SpaceTimeVector][`~b`](X))(t), t))*(diff((Physics[SpaceTimeVector][`~c`](X))(t), t)) = 0)](/view.aspx?sf=212525_post/61b33d040ef893a5e75613df6bfa1be9.gif)
|
![F[`~a`] = m*(diff(diff((Physics:-SpaceTimeVector[`~a`](X))(t), t), t)+Physics:-Christoffel[`~a`, b, c]*(diff((Physics:-SpaceTimeVector[`~b`](X))(t), t))*(diff((Physics:-SpaceTimeVector[`~c`](X))(t), t)))](/view.aspx?sf=212525_post/37cf90e5ac2a5a51a57b5b47c0b5b663.gif)
|
(30) |
> |
![TensorArray(F[`~a`] = m*(diff(diff((Physics[SpaceTimeVector][`~a`](X))(t), t), t)+Physics[Christoffel][`~a`, b, c]*(diff((Physics[SpaceTimeVector][`~b`](X))(t), t))*(diff((Physics[SpaceTimeVector][`~c`](X))(t), t))))](/view.aspx?sf=212525_post/6e7164a02d920fdbda88bb911fbe7da5.gif)
|

|
(31) |
where we recall (see related Mapleprimes post) that to obtain the vector components entering from these tensor components we need to multiply the latter by the scale factors ( ), the component of in the direction of is given by .
Coriolis force and centripetal force
After changing variables the position vector of the particle got expressed in (15) as

A distinction needs to be made here, according to whether the unit vector depends or not on the time , the former being the general case. When is a constant, the value of the coordinate - the angle between and the x axis - does not change, there is no rotation around the z axis. On the other hand, when , the orientation of and so the coordinate changes with time, so either the force acting on the particle has a component in the direction that produces rotation around the z axis, or the system of references - itself - is rotating around the z axis.
Likewise, the expression (15) can represent the position vector measured in the original Galilean (inertial) system of references, where a force is producing rotation around the z axis, or it can represent the position of the particle measured in a rotating, non-inertial system references. Hence the transformation (14) can also be interpreted in two different ways, as representing a choice of different functions (generalized coordinates) to represent the position of the particle in the original inertial system of references, or it can represent a transformation from an inertial to another rotating, non-inertial, system of references.
This equivalence between the trajectory of a particle subject to an external force, as observed in an inertial system of references, and the same trajectory observed from a non-inertial accelerated system of references where there is no external force, actually at the root of the formulation of general relativity, is also well known in classical mechanics. The (apparent) forces observed in the rotating non-inertial system of references, due only to its acceleration, are called Coriolis and centripetal forces.
To see that the equations

that appeared in (27) when in the inertial system of references , are related to the Coriolis and centripetal forces in the non-inertial referencial, following [1] introduce a vector representing the rotation of that referencial around the z axis (when, in the inertial system of references, the non-inertial system rotates clockwise, in the non-inertial system increases in value in the anti-clockwise direction)
> |

|

|
(32) |
According to [1], (39.7), the acceleration in the inertial system is expressed in terms of the quantities in the non-inertial rotating system by the sum of the following three vectorial terms.
First, the components of the acceleration measured in the non-inertial system are given by the second derivatives of the coordinates ( ) multiplied by the scale factors, which in this case are given by ( ) (see this post in Mapleprimes)
> |

|

|
(33) |
Second, the Coriolis force divided by the mass, by definition given by
> |

|

|
(34) |
Third the centripetal force divided by the mass, defined by
> |

|

|
(35) |
Adding these three terms,
> |
![(a_(t) = (diff(diff(rho(t), t), t))*_rho(t)+rho(t)*(diff(diff(phi(t), t), t))*_phi(t)+(diff(diff(z(t), t), t))*_k)+(2*Physics[Vectors][`&x`](diff(r_(t), t), omega_) = -2*rho(t)*(diff(phi(t), t))^2*_rho(t)+2*(diff(rho(t), t))*(diff(phi(t), t))*_phi(t))+(Physics[Vectors][`&x`](omega_, Physics[Vectors][`&x`](r_(t), omega_)) = rho(t)*(diff(phi(t), t))^2*_rho(t))](/view.aspx?sf=212525_post/958ab6be933bcba40f830a45c89e1b06.gif)
|

|
(36) |
So that
> |
![diff(`#mover(mi("r"),mo("→"))`(t), t, t) = lhs(a_(t)+2*Physics[Vectors][`&x`](diff(r_(t), t), omega_)+Physics[Vectors][`&x`](omega_, Physics[Vectors][`&x`](r_(t), omega_)) = _rho(t)*(diff(diff(rho(t), t), t)-(diff(phi(t), t))^2*rho(t))+_phi(t)*(2*(diff(phi(t), t))*(diff(rho(t), t))+rho(t)*(diff(diff(phi(t), t), t)))+(diff(diff(z(t), t), t))*_k)](/view.aspx?sf=212525_post/527e97e7da2e6edfceb4d6dc6fb899fd.gif)
|

|
(37) |
and where the right-hand side of (36) is, actually, the result computed lines above in (18)
> |

|

|
(38) |
> |
![rhs(a_(t)+2*Physics[Vectors][`&x`](diff(r_(t), t), omega_)+Physics[Vectors][`&x`](omega_, Physics[Vectors][`&x`](r_(t), omega_)) = _rho(t)*(diff(diff(rho(t), t), t)-(diff(phi(t), t))^2*rho(t))+_phi(t)*(2*(diff(phi(t), t))*(diff(rho(t), t))+rho(t)*(diff(diff(phi(t), t), t)))+(diff(diff(z(t), t), t))*_k)-rhs(diff(diff(r_(t), t), t) = _rho(t)*(diff(diff(rho(t), t), t)-(diff(phi(t), t))^2*rho(t))+_phi(t)*(2*(diff(phi(t), t))*(diff(rho(t), t))+rho(t)*(diff(diff(phi(t), t), t)))+(diff(diff(z(t), t), t))*_k)](/view.aspx?sf=212525_post/0577e55ad7db788e51ee3ae53f1d0655.gif)
|

|
(39) |
From (37), in the absence of external forces and so the acceleration measured in the rotating system is given by the sum of the Coriolis and centripetal accelerations
> |
![isolate(rhs(diff(diff(r_(t), t), t) = a_(t)+2*Physics[Vectors][`&x`](diff(r_(t), t), omega_)+Physics[Vectors][`&x`](omega_, Physics[Vectors][`&x`](r_(t), omega_))), `#mover(mi("a"),mo("→"))`(t))](/view.aspx?sf=212525_post/98db599377a771832a72ceaac67c24ab.gif)
|

|
(40) |
In other words: in the absence of external forces, the acceleration of a particle observed in a rotating (non-inertial) system of references is not zero.
Expressing this equation (40) in terms of ( ) we get
> |
![subs(a_(t) = (diff(diff(rho(t), t), t))*_rho(t)+rho(t)*(diff(diff(phi(t), t), t))*_phi(t)+(diff(diff(z(t), t), t))*_k, -(2*Physics[Vectors][`&x`](diff(r_(t), t), omega_) = -2*rho(t)*(diff(phi(t), t))^2*_rho(t)+2*(diff(rho(t), t))*(diff(phi(t), t))*_phi(t)), Physics[Vectors][`&x`](omega_, Physics[Vectors][`&x`](r_(t), omega_)) = rho(t)*(diff(phi(t), t))^2*_rho(t), a_(t) = -2*Physics[Vectors][`&x`](diff(r_(t), t), omega_)-Physics[Vectors][`&x`](omega_, Physics[Vectors][`&x`](r_(t), omega_)))](/view.aspx?sf=212525_post/48ffa1ea6a1470f35925ce66798b0999.gif)
|

|
(41) |
resulting in the three equations
> |

|

|
(42) |
> |

|

|
(43) |
> |

|

|
(44) |
which are the equations returned by Geodesics in (23)
> |
![[diff(diff(rho(t), t), t) = rho(t)*(diff(phi(t), t))^2, diff(diff(phi(t), t), t) = -2*(diff(rho(t), t))*(diff(phi(t), t))/rho(t), diff(diff(z(t), t), t) = 0]](/view.aspx?sf=212525_post/7ff33cbd38d4d8eaf07fafc246309e99.gif)
|
![[diff(diff(rho(t), t), t) = rho(t)*(diff(phi(t), t))^2, diff(diff(phi(t), t), t) = -2*(diff(rho(t), t))*(diff(phi(t), t))/rho(t), diff(diff(z(t), t), t) = 0]](/view.aspx?sf=212525_post/0dfc5b6041c56a82104c66e387cde0b2.gif)
|
(45) |
> |

|
References
[1] L.D. Landau, E.M. Lifchitz, Mechanics, Course of Theoretical Physics, Volume 1, third edition, Elsevier.
|