Wednesday, January 20, 2016

First week in PhD

So I'm in the middle of my first week of my Physics PhD, at least officially, since the semester began this past Monday. I'd been spending time at the campus since last week, just getting started planning things with my adviser and getting used to the facilities. I actually like the CUCEI campus quite a lot, but it's been undergoing heavy renovation for a few weeks now, and I'd prefer to wait a little bit before I post pictures of what it's like there. Most of the surroundings of our building are full of dust, and entire new buildings are being built, so it's kind of a mess. For now, what I can do is show my cubicle, which is nice and spacious, and all to myself.

The only problem was, when I got there last week, there was no knob on the door. After a couple of days, one was provided to me by our wonderful administrative assistant (secretary?)... but I had to install it myself. No big deal, but it was took some work because the door needed some light carpentry before the knob would fit. So here is the way it was before:


So after some light carpentry with tools a professor lent me, I laid out all the pieces of the disassembled knob and got it to fit into the door, after about 45 minutes of work:



Ta daaaa! Maybe not the best use of a graduate student's time, if you asked my professor, but I actually kind of enjoyed it. Anyway, the cubicle isn't completely ready yet, as it will get a new coat of paint (probably tomorrow) and I'll also get a bookshelf. For now, it looks like this:


I'm sure it will be nice an cozy in a few days, after I get more of my stuff there and am fully settled in. In the background, you can see new whiteboards, still in their packaging, that each of the cubicles will get once the painting is finished. With one of those and the bookshelf, I'll be ready to spend most of the next three years of my life in there, doing physics. Yay!

*   *   *

Speaking of physics, it looks like I'll be working mostly out of Carroll's text book (see a couple of posts back). My professor asked me to "look over it" for the next few days (graduate professors are notoriously cryptic), and I'm basically reading it from the beginning. Also, I got two other books I ordered by mail just yesterday:


So I'm pretty much covered for this semester, which will be devoted mostly to learning General Relativity and getting some rudimentary models to work on my computer. If I had to put a title on my thesis right now, it would be something like The Multiplication of Tiny Four-Dimensional Spacetime Triangles: a Model. For a pretty good introduction to Causal Dynamical Triangulations, which is the formal name of what I will be working on, check out this Scientific American article by the original inventors of the idea: The Self-Organizing Quantum. Basically, I'll work on a model devised by my professor and other colleagues of his to get fundamental units of spacetime spreading out on a computer model, according to the ideas presented in this paper: http://arxiv.org/pdf/hep-th/0003238.pdf (the first author is my prof). The goal is for me to understand the math well enough to translate it into code, hit Enter, and see what happens under different starting conditions. By the end of the PhD, I should have enough knowledge and code to churn out a handful of papers on the subject in addition to my thesis.

Saturday, January 9, 2016

Start your engines!

So I'm finally ready to begin my actual PhD this next Monday after months of preparation, waiting, and lots of anxiety. These past couple of days were especially tiring, as I had to complete the documentation required by the university. A complicating factor was that I hadn't formally requested my Master's degree, which is a prerequisite for applying to the PhD program. Since that takes time, it's necessary to request several special permissions and extensions, as well as filing the paperwork for the actual degree.

So when I got to the CUCEI campus this Thursday, on the next-to-last day to get all the paperwork done, I found the admissions office with several dozen people already there, waiting in line:


Unfortunately for me, I had to make a stop at another office to turn in my files for my Master's degree first, which meant I would have to wait to get into the admissions line for a while. However, when I got to the degree office, they told me I needed a certificate from my undergraduate institution, which is ITESO. Also, I needed a more recent birth certificate, since the one I provided was more than three months old. And so, I had to leave and head to the Archivo (the Archive), as it's known by all in Guadalajara, and get a new birth certificate. It's one of the busiest public buildings in the city, with all kinds of people trying to get all kinds of documents for all kinds of purposes:

After that, I headed to ITESO to get the certificate, and I stopped to take some pictures along the way. It's one of the most peaceful, beautiful campuses anywhere in Mexico, and it was even greener than I remembered it from almost ten years ago, when I got my engineering degree there (click to enlarge):







