{"id":1394,"date":"2007-10-29T11:00:09","date_gmt":"2007-10-29T16:00:09","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=1394"},"modified":"2008-09-19T20:54:44","modified_gmt":"2008-09-20T01:54:44","slug":"the-physics-of-portal","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=1394","title":{"rendered":"The Physics of Portal"},"content":{"rendered":"<p><table width='128'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/portal_icon_energy.gif' class='insetimage' width='128' alt='Portal' title='Portal'\/><\/td><\/tr><\/table>In my <a href=\"?p=1381\">previous post on Portal<\/a>, some people were talking about how the Portal Device  (PD) could easily be made into a perpetual motion machine.  This is something that struck me about Portals as well.  I can accept various inexplicable magical technologies, but I can&#8217;t accept violations to the first law of thermodynamics.  I have rigorously adhered to the laws of physics my entire life, and I&#8217;m not about to change that over some sexy new portal technology.  Let&#8217;s see if we can&#8217;t get a portal that respects the laws we hold so dear.<\/p>\n<p>Let&#8217;s assume that the PD is maintaining the portals.  It&#8217;s got a power source that can supply some finite level of power, and the PD itself is required to keep the portals open so that they are not self-sustaining.  The technology is pretty magical, but we want to keep it from obviously and flagrantly violating physics.<\/p>\n<p><table width='128'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/portal_icon_wheel.gif' class='insetimage' width='128' alt='Portal' title='Portal'\/><\/td><\/tr><\/table>The obvious and simplest way to get free energy from a portal is to place one at the bottom of a swimming pool and the other somewhere above the swimming pool.  Add a waterwheel between them and enjoy the free energy.  Some people suggested that you could avoid this violation by just having the portal consume lots of energy to remain open.  But swimming pools and water wheels are just the simplest way to make free energy.  You could put something of greater mass through the portal &#8211; say, depleted uranium ball bearings &#8211; and get <i>more<\/i> energy.  You can also move the exit portal higher to increase energy yield. So, you can&#8217;t just say that the portal gun uses &#8220;a lot&#8221; of energy in an attempt to balance out the free energy you&#8217;re getting, because once the portal is open there is no hard limit on how much mass you can cram through it, and thus no fixed limit on how much energy you can derive from it. There are practical limits, sure.  But physics doesn&#8217;t care about what is practical. <!--more--><\/p>\n<p><table width='128'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/portal_icon_bike.gif' class='insetimage' width='128' alt='Portal' title='Portal'\/><\/td><\/tr><\/table>Let&#8217;s instead think about what we&#8217;re doing when moving stuff through the portal.  We&#8217;re &#8220;creating&#8221; potential energy, which, if we want to obey the laws of physics, needs to be &#8220;paid for&#8221;.  If your bike is at the top of the hill, you can ride down without exerting yourself because of the potential energy.  But of course, you had to get the bike <em>up there<\/em> in the first place.  You <i>paid<\/i> for that potential energy, and in fact the second law of thermodynamics means that you <i>overpaid<\/i> for it.  You spent more getting to the top than you saved getting down.  (Riding your bike in a vacuum would help, but then nobody could hear your bell.)<\/p>\n<p>Tossing a concrete block into the portal so that exits ten meters in the air &#8211; further from the Earth &#8211; is just like moving your bike to the top of the hill for free.  You can&#8217;t do that. Once that heavy object is a little distance away, you can capture (some of) that potential energy when you let the object fall again.  We need to make sure our PD pays for the potential energy we get for transporting objects up.  (Lateral moves can, I believe, continue to be free<sup><a href=\"#note1\">1<\/a><\/sup>.) <\/p>\n<p><table width='128'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/portal_icon_brick.gif' class='insetimage' width='128' alt='Portal' title='Portal'\/><\/td><\/tr><\/table>In order to solve this, let&#8217;s assume the Portal expends energy <i>as stuff goes through<\/i>.   So, holding a portal open doesn&#8217;t require &#8220;much&#8221;, just some arbitrary (but non-zero) overhead so that we can give lip service to the second law of thermodynamics. But any mass you put in will require as much energy as would normally be needed be move the object from A to B within the existing gravitational field.  So, if you stuff a brick in and it comes out ten meters above you, then the portal will consume enough energy to lift a brick ten meters. (Don&#8217;t stand under it, BTW.) A better way to think of it (so that you don&#8217;t get confused worrying about <i>how<\/i> the brick is transported up) is to assume we need to expend as much energy  as you could hope to capture from the now-falling brick with a 100% efficient machine.<\/p>\n<p>If we need to define a rationale for the energy usage, it could be something along these lines: Imagine that mass passing through the portal makes it unstable. There is a difference between the gravity on the object as it enters the &#8220;bottom&#8221; versus when it exits the &#8220;top&#8221;. The object has unaccountably changed its relationship with other gravitational actors. This causes minute ripples in the surface of the portal. If both portals were made back-to-back on the same 2d plane (so that the portal didn&#39;t go anywhere) then the ripples on both sides would match and the portal would not be destablized at all. But once you move one above the other, the shape of the ripples change compared to one another. It order to maintain the portal within these gravitational &#8220;ripples&#8221;, you need to add power. It will work out that the power required is always more than you gained from moving the object up.<\/p>\n<p>At any rate, if the portal device can&#8217;t come up with the power to allow the mass through, the portal needs to fail. We haven&#8217;t worked out how yet &#8211; we&#8217;ll get to that in a second. The important point here is that it needs to stop &#8220;giving&#8221; energy the moment we stop &#8220;paying&#8221; for it<a href=\"#note2\"><sup>2<\/sup><\/a>.<\/p>\n<p>Ok, we now have a portal which doesn&#8217;t let us create energy when we pass through, which is a step in the right direction.  One problem left.  What happens when the portal closes?<\/p>\n<p><table width='128'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/portal_icon_cut.gif' class='insetimage' width='128' alt='Portal' title='Portal'\/><\/td><\/tr><\/table>In the game, objects halfway through a portal are never bisected if the portal disappears.  The object is chucked out of one side or the other.   Turning off the PD should cause the portals to slam shut.  But now we have a paradox.  <i>Something<\/i> must happen to an object occupying a portal as it closes.  The object needs to move to either side (which takes energy) or it needs to be sliced in half (which also takes energy) or it needs to hold the portal open.  Expelling objects can&#8217;t work, because some objects could be <a href=\"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=1381#comment-81269\">impossible to expel<\/a>. We have to assume the object holding the portal open isn&#8217;t possible, or we get into the situation where you can prop the portal open and then start tossing mass through, and we&#8217;re right back where we started with free energy.  <\/p>\n<p>This leaves us with slicing. However, that means the edge of the portal needs to be capable of slicing through <em>any object<\/em> occupying the opening, and it must be able to do so without any further energy from the PD.  We can say that opening a portal requires some energy, just as lifting the blade of a guillotine does, and that shutting down a portal is simply releasing that energy by allowing the blade to fall.  I <em>think<\/em> this should allow a two-dimensional surface to cut through any given three-dimensional object regardless of mass, but I have no idea how to prove it. (Assuming doing so is even possible.) <\/p>\n<p>That&#8217;s my take on how the PD needs to work.  Now someone get out there and build me one.  For the sake of science!<a href=\"#note3\"><sup>3<\/sup><\/a><\/p>\n<blockquote><p><small><a name=\"note1\"><\/a>1. Lateral moves can&#8217;t be <em>completely<\/em> free, of course.  All objects exert gravitational force on each other, so moving a brick fifty feet away means moving it away from <i>my<\/i> gravitational field which, despite my recent weight loss, is still non-zero.  However, the energy needed to overcome this miniscule.  It needs to be paid for, but it&#8217;s nothing compared to Earth gravity.<\/p>\n<p><a name=\"note2\"><\/a>2. I&#8217;m not suggesting that the portal should be designed with these limits, on purpose.  I&#8217;m suggesting that if some clever researcher figured out how to make one, she should quickly discover that these limits are unavoidable.  As in, &#8220;we can build a portal device, but we will have to provide this energy in such-and-such a manner in order for it to work.&#8221;<\/p>\n<p><a name=\"note3\"><\/a>3. By &#8220;science&#8221; I mean <a href=\"http:\/\/www.penny-arcade.com\/comic\/2007\/10\/12\">this<\/a>.<\/small> <\/p><\/blockquote>\n<p><em>While not part of any test protocol, we are pleased to present you with this complementary Aperture Science bonus fact: Using a portal device, it would be possible to make a genuine <a href=\"http:\/\/www.kleinbottle.com\/whats_a_klein_bottle.htm\">Klein Bottle<\/a> without resorting to the rather unsightly nexus required by the immersion of the Klein Bottle into our sadly limited 3d space.  Unfortunately, one of the portals would need to go <b>inside<\/b> of the bottle (which is one-sided and therefore the concept of &#8220;inside&#8221; is a bit daft) and would therefore make the thing a royal pain to use.  Not that I have any idea what you&#8217;d use it for.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my previous post on Portal, some people were talking about how the Portal Device (PD) could easily be made into a perpetual motion machine. This is something that struck me about Portals as well. I can accept various inexplicable magical technologies, but I can&#8217;t accept violations to the first law of thermodynamics. I have [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[120],"tags":[20],"class_list":["post-1394","post","type-post","status-publish","format-standard","hentry","category-videogames","tag-portal"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/1394","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1394"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/1394\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1394"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1394"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1394"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}