Awesome bookshelves in my home office space

September 15, 2018 Incoherent ramblings , ,

Sofia and I spend a large part of the day installing a set of four Ikea Liatorp bookshelves in my office today. The shelves fit pretty much perfectly, with a 1/4″ gap on each side. In fact, to get them to fit we had to take the baseboards and window casings off, but I’ll put in new ones butting up nicely to the shelves. When we eventually sell the house, the buyer better be interested in bookshelves, because these are a permanent feature of the house now!

The Liatorp model shelves are nicely engineered.  There are easy access leveling pegs, they join together nicely, and the backer board uses screws with pre-drilled holes in exactly the right places, plug some other plugs that hold the backer in place (far superior to the Billy model!)

Here’s a view of the whole shelf unit, which is loaded bottom heavy since the top shelves are spaces closer at the moment:

I had a lot of fun moving books down from the bedroom bookshelves, and have moved most of the non-fiction content.  I was really pleased that I can mostly group my books in logical categories:

  • Statistics and probability, with a couple German books and a dictionary too big to fit with the language material.
  • Calculus and engineering:

  • Computer programming, including my brand new Knuth box set!

  •  Spill over programming, general physics, fluid mechanics, and solid mechanics:

  • Home repair and handywork, plus two religious books too big to fit in the religion section (I’ve got other religious material in boxes somewhere in the basement, including a Morman bible, a Koran, and a whole lot of Dad’s Scientology books (and a couple of mine from days of old) :

  • Optics and statistical mechanics

  • Investment and economics (although the only one I’ve really cracked of these is the old “Principles of Engineering Economic Analysis” from back in my undergrad days)

  • Electromagnetism and some older general physics books from Granddad:

  • Algebra, complex variables, General relativity, mathematical tables, plus Penrose’s book, which spans most categories:

  • Political, classics, some borrowed Gaiman books, and religious

  • Languages:

There’s a bunch of tidy up and finishing details to make my office space complete and usable, but this was a really nice step in that direction.  Mysteriously, even after moving all these books downstairs from the bedroom, somehow the bedroom bookshelves are still mostly full seeming.  Was there a wild book orgy when we weren’t looking, and now all the book progeny are left behind, still filling the shelves despite the attempt to empty them?

UofT QFT Fall 2018 phy2403 ; Lecture 1, What is a field? Taught by Prof. Erich Poppitz

September 14, 2018 math and physics play

[Click here for a PDF of this post with nicer formatting]

DISCLAIMER: Very rough notes from class. Some additional side notes, but otherwise barely edited.

What is a field?

A field is a map from space(time) to some set of numbers. These set of numbers may be organized some how, possibly scalars, or vectors, …

One example is the familiar spacetime vector, where \( \Bx \in \mathbb{R}^{d} \)

\begin{equation}\label{eqn:qftLecture1:20}
(\Bx, t) \rightarrow \mathbb{R}^{\lr{d,1}}
\end{equation}

Examples of fields:

  1. \( 0 + 1 \) dimensional “QFT”, where the spatial dimension is zero dimensional and we have one time dimension. Fields in this case are just functions of time \( x(t) \). That is, particle mechanics is a 0 + 1 dimensional classical field theory. We know that classical mechanics is described by the action
    \begin{equation}\label{eqn:qftLecture1:40}
    S = \frac{m}{2} \int dt \xdot^2.
    \end{equation}
    This is non-relativistic. We can make this relativistic by saying this is the first order term in the Taylor expansion
    \begin{equation}\label{eqn:qftLecture1:60}
    S = – m c^2 \int dt \sqrt{ 1 – \xdot^2/c^2 }.
    \end{equation}
    Classical field theory (of \( x(t) \)). The “QFT” of \( x(t) \). i.e. QM.
    All of you know quantum mechanics. If you don’t just leave. Not this way (pointing to the window), but this way (pointing to the door).
    The solution of a quantum mechanical state is
    \begin{equation}\label{eqn:qftLecture1:80}
    \bra{x} e^{-i H t/\,\hbar } \ket{x’},
    \end{equation}
    which can be found by evaluating the “Feynman path integral”
    \begin{equation}\label{eqn:qftLecture1:100}
    \sum_{\text{all paths x}} e^{i S[x]/\,\hbar}
    \end{equation}
    This will be particularly useful for QFT, despite the fact that such a sum is really hard to evaluate (try it for the Hydrogen atom for example).
  2. \( 3 + 0 \) dimensional field theory, where we have 3 spatial dimensions and 0 time dimensions. Classical equilibrium static systems. The field may have a structure like
    \begin{equation}\label{eqn:qftLecture1:120}
    \Bx \rightarrow \BM(\Bx),
    \end{equation}
    for example, magnetization.
    We can write the solution to such a system using the partition function
    \begin{equation}\label{eqn:qftLecture1:140}
    Z \sim \sum_{\text{all} \BM(x)} e^{-E[\BM]/\kB T}.
    \end{equation}
    For such a system the energy function may be like
    \begin{equation}\label{eqn:qftLecture1:160}
    E[\BM] = \int d^3 \Bx \lr{ a \BM^2(\Bx) + b \BM^4(\Bx) + c \sum_{i = 1}^3 \lr{ \PD{x_i}{} \BM }
    \cdot \lr{ \PD{x_i}{} \BM }
    }.
    \end{equation}
    There is an analogy between the partition function and the Feynman path integral, as both are summing over all possible energy states in both cases.
    This will be probably be the last time that we mention the partition function and condensed matter physics in this term for this class.
  3. \( 3 + 1 \) dimensional field theories, with 3 spatial dimensions and 1 time dimension.
    Example, electromagnetism with \( \BE(\Bx, t), \BB(\Bx, t) \) or better use \( \BA(\Bx, t), \phi(\Bx, t) \). The action is
    \begin{equation}\label{eqn:qftLecture1:180}
    S = -\inv{16 \pi c} \int d^3 \Bx dt \lr{ \BE^2 – \BB^2 }.
    \end{equation}
    This is our first example of a relativistic field theory in \( 3 + 1 \) dimensions. It will take us a while to get there.

These are examples of classical field theories, such as fluid dynamics and general relativity. We want to consider electromagnetism because this is the place that we everything starts to fall apart (i.e. blackbody radiation, relating to the equilibrium states of radiating matter). Part of the resolution of this was the quantization of the energy states, where we studied the normal modes of electromagnetic radiation in a box. These modes can be considered an infinite number of radiating oscillators (the ultraviolet catastrophe). This was resolved by Planck by requiring those energy states to be quantized (an excellent discussion of this can be found in [1]. In that sense you have already seen quantum field theory.

For electromagnetism the classical description is not always good. Examples:

  1. blackbody radiation.
  2. electron energy \( e^2/r_\txte \) of a point charge diverges as \( r_\txte \rightarrow 0 \).
    We can define the classical radius of the electron by
    \begin{equation}\label{eqn:qftLecture1:200}
    \frac{e^2}{r^{\textrm{cl}}_{\txte}} \sim m_\txte c^2,
    \end{equation}
    or
    \begin{equation}\label{eqn:qftLecture1:220}
    r^{\textrm{cl}}_{\txte} \sim \frac{m_\txte c^2}{e^2} \sim 10^{-15} \text{m}
    \end{equation}
    Don’t treat this very seriously, but it becomes useful at frequencies \( \omega \sim c/r_\txte \), where \( r_\txte/c \) is approximately the time for light to cross a distance \( r_\txte \).
    At frequencies like this, we should not believe the solutions that are obtained by classical electrodynamics.
    In particular, self-accelerating solutions appear at these frequencies in classical EM. This is approximately \( \omega_\conj \sim 10^{23} Hz \), or
    \begin{equation}\label{eqn:qftLecture1:240}
    \begin{aligned}
    \,\hbar \omega_\conj
    &\sim \lr{ 10^{-21} \,\text{MeV s}} \lr{ 10^{23} \,\text{1/s} }\\
    &\sim 100 \text{MeV}.
    \end{aligned}
    \end{equation}

At such frequencies particle creation becomes possible.

Scales

A (dimensionless) value that is very useful in determining scale is
\begin{equation}\label{eqn:qftLecture1:260}
\alpha = \frac{e^2}{4 \pi \,\hbar c} \sim \inv{137},
\end{equation}
called the fine scale constant, which relates three important scales relevant to quantum mechanics, as sketched in fig. 1.

fig. 1. Interesting scales in quantum mechanics.

fig. 1. Interesting scales in quantum mechanics.

 

  • The Bohr radius (large end of the scale).
  • The Compton wavelength of the electron.
  • The classical radius of the electron.

Bohr radius

A quick motivation for the Bohr radius was mentioned in passing in class while discussing scale, following the high school method of deriving the Balmer series ([2]).

That method assumes a circular electron trajectory (\(i = \Be_1 \Be_2\))
\begin{equation}\label{eqn:qftLecture1:280}
\begin{aligned}
\Br &= r \Be_1 e^{i \omega t} \\
\Bv &= \omega r \Be_2 e^{i \omega t} \\
\Ba &= -\omega^2 r \Be_1 e^{i \omega t} \\
\end{aligned}
\end{equation}
The Coulomb force (in cgs units) on the electron is
\begin{equation}\label{eqn:qftLecture1:300}
\BF = m\Ba = -m \omega^2 r \Be_1 e^{i \omega t} = \frac{-e (e)}{r^2} \Be_1 e^{i \omega t},
\end{equation}
or
\begin{equation}\label{eqn:qftLecture1:320}
m \lr{ \frac{v}{r}}^2 r = \frac{e^2}{r^2},
\end{equation}
giving
\begin{equation}\label{eqn:qftLecture1:340}
m v^2 = \frac{e^2}{r}.
\end{equation}
The energy of the system, including both Kinetic and potential (from an infinite reference point) is
\begin{equation}\label{eqn:qftLecture1:360}
\begin{aligned}
E
&= \inv{2} m v^2 – \frac{e^2}{r} \\
&= – \inv{2} m v^2 \sim \,\hbar \omega = \,\hbar \frac{v}{r},
\end{aligned}
\end{equation}
or
\begin{equation}\label{eqn:qftLecture1:380}
m v r \sim \,\hbar.
\end{equation}
Eliminating \( v \) using \ref{eqn:qftLecture1:340}, assuming a ground state radius \( r = a_0 \) gives

\begin{equation}\label{eqn:qftLecture1:400}
a_0 \sim \frac{\hbar^2}{m e^2}.
\end{equation}
The Bohr radius is of the order \( 10^{-10} \text{m} \).

Compton wavelength.

When particle momentum starts approaching the speed of light, by the uncertainty relation (\(\Delta x \Delta p \sim \,\hbar\)) the variation in position must be of the order
\begin{equation}\label{eqn:qftLecture1:420}
\lambda_\txtc \sim \frac{\hbar}{m_\txte c},
\end{equation}
called the Compton wavelength.
Similarly, when the length scales are reduced to the Compton wavelength, the momentum increases to relativistic levels.
Because of the relativistic velocities at the Compton wavelength, particle creation and annihilation occurs and any theory has to account for multiple particle states.

Relations.

Scaling the Bohr radius once by the fine structure constant, we obtain the Compton wavelength (after dropping factors of \( 4\pi \))
\begin{equation}\label{eqn:qftLecture1:440}
\begin{aligned}
a_0 \alpha
&= \frac{\hbar^2}{m e^2}
\frac{e^2}{4 \pi \,\hbar c} \\
&= \frac{\hbar}{4 \pi m c} \\
&\sim
\frac{\hbar}{m c} \\
&= \lambda_\txtc.
\end{aligned}
\end{equation}
Scaling once more, we obtain (after dropping another \( 4\pi\)) the classical electron radius
\begin{equation}\label{eqn:qftLecture1:n}
\begin{aligned}
\lambda_\txtc \alpha
&=
\frac{e^2}{4 \pi m c^2} \\
&\sim
\frac{e^2}{m c^2}.
\end{aligned}
\end{equation}

References

[1] D. Bohm. Quantum Theory. Courier Dover Publications, 1989.

[2] A.P. French and E.F. Taylor. An Introduction to Quantum Physics. CRC Press, 1998.

The danger of a loose electrical outlet (and sloppy wiring)

September 8, 2018 Home renos ,

Check out this scorched electrical outlet and the inside of the cover plate:

It’s a bit hard to see from this picture, but the screw is actually partially melted.  This happened when Sofia pulled her computer’s A/C adapter out of the wall, which resulted in a large spark, and that circuit blowing, leaving her in the dark.

I think this one is not actually the fault of the last owner of the house (who I won’t name, and who did lots of dangerous wiring), but was due to the effects of time, and a slightly lazy electrician.  The electrical box is slightly deformed pushing it on the right towards the hot screws of the outlet, and the outlet was wired up with the “quick wire” method, with the wires plugged directly into the back of the outlet, not using the screws on the sides.  Unfortunately, the hot screws were left sticking out fully (although the neutrals were screwed in nice and tight).  In the thirty years since the house was built, I think the outlet loosened enough that the furthest out hot screw touched the outlet box when the outlet was moved slightly pulling out the cord.  This shorted it nicely (scaring the hell out of Sofia), and toasting the outlet nicely.  Needless to say, I did not try to recycle this one, and it’s going in the trash.

There’s another loose outlet on the first floor that I’ve been meaning to fix.  I’m definitely going to get that opened up soon, and tighten it up — seeing the giant scorch marks on this one really highlights how dangerous that could be.

Is this Cantonese or Manderin?

September 2, 2018 Incoherent ramblings ,

I managed to somehow switch my bluetooth headset from English to Chinese, so my Chinese vocabulary is now three phrases:

Power on, pairing: kie-gee pae-doo-eh

Paired successfully: il-ee-en-gee-eh

Power off: guen-gee

However, I don’t know which dialect of Chinese this is.

IBM and other companies now claim to be loosening college degree requirements.

August 29, 2018 Incoherent ramblings , , , , ,

Here’s an article about companies that are starting to drop college and university degree requirements.

I’ve been expecting this for years.

I really enjoyed university and much of what I learned on my undergrad engineering degree. However, most of the skills that I required for software development, I learned on the job at IBM on my student internship, not from my undergrad engineering degree. I was very disappointed in the software engineering course that I took in university, as it was primarily droning on about waterfall models and documentation driven development, and had very little substantive content. I learned a lot of mathematics and physics at UofT, but very little of it was useful. I was once really pleased with myself when I figured out that I could do compute some partial derivatives on the job to compute error-bars in some statistical performance analysis, but that one time calculation, was the only non-trivial math I ever used in about 20 years at IBM. In short, most of the specifics I learned at University were of little value.

My view of the engineering degree I obtained, was that it was mental training. They tossed problems at us, and we solved them. By the time you were done your undergrad degree, you knew (or at least believed) that you could solve any problem. There’s definitely value to developing that mental discipline, and there’s value to the employer as a filtering mechanism. Interestingly, my first manager at IBM as a full time employee told me that they preferred hiring new engineering graduates over new computer science graduates. That is despite the fact that many of the computer science courses are quite difficult (computer graphics, optimizing compilers, …), and arguably more relevant than all the physics biased courses that we did in engineering. Perhaps that preference was due to the problem solving bias of engineering school?

An apprenticeship based recruitment system can potentially save software companies a lot of money, as it should provide cheap labor for the company and a valuable opportunity to learn real skills for the apprentice. It’s a good deal for both parties.  You can get paid to learn, vs. going to school, and paying to learn things that are not truly valuable. I’ve actually been very surprised that IBM, who is offshoring so aggressively to save money, has not yet clued in that they can hire students directly out of high school (or earlier!), for much less than the price tag that a university/college graduate would demand. While offshoring is nominally cheap, unless the whole team is moved, it introduces large latencies and inefficiencies in development processes. Hiring out of high school would provide companies like IBM that are desperate to reduce their costs, the chance of acquiring cheap local talent, free of the hassles and latencies of splitting the team to pay some members offshore rates, less benefits, and so forth.

Assuming that a university degree is not actually useful, the problem to be solved is one of filtering. How does a company evaluate the potential of an untrained candidate without using (potentially useless) accreditation as a filter? I’d guess that we will see a transition to IQ style testing (although that is illegal in some locals) and a bias for hiring youth with demonstrated interest and proven open source project contribution history.