When one is dealing with complex numbers, it is many a times useful to think of them as transformations. The problem at hand is to find the nth roots of unity. i.e
Multiplication as a Transformation
Multiplication in the complex plane is mere rotation and scaling. i.e
Now what does finding the n roots of unity mean?
If you start at 1 and perform n equal rotations( because multiplication is nothing but rotation + scaling ), you should again end up at 1.
We just need to find the complex numbers that do this.i.e
This implies that :
And therefore :
Take a circle, slice it into n equal parts and voila you have your n roots of unity.
Okay, but what does this imply ?
Multiplication by 1 is a rotation.
When you say that you are multiplying a positive real number(say 1) with 1 , we get a number(1) that is on the same positive real axis.
Multiplication by (-1) is a rotation.
When you multiply a positive real number (say 1) with -1, then we get a number (-1) that is on the negative real axis
The act of multiplying 1 by (-1) has resulted in a 180o transformation. And doing it again gets us back to 1.
Multiplication by is a rotation.
Similarly multiplying by i takes 1 from real axis to the imaginary axis, which is a 90o rotation.
This applies to -i as well.
That’s about it! – That’s what the nth roots of unity mean geometrically. Have a good one!
In this post, let’s derive a general solution for the Laplacian in Spherical Coordinates. In future posts, we shall look at the application of this equation in the context of Fluids and Quantum Mechanics.
The Laplacian in Spherical coordinates in its ultimate glory is written as follows:
To solve it we use the method of separation of variables.
Plugging in the value of into the Laplacian, we get that :
Dividing throughout by and multiplying throughout by , further simplifies into:
It can be observed that the first expression in the differential equation is merely a function of and the remaining a function of and only. Therefore, we equate the first expression to be and the second to be . The reason for choosing the peculiar value of is explained in another post.
The first expression in (1) the Euler-Cauchy equation in .
The general solution of this has been in discussed in a previous post and it can be written as:
The second expression in (1) takes the form as follows:
The following observation can be made similar to the previous analysis
The first expression in the above equation (2) is the Associated Legendre Differential equation.
The general solution to this differential equation can be given as:
The solution to the second term in the equation (2) is a trivial one:
Therefore the general solution to the Laplacian in Spherical coordinates is given by:
We now understand that Matrix multiplication is not commutative (Why?). What has this have to do anything with Quantum Mechanics ?
Behold the commutator operator:
where are operators that are acting on the wavefunction . This is equal to 0 if they commute and something else if they don’t.
One of the most important formulations in Quantum mechanics is the Heisenberg’s Uncertainty principle and it can be written as the commutation of the momentum operator (p) and the position operator (x):
If you think of p and x as some Linear transformations. (just for the sake of simplicity).
This means that measuring distance and then momentum is not the same thing as measuring momentum and then distance. Those two operators do not commute! You can sort of visualize them in the same way as in the post.
But in Quantum Mechanics, the matrices that are associated with and are infinite dimensional. ( The harmonic oscillator being the simple example to this )
One is commonly asked to prove in college as part of a linear algebra problem set that matrix multiplication is not commutative. i.e If A and B are two matrices then :
But without getting into the Algebra part of it, why should this even be true ? Let’s use linear transformations to get a feel for it.
If A and B are two Linear Transformations namely Rotation and Shear. Then it means that.
Is that true? Well, lets perform these linear operations on a unit square and find out:
You can clearly see that the resultant shape is not the same upon the two transformations. This means that the order of matrix multiplication matters a lot ! ( or matrix multiplication is not commutative.)
Basis vectors are best thought of in the context of roads.
Imagine you are in a city – X which has only roads that are perpendicular to one another.
You can reach any part of the city but the only constraint is that you need to move along these perpendicular roads to get there.
Now lets say you go to another city-Y which has a different structure of roads.
In this case as well you can get from one part of the city to any other, but you have to travel these ‘Sheared cubic’ pathways to get there.
Just like these roads determine how you move about in the city, Basis Vectors encode information on how you move about on a plane. What do I mean by that ?
The basis vector of City-X is given as:
This to be read as – ” If you would like to move in City-X you can only do so by taking 1 step in the x-direction or 1 step in the y-direction ”
The basis vector of City-Y is given as:
This to be read as – ” If you would like to move in City-Y you can only do so by taking 1 step in the x-direction or 1 step along the diagonal OB ”
By having the knowledge about the Basis Vectors of any city, you can travel to any destination by merely scaling these basis vectors.
As an example, lets say need to get to the point (3,2), then in City-X, you would take 2 steps in the x-direction and 3 steps in the y-direction
And similarly in City-Y, you would take 1 step along the x -direction and 2 steps along the diagonal OB.
Destination Arrived 😀
What is the inverse of the above matrix ? I would strongly suggest that you think about the above matrix and what its inverse would look like before you read through.
On the face of it, it is indeed startling to even think of an inverse of an infinite dimensional matrix. But the only reason why this matrix seems weird is because I have presented it out of context.
You see, the popular name of the matrix is the Differentiation Matrix and is commonly denoted as .
The differentiation matrix is a beautiful matrix and we will discuss all about it in some other post, but in the this post lets talk about its inverse. The inverse of the differentiation matrix is ( as you might have guessed ) is the Integration Matrix ()
And it can be easily verified that , where is the Identity matrix.
Lesson learned: Infinite dimensional matrices can have inverses. 😀