<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>4by12 &#187; Physics</title>
	<atom:link href="http://4by12.com/blog/archives/category/physics/feed" rel="self" type="application/rss+xml" />
	<link>http://4by12.com/blog</link>
	<description>by Guy Gur-Ari</description>
	<lastBuildDate>Sat, 21 Aug 2010 00:01:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A Short Note on the Poincaré Algebra</title>
		<link>http://4by12.com/blog/archives/131</link>
		<comments>http://4by12.com/blog/archives/131#comments</comments>
		<pubDate>Fri, 22 May 2009 17:03:02 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/?p=131</guid>
		<description><![CDATA[As physicists, we learn that the Poincaré algebra has two Casimirs, and , together describing the mass and spin of a particle. A standard question is then, &#8220;why does the algebra have two Casimirs?&#8221; and the standard answer is, &#8220;because it is a rank 2 algebra, for instance taking as the Cartan&#8221;. Well this seems [...]]]></description>
			<content:encoded><![CDATA[<p>As physicists, we learn that the Poincaré algebra has two Casimirs, <img src='/latexrender/pictures/ab38acaab90d464bdf88fa9c6fbfe333.png' title='p_\mu p^\mu' alt='p_\mu p^\mu' align=absmiddle> and <img src='/latexrender/pictures/59fc9404b7bfe27a4079ac851a4bdbfc.png' title='W_\mu W^\mu' alt='W_\mu W^\mu' align=absmiddle>, together describing the mass and spin of a particle. A standard question is then, &#8220;why does the algebra have two Casimirs?&#8221; and the standard answer is, &#8220;because it is a rank 2 algebra, for instance taking <img src='/latexrender/pictures/b06726df018922e6758f3214ead7da1e.png' title='\left\{ p_0,J_3 \right\}' alt='\left\{ p_0,J_3 \right\}' align=absmiddle> as the Cartan&#8221;. Well this seems wrong, since we can also take <img src='/latexrender/pictures/3e282892fd59f396c2f72049253e93a6.png' title='\left\{p_\mu\right\}_\mu' alt='\left\{p_\mu\right\}_\mu' align=absmiddle> as the Cartan, which is of dimension 4. </p>
<p>It is a standard result that any Cartan subalgebra of a (complex) semisimple Lie algebra has the same size, so what&#8217;s going on?</p>
<p>The answer is simple: Poincaré isn&#8217;t a <em>semisimple</em> Lie algebra. Therefore we have to be careful about how to define the rank. First, let&#8217;s see why Poincaré isn&#8217;t semisimple.</p>
<p><b>Definition.</b> If <img src='/latexrender/pictures/b2f5ff47436671b6e533d8dc3614845d.png' title='g' alt='g' align=absmiddle> is a complex Lie algebra, then an <em>ideal</em> in <img src='/latexrender/pictures/b2f5ff47436671b6e533d8dc3614845d.png' title='g' alt='g' align=absmiddle> is a complex subalgebra <img src='/latexrender/pictures/2510c39011c5be704182423e3a695e91.png' title='h' alt='h' align=absmiddle> of <img src='/latexrender/pictures/b2f5ff47436671b6e533d8dc3614845d.png' title='g' alt='g' align=absmiddle> such that, for all <img src='/latexrender/pictures/0f0aec368cf183b239ab385863abd4c1.png' title='X \in g' alt='X \in g' align=absmiddle> and <img src='/latexrender/pictures/d42f7caac220102a2e6a1724081e407e.png' title='H \in h' alt='H \in h' align=absmiddle>, <img src='/latexrender/pictures/ac35b9c3c2753689beabe9a005c524b4.png' title='[X,H] \in h' alt='[X,H] \in h' align=absmiddle>.</p>
<p>The brackets of a Lie algebra can be thought of as a product of two elements in that algebra. Then, an ideal (as always), is a sort of &#8216;zero&#8217;, making anything it multiplies a member of itself (just like <img src='/latexrender/pictures/7d114bf80931553e0acb29417fd29fbb.png' title='x \cdot 0 = 0' alt='x \cdot 0 = 0' align=absmiddle> for any <img src='/latexrender/pictures/9dd4e461268c8034f5c8564e155c67a6.png' title='x' alt='x' align=absmiddle>).</p>
<p><b>Definition.</b> A complex Lie algebra <img src='/latexrender/pictures/b2f5ff47436671b6e533d8dc3614845d.png' title='g' alt='g' align=absmiddle> is called <em>simple</em> if <img src='/latexrender/pictures/3c95306078da63d736c61a0819a7acbd.png' title='dim g \ge 2' alt='dim g \ge 2' align=absmiddle>, and the only ideals in <img src='/latexrender/pictures/b2f5ff47436671b6e533d8dc3614845d.png' title='g' alt='g' align=absmiddle> are <img src='/latexrender/pictures/b2f5ff47436671b6e533d8dc3614845d.png' title='g' alt='g' align=absmiddle> and <img src='/latexrender/pictures/49565e389414292f8fcf95678b9d3ab6.png' title='\left\{0\right\}' alt='\left\{0\right\}' align=absmiddle>.</p>
<p><b>Definition.</b> A complex Lie algebra is called <em>semisimple</em> if it&#8217;s (isomorphic to) a direct sum of simple Lie algebras.</p>
<p>We can now see why the Poincaré algebra isn&#8217;t simple. Translations, namely <img src='/latexrender/pictures/3e282892fd59f396c2f72049253e93a6.png' title='\left\{p_\mu\right\}_\mu' alt='\left\{p_\mu\right\}_\mu' align=absmiddle>, form a basis for an ideal: Translations commute, and the commutator of a translation with a rotation <img src='/latexrender/pictures/5fa13b39f73a0dbe5285a81e9addde23.png' title='M_{\mu \nu}' alt='M_{\mu \nu}' align=absmiddle> is a sum of translations. It is also not semisimple, which I guess can be seen by considering the <img src='/latexrender/pictures/7b7281d259c4febeb99ab5f28cc43c74.png' title='SU(2) \times SU(2)' alt='SU(2) \times SU(2)' align=absmiddle> decomposition of the Lorentz subalgebra, then adding translations which will &#8216;link&#8217; the two components.</p>
<p>The Cartan can be defined for non-semisimple algebras, and it turns out it is the Cartan of the largest semisimple subalgebra. In the case of Poincaré, the largest semisimple subalgebra is the Lorentz subalgebra. So we can still define the rank to be the size of the Cartan, with this more general definition. I don&#8217;t know if the relation between the number of Casimirs and the rank still holds in this case, but at least for the Poincaré algebra it does turn out correctly, since the rank of the Lorentz algebra is 2.</p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/131/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Correct arXiv authors in Google Reader</title>
		<link>http://4by12.com/blog/archives/128</link>
		<comments>http://4by12.com/blog/archives/128#comments</comments>
		<pubDate>Sun, 18 Jan 2009 20:24:37 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/?p=128</guid>
		<description><![CDATA[Google Reader has an annoying problem when viewing arXiv.org feeds: The author names get mixed up with some HTML code and become unreadable. I tried using Yahoo! Pipes to solve the problem, but Pipes somehow messed up the whole feed, even when it wasn&#8217;t supposed to do anything. Anyway, to fix this I wrote a [...]]]></description>
			<content:encoded><![CDATA[<p>Google Reader has an annoying problem when viewing <a href="http://arxiv.org/">arXiv.org</a> feeds: The author names get mixed up with some HTML code and become unreadable. </p>
<p>I tried using Yahoo! Pipes to solve the problem, but Pipes somehow messed up the whole feed, even when it wasn&#8217;t supposed to do anything. </p>
<p>Anyway, to fix this I wrote a small &#8216;feed proxy&#8217; that removes the offending HTML code. If you subscribe to it instead of the official feed, you&#8217;ll get good looking author names.</p>
<p>The feed proxy address for hep-th is:<br />
 <a href="http://4by12.com/cgi-bin/arxiv_feed.pl?feed=hep-th">http://4by12.com/cgi-bin/arxiv_feed.pl?feed=hep-th</a></p>
<p>For other feeds, replace &#8216;hep-th&#8217; by any other arXiv topic. For example, try <a href="http://4by12.com/cgi-bin/arxiv_feed.pl?feed=gr-qc">gr-qc</a> or <a href="http://4by12.com/cgi-bin/arxiv_feed.pl?feed=math-ph">math-ph</a>.</p>
<p>Disclaimer: This feed proxy is provided as-is. I can&#8217;t guarantee uptime, data integrity, or anything else regarding this service.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/128/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Legendre Transform</title>
		<link>http://4by12.com/blog/archives/117</link>
		<comments>http://4by12.com/blog/archives/117#comments</comments>
		<pubDate>Sat, 05 Jan 2008 02:19:04 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/117</guid>
		<description><![CDATA[The Legendre transform is a simple and useful tool in some branches of physics such as Thermodynamics and Mechanics. In my experience though, this transform is usually explained in a very confusing way. I want to give my own derivation, which I hope is clear and straightforward. If you&#8217;re already familiar with the transform, you [...]]]></description>
			<content:encoded><![CDATA[<p>The Legendre transform is a simple and useful tool in some branches of physics such as Thermodynamics and Mechanics. In my experience though, this transform is usually explained in a very confusing way. </p>
<p>I want to give my own derivation, which I hope is clear and straightforward. If you&#8217;re already familiar with the transform, you can skip straight to <i>Derivation of the Legendre Transform</i>.</p>
<h2>Some Background</h2>
<p>Let&#8217;s start with the definition. If you have a function f(x), its Legendre transform is a function g(p), where p is thought of as f(x)&#8217;s derivative. g(p) is defined as:</p>
<p><center><img src='/latexrender/pictures/b658c0d439db87fed08de704df38bd59.png' title='g(p) = xp-f(x)' alt='g(p) = xp-f(x)' align=absmiddle></center></p>
<p>This definition is already confusing, because x is considered a function of p. This function is found by solving the following equation for x:</p>
<p><center><img src='/latexrender/pictures/7a338881435ffcc84748515586d1ef4f.png' title='p = \frac{df}{dx}(x)' alt='p = \frac{df}{dx}(x)' align=absmiddle></center></p>
<p>To clarify matters, let&#8217;s consider an example. Take <img src='/latexrender/pictures/d271cedde6675e55152d3c7a4236f775.png' title='f(x)=x^2' alt='f(x)=x^2' align=absmiddle>, then:</p>
<p><center><img src='/latexrender/pictures/b43bbe8703dac6d17a59bdcb2d2141b8.png' title='p=\frac{df}{dx}(x)=2x' alt='p=\frac{df}{dx}(x)=2x' align=absmiddle></center><br />
<center><img src='/latexrender/pictures/e0bd34610fdc577ac311571354bffce0.png' title='x=p/2' alt='x=p/2' align=absmiddle></center></p>
<p>The Legendre transform is then:<br />
<center><img src='/latexrender/pictures/a8bc3ada7dcf28cdb00c87ef4d4ef1c0.png' title='g(p) = x(p)p-f(x(p))=\frac{p}{2}p-(\frac{p}{2})^2=\frac{p^2}{4}' alt='g(p) = x(p)p-f(x(p))=\frac{p}{2}p-(\frac{p}{2})^2=\frac{p^2}{4}' align=absmiddle></center></p>
<p>Okay, what is it good for? The usual explanation starts with some geometric construction like the one you see on <a href="http://en.wikipedia.org/wiki/Legendre_transformation">Wikipedia</a>(*). Then, to explain why the transform works, you are shown the differential:</p>
<p><center><img src='/latexrender/pictures/e22c87959ef4568019722ad190dab438.png' title='df=\frac{df}{dx}dx=pdx' alt='df=\frac{df}{dx}dx=pdx' align=absmiddle></center><br />
<center><img src='/latexrender/pictures/5d5c6d67173005c7fa3e7b2c33fd2033.png' title='dg=d(px)-df=xdp+pdx-pdx=xdp' alt='dg=d(px)-df=xdp+pdx-pdx=xdp' align=absmiddle></center></p>
<p>And the conclusion is that g is indeed a function of p, which is f&#8217;s derivative. Mathematically speaking, this argument is quite unconvincing, because saying that g is a function of f&#8217;(x) has no meaning. g is a function of some real number, and this number has no intrinsic connection to any derivatives. </p>
<p>One possible relation could be that g and f agree if you give the corresponding arguments:</p>
<p><center><img src='/latexrender/pictures/08fc33f328166c9edf9133731fb4ef50.png' title='g(\frac{df}{dx}(x))=f(x)' alt='g(\frac{df}{dx}(x))=f(x)' align=absmiddle></center></p>
<p>but this is not the case! Some better explanation is obviously needed.</p>
<h2>Derivation of the Legendre Transform</h2>
<p>We define as before:<br />
<center><img src='/latexrender/pictures/75c78038c497b73beec28d5fb7f4bfc8.png' title='p(x)=\frac{df}{dx}(x)' alt='p(x)=\frac{df}{dx}(x)' align=absmiddle></center></p>
<p>And we are looking for a function g(p). The crucial point is this: We require that g&#8217;s derivative will correspond to x:<br />
<center><img src='/latexrender/pictures/c75ab3b8e7cc1fdc00dda6965f7313d9.png' title='x=\frac{dg}{dp}(p)' alt='x=\frac{dg}{dp}(p)' align=absmiddle></center></p>
<p>Rigorously, this means:</p>
<p><center><img src='/latexrender/pictures/eaf1fc9c5cb5dc1b2e411783c781fe1c.png' title='x=\frac{dg}{dp}(p(x))' alt='x=\frac{dg}{dp}(p(x))' align=absmiddle></center></p>
<p>Where p(x) is the function defined by the first requirement.</p>
<p>Now we have something we can use. We look at the function g(p(x)) and we calculate:</p>
<p><center><img src='/latexrender/pictures/1451fc7f5eb233435ab1a450122e8f0e.png' title='\frac{d}{dx}g(p(x))=\frac{dg}{dp}(p(x)) \cdot \frac{dp}{dx}(x) = x \cdot \frac{d^2f}{dx^2}(x) ' alt='\frac{d}{dx}g(p(x))=\frac{dg}{dp}(p(x)) \cdot \frac{dp}{dx}(x) = x \cdot \frac{d^2f}{dx^2}(x) ' align=absmiddle></center></p>
<p>Both requirements were used in the last transition. We now integrate this equation by dx:</p>
<p><center><img src='/latexrender/pictures/3a6a8467d6cba077f9d1c7c65807e1d8.png' title='\int \frac{d}{dx}g(p(x)) dx=\int x \cdot \frac{d^2f}{dx^2}(x) dx ' alt='\int \frac{d}{dx}g(p(x)) dx=\int x \cdot \frac{d^2f}{dx^2}(x) dx ' align=absmiddle></center></p>
<p>Integrating by parts on the right-hand side: </p>
<p><center><img src='/latexrender/pictures/453e22468691df320229e9ee1f251ac4.png' title='g(p(x))=x \cdot \frac{df}{dx}(x)-\int \frac{df}{dx}(x) dx = xp(x)-f(x) + C' alt='g(p(x))=x \cdot \frac{df}{dx}(x)-\int \frac{df}{dx}(x) dx = xp(x)-f(x) + C' align=absmiddle></center></p>
<p>Thus g(p) is defined up to a constant, and choosing C=0 we get the familiar Legendre transform:</p>
<p><center><img src='/latexrender/pictures/b81cb17580cf7054289d25293caaf606.png' title='g(p)=xp-f(x)' alt='g(p)=xp-f(x)' align=absmiddle></center></p>
<h2>Motivation</h2>
<p>Finally, I want to comment on this second requirement that x=g&#8217;(p), which is how I came up with this derivation. In Thermodynamics, the important parameters of a problem always come in pairs: Pressure and Volume, Temperature and Entropy, Number of particles and the Chemical constant, and so on. They are paired by the First Law, which is conservation of energy:</p>
<p><center><img src='/latexrender/pictures/c0e068a2c0d723e3fecb7e8ab4b156a8.png' title='dU = TdS-PdV + \mu dN + ~ \cdots' alt='dU = TdS-PdV + \mu dN + ~ \cdots' align=absmiddle></center></p>
<p>So here, the internal energy U is a natural function of S,V,N. Its partial derivatives are T,-P, and mu. Of course it can depend on other variables and there are other derivatives, but these are the ones that are easiest to calculate.</p>
<p>The Legendre transform is used to get new forms of energy that are naturally dependent on other parameters. This is done by switching between pairs of variables. For instance, if you know the temperature T instead of the entropy S, you can transform like this:</p>
<p><center><img src='/latexrender/pictures/4011c60e02d111b524ddbd6dd1c2c14e.png' title='F = U-TS' alt='F = U-TS' align=absmiddle></center></p>
<p>F is called the &#8216;Helmholtz Free Energy&#8217;, and its natural parameters are T,V,N: </p>
<p><center><img src='/latexrender/pictures/8227eac1256b84954a5c271ce4f05591.png' title='dF = -SdT-PdV + \mu dN + ~ \cdots' alt='dF = -SdT-PdV + \mu dN + ~ \cdots' align=absmiddle></center></p>
<p>So T, which was a derivative before, is now a parameter. But equally as important, S is now a derivative. This is very important because it allows us to calculate S very easily. If we had a new function F=F(T,V,N) that wouldn&#8217;t allow simple calculation of S, it would be useless. This is what makes the Legendre transform so useful.</p>
<p>Having said that, we now see that we can define other transforms by changing this requirement. We still get functions that can be thought of as &#8216;functions of the derivative of f&#8217;. For example, require:</p>
<p><center><img src='/latexrender/pictures/183fb4e6bba69cbe5c3bbcb15e24cad3.png' title='ax+b=\frac{dg}{dp}(p)' alt='ax+b=\frac{dg}{dp}(p)' align=absmiddle></center></p>
<p>Where a,b are some arbitrary parameters. Then we get a new transform:</p>
<p><center><img src='/latexrender/pictures/6d1a23c978b7e257c3ccbe9781febdcf.png' title='g(p) = a(xp-f(x)) + bp' alt='g(p) = a(xp-f(x)) + bp' align=absmiddle></center></p>
<p>Perhaps this method can generate some other useful transforms.</p>
<p><small>(*) I just saw that Wikipedia has something that is related to my explanation under &#8216;Another definition&#8217;, although it goes through a different route and still uses the geometric requirements.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/117/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Relativistic Bohr Model</title>
		<link>http://4by12.com/blog/archives/112</link>
		<comments>http://4by12.com/blog/archives/112#comments</comments>
		<pubDate>Sat, 10 Nov 2007 14:20:51 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/112</guid>
		<description><![CDATA[I recently needed to find the energy levels of hydrogen-like atoms (i.e. atoms with a single electron), taking into account relativistic effects. These effects become important for atoms with a large number of protons. I only had a couple of days to do this, and I figured the easiest thing would be to create a [...]]]></description>
			<content:encoded><![CDATA[<p>I recently needed to find the energy levels of hydrogen-like atoms (i.e. atoms with a single electron), taking into account relativistic effects. These effects become important for atoms with a large number of protons.</p>
<p>I only had a couple of days to do this, and I figured the easiest thing would be to create a relativistic version of the <a href="http://en.wikipedia.org/wiki/Bohr_model">Bohr model</a>. This is a toy model that predicts the energy levels of a non-relativistic hydrogen atom.</p>
<p>The first thing I guessed was that the basic assumption from the Bohr model regarding the angular momentum still holds. That is:</p>
<p><center><img src='/latexrender/pictures/723159a5f0d5d415ac907996f9c0df56.png' title='L=n\hbar' alt='L=n\hbar' align=absmiddle></center></p>
<p>where <img src='/latexrender/pictures/7b8b965ad4bca0e41ab51de7b31363a1.png' title='n' alt='n' align=absmiddle> is some integer and <img src='/latexrender/pictures/e395749c6a6a497d729be52525d5d71d.png' title='\hbar' alt='\hbar' align=absmiddle> is <a href="http://en.wikipedia.org/wiki/Hbar">hbar</a>.</p>
<p>Also, the electron should still travel in a circular orbit, so that:</p>
<p><center><img src='/latexrender/pictures/11b59afa6ff68e70757c8892d7d5c47c.png' title='L=rp' alt='L=rp' align=absmiddle></center></p>
<p>where <img src='/latexrender/pictures/4b43b0aee35624cd95b910189b3dc231.png' title='r' alt='r' align=absmiddle> is the orbit radius and <img src='/latexrender/pictures/83878c91171338902e0fe0fb97a8c47a.png' title='p' alt='p' align=absmiddle> is the linear momentum. It is easy to show that this is still correct relativistically (*).</p>
<p>Next we have the energy, which for a free particle now obeys the dispersion relation:</p>
<p><center><img src='/latexrender/pictures/007d76885a175ed1f86c0af692380ec9.png' title='E^2 = p^2 c^2 + m^2 c^4' alt='E^2 = p^2 c^2 + m^2 c^4' align=absmiddle></center></p>
<p>Our electron is in the electric field created by the nucleus, so this should be (**) :</p>
<p><center><img src='/latexrender/pictures/18ebe7ec402ae5cd35264592e006b01d.png' title='E = \sqrt{p^2 c^2 + m^2 c^4}-\frac{Z e^2}{r}' alt='E = \sqrt{p^2 c^2 + m^2 c^4}-\frac{Z e^2}{r}' align=absmiddle></center></p>
<p>Where <img src='/latexrender/pictures/e1671797c52e15f763380b45e841ec32.png' title='e' alt='e' align=absmiddle> is the electron charge and <img src='/latexrender/pictures/6f8f57715090da2632453988d9a1501b.png' title='m' alt='m' align=absmiddle> is its rest mass.</p>
<p>Let&#8217;s find the possible orbit radii. In the classical Bohr model this is usually done by calculating the force acting on the particle. But here we already wrote down this nice expression for the energy so we might as well use it&#8230; To do that, we will venture one last guess.</p>
<p>We assume that, given angular momentum <img src='/latexrender/pictures/723159a5f0d5d415ac907996f9c0df56.png' title='L=n\hbar' alt='L=n\hbar' align=absmiddle>, the system chooses the radius where it has minimal energy.</p>
<p>You can verify for example that when you make this assumption in the non-relativistic version (instead of using forces and such), you still get the same result.</p>
<p>To get the orbit radii we then need to solve:</p>
<p><center><img src='/latexrender/pictures/ca896ec866d5132aba58a9b1562945a9.png' title='\frac{dE}{dr} = 0' alt='\frac{dE}{dr} = 0' align=absmiddle></center></p>
<p>which comes to:</p>
<p><center><img src='/latexrender/pictures/e34099c84424f1276f81fed418175c22.png' title='r = \frac{L}{mc} \sqrt{ \left( \frac{Lc}{Ze^2} \right)^2-1 }' alt='r = \frac{L}{mc} \sqrt{ \left( \frac{Lc}{Ze^2} \right)^2-1 }' align=absmiddle></center></p>
<p>Plugging this into the expression for the energy we get the atom&#8217;s energy levels:</p>
<p><center><img src='/latexrender/pictures/c7de67eba3c05dbee03dfdf2f6d21e24.png' title='E_n = mc^2 \cdot \sqrt{1-\left(\frac{Ze^2}{n \hbar c}\right)^2}' alt='E_n = mc^2 \cdot \sqrt{1-\left(\frac{Ze^2}{n \hbar c}\right)^2}' align=absmiddle></center></p>
<p>And there you have it. I have reason to believe this model works, at least partially, because I used it on measurements of large-Z atoms and it fit the data splendidly (while the non-relativistic model failed miserably). In addition, taking <img src='/latexrender/pictures/943aed88e89e4e57d4c8de06570d7f07.png' title='Z \rightarrow 0' alt='Z \rightarrow 0' align=absmiddle> recovers the non-relativistic energies, as expected.</p>
<p>Having said that, you may have noticed a problem in the last expression. For large enough Z, it is imaginary, and energy isn&#8217;t imaginary. How large a Z? Well if you&#8217;re a physicist may have also noticed that the coefficient is the <a href="http://en.wikipedia.org/wiki/Fine_structure_constant">fine structure constant</a>:</p>
<p><center><img src='/latexrender/pictures/12c8e2037c60bb06fb37eda4f6f851d8.png' title='\alpha = \frac{e^2}{\hbar c} \approx \frac{1}{137}' alt='\alpha = \frac{e^2}{\hbar c} \approx \frac{1}{137}' align=absmiddle></center></p>
<p>So for the ground state <img src='/latexrender/pictures/6d24e2bc97c5e4283dd8e34674afe7ea.png' title='n=1' alt='n=1' align=absmiddle>, the largest possible Z is about 137. Above that, according to the model, the system is unstable. </p>
<p>You might be thinking that a more plausible explanation is that I made some mistake in my series of, uhm, guesses. That could be, but a quick look in the periodic table shows that it goes all the way up to&#8230; 118.</p>
<p>Well! Could this little toy model tell us something deep about the stability of atoms? Apparently it can. I googled for <i>&#8216;stability of large z atoms&#8217;</i> and came up with <a href="http://arxiv.org/pdf/math-ph/0401004">this review</a>, where the instability is discussed. In page 10 it says: </p>
<p><small></p>
<blockquote><p>The moral to be drawn from this is that relativistic kinematics plus quan-<br />
tum mechanics is a â€˜criticalâ€™ theory (in the mathematical sense). This fact<br />
will plague any relativistic theory of electrons and the electromagnetic field<br />
â€“ primitive or sophisticated.
</p></blockquote>
<p></small></p>
<p>&#8230; we are on the &#8216;primitive&#8217; side. <img src='http://4by12.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><small><br />
(*) This can be verified by taking <img src='/latexrender/pictures/f3f16efcb37bf491633ba5e3db2df6a7.png' title='L=p_\theta' alt='L=p_\theta' align=absmiddle> and making a change of coordinates:</p>
<p><center><img src='/latexrender/pictures/ef46052982f3676cb940b70738c2b4c2.png' title='L = p_\theta = \frac{\partial x_i}{\partial \theta} p_{x_i}' alt='L = p_\theta = \frac{\partial x_i}{\partial \theta} p_{x_i}' align=absmiddle></center></p>
<p>Place the electron on the intersection of the X axis and the circular orbit to obtain the answer.</p>
<p>(**) This guess can be justified by writing down the Lagrangian for a relativistic charged particle (c=1):</p>
<p><center><img src='/latexrender/pictures/3f802745f7f97470500e3260178c8901.png' title='L =-m u_\mu u^\mu-A_\mu J^\mu' alt='L =-m u_\mu u^\mu-A_\mu J^\mu' align=absmiddle></center></p>
<p>And converting to a Hamiltonian. Taking the Hamiltonian to be the energy, one arrives at this formula.<br />
</small></p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/112/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twin Paradox in a Closed Universe</title>
		<link>http://4by12.com/blog/archives/115</link>
		<comments>http://4by12.com/blog/archives/115#comments</comments>
		<pubDate>Fri, 21 Sep 2007 01:14:50 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/115</guid>
		<description><![CDATA[If you&#8217;re familiar with the twin paradox, you can skip straight to the Closed Universe section. Suppose you&#8217;re sitting in a car heading east at 100 km/h, while another car passes you by heading west at 100 km/h. According to special relativity, if you compare your clock with the clock of the passenger in the [...]]]></description>
			<content:encoded><![CDATA[<p><i>If you&#8217;re familiar with the twin paradox, you can skip straight to the <b>Closed Universe</b> section.</i></p>
<p>Suppose you&#8217;re sitting in a car heading east at 100 km/h, while another car passes you by heading west at 100 km/h. According to special relativity, if you compare your clock with the clock of the passenger in the other car (let&#8217;s call her Alice), you will notice that her clock runs slower than yours.</p>
<p>The closer your relative speed is to the speed of light, the more noticeable the difference will be. For example, if your relative speed is 90% the speed of light, you will see Alice&#8217;s clock running about 2.3 times slower than yours. Of course, it&#8217;s not just the clock that will run slower &#8212; <i>everything</i> will run slower, including, for example, biological processes. Alice will age 2.3 times slower than you.</p>
<p>But what makes you so special? Nothing, really. Because according to Alice, it&#8217;s <i>you</i> whose aging slowly. So whose right? Well, the short answer is that you&#8217;re both right, because time isn&#8217;t an absolute thing &#8212; it depends on who&#8217;s measuring it.</p>
<p>This line of reasoning leads to the famous &#8216;twin paradox&#8217;: Two twins, Alice and Bob, are born on earth (if you must know then yes, it&#8217;s the same Alice). At birth, Alice is put aboard a spaceship that can reach extremely high speeds and sent off into space for a long trip. She reaches the edge of the galaxy, makes a U-turn, and returns to earth. This round-trip takes her 40 years in earth-time.</p>
<p>Meanwhile, Bob remains on earth. When Alice gets back, Bob is 40 years old. Because Alice traveled at high speed, Bob saw her aging very slowly, so when she gets back she is much younger than Bob, say 20 years old. But according to Alice, it&#8217;s Bob who aged slowly, so actually Alice should be older than Bob. </p>
<p>That&#8217;s the twin paradox, but it isn&#8217;t really a paradox. The problem is that in order to make this round-trip, Alice has to accelerate &#8212; she can&#8217;t go away and back again with constant speed. Therefore, the problem is no longer symmetrical: Alice is accelerating, Bob isn&#8217;t. To calculate exactly what happens in this case you need to use general relativity, but the answer is that Bob is right and Alice is wrong: Alice will have aged more slowly than Bob.</p>
<h2>Closed Universe</h2>
<p>I&#8217;ve been wondering, what happens to the twin paradox if the universe is closed? What I mean by &#8216;closed&#8217; is that if you travel in a straight line, you end up back where you started. So the universe looks like a closed loop, only in three dimensions. (*)</p>
<p>In such a universe, the Alice twin can leave earth, travel with constant speed, and return to earth by simply going straight (**). Meanwhile, the Bob twin remains on earth like before. No one is accelerating, so the usual explanation of &#8216;Alice is accelerating and that&#8217;s cheating&#8217; doesn&#8217;t apply here. Apparently, the situation is symmetrical: Bob thinks Alice is moving and aging slowly, Alice thinks Bob is. Who is right?</p>
<p>Well the answer is rather interesting. In special relativity we are used to saying that there are no &#8216;preferred frames of reference&#8217; &#8212; that all inertial observers are the same, and that there are no absolute speeds, only relative ones. It turns out that in a closed universe this is no longer the case.</p>
<p>Consider the following experiment. Bob, who is on non-moving earth, simultaneously fires two photons at opposite directions. The photons travel around the universe and return to Bob, both at exactly the same instant. </p>
<p>Now let Alice perform this experiment on her spaceship. She sends out two photons, traveling at the speed of light. Let&#8217;s look at this experiment from Bob&#8217;s frame of reference, where the photons are still traveling at the speed of light (***). Bob sees the photons going around the universe, but meanwhile Alice is moving. So one photon will reach Alice before the other. Alice must observe the same thing (although they will not agree on the timing).</p>
<p>The same experiment, conducted by Bob or by Alice, produces different results. This is because Bob&#8217;s frame is special: It has zero speed, an <i>absolute</i> speed. Thus the symmetry between Bob and Alice is broken. Further calculations are required, but it turns out that Bob is correct: Alice ages less than Bob.</p>
<p>If you want more details, I found an <a href="http://arxiv.org/abs/gr-qc/0503070">interesting paper</a> that discusses this paradox, and also develops the Lorentz transformations for such a universe.</p>
<p><small><br />
(*) The mathematical term for this is actually &#8216;compact&#8217;, but that&#8217;s because mathematicians enjoy complicating things.</p>
<p>(**) You may be wondering how it&#8217;s possible to go in a circle without accelerating. You can try looking at it this way: In circular motion with constant speed, the vector of acceleration points inward toward the center of the circle. If you live in a 2-dimensional world, you can measure this vector because it points in a direction you can move in. For instance, you can hang a ball from a piece of string and watch the string stretch.</p>
<p>But if you live in a closed, 1-dimensional world, and you&#8217;re going in a circle, where is the acceleration vector pointing? It can&#8217;t point inward, because for you there&#8217;s no &#8216;inward&#8217;. In your 1D world there&#8217;s only front and back. As a consequence, you can&#8217;t measure this acceleration experimentally. And what you can&#8217;t measure experimentally doesn&#8217;t exist.</p>
<p>By the way, in terms of differential geometry, this is what <a href="http://en.wikipedia.org/wiki/Geodesic_curvature">geodesic curvature</a> is all about: It&#8217;s the part of the acceleration that&#8217;s due to the shape of the manifold.</p>
<p>(***) This is one of the premises of special relativity &#8212; that light travels at the same speed for all observers. If you&#8217;re unconvinced it&#8217;s still true in a closed universe, consider the following. The metric of a cylinder is the same as that of a plane &#8212; a cylinder isn&#8217;t curved. Similarly, the metric of a closed, 1-dimensional universe is the same as that of an open one:</p>
<p><center><img src='/latexrender/pictures/1222c3301137e3ebf3f69fdf44ab3957.png' title='ds^2 =-dt^2 + dx^2' alt='ds^2 =-dt^2 + dx^2' align=absmiddle></center></p>
<p>The constancy of light speed follows from the metric, and from assuming that the correct transformations (boosts) preserve the metric.<br />
</small></p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/115/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fun With PDEs &#8211; Part 2</title>
		<link>http://4by12.com/blog/archives/100</link>
		<comments>http://4by12.com/blog/archives/100#comments</comments>
		<pubDate>Mon, 17 Sep 2007 03:42:36 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/100</guid>
		<description><![CDATA[Last time I described the first pitfall I encountered when solving a PDE &#8212; an inherent instability in the partial derivatives. This time I&#8217;ll talk about the second pitfall, which is simpler conceptually, but has wider implications for programming in general. In my first implementation of the solution I used a simple method to calculate [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://4by12.com/blog/archives/93">Last time</a> I described the first pitfall I encountered when solving a PDE &#8212; an inherent instability in the partial derivatives. This time I&#8217;ll talk about the second pitfall, which is simpler conceptually, but has wider implications for programming in general.</p>
<p><!-- more --></p>
<p>In my first implementation of the solution I used a simple method to calculate the derivative:</p>
<p><center><img src='/latexrender/pictures/5a99aae890fe9ef5482881ed643463ad.png' title='\frac{\partial f}{\partial x}[j] = \frac{f[j+1]-f[j-1]}{2 \, dx}' alt='\frac{\partial f}{\partial x}[j] = \frac{f[j+1]-f[j-1]}{2 \, dx}' align=absmiddle></center></p>
<p>-<br />
This is just the average of the right and left derivatives. I wanted to improve the accuracy of the derivative calculation because of various reasons, so I turned to Savitsky-Golay filters, which were also described in the previous post. Using this method you get a digital filter that you apply to your data. If you&#8217;re not familiar with digital filters, you can think of a filter as an array of numbers <img src='/latexrender/pictures/5af756cddb7c4205b25dc611fb7532be.png' title='c_n, \, n=-l,\cdots,l' alt='c_n, \, n=-l,\cdots,l' align=absmiddle> which are applied to your function f as follows:</p>
<p><center><img src='/latexrender/pictures/9407c374a365816609eb54c168b72267.png' title='F[j] = \sum_{n=-l}^{l} f[j-n] * c_n' alt='F[j] = \sum_{n=-l}^{l} f[j-n] * c_n' align=absmiddle></center></p>
<p>-<br />
(I&#8217;m probably mixing up some of the signs here, but the intention is clear I&#8217;m sure). To calculate a derivative using S-G, you first apply their filter to your data, and then divide by the spatial resolution dx &#8212; the distance between adjacent points on the grid. It is worth noting that there is a highly efficient way of doing this calculation using FFT. For more details, see Numerical Recipes.</p>
<p>I implemented S-G and tested it using a simple sin(x) function, and it worked flawlessly. But after I inserted it into my main program, the simulation started spewing out strange results. After some debugging I discovered something very strange: Using S-G, the derivative of a constant function wasn&#8217;t zero, and in one case reached <img src='/latexrender/pictures/cdff2a8afd293bffefd62721a5da5a34.png' title='10^{44}' alt='10^{44}' align=absmiddle>. How odd! Debugging further, I found that non-zero derivatives only happened when the initial function f had very large (and constant) values, on the order of <img src='/latexrender/pictures/5fd4cbc231cfac0e9c216bb2c684ee89.png' title='10^{22}' alt='10^{22}' align=absmiddle>, and dx was very small, about <img src='/latexrender/pictures/3b71137b0196a3cef54e8b7fe41a2883.png' title='10^{-10}' alt='10^{-10}' align=absmiddle>.</p>
<p>To continue debugging, I dropped the fancy FFT convolution and switched to straightforward calculation &#8212; the one that&#8217;s shown in the last equation. This finally revealed the problem: When multiplying each value of the function f by the factor <img src='/latexrender/pictures/6f58730f154756d9dc7efb13fc938933.png' title='c_n' alt='c_n' align=absmiddle> and summing, some of the least significant bits are lost, because the numbers don&#8217;t all have the same exponent. So even though the calculation is accurate, the limitation of the computer&#8217;s double precision causes a loss of data. When the convolution is done, you&#8217;re left with a small value that&#8217;s not zero. But then to get the derivative you divide by dx, a very small number, and this shoots that small error through the roof. The smaller dx, the larger the derivative of the constant function! So once again, decreasing dx actually caused a larger error.</p>
<p>What helped me solve this problem was noticing that the S-G coefficients are anti-symmetric, i.e. <img src='/latexrender/pictures/beaa2c86c046bba1e03049196b794230.png' title='c_{-n} = -c_n' alt='c_{-n} = -c_n' align=absmiddle>. Specifically, anti-symmetric coefficients have the same exponent. Therefore I changed the summing order to sum pairs of anti-symmetric factors:</p>
<p><center><img src='/latexrender/pictures/030368e3f1eca0972f29ac06368059f6.png' title='F[j] = \sum_{n=1}^{l} (f[j-n] \cdot c_n + f[j+n] \cdot c_{-n}) + f[j] \cdot c_0' alt='F[j] = \sum_{n=1}^{l} (f[j-n] \cdot c_n + f[j+n] \cdot c_{-n}) + f[j] \cdot c_0' align=absmiddle></center></p>
<p>-<br />
This solved the problem: Constant functions now had a zero derivative, because each term in the sum was exactly zero, even in double precision. And the happy consequence was that this fix also solved the weird simulation results I started with.</p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/100/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with PDEs</title>
		<link>http://4by12.com/blog/archives/93</link>
		<comments>http://4by12.com/blog/archives/93#comments</comments>
		<pubDate>Tue, 01 May 2007 01:58:43 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/93</guid>
		<description><![CDATA[I just finished working on a numerical simulation of a set of partial differential equations (PDE). I developed these equations for a physics research project I&#8217;m involved in. The equations did not seem to be solvable analytically, so I had to do it numerically. This was my first attempt at solving a PDE, and writing [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished working on a numerical simulation of a set of partial differential equations (PDE). I developed these equations for a physics research project I&#8217;m involved in. The equations did not seem to be solvable analytically, so I had to do it numerically. This was my first attempt at solving a PDE, and writing the simulation turned out to be much more involved than with ordinary differential equations. Here are a couple of interesting pitfalls I encountered.</p>
<h2>PDE Primer</h2>
<p>In case you&#8217;re not familiar with the terminology, I&#8217;ll first explain what a PDE is. A simple equation contains one or more unknowns which represent numbers. For example: <img src='/latexrender/pictures/864a9b719133447ea244573cb054ddfb.png' title='x^2-x-1 = 0' alt='x^2-x-1 = 0' align=absmiddle>. An ordinary differential equation (ODE) is similar, except the unknown is a function rather than a number. Such an equation involves derivatives of the function. Here is an example:</p>
<p><center><img src='/latexrender/pictures/68d6a3d320e55151a2a773697c038965.png' title='f\prime(x) = f(x)' alt='f\prime(x) = f(x)' align=absmiddle></center></p>
<p>-<br />
The solution of this particular equation is <img src='/latexrender/pictures/3a1a0d583b0595d7e871ff3da1462c04.png' title='f(x) = c e^x' alt='f(x) = c e^x' align=absmiddle>, where <img src='/latexrender/pictures/4a8a08f09d37b73795649038408b5f33.png' title='c' alt='c' align=absmiddle> can be any number. Finally, a partial differential equation (PDE) involves a function that has two or more parameters, and includes partial derivatives of this function. For example, the following equation describes waves propagating through a medium:</p>
<p><center><img src='/latexrender/pictures/4a573760921c4497b5eff45969b866c9.png' title='\frac { \partial^2 f } { \partial t^2 } = v^2 \, \frac { \partial^2 f } { \partial x^2 }' alt='\frac { \partial^2 f } { \partial t^2 } = v^2 \, \frac { \partial^2 f } { \partial x^2 }' align=absmiddle></center></p>
<p>-<br />
PDEs are very important in physics. In fact, many of the basic laws of nature are described as PDEs. Examples include Maxwell&#8217;s equations, Shcrodinger&#8217;s equation, and Einstein&#8217;s field equations.</p>
<p>On to the simulation!</p>
<p><!-- more --></p>
<h2>Pitfall 1: Exploding Waves</h2>
<p>So, I built my model for the problem, derived the equations, and was ready to solve them. By &#8216;solving&#8217; I mean that I start out with the known function at time t=0, and I want to find out what that function is at a later time. My function initially looked like this:</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/05/rho0.gif"></center></p>
<p>Some thousands of time-steps later, it evolved into this:</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/05/rho1.gif"></center></p>
<p>So far so good, but then it completely exploded:</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/05/rho3_fix.gif"></center></p>
<p>Going back a bit in time, I was able to trace the beginning of this explosion:</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/05/rho2.gif"></center></p>
<p>And zooming in on the &#8216;wavy&#8217; part:</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/05/rho2_zoom.gif"></center></p>
<p>It looked as though waves were forming on my function, and then &#8216;exploding&#8217;. </p>
<p><H2>Inherent Instabilities</h2>
<p>I was certain I had a bug, but I couldn&#8217;t find it. While debugging, at one point I decreased the spatial resolution &#8212; using less points per unit of space to describe the function&#8230; and the problem was gone! So, <i>decreasing</i> the accuracy of my solution actually solved the instability&#8230; That was very weird.</p>
<p>Mentioning this to a Ph.D student at the lab, he said this problem sounded familiar to him. And as it turns out, this is a universal problem with PDEs: If the time step is too large compared with the spatial resolution, the amplitude of small waves with short wavelengths quickly increases with time until they dominate the solution. This is due to the way numerical derivatives are calculated. The difficulty here is that the time step needs to be incredibly small, making calculation unfeasible. For some equation, the situation is even worse, as they are unstable for any time step, no matter how small.</p>
<p>For simple PDEs, it is very easy to see this effect by taking the function f to be a wave, and watching what happens to the amplitude over time. You can see a derivation of this result <a href="http://farside.ph.utexas.edu/teaching/329/lectures/node79.html">here</a>. For a more in-depth discussion, Numerical Recipes is your friend. This method of analyzing equations is called von Neumann stability analysis.</p>
<h2>In Comes Lax</h2>
<p>Okay, so I found out not alone, but what can be done to solve this problem? The first thing I tried was to calculate the derivative more accurately. There is a method called Savitzky-Golay, where you fit a polynomial to your function at each point, and calculate the polynomial&#8217;s derivative at that point. The brilliant thing is that this whole operation (fit + derive) can be done using a single convolution, which costs a meager O(n log n) of processing time.</p>
<p>So I implemented S-G, only to discover it doesn&#8217;t solve the problem. More on that in a future post.</p>
<p>As it turns out, there is an incredibly simple solution due to Lax, which says the following. When advancing the function value to the next time step, you do something like this for each position:</p>
<p><center><img src='/latexrender/pictures/3de923578d6c440441bbc686d59bc5bf.png' title='f[j] = f[j] + \frac { \partial f } { \partial t } [j] * dt' alt='f[j] = f[j] + \frac { \partial f } { \partial t } [j] * dt' align=absmiddle></center></p>
<p>-<br />
The Lax method says that the f[j] at the right-hand side should be replaced by an average of it&#8217;s neighboring cells:</p>
<p><center><img src='/latexrender/pictures/08f7b12d31b3ef545da95e66ae44b89a.png' title='f[j] = \frac{f[j-1] + f[j+1]}{2} + \frac { \partial f } { \partial t } [j] \; dt' alt='f[j] = \frac{f[j-1] + f[j+1]}{2} + \frac { \partial f } { \partial t } [j] \; dt' align=absmiddle></center></p>
<p>-<br />
And that&#8217;s it! This replacement causes a numerical diffusion that &#8216;sedates&#8217; the unruly waves, causing them to decay instead of explode. The time step used in the simulation still needs to be below some value, but now it decreases linearly with the spatial distance dx, which is much better than before. So Lax saved the day &#8212; and that was the end of my first pitfall. This is getting to be quite a long post, so I&#8217;ll describe the second problem in another post. Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/93/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Poof and Foop</title>
		<link>http://4by12.com/blog/archives/85</link>
		<comments>http://4by12.com/blog/archives/85#comments</comments>
		<pubDate>Tue, 09 Jan 2007 20:55:54 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/85</guid>
		<description><![CDATA[This BoingBoing article raises the following question: (see the link for a nice illustration) If a can of compressed air is punctured and the escaping air blows to the right, the can will move to the left in a rocket-like fashion. Now consider a vacuum can that is punctured. The air blows to the left [...]]]></description>
			<content:encoded><![CDATA[<p>This <a href="http://www.boingboing.net/2007/01/08/physics_problem_poof.html">BoingBoing article</a> raises the following question: (see the link for a nice illustration)<br />
<i><br />
If a can of compressed air is punctured and the escaping air blows to the right, the can will move to the left in a rocket-like fashion.<br />
Now consider a vacuum can that is punctured. The air blows to the left as it enters the can. After the vacuum is filled the can will</p>
<p>a. be moving to the left<br />
b. be moving to the right<br />
c. not be moving<br />
</i></p>
<p>
What a great question! To clarify the problem, let&#8217;s say we don&#8217;t just puncture the right wall, but remove it altogether. So at t=0 we have a vessel with a left wall but without a right wall, and with vacuum inside. What happens next is pretty straightforward: gas molecules are hitting the left wall from the outside of the vessel, thus exerting a force to the right. No molecules are hitting the vessel from the right however, so we have a net force to the right. Hence at t=0 the vessel accelerates to the right.
</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/01/foop.thumbnail.png"></center></p>
<p>
The acceleration continues as the gas fills the vessel, until the first molecules that entered the vessel begin hitting the left wall &#8212; this time from the inside. The process of filling the vessel takes a finite amount of time, and therefore at the end of it the vessel is moving to the right with velocity V.
</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/01/foop2.thumbnail.png"></center></p>
<p>But that&#8217;s not the end of the story. Suppose the vessel is now completely filled with gas from the outside, so we have the same particle density with the same velocity distribution hitting the left wall from the inside as from the outside, and the vessel as a whole is moving to the right. To understand what happens next, let&#8217;s look at matters from the vessel&#8217;s point of view.</p>
<p>So we&#8217;re sitting on the vessel, completely still, and watching particles hitting our wall from the left and from the right. Whenever a particle hits the wall, we see it completely reverse its velocity and momentum. The vessel absorbs the difference in momentum and accelerates. But from our point of view, the particles to our left are slower than the ones to our right! That&#8217;s because, in the original frame of reference, the vessel is moving to the right &#8212; i.e. toward the particles on the right, and away from the particles on the left. As a result, the particles on the left are depositing less momentum with each hit on the wall &#8212; in other words, they are exerting a weaker force than those particles on the right.
</p>
<p><center><img src="http://4by12.com/blog/wp-content/uploads/2007/01/foop3.thumbnail.png"></center></p>
<p>
We&#8217;ve shown that F&lt;F&#8217;, so we have a net force to the left &#8212; slowing the vessel down. The slowing down will continue until V=0, at which time F=F&#8217; and the process is complete. So the answer is that at the end of the process, the vessel isn&#8217;t moving, but is positioned to the right of its original position.
</p>
<p>
Oh, and One Last Thing <img src='http://4by12.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . If you haven&#8217;t already, <a href="http://www.engadget.com/2007/01/09/live-from-macworld-2007-steve-jobs-keynote/">go feast your eyes on the iPhone</a>. The revolution has come!</p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/85/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Quantum Gravity?</title>
		<link>http://4by12.com/blog/archives/84</link>
		<comments>http://4by12.com/blog/archives/84#comments</comments>
		<pubDate>Wed, 06 Dec 2006 02:22:14 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/84</guid>
		<description><![CDATA[One of the hot research topics in theoretical physics today is quantum gravity. While physicists already figured out how to treat the rest of the basic forces in nature quantum mechanically, gravity is proving to be more difficult in this respect. One may ask, why bother? Why can&#8217;t we just live happily with our existing [...]]]></description>
			<content:encoded><![CDATA[<p>One of the hot research topics in theoretical physics today is quantum gravity. While physicists already figured out how to treat the rest of the basic forces in nature quantum mechanically, gravity is proving to be more difficult in this respect. One may ask, why bother? Why can&#8217;t we just live happily with our existing classical description of gravitation, namely general relativity? After all, there is no experimental evidence that gravity acts differently on small scales.</p>
<p>I&#8217;ll give my view on this in a minute, but please take it with a grain of salt, me being a mere undergrad and all <img src='http://4by12.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Most problems nature presents us with are too complicated for us to solve. If we are ever to solve anything, we must make our models as simple as possible: Take into account only those aspects of the system that are absolutely essential to describe the phenomena we are interested in. Otherwise, the models will lie beyond that tiny region of mathematics that we know how to handle. Deciding which parts to keep and which to throw out is a guessing game, and sometimes we get it wrong. One of the clues that we got it wrong is the appearance of a <em>singularity</em>: A region of the problem where the model breaks down, and fails to provide a solution.</p>
<p>There are several examples. One is the <a href="http://en.wikipedia.org/wiki/Ultraviolet_catastrophe">ultraviolet catastrophe</a> in blackbody radiation, which provided evidence that classical physics was insufficient, and which also showed that quantization might be a good way of looking at things. Another example, I believe, is from hydrodynamics, where viscosity (internal fluid friction) is sometimes introduced to get rid of singularities.</p>
<p>So what does this have to do with quantum gravity? Well, our classical description of gravity, general relativity, contains singularities. One such singularity occurs at the beginning of time &#8212; the big bang. Einstein&#8217;s equations allow us to calculate what happened right after the big bang, but they don&#8217;t tell us what went on prior to it. They sort of break down.</p>
<p>Judging from history, this suggests that general relativity is not a complete description of gravity&#8211;that something is missing. And betting on quantum gravity as that something seems to me a pretty good bet, seeing how we were able to solve similar problems we had with the other forces using this method.</p>
<p><em>I&#8217;d like to thank prof. Oded Agam from the HU, whose discussion of singularities in physics during a recent colloquium led me to this post</em></p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fermi Questions</title>
		<link>http://4by12.com/blog/archives/83</link>
		<comments>http://4by12.com/blog/archives/83#comments</comments>
		<pubDate>Thu, 16 Nov 2006 20:29:12 +0000</pubDate>
		<dc:creator>Guy Gur Ari</dc:creator>
				<category><![CDATA[Physics]]></category>

		<guid isPermaLink="false">http://4by12.com/blog/archives/83</guid>
		<description><![CDATA[Just found this nice list of Fermi questions. According to this Science Olympics site, A &#8220;Fermi question&#8221; is a question in physics which seeks a fast, rough estimate of quantity which is either difficult or impossible to measure directly. Here&#8217;s a nice question from the list: If the mass of one teaspoon of water could [...]]]></description>
			<content:encoded><![CDATA[<p>Just found this <a href="http://www.physics.uwo.ca/science_olympics/events/puzzles/fermi_questions.html">nice list</a> of Fermi questions. According to this Science Olympics site, <i>A &#8220;Fermi question&#8221; is a question in physics which seeks a fast, rough estimate of quantity which is either difficult or impossible to measure directly.</i></p>
<p>Here&#8217;s a nice question from the list:</p>
<ul>
<i>If the mass of one teaspoon of water could be converted entirely into energy in the form of heat, what volume of water, initially at room temperature, could it bring to a boil? (litres).</i>
</ul>
<p>Let&#8217;s see now. First, how much energy would we get by converting a teaspoon of water into heat? By far the largest contributor would be the rest mass of the water. The mass/energy conversion ratio is given by <img src='/latexrender/pictures/826676a6a5ad24552f0d5af1593434cc.png' title='E=mc^2' alt='E=mc^2' align=absmiddle>. A teaspoon contains a few grams of water, say 4 grams. So the amount of heat we get from it is:</p>
<p><img src='/latexrender/pictures/9f093ae9d41655270fcc12439a92194f.png' title='E_{teaspoon} = 4_{gr} (3 * 10^8_{m/s})^2 = 36 * 10^{-3}_{kg} * 10^{16}_{m^2/s^2} = 3.6 * 10^{14} _J' alt='E_{teaspoon} = 4_{gr} (3 * 10^8_{m/s})^2 = 36 * 10^{-3}_{kg} * 10^{16}_{m^2/s^2} = 3.6 * 10^{14} _J' align=absmiddle></p>
<p>Where J stands for Joule. 1 Joule is about 0.25 kilo-calories. Next, how much energy do we need to invest to boil 1 litre of water starting at room temperature? First, we need to heat the water from about 20 degress celsius to 100 degrees. Raising the temperature of 1 gram of water by 1 degree celsius takes about 4 Joules. So to heat 1 litre:</p>
<p><img src='/latexrender/pictures/fb45146c91e9e20ae1b534772265ba1f.png' title='E_1 = 4_{J/gr K} * 80_{K} * 1_{kg} = 3.2 * 10^5_J' alt='E_1 = 4_{J/gr K} * 80_{K} * 1_{kg} = 3.2 * 10^5_J' align=absmiddle></p>
<p>(K means Kelvin, which is for our purposes the same as degrees celsius)</p>
<p>But that&#8217;s just half the story. Once we&#8217;re at 100 degrees, transforming the water from liquid to gas requires an additional investment of energy, known as <i>latent heat</i>. This has nothing to do with temperature &#8212; the temperature doesn&#8217;t change at all during the process of vaporization itself. For water at 100 deg celsius, the latent heat for vaporization is about 2 kJ/gr. So to vaporize 1 litre of water we need:</p>
<p><img src='/latexrender/pictures/07475edd14df088e89dc79b8090ad47d.png' title='E_2 = 2 * 10^3_{J/gr} * 1_{kg} = 2 * 10^6_J' alt='E_2 = 2 * 10^3_{J/gr} * 1_{kg} = 2 * 10^6_J' align=absmiddle></p>
<p>Clearly the latent heat is the important factor here. So, the energy required to boil a litre of water is <img src='/latexrender/pictures/d585e7ac22eb053d26c3e73cff5bf914.png' title='E_{boil} = E_1 + E_2 = 2.3 * 10^6_J' alt='E_{boil} = E_1 + E_2 = 2.3 * 10^6_J' align=absmiddle>. Hence, the energy in our teaspoon can be used to boil this many litres:</p>
<p><img src='/latexrender/pictures/97ede24ea2afc44e92746b2eae197f6c.png' title='E_{teaspoon}/E_{boil} = 1.5 * 10^8' alt='E_{teaspoon}/E_{boil} = 1.5 * 10^8' align=absmiddle></p>
<p>Or about 150 million litres. To put that number in perspective, let&#8217;s measure the water volume in olympic swimming pools. i.e. how many olympic pools can a single teaspoon of water evaporate? According to <a href="http://www.faqfarm.com/Q/What_are_the_dimensions_of_an_Olympic-sized_swimming_pool">this site</a>, an olympic pool holds </p>
<p><img src='/latexrender/pictures/0fa043f0a055988040f31ebec009da14.png' title='50_m * 25_m * 2_m = 2.5 * 10^3 * 10^6_{cm^3} = 2.5 * 10^6_{litre}' alt='50_m * 25_m * 2_m = 2.5 * 10^3 * 10^6_{cm^3} = 2.5 * 10^6_{litre}' align=absmiddle></p>
<p>of water. Therefore, a teaspoon-worth of water can vaporize about 60 olympic swimming pools!</p>
]]></content:encoded>
			<wfw:commentRss>http://4by12.com/blog/archives/83/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
