Classical Mechanics 4: Transforming Co-ordinate Systems.

by George Russell-Ross | Classical Mechanics

One of the fundamental identities in physics is Co-ordinate systems, which can be defined as: “A framework used to uniquely specify the position of points or objects in space, typically using a set of numbers called coordinates.” The most helpful co-ordinate systems (for this section) are:

Cartesian Co-ordinates.

Rene Descartes was a French mathematician in the 17th century who produced a method for determining a particles position. The classic x and y axis that primary school children are introduced to is the simplest form of Cartesian Co-ordinates.

Shown in the picture above is an example of 2D Cartesian space – two axises allow you to model the position of a particle on a plane. Because we obviously do not live in a 2D world, Descartes ensured it works equally well in three dimensions by adding a z-axis. In this system, any position in space can be represented by a set of three numbers in the form:

\[
\left( x_{n},y_{n},z_{n} \right)
\]

Where xn represents the distance along the x-axis etc.

Minkowski Space-Time.

Although we can’t fit it into our tiny human minds, Cartesian Co-ordinates work almost as well in higher dimensions (4+). One beautiful example of this is a system called Minkowski space-time, after Russian mathematician Hermann Minkowski, in which 3 dimensions of space and 1 of time are described.

By using traditional 3D Cartesian space (3-axises), the space dimensions are trivial but the time dimension cannot be graphed in a way that humans can interpret. The classic move is to cram the 3 space dimensions into just two (the x and y) and then the z-axis becomes the particle’s position in time.

Minkowski space-time is beautifully helpful at describing an objects position in space time – a fundamental part of relativity; as those readers who have visited either Relativity chapter will know. In co-ordinate form, where t represents position in time, it is usually:

\[
\left( x_{n},y_{n},z_{n},t_{n} \right)
\]

Earlier I said that the Cartesian system works “almost” as well in higher dimensions than it does in 3. To tell the truth, Minkowski’s work is the bastard offspring of Descartes’ and follows a slightly different set of rules. One of the main advantages of using Cartesian Co-ordinates is Euclidean geometry. For example, the distance between two points in 2D Cartesian is trivial: the distance from the point (x,y) to the origin t is just:

\[
\sqrt{x^2+y^2}
\]

Pythagorous’ wonders do not work in Minkowski space-time because the very concept of absolute distance loses meaning: what on earth is the distance between 1 hour and 1 metre??!! We instead have to use this formula for the distance from the origin to the point( x,y,z,t):

\[
\sqrt{ct^2 – (x^2 +y^2+z^2)}
\]

This differs in two, very important ways. First, it is obvious that the time factor has a negative coefficient. Unlike pythagorous in which all the values are squared and added, in this formula the time value is subtracted.

Second, a pesky c is present before the t. By multiplying time, which is in seconds, by the speed of light (metres/second) you get ct which has units metres. This is the same unit as x,y and z and so the 4 components of the system can talk to each other.

This neatly answers our earlier question of how to measure the distance between and hour and a metre? You can by first multiplying the hour by c!

Polar Co-ordinates.

Jacob Bernouilli, Isacc Newton and Grégoire de Saint-Vincent all independently worked on polar co-ordinates. In it’s simplest form, the idea is that any point on a 2D plane can be represented by an angle drawn anti-clockwise from the positive x-axis, θ, and then a distance to the point from the origin, r, in the form:

\[
\left( r_{n}, \theta_{n}\right)
\]

Polar also works in 3D. The description of the absolute distance to the origin, r, is unchanged in 3D but there are two ways to describe the angle.

Cylindrical Polar.

In a more rudimentary manner than spherical polar, cylindrical polar adds a z-co-ordinate representing height raised up from the x-axis.

By doing this, you don’t have to measure a second angle because the circle at the top of the cylinder is always on the same horizontal plane as the point you measure. To formalise the position of the particle in 3D space:

\[
\left( r_{n}, \theta_{n}, z_{n}\right)
\]

Spherical Polar.

