Talk:PlanetPhysics/Example of a Matrix Commutator

Original TeX Content from PlanetPhysics Archive
%%% This file is part of PlanetPhysics snapshot of 2011-09-01 %%% Primary Title: example of a matrix commutator %%% Primary Category Code: 03.65.Ca %%% Filename: ExampleOfAMatrixCommutator.tex %%% Version: 1 %%% Owner: bloftin %%% Author(s): bloftin %%% PlanetPhysics is released under the GNU Free Documentation License. %%% You should have received a file called fdl.txt along with this file. %%% If not, please write to gnu@gnu.org. \documentclass[12pt]{article} \pagestyle{empty} \setlength{\paperwidth}{8.5in} \setlength{\paperheight}{11in}

\setlength{\topmargin}{0.00in} \setlength{\headsep}{0.00in} \setlength{\headheight}{0.00in} \setlength{\evensidemargin}{0.00in} \setlength{\oddsidemargin}{0.00in} \setlength{\textwidth}{6.5in} \setlength{\textheight}{9.00in} \setlength{\voffset}{0.00in} \setlength{\hoffset}{0.00in} \setlength{\marginparwidth}{0.00in} \setlength{\marginparsep}{0.00in} \setlength{\parindent}{0.00in} \setlength{\parskip}{0.15in}

\usepackage{html}

% this is the default PlanetMath preamble. as your knowledge % of TeX increases, you will probably want to edit this, but % it should be fine as is for beginners.

% almost certainly you want these \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsfonts}

% used for TeXing text within eps files %\usepackage{psfrag} % need this for including graphics (\includegraphics) %\usepackage{graphicx} % for neatly defining theorems and propositions %\usepackage{amsthm} % making logically defined graphics %\usepackage{xypic}

% there are many more packages, add them here as you need them

% define commands here

\begin{document}

Calculate the \htmladdnormallink{commutator}{http://planetphysics.us/encyclopedia/Commutator.html} $[A,B]$ of the \htmladdnormallink{matrices}{http://planetphysics.us/encyclopedia/Matrix.html} $$A = \left[ \begin{array}{ccc} 5 & 3i & -i \\ 1 & 0 & 2 \\ i & 2i & -1 \end{array} \right] \,\,\, B = \left[ \begin{array}{ccc} 1 & 0 & 1 \\ -2 & 2i & 3 \\ 3i & 1 & -1 \end{array} \right] $$

Ans.

The commutator is calculated by definition as

$$[A,B] = AB-BA$$

Carrying out the first \htmladdnormallink{matrix multiplication}{http://planetphysics.us/encyclopedia/Matrix.html} gives

$$AB = \left[ \begin{array}{ccc} 8-6i & -6-i & 5+10i \\ 1+6i & 2 & -1 \\ -6i & -5 & 1+7i \end{array} \right]$$

and the second multiplication is

$$BA = \left[ \begin{array}{ccc} 5+i & 5i & -1-i \\ -10+5i & 0 & -3+6i \\ 1+14i & -9-2i & 6 \end{array} \right].$$

Finally, subtracting the two yields

$$[A,B] = AB-BA \left[ \begin{array}{ccc} 3-7i & -6-6i & 6+11i \\ 11+i & 2 & 2-6i \\ -1-20i & 4+2i & -5+7i \end{array} \right].$$

Since the commutator is non-zero, we say that $A$ and $B$ do not \htmladdnormallink{commute}{http://planetphysics.us/encyclopedia/Commutator.html}.

\end{document}