When I finally got back to CUCEI and turned in the documentation to the degree guys, the admissions line had multiplied in length, and there was no way I would be able to turn everything in before they closed for the day at 3:00 p.m. (it was 2:30). I resolved to get back early the next day (the last day allowed) to finally turn all my documents in. Here is the line, pictured from left to right as it wraps around:

 


I finally turned in my documentation to the admissions office yesterday, after only a couple of minutes of waiting in line, and without any further requests from the staff. So I am now free at last to focus entirely on physics.

Monday, December 28, 2015

Classical Mechanics Primer

There are at least two senses in which the term “Classical Physics” is used. First, classical may be used to mean “all physics that is not quantum physics”. The second sense is more similar to what most people usually have in mind, and basically refers to all physics which is not “modern”—that is, physics before General Relativity and Quantum Mechanics.  Physicists always mean to use the first sense of the term, and laypeople usually switch from one to the other, sometimes without noticing. From this point on, I’ll be using the physicist’s sense unless noted otherwise.

Now, the expression “not quantum” needs some unpacking. As an example, consider a toaster with a knob that you can turn at your leisure over some period of time, t. If you were to plot the energy flowing through the toaster’s resistance as you turn the knob, the graph that you will get might look something like this:
CMPlot
In Classical Physics, there is no limit to the number of times that you could zoom into any section of this plot, and every single time you would see a smooth, continuous line like the figure above. If you moved along the curve, you could always ride the line like a smooth ramp to any value of E that you liked, and in doing so you would pass through all points in between.

This is not the case in Quantum Mechanics, where many physical quantities are said to be quantized.  In the toaster example above, the plot will look the same initially, but after zooming in a finite number of times, eventually you will reach a plot that looks more like this:
QMPlot
This is what makes Quantum Mechanics so weird. And so, Classical Physics includes all the branches of physics where this effect is not taken into account, regardless of when said branch developed. This includes theories such as Classical Mechanics, Electromagnetism, Thermodynamics, Fluid Mechanics, and General Relativity, among others. Usually, classical theories are an excellent approximation for all kinds of real world phenomena, even though the real world is actually quantized.

Newton

 

Newton’s Three Laws of Motion are as follows, though you may find some different wording depending on who you ask:
1. Objects move at constant velocity as long as there is no net force acting upon them. Velocity is not the same as speed, as it also includes direction and is therefore a vector quantity (usually notated in bold). Also, zero is a perfectly valid value for a constant velocity.
2. If there is a net force acting upon an object this will cause it to accelerate, according to the relation \(\mathbf{F} = m\boldsymbol{a}\).
3. Every action produces a reaction of equal magnitude and opposite direction. So if a certain object A pushes or pulls on B, B will answer with a push or pull of its own. This is usually notated like this: $$\mathbf{F_{AB}} = -\mathbf{F_{BA}}$$.
The whole of Classical Mechanics emerges from these three laws, though by far the one used the most in calculations is the second one. At the high school level, this usually means doing lots of trigonometry for setups such as the following, which may distress some readers:
NewtonPlot
A typical problem in mechanics is to figure out the equation of motion of a body, given some initial conditions. We begin with some information about the object’s starting position, forces and constraints it is subjected to, and work our way up to the equation that will tell us how the object will actually move thereafter. In the case of Newton’s Second Law, all solutions are essentially variations on solving the differential equation $$ \mathbf{F} = m\mathbf{a} = m\frac{\mathrm{d} \mathbf{v}}{\mathrm{d} t}= m\frac{\mathrm{d} }{\mathrm{d} t}\frac{\mathrm{d} \mathbf{x}}{\mathrm{d} t}=m\mathbf{\ddot{x}}, $$ which would yield x as a function of t, or x=x( t ).

Unfortunately, most real world problems are not as clear cut as blocks on inclined planes, and Newton’s Laws are utterly impractical in their original formulation for solving anything but the most simple physical systems. Fortunately, there exist a couple of alternative approaches that manage to elegantly generalize Newton’s Laws so that they’re applicable to nearly any classical system one can think of, at the cost of introducing some abstraction. These approaches are absolutely equivalent to Newton’s Laws, and indeed incorporate them at their core, but their mathematical appearance is quite different.