When expressing 3D polar, it is more common to use the spherical system. In this system you need to measure two angles. θ is the same as in 2D polar: anticlockwise from x-axis. φ (phi) is the angle from the z-axis to the line connecting the point and particle as seen above- it is sometimes known as the azimuthal angle. In bracket form, spherical polar becomes:

\[
\left( r_{n}, \theta_{n}, \varphi_{n}\right)
\]

Simple Transforms.

Consider two dimensional planes. If you wanted to compare two particles’ positions on the plane but they were written in different co-ordinate systems, it is fairly easy to transform polar co-ordinates into cartesian ones and vice versa through simple trigonometry and therefore compare their positions. Lets say you have the point:

\[
\left( x,y \right)
\]

And you want to transform into a polar point. You can use Pythagorus to find r and simple trig to find θ:

\[
\left( \sqrt{x^2 + y^2}, \arctan\frac{y}{x} \right)
\]

Transforming 3D Cartesian into cylindrical polar is just as easy. The point:

\[
\left( x,y,z \right)
\]

Becomes:

\[
\left( \sqrt{x^2 + y^2}, \arctan\frac{y}{x}, z \right)
\]

Notice that the z c-ordinate is invariant under this transform: it does not change as the height of the cylinder (the property it represents) is such that the top circle is on the same horizontal plane as the point measured.

Transforming 3D Cartesian into spherical polar is quite a bit more tricky. The same point before transformed into spherical polar is:

\[
\left( \sqrt{x^2 + y^2 +z^2}, \arctan\frac{y}{x}, \arctan\frac{\sqrt{x^2 +y^2}}{z} \right)
\]

At first glance, this looks pretty dire, but it’s not. 3D Pythagorus gives us our r value. θ doesn’t change in spherical polar. However, the azimuthal angle is constructed from trigonometry and Pythagorus because the opposite side of the triangle is what we would have called r in 2D polar.

Lagrangian Transforms.

Einstein was the founding father of what he dubbed “General Covariance”, which suggests that physics should work equally well in all co-ordinate systems. In the context of Classical Mechanics, this means regardless of where you observe the event happening from, Newton’s Laws of motion should hold true. In the previous section we discussed how the Euler-Lagrange equation can be used to generate the equations of motion for a system. Here, we will show that you can generate these equations even when the co-ordinate system used has been transformed with two examples.

Example 1: Cartesian – Cartesian (Translation).

Imagine a space ship moving through deep space with some trajectory that lies on a one dimensional line. This means the spachesip can move either forward or backwards along this straight line – in 3D Cartesian, it is easiest to describe it as moving along the x-axis. The ship has no y or z co-ordinate.

Two people are watching it sail between the stars on it’s linear path: me and you. Im standing “stationary”* in space at a 90 degree angle to the line of the ship’s trajectory. Because I’m not accelerating relative to the ship, the beautiful law of F=MA holds true and if I measured the mass, force and acceleration of the ship, I would be totally satisfied.

*= relativity alert! I mean stationary compared to the ship on it’s line and you whizzing around me according to f.

You however, are moving with some function f relative to me. f(t) as a function has one important property. It is a function that describes only movement in the X-axis. Imagine yourself whizzing around in 3D space – around me and the ship’s line, you could even cross the line or occupy the same space as me. f(t) doesn’t care at all about your position in y or z though, all it does is measure your position on the x-axis. It is a one dimensional measure of position – exactly the same as the spaceship.

As the spaceship is only moving along the x-axis, we need only one co-ordinate to measure it’s position. I measure this co-ordinate as q. Suppose you want to measure the position of the spaceship relative to your origin. Because you are moving around, the origin of your reference frame is changing so fundamentally our co-ordinates will be different for the same position of the ship. You measure your co-ordinate as Q.

Lets also define a time variable t. For the time being, lets ignore relativity (heresy!) and imagine that we have some universal time that we can both agree on regardless of how f acts. With this, the transform between our co-ordinate systems is simple:

\[
\tag{1}
Q = q-f(t)
\]

This is q MINUS f(t) because when I describe your origin I would use:

\[
origin = x+f(t)
\]

