online advertising

Thursday, May 7, 2015

Exploring Quantum Physics - Basic commutators

The goal of this post is to show the basic commutator relationships. Recall that the position operator is simply multiplying with the position, and the momentum operator is $ -i\hbar\frac{\partial}{\partial x} $. Now we work in 3 dimensional space.

Also recall $ [\hat{A}, \hat{B}] =  \hat{A}\hat{B} - \hat{B}\hat{A} $.

Now we wanted to know the commutation relationship between position and momentum operator, we have

$ \begin{eqnarray*} [\hat{x_m}, \hat{p_n}] &=& \hat{x_m}\hat{p_n} - \hat{p_n}\hat{x_m} \\ [\hat{x_m}, \hat{p_n}] \psi &=& x_m(-i\hbar)\frac{\partial}{\partial x_n}\psi - (-i\hbar)\frac{\partial}{\partial x_n}x_m\psi \\ &=& (-i\hbar)(x_m\frac{\partial}{\partial x_n}\psi - \frac{\partial}{\partial x_n}x_m\psi) \\ \end{eqnarray*} $

In this form, it is obvious that if $ m \ne n $, then we can simply pull $ x_m $ out from the partial derivative at the latter term and the whole thing cancel out. So let focus on the case when $ m = n $, the expression becomes:

$ \begin{eqnarray*} [\hat{x_m}, \hat{p_m}] \psi &=& (-i\hbar)(x_m\frac{\partial}{\partial x_m}\psi - \frac{\partial}{\partial x_m}x_m\psi) \\ &=& (-i\hbar)(x_m\frac{\partial}{\partial x_m}\psi - (\psi + x_m\frac{\partial}{\partial x_m}\psi)) \\ &=& (-i\hbar)(-\psi) \\ [\hat{x_m}, \hat{p_m}] &=& i\hbar \\ \end{eqnarray*} $

Exploring Quantum Physics - Week 6 Question 1

Question:

What is $ \epsilon_{abc}\epsilon_{cde} $.

Solution:

The contraction identity we just shown in the previous post is applied.

$ \epsilon_{abc}\epsilon_{cde} = \epsilon_{cab}\epsilon_{cde} = \delta_{ad}\delta_{be}-\delta_{ae}\delta_{bd}$.

Exploring Quantum Physics - The contraction identity

The proof of that identity is a straightforward verification, so here is the code that does the job for us.

Note in particular that the Einstein summation convention in action in the left hand side as $ i $ is a repeated index.

namespace ManagedWorkspace
{
    using System;
    using System.Collections.Generic;
    using System.Linq;

    internal static class Program
    {
        static int levi(int i, int j, int k)
        {
            int c = i * 100 + j * 10 + k;
            switch (c)
            {
                case 123: return 1;
                case 231: return 1;
                case 312: return 1;
                case 132: return -1;
                case 213: return -1;
                case 321: return -1;
            }
            return 0;
        }

        static int delta(int i, int j)
        {
            return i == j ? 1 : 0;
        }

        static void Main(string[] args)
        {
                for (int j = 1; j <= 3; j++)
                {
                    for (int k = 1; k <= 3; k++)
                    {
                        for (int s = 1; s <= 3; s++)
                        {
                            for (int t = 1; t <= 3; t++)
                            {
                                int lhs = 0;
                                for (int i = 1; i <= 3; i++)
                                {
                                    lhs += levi(i, j, k) * levi(i, s, t);
                                }
                                int rhs = delta(j, s) * delta(k, t) - delta(j, t) * delta(k, s);
                                if (lhs != rhs)
                                {
                                    Console.WriteLine("Error!");
                                }
                            }
                        }
                    }
                }
            }
        }
    }

Wednesday, May 6, 2015

Exploring Quantum Mechanics - even more about cross product.

Believe it or not, there are even more property in the cross product. This time our goal is the BAC-CAB identity

$ \vec{a} \times (\vec{b} \times \vec{c}) = \vec{b}(\vec{a} \cdot \vec{c}) - \vec{c}(\vec{a} \cdot \vec{b}) $.

To prove this, we need this result first, the so-called contraction identity.

$ \epsilon_{ijk}\epsilon_{ist} = \delta_{js}\delta_{kt} - \delta_{jt}\delta_{ks} $.

To be honest, I don't really understand how does one come up with the identity, but it is relatively easy to verify that it is correct, and under what condition (that $ i $ does not equal any of $ j, k, s, t $

With that, we express the right hand side as follow:

$ \begin{eqnarray*} \vec{a} \times (\vec{b} \times \vec{c}) &=& \vec{a} \times (\epsilon_{pqr}b_pc_qe_r) \\ &=& \epsilon_{srt}a_s\epsilon_{pqr}b_pc_qe_t \\ &=& \epsilon_{srt}\epsilon_{pqr}a_sb_pc_qe_t \\ &=& \epsilon_{rts}\epsilon_{rpq}a_sb_pc_qe_t \\ &=& (\delta_{tp}\delta_{sq} - \delta_{tq}\delta_{sp})a_sb_pc_qe_t \\ &=& \delta_{tp}\delta_{sq}a_sb_pc_qe_t - \delta_{tq}\delta_{sp}a_sb_pc_qe_t \\ &=& a_sb_tc_se_t - a_sb_sc_te_t \\ &=& \vec{b}(\vec{a} \cdot \vec{c}) - \vec{c}(\vec{a} \cdot \vec{b}) \end{eqnarray*} $

