Archive for the Science Category

God: The Programmer of the Universe!

Posted in cosmology, Philosophy, physics, Science on July 14, 2010 by Grad Student

Here’s the Bestest Ever paragraph you’ll read in a physics journal article  (physical review letters) with an awesome title to boot: “Computational capacity of the universe

What is the universe computing? In the current matter-dominated universe most of the known energy is locked up in the mass of baryons. If one chooses to regard the universe as performing a computation, most of the elementary operations in that computation consists of protons, neutrons (and their constituent quarks and gluons), electrons and photons moving from place to place and interacting with each other according to the basic laws of physics. In other words, to the extent that most of the universe is performing acomputation, it is ‘computing’ its own dynamical evolution.
This xkcd comic is apropos:

Advertisements

Chet Raymo on the Sun

Posted in Science with tags , on October 8, 2009 by Grad Student

What follows is a beautiful Chet Raymo (of “Science Musings”) essay:

Let me say this as simply as I can.

The Sun, like the universe, is mostly hydrogen. An atom of hydrogen is a single proton and a single electron, bound together.

The center of the Sun is so hot — half-a-million miles of overbearing matter — that the electrons and protons can’t hold together (try holding hands in a surging, tumultuous crowd), so what you have is a hot soup — a plasma — of protons and electrons, flailing about independently.

The electrical force between like charges is repulsive, so every time two protons approach each other they swerve away. But protons are also subject to the strong nuclear force, which is attractive, and stronger than the electrical force at very close range. Normally, if two protons approach each other, they are repelled before they get close enough for the strong nuclear force to kick in.

But now heat up the soup. The protons whiz about faster. If they are moving fast enough, they can approach closely enough for the strong nuclear force to bring them crashing together. Fusion. How hot? About 10 million degrees, which is the sort of temperature you’d find at the center of the Sun.

When two protons combine, one flings off its positive charge and becomes a neutron. Then the proton-neutron pair combines with another proton to form a helium-three nucleus — two protons and a neutron — which quickly unites with another of the same and throws off two protons to become a helium-four nucleus — two protons and two neutrons. Got that? Hydrogen is fused into helium.

The ejected positive charges go off as positrons (antielectrons), which meet up with electrons in the soup and annihilate. (There are neutrinos involved too, but let’s ignore them.)

Now for the bookkeeping.

Add up the mass of the original particles in each interaction — six protons and two electrons — and add up the mass of the final particles — a helium-four nucleus and two protons. After the orgy of combination, some mass is missing! For each individual interaction as just described the amount of missing mass is miniscule, but in the seething caldron that is the Sun’s core it amounts to four billion kilograms of vanished mass every second. Hardly missed by our star — like a thimbleful of water dipped from the ocean — but for the Earth it is the difference between day and night. Hydrogen has been turned into helium and the vanished mass appears as energy. A lot of energy. The famous Einstein equation: Energy equals mass times the speed of light squared.

The star shines!

The universe blazes with light and life.

And, knowing this — and just think what a thing it is that we know it — how is it that we whine and carp and glower? How is it that we snipe and cavil and rue our fates and that of the world? Wallace Stevens answers ironically in his poem “Gubbinal,” smothers us in irony actually:

That strange flower, the sun,
Is just what you say.
Have it your way.

The world is ugly,
And the people are sad.

That tuft of jungle feathers,
That animal eye,
Is just what you say.

That savage of fire,
That seed,
Have it your way.

The world is ugly,
And the people are sad.

I love it!  It perfectly encapsulates why I think science is beautiful.  Though I have to say I don’t quite understand how the poem fits with the rest of the essay.

Research: Numerical Problems

Posted in Science with tags , on October 2, 2009 by Grad Student

The coding I do in my research is relatively simple.  I just solve some integrals that can’t be done analytically.  Simple, right?  You’d think, so, but I’m running into a classic problem, dividing by zero:

problemThere’s bizarre stuff going on in the left side of the graph and there’s two divergent features at x=-0.2 and 0.4.  It’s very simple why that’s happening.  The denominator is going to zero at those parts.  Here’s a graph of the denominator

problem2

The problem is, I don’t know how to circumvent this problem.  That’s what the equation does, so… what do I do?  Clearly I need to do some clever mathematical trick, perhaps express the quantity in another form without the singularity, I don’t know.  It’s frustrating though.

UPDATE:

As I look at what the numerator is doing I’m encouraged.  Take a look

problem3

Notice that the numerator is zero at all the places (and more) where the denominator is zero: x= -1 to -0.8, x=-0.4 and x=0.2.  This suggests that I’m not making some obvious mistake in my physics.  If I had a fully analytic solution to these integrals then I imagine the divergences would go away, I think.  While this observation makes me feel better, I’m still stuck.  My best guess is that since both the numerator and denominator go to zero at those points, the overall function should probably go to zero, much like the function:

f(x)=\frac{(x-1)^2}{(x-1)}

Both the numerator and denominator go to zero, but if you do you algebra correctly (or just take the limit as x approaches 1) the function goes to zero at the point where the denominator blows up (x = 1)

UPDATE II:

[Embarrassed clearing of throat] I found the solution, it was a missing minus sign.

The Physics of Scaling Laws and Dimensional Analysis

Posted in Science with tags , , on October 2, 2009 by Grad Student

I’ve been puzzling over dimensional analysis and scaling laws lately. Believe it or not, professional physicists sometimes use dimensional analysis to do a quick back of the envelope calculation and usually get the correct answer to within an order of magnitude or so. In this post I’m going to give three examples of how the “magic” of dimensional analysis can be used to guess the answer.  I’ll start with a simple example from introductory physics  and move to more advanced examples.

1)  If a baseball is dropped from a height ‘h’ above the ground, how long until it hits the ground neglecting air resistance?   We know that since air resistance is neglected the size of the baseball is irrelevant, and Galileo tells us the mass of the baseball is also unimportant.  That leaves the height from which the ball is dropped, h, which is in units of length [L], and the acceleration due to gravity, g, which is in units of length per time squared [L/T^2].  So, arranging these two quantities to give the dimension of time is simple:

T=L^a\left(\frac{L}{T^2}\right)^b

Which gives,

T=L^{a+b} T^{-2b}

We need time  so the power for length must be zero, so a = -b, and b=-1/2.  Thus a = 1/2 and b = -1/2 and voila:

\Delta t = \sqrt{\frac{h}{g}}

And this answer is only off by dimensionless factor of ~1.4 (root 2)!

2) As it turns out you can do precisely the same thing to figure out how large craters will be when you drop rocks into the sand (this was the topic of my previous post). The critical assumption you have to make is in deciding which variables are important. Mainly, you have to decide if density is the only important quantity for the sand.  (It turns out that for other materials there are other dimensional quantities you must include.)  Then you assume the only other important quantity is the kinetic energy of the ball.  Finally, you do dimensional analysis exactly as I did above and you will find the same scaling law I’ve found in the last post for relating “meteor” kinetic energy (KE) to crater diameter (D):
D \propto KE^{1/4}

Notice how you can get the same answer as I did in the last post without thinking about all the physics and kinematics equations.