So there is an offset factor of f(t), which is just your position relative to me. Using equation 1, I could constantly give you my value of q and then you could plug it in to find Q but this is both inefficient and unfun. In a much more exciting manner, we will use the Euler-Lagrange equation to ensure that you can independently produce equations of motion for the ship regardless of how I measure it.

For the E-L to work, we first need to define your Lagrangian. My value for the Lagrangian is simple because we know that F=MA works in my reference frame. If we take the mass of the ship to be m and define it to have some function for potential energy that depends on it’s position: V(q). My Lagrangian is just:

\[
L=\frac{1}{2}m\dot{q}^2-V(q)
\]

Because kinetic energy is 1/2 m v2 .Using equation 1, it’s possible to determine the Lagrangian in your co-ordinates through:

\[
L=\frac{1}{2}m(\dot{Q}+\dot{f})^2-V(Q)
\]

We’l expand the bracket into:

\[
(\dot{Q}+\dot{f})^2 = \dot{Q}^2 + 2\dot{Q}\dot{f} + \dot{f}^2
\]

And take the Euler-Lagrange equation to be:

\[
\frac{d }{dt}\frac{\partial L}{\partial \dot{Q}} =\frac{\partial L}{\partial Q}
\]

The reader may want to formulate this on their own but each of the three parts become:

\[
\frac{\partial L}{\partial \dot{Q}} = \frac{m}{2}\left( 2\dot{Q}+2\dot{f} \right)
\]
\[
\frac{d }{dt}\frac{\partial L}{\partial \dot{Q}} = m\ddot{q}+m\ddot{f}
\]
\[
\frac{\partial L}{\partial Q} = -\frac{d V}{dQ}
\]

So plugging into E-L gives:

\[
m\ddot{q}+m\ddot{f} = -\frac{d V}{dQ}
\]

And rearranging:

\[
m\ddot{q} = -\frac{d V}{dQ}-m\ddot{f}
\]

Example 2: Cartesian – Cartesian (Rotation).

In example 1, we did a transform between two Cartesian reference frames – one offset from the other. Let’s plunge into the much more complex and rewarding world of rotation transforms.

Picture again the spaceship moving through spaec. However, rather than be on it’s one dimensional straight line path, it now has two dimensions of mfreedom and can move in any direction to any positio on the plane (x,y).

Like before, I stand perpendicular to the ship’s plane of motion and am watching it travel along the line whereas you stand stationary at our origin – in this system we will both define the origin to be in the same place. Although you do not move in space, you do rotate in a clockwise direction. Imagine standing on top of a spinning table that is resting on the origin of the spaceship’s plane of motion.

This means that you perceive yourself to be not spinning and the plane as spinning around you. Test this now, stand up and spin on the spot whilst looking at an object – after a while you can trick yourself into thinking the object circles you. The same is true for the moving spaceship: your rotation means that you see the ship moving differently to me and so our co-ordinate systems do not quite match:

I’ll measure the ship’s position in the 2D plane to be (x,y) and you will measure it as (X,Y). Unlike the simple translation though, the connection between our two reference frames is trickier to calculate and almost impossible to reason without maths as it involves a transformation matrix:

Dizzy Matrices.

A matrix is nothing more than a collection of numbers in square brackets. With strange and wacky rules of multiplication matrixes allow you to model graph transformations. To multiply two matrices:

Important notes on matrix multiplication: Matrixes are defined by their size. A 2×2 has two columns and 2 rows and is a square matrix (like the ones below), whilst a 1×4 matrix has 1 row and 4 columns. Matrices have to be ‘conformable to the product’ which means that the number of columns in the first matrix must be equal to the number of rows in the second matrix.

When writing them in size form, this means the middle numbers must be the same. For example a 2×6 matrix can be multiplied by a 6×4 matrix and you would get a 2×4 matrix. A byproduct of this result is that matrix multiplication is not commutative which means that A x B will give a different result to B x A. As this is not true for multiplication of numbers, this result is difficult to remember but must be taken seriously as it changes how algebra works when working with Matrices.

