Matrices, Scalars, Vectors and Vector Calculus 2

In the last post we took our first step in the mathematical introduction to classical Mechanics. In this post we’ll introduce a few physical concepts and some more mathematical tools.

— 1. Velocity and Acceleration —

The first thing to notice is that in Physics velocity is a vector concept. That means that in order for us to specify the velocity of an entity we must not only indicate its magnitude but also its direction.

First of we need to define a frame.

 Definition 1 A frame is a set of axis and a special point that is taken as the origin that allows one to describe the motion of a particle.

When to get to real Physics we’ll talk a little bit more of what is a particle in Physics but for now we’ll just leave it to intuition and/or background knowledge.

If we trace the position of a particle for a given period of time what we get is curve whose parameter is time and this curve has the name of trajectory.

If we want to keep track of the variations of the position of a particle when it is describing a given trajectory we can do that using the concept of displacement.

 Definition 2 Displacement is the difference between the final and initial positions of a particle. It is represented by the symbol ${\Delta\vec{r}}$ and is calculated in the following way: $\displaystyle \Delta\vec{r}=\vec{r}_f - \vec{r}_i \ \ \ \ \ (1)$

Now we all know that when a body describes a trajectory some parts of it may take a longer time and others a shorter time. To rigorously describe the notion of a particle we have to take into account its variability in the motion and we do this by introducing the concept of velocity.

 Definition 3 The average velocity of a particle is the rate of change in position of a particle for a given time interval. $\displaystyle \vec{v}=\frac{\Delta\vec{r}}{\Delta t}=\frac{\vec{r}_f - \vec{r}_i}{t_f-t_i} \ \ \ \ \ (2)$
 Definition 4 Sometimes we aren’t interested in the average velocity and we want to know what is the velocity of a particle in a given instant. Intuitively we know that if we measure the average velocity in a sufficiently small interval we won’t be making a very big error in determining the value of the velocity. If we let the time interval go to to zero what the have is the velocity of the particle for the instant considered. We can be rest assured that such a limit always exist since we are dealing with real bodies and their movements are always smooth. $\displaystyle \vec{v}=\lim_{t_f \rightarrow t_i}\frac{\Delta\vec{r}}{\Delta t}=\lim_{t_f \rightarrow t_i}\frac{\vec{r}_f - \vec{r}_i}{t_f-t_i}=\frac{d\vec{r}}{dt} \ \ \ \ \ (3)$

Another way to mathematically define the average velocity and velocity is to make a change of variable and define ${h=t_f-t_i}$ and calculate ${\vec{r}(t)}$, ${\vec{r}(t+h)}$ and ${\lim_{h \rightarrow 0}}$.

The other quantity of physical interest is average acceleration and it is the the rate of change in velocity of a particle in a given time interval.

The definitions are analogous to the ones of average velocity and we just have to change ${\vec{r}}$ to ${\vec{v}}$.

We’ll just state the equation for acceleration here:

$\displaystyle \vec{a}=\dfrac{d\vec{v}}{dt}=\frac{d^2\vec{r}}{dt^2}=\ddot{\vec{r}} \ \ \ \ \ (4)$

Where ${\ddot{\vec{r}}}$ is the so called Newton notation and indicates that we are differentiating ${\vec{r}}$ two times with respect to ${t}$. Obviously that one dot indicates that we are differentiating one time, and etc.

If we use Cartesian coordinates we know that it is ${\vec{r}=\sum_i x_i\vec{e}_i}$. Since our basis vectors are fixed it follows that ${\vec{v}=\dot{\vec{r}}=\sum_i \dot{x_i}\vec{e}_i}$ and that ${\vec{a}=\dot{\vec{v}}=\sum_i \ddot{x_i}\vec{e}_i}$.

— 2. Curvilinear Coordinates —

Sometimes to use Cartesian Coordinates in order to describe the motion of a particle is very awkward and one instead uses some other kind of curvilinear coordinates. The ones that are most used are, polar coordinates, cylindrical coordinates and spherical coordinates.

— 2.1. Polar Coordinates —

If we are dealing with two dimensional problems that have circular symmetry then the best way to deal with them is to use polar coordinates.

In this system of coordinates instead of the ${_1x}$ and ${x_2}$ coordinates, one uses a radial coordinate ${r}$ that expresses the distance that a point is from the origin and an angular coordinate ${\theta}$. This angular coordinate is measured from the ${x_1}$ axis to the position vector in counter clockwise direction.