3) Now here’s a truly bizarre application of dimensional analysis to the Schrodinger equation that I saw on the first day of a quantum mechanics class. Let’s say that you’re tired of solving partial differential equations in three dimensions and you just want to guess what the ground state energy of an electron is in a hydrogen atom.  You bypass the Schrodinger equation in all its glory and simply write the (classical) energy equation for an electron:
E= \frac{p^2}{2m}-\frac{e^2}{4 \pi \epsilon_0 r}
Now you think, in quantum mechanics you always have to throw in Planck’s constant, so how do you do that? Well we have momentum and position…mmm…momentum and position, then BAM!, you remember that planck’s contant (h-bar) has units of position times momentum because you remember the Heisenberg uncertainty principle.  So let’s just postulate through dimensional analysisthat:
p r = \hbar
and substitute that into the energy equation, eliminating position:
E= \frac{p^2}{2m}-\frac{e^2 p}{4 \pi \epsilon_0 \hbar}
Now we want to find the lowest energy level, so we do the usual calculus to minimize this function, E(p), and find:
p_{min}=\frac{e^2 m}{4 \pi \epsilon_0 \hbar}
Which tells us that:
E_{min}= -\frac{e^4m}{2(4 \pi \epsilon_0)^2 \hbar^2} \sim -13.6eV
And out of shear dumb luck, that is not just the approximate answer, it’s the exact answer to the full solution of the Schrodinger equation! Before I celebrate too much, I should admit that I could have used h instead of h-bar (which is just h/2pi). In that case I would have gotten -0.34 eV, which is definitely in the right ball park, but not nearly as impressive as getting the exact answer.

Of course you could just use dimensional on all the relevant constants in the equation.  You know that, being quantum mechanics you have include Planck’s constant.  Obviously the electric force is involved so you have to include the fundamental unit of charge and the permittivity of free space in the following way:

\frac{e^2}{4 \pi \epsilon_0}

And finally you include the mass of the electron.  If you have some experience with these types of problems you will know that you don’t have to include the proton mass because it’s so much heavier than the electron.  Then you have to solve the following equation for a, b and c.

ML^2 T^{-2}=\left[\frac{e^2}{4 \pi \epsilon_0}\right]^a \left[m_e\right]^b \left[\hbar\right]^c

Where the brackets [] mean the units of the constant and the right hand side of the equation are the units of energy.  When you do this you will find that a = 4, b = 1, and c = -2 which gives:

\frac{m_e e^4}{(4 \pi \epsilon_0)^2\hbar^2} \sim 27.2 eV

This result is only off by a factor of two!  Also, you should know that a negative sign belongs there as we’re talking about bound energies.  So, if the above were all you knew about the hydrogen atom, you would be able to rightly conclude that all the bound electronic energy levels are between 0 eV (which is to say the electron is free) and negative several tens of eV.  And this is totally correct!  Then when you have more time you can show that all the bound levels are between 0 eV and -13.6 eV.

I know it sounds crazy, just cobbling together relevant quantites to get important results, but it works.  If you understand the physics of the problem well enough, and you can guess what the relevant parameters are, then you’re ready to pull out the envelope and start calculating.




Recreational physics: crater size

Posted in Science with tags , , on August 16, 2009 by Grad Student

This morning I had fun trying to estimate the diameter of a “crater” created by dropping a metal ball into a box of sand. The “craters” in the sand don’t actually look like a real crater, it looks like a conical hole. (Okay so the pic below is actually that of an antlion trap).

Antlion_trap

I got the idea for this calculation from a lab I teach where the students drop metal balls of varying masses (20-150 grams) from the same height. They then measure how the diameter of the craters change with the mass of the ball. The hypothesis is that the diameter of the crater, D, depends on the kinetic energy of the ball, KE, like so:

D=k (KE)^n