Lagrangian Mechanics

 

If we think of space in three dimensions, then the position of a particle at any given moment can be described by a position vector from the origin, with individual components in the x, y, and z directions: \(\mathbf{r}=(x,y,z)\). The path that the particle will take over time will once again depend on the forces, constraints, and initial conditions it is subjected to. So, what we’re looking for is the way that \(\mathbf{r}\) will evolve over time, \(\mathbf{r}= \mathbf{r}(t)\).

However, working with cartesian coordinates (x,y,z) doesn’t help very much when, in general, physical systems aren’t easily describable by them. So instead, we introduce some abstraction and think of generalized coordinates, each of which we call \(q_{i}\). Each one of these coordinates could be cartesian \((x,y,z)\), cylindrical \((\rho ,\theta ,z)\), spherical \((\rho ,\theta ,\phi)\), or even other ways of placing a particle in space, such as a distance traveled along a constrained path, or an angle defined by the movement of a particle, or anything that suits us. Each generalized coordinate can also change in time, yielding a generalized velocity, and these are denoted using the dot notation for derivatives as \(\dot{q}_{i}\). By a simple extension, we can speak of other generalized quantities, such as generalized momentum \(p_{i} = \frac{\partial L}{\partial \dot{q}_{i}}\). This particular quantity will come in handy in later on.

A Lagrangian is defined as the difference of the kinetic and potential energies of the system in question, and it will have the following form: $$ L = \frac{1}{2}m\mathbf{\dot{r}}^{2}-U(\mathbf{r}).$$ The function U corresponds to the potential energy, and in general it will depend on the particle’s position. The first term is the familiar kinetic energy term \(\frac{1}{2}m\mathbf{v}^{2}\) from kindergarten, with the velocity expressed in terms of r.

Notice that the Lagrangian depends on the generalized coordinates and velocities, since each r is defined in those terms. L being a vector equation, we can separate the different \(q_{i}\)’s and their velocities into what are known as the Euler-Lagrange equations, which can be conveniently abbreviated as $$ \frac{\partial L}{\partial q_{i}} = \frac{\mathrm{d} }{\mathrm{d} t}\frac{\partial L}{\partial \dot{q_{i}}}. $$
So the rough strategy for solving problems in the Lagrangian formulation of Classical Mechanics is this: write L explicitly in terms of your generalized coordinates and velocities, making sure to include the specific (mathematical) description of U as well if it’s available. Then, plug the resulting expression for L into the Euler-Lagrange equation for as many coordinates as you have, perform the corresponding derivatives, and finally integrate whatever is left to solve each equation (i.e., get rid of whatever time derivatives are left over after you plug things in). If you’re successful, you will end up with as many equations of motion as you had generalized coordinates, and those equations of motion combine to give you the overall motion of the particle.

There are many nuances and neat things to go into with regards to the Lagrangian approach, but I’ll leave them aside for now. As a summary, notice that you end up with a second-order differential equation for each coordinate involved, and also notice that the setup for solving a problem begins with considerations of energy rather than forces. One important consequence of this is that any forces of constraint that may act on the object are naturally incorporated into the equations, without the necessity of force diagrams.

Hamiltonian Mechanics

 

A second approach to generalizing Newton’s laws is that of Hamiltonian Mechanics, which is a similar abstraction to that of Lagrange. First, we remember the concept of a generalized momentum, and also consider that for many systems the Lagrangian doesn’t depend explicitly on time $$\frac{\partial L}{\partial t} = 0.$$ When this is the case, we can define another quantity, the Hamiltonian, as $$H = \sum_{i=1}^{n}p_{i}\dot{q}_{i} – L.$$In addition, if the relationship between generalized and cartesian coordinates doesn’t depend on time either, the Hamiltonian is equal to the sum of the kinetic and potential energies of the system: $$H = T + U .$$In the same way that we used L in the Lagrangian formulation to derive our equations of motion, the Hamiltonian formulation relies on operating on H. In this case, the Hamiltonian is plugged into the equations $$\dot{q}_{i} = \frac{\partial H}{\partial p_{i}}\:  ,\:  \dot{p}_{i} = -\frac{\partial H}{\partial q_{i}}$$ to yield the equations of motion. This may seem like more work than the Lagrangian approach, but notice that we are left with sets of first-degree differential equations instead of second-degree ones. Even though we have twice as many equations as the Lagrangian approach, they are usually trivial to solve, and they include all the advantages of the Euler equations as far as dealing with constraints.