Exploring Quantum Physics - More about cross product

In this post, I want to summarize more about the cross product. We will first prove a simple fact about dot product.

It is well known that $ \vec{a} \cdot \vec{b} = |a| |b| \cos \theta $ where $ \theta $ is the angle between the two vectors, but why?

To see that, note that the dot product can be written as a matrix product $ x^Ty $ where vectors are written as column. Now we insert $ R^TR = I $ into the product with $ R $ being a rotation (i.e. orthogonal), we have $ x^Ty = x^TR^TRy = (Rx)^TRy $, that mean dot product is rotational invariant.

Now we scale all vectors to have unit length and rotate them such that they both lie on the same XY plane with $ \vec{x} $ being parallel to the $ x $ axis, it is obvious that it is possible, then the rest is obvious. The dot product is simply the length of the x projection of the other vector, which is exactly $ \cos \theta $! Mapping it back to the original problem, multiplying back the scale, we get the formula we want.

The next interesting thing is to prove the also familar identity $ \vec{a} \times \vec{b} = |a||b|\sin \theta $. To that end, it is easier to prove $ |\vec{a} \times \vec{b}|^2 = |a||b| - (\vec{a} \cdot \vec{b})^2 $, as this will automatically implies the result. To prove this one, however, is easy too as one only need to multiply out all the terms, detail skipped.

Monday, May 4, 2015

Exploring Quantum Mechanics - Cross Product

We are going to look into angular momentum soon. Before that, let's review the vector cross product.

The definition of the cross product is as follow

$ \begin{eqnarray*} \vec{x} \times \vec{y} &=& \left|\begin{array}{ccc}i & j & k\\x_1 & x_2 & x_3\\y_1 & y_2 & y_3\end{array}\right| \\ &=& (x_2 y_3 - x_3 y_2) e_1 + (x_3 y_1 - x_1 y_3 ) e_2 + (x_1 y_2 - x_2 y_1) e_3 \end{eqnarray*} $

In this form, we can easily seen we can write it as a summation of these indices

$ \begin{eqnarray*} \vec{x} \times \vec{y} &=& \sum\limits_{i,j,k = 0}^{3}{f(i, j, k)x_i y_j e_k} \\ \end{eqnarray*} $

ijkf(i,j,k)
1231
132-1
213-1
2311
3121
321-1
otherwise0

It is easy to verify that this is true, therefore we have $ \vec{x} \times \vec{y} = \sum\limits_{i,j,k = 0}^{3}{\epsilon_{ijk}x_iy_je_k} $, where $ \epsilon_{ijk} $ is the Levi-Civita symbol. We can even simplify it to just $ \epsilon_{ijk}x_iy_je_k $, using the Einstein's summation notation.

As a simple sum, differentiate it will be easy. Suppose we have the vectors as a function of time, then we have

$ \begin{eqnarray*} \frac{d}{dt} \vec{x} \times \vec{y} &=& \frac{d}{dt}(\epsilon_{ijk}x_i(t)y_j(t)e_k) \\ &=& \epsilon_{ijk}(x_i'(t)y_j(t) + x_i(t)y_j'(t))e_k \\ &=& \epsilon_{ijk}x_i'(t)y_j(t)e_k + \epsilon_{ijk}x_i(t)y_j'(t)e_k \\ &=& \vec{x'} \times \vec{y} + \vec{x} \times \vec{y'} \end{eqnarray*} $

Sunday, May 3, 2015

Exploring Quantum Physics - Solving the Quantum Harmonic Oscillator using the series method

Disclaimer - this is just an attempt - it never finishes. Blogging this so that I don't forget where I were:
Recall the Quantum Harmonic Oscillator problem as follow:

$ \begin{eqnarray*} \hat{H}\psi &=& E\psi \\ (\frac{\hat{p}^2}{2m} + \frac{1}{2}m\omega^2x^2)\psi &=& E\psi \\ (\frac{-\hbar^2}{2m}\frac{\partial^2}{\partial x^2} + \frac{1}{2}m\omega^2x^2)\psi &=& E\psi \\ \end{eqnarray*} $

The so called series method is basically assume $ \psi $ as an analytic function, as such, it can be (locally) represented as a power series.

$ \begin{eqnarray*} \psi(x) &=& \sum\limits_{k=0}^{\infty}{a_kx^k} \\ \end{eqnarray*} $

Substituting it back to the problem, we have

$ \begin{eqnarray*} E\psi &=& (\frac{-\hbar^2}{2m}\frac{\partial^2}{\partial x^2} + \frac{1}{2}m\omega^2x^2)\psi \\ E(\sum\limits_{k=0}^{\infty}{a_kx^k}) &=& (\frac{-\hbar^2}{2m}\frac{\partial^2}{\partial x^2} + \frac{1}{2}m\omega^2x^2)(\sum\limits_{k=0}^{\infty}{a_kx^k}) \\ \end{eqnarray*} $

So we simply match the coefficients.
$ \begin{eqnarray*} Ea_0 &=& \frac{-\hbar^2}{2m}(2)a_2 \\ Ea_1 &=& \frac{-\hbar^2}{2m}(3)(2)a_3 \\ Ea_k &=& \frac{-\hbar^2}{2m}(k+1)(k+2)a_{k+2} + \frac{1}{2}m\omega^2x^2(a_{k-2}) \\ \end{eqnarray*} $

This apparently lead to the recurrence that we can use to solve for $ a_k $, but I am stuck on the next step that I can foresee, how do I know I have found the Gaussian?