The range of values for these two variables are ${0 and ${0\leq \theta \leq 2\pi}$. Notice that in ${r=0}$ ${\theta}$ isn’t defined and thus the origin can be thought to be a kind of singularity, but this is only so because we chose a particular set of coordinate and it isn’t intrinsic to the point itself.

As indicated in the picture the transformation of coordinates is:

• ${x_1=r \cos \theta}$
• ${x_2=r \sin \theta}$
• ${\theta=\arctan \left(\dfrac{x_2}{x_1}\right)}$

— 2.2. Cylindrical Coordinates —

Sometimes when dealing with three dimensional problems we have to deal with circular symmetry around a certain axis. If this happens the most apt way to deal with the said problem is to use cylindrical coordinates.

Again we’ll use a mix of radial distances and angular distances. First we’ll only think about the plane formed by the ${x_1}$ and ${x_2}$ axes. In this plane we’ll project the position vector of a given point. The angle between ${x_1}$ and this projection is ${\theta}$. The other two coordinates are ${r}$ which is the distance between the point in question and the origin, and ${x_3}$ (or ${z}$).

The range of values for these three coordinates are ${0 < r < \infty}$, ${0\leq \theta \leq 2\pi}$ and ${-\infty < z < \infty}$,

As indicated in the pictures the transformation of coordinates is:

• ${x_1=r \cos \theta}$
• ${x_2=r \sin \theta}$
• ${x_3=z}$

— 2.3. Spherical Coordinates —

The last kind of curvilinear coordinates that we’ll look at are spherical coordinates. This kind of coordinates are extremely useful when a problem has spherical symmetry.

This time we’ll have one radial coordinate and two angular coordinate. Like we did for cylindrical coordinates first we’ll project the position vector into the ${x_1}$, ${x_2}$ plane and define ${\phi}$ to be the angle between ${x_1}$ and the projection of the position vector. ${r}$ is the distance between the origin and the point in question. The second angular coordinate is ${\theta}$ and it is measured between ${x_3}$ and the position vector.

As can be seen from the picture the change of variables from spherical coordinates to Cartesian coordinates is:

• ${x_1=r \sin \theta \cos \phi}$
• ${x_2=r \sin \theta \sin \phi}$
• ${x_3=r \cos \theta}$

The range of each coordinate is defined to be ${0 < r < \infty}$, ${0 \leq \phi \leq 2\phi}$ and ${0 \leq \theta \leq \pi}$.

— 3. Velocity and Acceleration in Curvilinear Coordinates —

Having defined the previous three systems of coordinates it is time for us to know how to write the velocity and acceleration of a particle in these systems of coordinates.

As we already saw for Cartesian coordinates one has the following relationships:

• ${ds^2=dx_1^2+dx_2^2+dx_3^2}$
• ${v^2=\dot{x}_1^2+\dot{x}_2^2+\dot{x}_3^2}$
• ${v=\dot{x}_1\vec{e}_1+\dot{x}_2\vec{e}_2+\dot{x}_3\vec{e}_3}$

Our task will be to see how these equations translate when we are dealing with polar, cylindrical and spherical coordinates.

— 3.1. Polar Coordinates —

Has stated previously when we are using curvilinear coordinates the basis vector change from point to point. Hence one has to use Leibniz rule when calculating derivatives.

If we have two points that are infinitely close to each other, ${P^1}$ and ${P^2}$ (the reason for using superscripts will be evident right away) the infinitesimal variation in ${\vec{e}_r}$ is ${d\vec{r}_r=\vec{e}_r^2-\vec{e}_r^1}$ and for the angular infinitesimal variation it is ${d\vec{e}_\theta=\vec{e}_\theta^2-\vec{e}_\theta^1}$

The previous relationships allows one to see that the infinitesimal variation for ${\vec{e}_r}$ is perpendicular to ${\vec{e}_r}$ and that the infinitesimal variation for ${\vec{e}_\theta}$ is perpendicular to ${\vec{e}_\theta}$. One can show this rigorously but I’ll only state the result that it is

• ${d\vec{e}_r=d\theta\vec{e}_\theta}$
• ${d\vec{e}_\theta=-d\theta\vec{e}_r}$

Hence

{\begin{aligned} \vec{v} &=\dfrac{d\vec{r}}{dt}\\ &=\dfrac{d}{dt}\left( r\vec{e}_r \right)\\ &= \dot{r}\vec{e}_r+r\dot{\vec{e}}_r\\ &= \dot{r}\vec{e}_r+r\dot{\theta}\vec{e}_\theta \end{aligned}}

Thus the velocity can be thought has having a radial component and an angular component. The radial component is ${\dot{r}}$ and is a measure for the variation of velocity in magnitude. The radial component is ${r\dot{\theta}}$ and it measures the rate of change in direction for the position vector.

The ${\dot{\theta}}$ term is so important and appears so many times that it deserves its own special name. It called the angular velocity, it is represented by the symbol ${\omega}$ and if one is interested in an vector representation it is ${\vec{v}=\vec{\omega}\times \vec{r}}$.

For the acceleration it is

{\begin{aligned} \vec{a} &= \dfrac{d}{dt}\left( \dot{r}\vec{e}_r+r\dot{\theta}\vec{e}_\theta \right)\\ &= (\ddot{r}-r\dot{\theta}^2)\vec{e}_r+(r\ddot{\theta}+2\dot{r}\dot{\theta})\vec{e}_\theta \end{aligned}}

Hence the radial component of the acceleration is ${\ddot{r}-r\dot{\theta}^2}$ and the angular component is ${r\ddot{\theta}+2\dot{r}\dot{\theta}}$.

— 3.2. Cylindrical Coordinates —

For cylindrical coordinates the infinitesimal line element is ${ds^2=dr^2+r^2d\theta^2+dz^2}$. Hence one can show that it is

• ${v^2=\dot{r}^2+r^2\dot{\theta}^2+\dot{z}^2}$
• ${\vec{v}=\dot{r}\vec{e}_r+r\dot{\theta}\vec{e}_\theta+\dot{z}\vec{e}_z}$

— 3.3. Spherical Coordinates —

For spherical coordinates the infinitesimal line element is ${ds^2=dr^2+r^2d\theta^2+r^2\sin ^2 \theta d\phi ^2}$. And for the velocity it is

• ${v^2=\dot{r}^2+r^2\dot{\theta}^2+r^2 \sin ^2 \theta \dot{\phi}^2}$
• ${\vec{v}=\dot{r}\vec{e}_r+r\dot{\theta}\vec{e}_\theta+r\sin \theta \dot{\phi}\vec{e}_\phi}$

— 4. Vector Calculus —

In this part of our post we’ll take a very brief look at some concepts of vector calculus that are useful to Physics.

— 4.1. Gradient, Divergence and Curl —

If one has ${\varphi=\varphi(x_1,x_2,x_3)}$ a scalar function, continuous and differentiable, it is by definition ${\varphi'(x_1',x_2',x_3')=\varphi(x_1,x_2,x_3)}$. From this it follows