Hamiltonian mechanics in particular is important for later use in Quantum Mechanics and, as was the case with the Lagrangian formulation, there’s many details and asides that I left out for the sake of brevity. Both formulations are usually overkill for problems about blocks sliding down incline planes, but they become indispensable when working with more complicated systems. As I re-study mechanics for my PhD, I will try to post more on the details of each of these approaches, as well as practical examples of their use.



This post was the result of summarizing some of my notes on the subject, but obviously you would do well to look up these topics online. The Wikipedia entries are quite good, and then there are several recommendable textbooks. First, the Wiki links:
Newtonian Mechanics
Lagrangian Mechanics
Hamiltonian Mechanics
Books that I’m familiar with include the following:
1) Taylor, John R., Classical Mechanics. Great for undergraduate level students and laymen with calculus background. Informal, conversational style.
2) Goldstein, H. Classical Mechanics. Standard graduate text for students who want to get serious and be grown-ups. Very long-winded at times, but solid.
3) Landau & Lifshitz, Mechanics. Standard graduate text for masochists and people who like their textbooks lean and mean.

Saturday, December 26, 2015

Cross-post on atheism

In other, unrelated content, I wrote a short piece on atheism over at Medium:


God is not a good theory

Tuesday, December 22, 2015

Books, Books, Books!


As I mentioned earlier, I had ordered a few books in anticipation of my PhD studies starting next January.  Two of the books in the order arrived today, and I'm quite giddy:

Tow out of four are here.
The Relativity book, as you can see, is Sean Carroll's Spacetime and Geometry, which I hear is awesome and will be putting to the test shortly. And the other book is... wait! You ask: didn't I mention I ordered three books on Relativity? Well yes I did, but I also ordered And yet..., which is a selection of essays by one of my favorite authors of all time, Christopher Hitchens (the anniversary of his death was just this past December 15th).  I have lots and lots of stuff by him, and this latest addition will be the cherry on top of my collection:

Not too bad, huh?
There are a few missing from this anthology. Right now I can think of his book on Palestine co-written with Edward Said, Blaming the Victims; then there's the book on the arguments for the Irak War, A Long Short War; and finally another essay collection, much older than the rest, called For The Sake of Argument (hint: my birthday is in September, in case Christmas is too soon for you).  The man was as eloquent, lean and mean as a writer could get, and he's certainly my top choice for best essayist in the English language, sneaking in before Orwell.  So far, my favorite tome of them all is Love, Poverty, and War.  The writing is absolutely beautiful, and the depth and scope of topics covered is mesmerizing.

But wait, there's more! My wonderful sister, who's also quite a bibliophile, got me this little gem for Christmas:

Awesome!
So it looks like I will be very productive over the Holidays, or at least be very entertained.  Hopefully, I will be up to date on tensors and ready to hit the ground running next semester.  I also have a few academic papers on Causal Dynamical Triangulation that I want to go over, which would be great, since that's what my work will be about.

Speaking of next semester, the folks at admissions rejected my paperwork again... the amount of documentation one has to provide is of a Kafkian scale.  I was livid last Friday when, after the guy had told me on Wednesday that all I needed was one more paper, and having procured it, he looked at the documents once more and said that I still needed even more documentation, and that I had to go three doors down the aisle (again) to begin another transaction.  They're on break for the next two weeks, and I have only two more days, the 7th and 8th of January, to go over there again and finally finish the paperwork for good.  After those dates I'm in trouble, because the admissions results have to be published in the university gazette on the 12th. Just writing about it is putting me in a bad mood, so I'll end here for now.

Thursday, December 17, 2015

Third World Problems