\[
\begin{bmatrix}
a&b\\
c& d
\end{bmatrix}
\begin{bmatrix}
e &f \\
g & h
\end{bmatrix}
=
\begin{bmatrix}
(ae+bg) & (af+bh)\\
(ce+dg)&(cf+dh)
\end{bmatrix}
\]

As seen above, when multiplying two conformable matrices, you take the rows of the first matrix and multiply them with the corresponding columns in the second matrix before adding the results.

As a brief overview of matrix multiplication this serves, but the reader should research further into these fascinating mathematical tools because they crop up all the time in different areas of physics from General Relativity (where they model curved spacetime) to Thermodynamics (where they predict thermal flow).

However, in this section, we are primarily concerned with one matrix in particular. It is the classic rotation matrix that we will name Mr . As a general convention, matrices are represented by a single capitalised letter. Mr is:

\[
M_{r}=
\begin{bmatrix}
\cos(\theta)& \sin(\theta)\\
– \sin(\theta)& \cos(\theta)
\end{bmatrix}
\]

Unfortunately you have to take my word for this but Mr represents an clockwise rotation centred on the origin. An untrusting reader may want to prove it by multiplying Mr by the point (0,1). Take random values of θ and see how the point rotates around 2π radians – all angles in matrices are represented by radians not degrees!

Returning to the problem at hand, we don’t want Mr to be expressed in terms of an angle, θ, as it means it will be harder to use the Euler-Lagrange equations and ultimately derive the equations of motion. We instead need to express it in terms of time, t. To do this, we must define a new variable: ω (lowercase omega) is equivalent to 2πf where f is the frequency of the rotation or the number of rotations per second.

By it’s very definition, frequnecy is 1/T, if T is time period of rotation or the time taken for one complete rotation. Therefore:

\[
\omega = \frac{2\pi}{T}
\]

A clever way to express the angle moved in terms of the time elapsed is through ωt where t is time elapsed since the last full rotation. For example, if you spun with a time period of 3 seconds on the origin and we were measuring co-ordinates 5 seconds after the ship started, t would be 2. Conceptually, I think this is quite elegant as it describes the fraction of a full circle you have completed which is of course the very definition of an angle. We will rename Mr , Mt and write it in terms of ω and t:

\[
M_{t} =
\begin{bmatrix}
\cos(\omega t) & \sin(\omega t) \\
– \sin(\omega t)& \cos(\omega t)
\end{bmatrix}
\]

To compute how our reference frames are connected we need to mutiply Mt by the co-ordinates (x,y) because it wil convert my stationary co-ordinates into your rotating ones. To do this we use the rules of matrix mulptication:

\[
\begin{bmatrix}
\cos(\omega t) & \sin(\omega t) \\
-\sin(\omega t)& \cos(\omega t)
\end{bmatrix}
\begin{bmatrix}
X \\ Y
\end{bmatrix} =
\begin{bmatrix}
X \cos(\omega t)+ Y\sin(\omega t)\\ – X \sin(\omega t) + Y\cos(\omega t)
\end{bmatrix}
\]

Let’s compare the result of this with my co-ordinate system of just (x,y). From this we derive the scaling factor:

\[
\tag{1}
x = X\cos(\omega t) + Y\sin(\omega t)\\
\] \[
\tag{2}
y=-Xsin(\omega t)+Y\cos(\omega t)
\]

With this result, we can make huge leaps of progress by applying the same process as we did in example 1. We will imagine that in this case, the spaceship does not have any potential energy in order to mathematically simplify the next few steps. If we did include a V(x) value, it would work just as well but we would arrive at the exact same conclusion we did in example 1: the negative time-differential of V. As the particle moves in 2D, the Lagrangian then becomes:

\[
L_{m} = \frac{m}{2}(\dot{x}^2+\dot{y}^2)
\]

Lm is for my Lagrangian. To rewrite this in your co-ordinates, it is written in terms of x and y at the moment, we need to differentiate the scaling factor between our reference frames (equations 1 and 2):