$\displaystyle \frac{\partial \varphi'}{\partial x_i'}=\sum_j \frac{\partial \varphi}{\partial x_j }\frac{x_j}{x_i'}$

The inverse coordinate transformation is ${x_j= \displaystyle \sum _k\lambda_{kj}x'_k}$. If we calculate the derivative of ${x_j}$ with respect to ${x_i'}$ it is

{\begin{aligned} \dfrac{\partial x_j}{\partial x_i'} &= \dfrac{\partial}{\partial x'_i}\left( \displaystyle \sum _k\lambda_{kj}x'_k \right)\\ &= \displaystyle \sum _k\lambda_{kj}\dfrac{\partial x'_k}{\partial x_i'}\\ &= \displaystyle \sum _k\lambda_{kj}\delta_{ik}\\ &=\lambda_{ij} \end{aligned}}

Hence it is ${\displaystyle \frac{\partial \varphi'}{\partial x_i'}=\sum_j \lambda_{ij}\frac{\partial \varphi}{\partial x_j }}$. From what we’ve seen in the last post this means that the function ${\dfrac{\partial \varphi}{\partial x_j}}$ is the j-th component of a vector.

If we introduce the operator ${\nabla}$ (sometimes called del) whose definition is

$\displaystyle \nabla= \left( \frac{\partial}{\partial x_1},\frac{\partial}{\partial x_2}, \frac{\partial}{\partial x_3} \right)= \sum_i \vec{e}_i \frac{\partial}{\partial x_i}$

we can define the gradient of a scalar function, ${\varphi}$ to be ${\nabla\varphi=\left( \dfrac{\partial \varphi}{\partial x_1},\dfrac{\partial \varphi}{\partial x_2}, \dfrac{\partial \varphi}{\partial x_3} \right)}$.

The divergence of a vector field, ${\vec{A}}$, is a scalar and is defined to be:

$\displaystyle \nabla\cdot\vec{A}$

If the divergence of vector field is positive at a given point that means that in that point a source of the field is present. If the divergence of the field is negative that means that a sink of the field is present.

Another vector entity that one can define with the del operator is the curl of a vector field. The curl is a vector entity too and its definition is:

$\displaystyle \nabla \times \vec{A}=\sum_{i,j,k}\varepsilon _{ijk}\vec{e}_i\nabla _j A_k$

The last operator that we’ll define in this section is the Laplacian. This operator is the result of applying the del operator two times and it is

$\displaystyle \nabla\cdot\nabla=\sum_i \frac{\partial}{\partial x_i}\frac{\partial}{\partial x_i}=\sum_i \frac{\partial ^2}{\partial x^2_i}=\nabla ^2$