where k and n are the constants that the students will figure out by doing the experiment. As I’ve been the TA for this lab about 6 times, I remember that usually k = 0.1 and n = 0.3. So this morning, I tried to use basic kinematics to see if I could derive what k and n should be theoreticallly. First, I estimated that all the kinetic energy of the ball is used to throw the sand particles to the edge of the crater. This energy is:
KE=\frac{N m v^2}{2}
where N is the number of sand particles displaced to the edge of the crater, m is their mass and v is the velocity imparted to them by the ball. We know that N can be expressed as
N=\frac{\rho V}{m}
and the volume, V, of the crater is
V=\frac{1}{3}\pi R^2 h
assuming the crater is conical and h is the depth of the cone. How do we find h? Note that h isn’t necessarily equal to how far the ball penetrates into the sand. In many cases you can’t even see the ball at the bottom of the crater because it’s covered with sand. Instead, I think the angle of the slope of the sand may remain roughly constant, which mean that h is proportional to R:
h=w R
where w is the cotangent of the opening angle of the cone, which I assume it constant. To find how far the sand particles get kicked, we can use the range formula:
R\sim \frac{v^2}{g}
where g is the acceleration due to gravity and v is the initial velocity of the sand particles. This formula is exact if the particles are thrown on level ground at an angle of 45 degrees, which is obviously an approximation in our case. Now we can finally put all this together to express the kinetic energy of the ball as:
KE=\frac{\rho \pi R^2 w R m R g}{2 \cdot 3 m}
now we can rearrange the formula, cancel out the sand particle mass, and find out how the diameter, D=2R, of the crater depends on the ball’s kinetic energy:
D= 2 \left(\frac{6}{\pi \rho w g}\right)^{1/4}(KE)^{1/4}
Comparing this to the first equation above, we see that my predicted n=0.25 isn’t that far away from the n=0.3 found by experiment! Also, k is equal to all the stuff in front of KE in the above equation. If we say that w ~ 1 and the density of sand is about 3 grams per cubic center and gravity is 980 cm/s^2, then:
k= 2 \left(\frac{6}{\pi \rho w g}\right)^{1/4}=2\left(\frac{6}{3.14 \cdot 3\cdot 1 \cdot 980}\right)^{1/4}\sim 0.32
Compare this with experimentally found value of k=0.1. My theoretical value of k doesn’t seem to be as accurate as my theoretical n value, but still it’s the same order of magnitude. Since my predictions of n and k are in the right ballpark (especially n), that suggests that I’m getting at least some of the physics right. A huge simplification I’ve made is in assuming that all the ball’s kinetic energy goes into launching sand particles to the edge of the crater. In fact, if I assume that 1% of the ball’s energy goes into ejecting the sand particles, that will reduce my k to 0.1. I should also mention that this analysis is completely wrong when it comes to craters on the moon or other places in the solar system. When you get a rock the size of house or a city hitting the ground with a speed between 10 and 70 kilometers per second, other physics comes into play (e.g. shock waves, vaporization). You can see the difference by comparing the photo below of a real crater to the photo at the beginning of the post.
crater

Gamma ray bursts

Posted in Science on March 4, 2009 by Grad Student

I’m conflicted about gamma ray bursts.  They have many similarities to AGN jets (what I study), but we can’t image them!  Below is an AGN jet that we can resolve and study the features of.

cyg_a_big1

On the other hand, below is a gamma ray burst that we cannot resolve at all.  Below left is the zoomed out version, below right is the zoomed in version.  the gamma ray burst is just an unresolved blob.

At the end of the day it’s all about scales and total energy.  AGN jets have a huge gravitational engine, in the form of a black hole that is a billion times the mass of our sun.  On the other hand, a gamma ray burst has a smaller engine that is between 10 and 100 times the mass of the sun.  This translates into a huge differene in scales and duration.  An AGN jet is millions of times larger than a gamma ray burst and therefore resolvable (there are other issues also).  Still our dearth of knowledge regarding gamma ray bursts makes them all the more interesting.  At the end of the day though, I’m glad to be studying AGN jets.

Calculating imaginary things.

Posted in Science with tags , on October 28, 2008 by Grad Student

These days I’ve been recalculating some important properties about the light seen coming out these jets.

Actually, my calculations concern the first little bit of the jet coming out of the central dot (that’s where a supermassive black hole is thought to reside).  I wrote “recalculating” because people (including my advisor and his advisor) have done this before.  So it ain’t that exciting, but still I’m getting my feet wet.  The other disheartening part is that the assumptions I’m making are way too simple.  We’re assuming the magnetic field looks like a spring (helical) and the jet is cylindrical.  However, jets are far more messy than this, we can only hope that our simple model describes the average properties of the light we see.

So I spend my time calculating stuff we would see from an imagninary object hoping that it will bear some resemblance to the actual beast out there.  Following Obama, I’ll call this the audacity of theoretical astrophysics.