\[
\frac{d x}{dt}=\dot{x}=\dot{X}\cos(\omega t)+ \dot{Y} \sin(\omega t) – \omega X \sin(\omega t) + \omega Y\cos(\omega t)\\
\frac{d y}{dt}=\dot{y}=-\dot{X}\sin(\omega t)+\dot{Y}\cos(\omega t) – \omega X\cos(\omega t) -\omega Y\sin(\omega t)
\]

With some good old fashioned number crunching, we can get this result from the above diferentials:

\[
\dot{x}^2+\dot{y}^2 = \dot{X}^2+\dot{Y}^2+\omega^2X^2+\omega^2Y^2+2\omega\dot{X}Y-2\omega\dot{Y}X
\]

Which allows us to define the Lagrangian in terms of your co-ordinate system, Ly :

\[
L_{y} = m[\frac{1}{2}(\dot{X}^2+\dot{Y}^2)+\frac{\omega^2}{2}(X^2+Y^2)+\omega(\dot{X}Y-\dot{Y}X)]
\]

In this case, the Euler-Lagrange equations provides hours of fun because we get to perform it twice. First with respect to X and then with Y. Starting with X and, like before, doing each component individually:

\[
\frac{\partial L}{\partial \dot{X}} = m(\dot{X}+\omega Y)
\]
\[
\frac{d }{dt}\frac{\partial L}{\partial \dot{X}} = m\ddot{X} +m \omega \dot{Y}
\]
\[
\frac{\partial L}{\partial X} = m\omega^2 X -m\omega\dot{Y}
\]

Computing this result was a nightmare for me. If the reader struggles like I did, my advice would be to look closely at the final term in Ly as it contains a sneaky value for X.

Combining these three results and then grouping like terms gives us:

\[
\tag{X – Equation of Motion}
m \ddot{X} = m \omega^2X- 2m \omega\dot{Y}
\]

We can do the exact same thing for Y:

\[
\frac{\partial L}{\partial \dot{Y}}=m\dot{Y}- m\omega X
\]
\[
\frac{d }{dt}\frac{\partial L}{\partial \dot{Y}}=m\ddot{Y}- m\omega \dot{X}
\]
\[
\frac{\partial L}{\partial Y}= m\omega^2Y + m\omega \dot{X}
\]

And combining/rearranging:

\[
\tag{Y – Equation of Motion}
m \ddot{Y} = m \omega^2Y+ 2m \omega\dot{X}
\]

Interpreting: Centrifugal and Coriolis Forces.

To recap, our equations of motion (under an F=MA simplification) are:

\[
Y_{F} = m \omega^2Y+ 2m \omega\dot{X}\\
X_{F} = m \omega^2X- 2m \omega\dot{Y}
\]

Examining the right side of these equations, the two components can be broken down into two different forces:

Centrifugal Forces.

You perceive the spaceship to spinning in a circle around you – even though to me it might be traveling in a straight line. One of the key ideas of circular motion is centripetal force which comes from the idea of centripetal acceleration.

If the ship is traveling in a circle, it’s velocity must be constantly changing even if it’s speed remains constant because velocity is a vector. As the ship circles, it’s tangental direction constantly changes and so does it’s velocity. A change in velocity is more commonly called acceleration and Newton showed the world that acceleration must be proportional to a force acting on the object. Therefore we can conclude that a force, known as the centripetal force acts on the ship.

This force, Fc , must act perpendicularly from the direction of the tangental velocity because it does not affect the ship’s speed which is constant and it acts in towards the centre of the circle.

Fc is a very real force – it does actually act on the ship IF THE SHIP WAS ACTUALLY SPINNING IN A CIRCLE. However, when the centripetal force is observed by you in your rotating frame, you perceive it to be the Centrifugal force which acts in the exact opposite direction to the Centripetal one: away from the centre of the circle.

The Centrifugal force is fictitious – it does not exist for stationary frames of reference like mine, but is only experienced by rotating ones like yours. It is the force that throws you to the side as a car goes around a corner or keeps you pinned to the wall in a Graviton ride.

I like to think of the Centrifugal force as an extension of inertia – it is the object’s tendency to want to keep moving and fly off in a tangential direction despite the Centripetal force pulling it in.

Related articles

Share This