And so, as I feared, I am not yet finished with the paperwork I have to get done.  Yesterday, a guy at the admissions office told me to my face that I was missing only one document, and that I could come back the next day from 9 to 3 and turn it in.  He said everything else was in order and all I needed was this one document (to be fair, I screwed up big time, since this was a basic document that I had simply left on my desktop ready to be printed, but I never did).  So I got there today and what I found when I got there was the doors closed and the following notice:

Sadly, this is not surprising.
Rough translation (the grammar isn't very good in the original): Notice: On Thursday 17 operations will be from 12:00 to 15:00.  Tomorrow, normal hours from 9:00 to 15:00.  Sorry for the inconvenience. -Admissions.
No explanations.  The staff were just AWOL and left a note.  When I got there, it was 11:50 and there were about 10 other people already there waiting.  I had a doctor appointment at 13:00, and a 45 minute bus ride to get there, but I decided to hang on in case they showed up.  Other people, who must have been there even earlier, left, and were now coming back, started to arrive.  Soon, there were a couple dozen of us waiting.  I waited until 12:10 and then left.


Fellow students who were "inconvenienced".

This is not just an instance of what happens at CUCEI on a regular basis.  This is what most of Mexico is like, especially in public institutions.  For example, often this happens at the IMSS, our Third World attempt at a National Health Service.  Only there, it's doctors who don't show up, or maybe they do but they don't have equipment or medicine.  And people run into those situations often with pressing medical conditions, and they are told to go home and come back later (nearly every Mexican who can afford private health care ignores the IMSS altogether, even though they pay for it with their taxes.  The number of Mexicans who can 'opt out' in this way is very small, and gets smaller every year, but that's a whole other essay.)  Things have been slowly getting better over the past decade or two, but we're still decades behind the great country that we could be.  And so, tomorrow I head over there again, and hopefully I can get the bureaucracy off my mind for the holidays.

Wednesday, December 16, 2015

Getting ready for the holidays

So I'm almost done with the paperwork I have to do to complete my admission process.  I'll have to go to the CUCEI campus once again tomorrow and, if all goes well, that will be all and I will be able to focus on more important things over the Christmas break.  What bothers me most about the paperwork isn't so much the amount of stuff that I have to get, but the unnecesaryness of the whole thing to begin with.  It is indeed a Kafkian circumstance that CUCEI requires from me all these documents that basically amount to the same information, makes me pay for some of them, and has me going around in circles from one office to the next.  And, all the while, I'm obtaining the documents from... CUCEI! They're asking me to prove to them that I was a student under them.

And so, in this digital age where all the information they need is already in some database that they own, it would be a matter of the admissions people logging on to some system, searching my name, and verifying that yes, indeed I got a degree in physics and it's certified by the folks three doors to their left.  If they ever wanted the actual physical documents, then they could just ask those fellows for my name, and go over there and get them themselves.  But no, it is I who has to request those documents (and pay for them!) and get them from one bureaucrat to the other one a dozen steps away. Most of Mexico works this way, I'm afraid.

In other matters, I've started a wonderful little book I ordered a long time ago in anticipation of a moment like now: A Student's Guide to Vectors and Tensors, by Dan Fleisch (I also own another great little book by him on Maxwell's equations).  The first three chapters are a review me about vectors, but then things get novel when tensors are introduced.  It's in these later chapters that I'll slow down considerably and do the excercises (he also has a supporting website, with all kinds of cool stuff to complement the text).

All of this is in anticipation of three other books that are more on-topic for my study.  These could roughly be classified as being in a beginner, intermediate, and advanced level.  I ordered them a coulple of weeks ago, and it's possible they'll arrive sometime before New Year's eve.  They are the Relativity textbooks by Schutz, Carroll (whose website is featured in my blogroll), and Wald. There are many others, but I'm on a budget and I went for the most bang for my buck.

The semester formally begins on January 18, and I hope to have made some headway as far as learning some of the contents of the Fleisch text at least.  Then things get interesting as I begin to work with my advisor and finally plunge head-first into the most beautiful theory ever devised that didn't end up in the trash bin immediately.