{"id":1222,"date":"2013-05-06T23:43:08","date_gmt":"2013-05-07T06:43:08","guid":{"rendered":"http:\/\/www.wall.org\/~aron\/blog\/?p=1222"},"modified":"2013-05-06T23:43:08","modified_gmt":"2013-05-07T06:43:08","slug":"the-connection","status":"publish","type":"post","link":"https:\/\/www.wall.org\/~aron\/blog\/the-connection\/","title":{"rendered":"The Connection"},"content":{"rendered":"<p>Suppose we have a <a title=\"Fields\" href=\"http:\/\/www.wall.org\/~aron\/blog\/fields\/\">field<\/a> \\(\\Phi\\) in a <a title=\"Geometry is a Field\" href=\"http:\/\/www.wall.org\/~aron\/blog\/geometry-is-a-field\/\">curved spacetime<\/a>, and we want to know how fast it is changing as you move in some direction in space or time.\u00a0 Because there is more than one possible direction to move in, we have to select a vector \\(\\delta x^a\\) which tells us which direction in the coordinate space \\(x^a\\) to move in (<a title=\"Geometry is a Field\" href=\"http:\/\/www.wall.org\/~aron\/blog\/geometry-is-a-field\/\">remember<\/a>, \\(x^a\\) stands for a list of all 4 spacetime coordinates.)\u00a0 Then we can calculate it by taking a partial derivative.\u00a0 If your calculus is rusty, the partial derivative \\(\\partial_a\\) is defined by: $$ \\delta x^a\\, \\partial_a \\Phi = \\lim_{\\epsilon \\to 0} \\frac{\\Phi(x^a + \\epsilon\\,\\delta x^a) &#8211; \\Phi(x^a)}{\\epsilon}.$$In other words, we compare the value of \\(\\Phi\\) at two different points (\\(x^a\\) and \\(x^a + \\epsilon\\,\\delta x^a\\)).\u00a0 As \\(\\epsilon\\) gets smaller, these two points get closer and closer together, so the values of \\(\\Phi\\) typically get more and more similar, but because we divide by \\(\\epsilon\\) we end up with a nonzero answer in the limit.\u00a0 I&#8217;ve written \\(\\partial_a\\) instead of \\((\\partial \/ \\partial x^a)\\) because I&#8217;m lazy.<\/p>\n<p>That was the formula for the partial derivative <em>in a particular direction\u00a0<\/em>\\(\\delta x^a\\) (which is itself a list of 4 numbers).\u00a0 If we want to have a list of all 4 possible partial derivatives at each point, we can just write \\(\\partial_a \\Phi\\) without the \\(\\delta x^a\\).\u00a0 This is the partial derivative <em>covector<\/em>, where a covector is a thing which eats a vector (like \\(v^a\\)) and spits out a number.\u00a0 That&#8217;s almost the same thing as a vector, but not quite, which is why its index is downstairs instead of upstairs.\u00a0 (You can convert between covectors and vectors by using the metric, e.g. \\(\\partial_b \\Phi = g_{ab} \\partial^a \\Phi\\), where <a title=\"Geometry is a Field\" href=\"http:\/\/www.wall.org\/~aron\/blog\/geometry-is-a-field\/\">as usual<\/a> we sum over all 4 possible values of the index.)<\/p>\n<p>Now, \\(\\Phi\\) was a scalar field, meaning that it didn&#8217;t have any indices attached to it.\u00a0 What if we tried to do the same trick with some vector field \\(v^a\\) (or a covector \\(v_a\\))?\u00a0 Well, nothing stops us from taking the partial derivative of a vector in the exact way: $$ \\delta x^a\\, \\partial_a v^b = \\lim_{\\epsilon \\to 0} \\frac{v^b(x^a + \\epsilon\\,\\delta x^a) &#8211; v^b(x^a)}{\\epsilon}.$$Unfortunately, this turns out to be a stupid thing to do.\u00a0 The problem is that (before we take the limit) it involves <em>comparing two vectors at different points<\/em>.\u00a0 But in a curved spacetime, it doesn&#8217;t make sense to talk about the same direction at different points, because <a title=\"Coordinates don't matter\" href=\"http:\/\/www.wall.org\/~aron\/blog\/coordinates-dont-matter\/\">coordinates are arbitrary<\/a>.\u00a0 There&#8217;s no particular sense in comparing the &#8220;t&#8221; component of a vector at a point \\(x_1\\) with the &#8220;t&#8221; component of a vector at another point \\(x_2\\), because the definition of &#8220;t&#8221; is arbitrary.\u00a0 If you change the coordinate system at \\(x_2\\) but not \\(x_1\\) you&#8217;ll get confused.<\/p>\n<p>In a curved spacetime, you can only compare vectors at different points if you select a specific path to go between the two points.\u00a0 You can then <em>drag <\/em>(or if you prefer, <em>parallel transport<\/em>) the vector along this path, but if you choose a different path <a title=\"The Curvature Tensor\" href=\"http:\/\/www.wall.org\/~aron\/blog\/the-curvature-tensor\/\">you might get a different answer<\/a>.<\/p>\n<p>Well here, because the points are really close, there&#8217;s an obvious path to pick.\u00a0 Since spacetime looks flat when you <a title=\"All points look the same\" href=\"http:\/\/www.wall.org\/~aron\/blog\/all-points-look-the-same\/\">zoom up really close<\/a>, you can just parallel transport along the very short straight line connecting the two points.\u00a0 This allows you to relate the coordinate system at the starting point \\(x_1\\) to the destination point \\(x_2\\).\u00a0 Thus, when we take the derivative, we want to compare \\(v^a(x_1)\\) not to the same <em>coordinate component <\/em>of \\(v^a(x_2)\\), but to the parallel translated component of the vector.\u00a0 When we do this, we get the <em>covariant derivative<\/em>, defined as follows: \\(\\nabla_a\\):$$\\nabla_a v^b = \\partial_a v^b + \\Gamma^{b}_{ac} v^c.$$Well, that&#8217;s not very useful until I tell you what capital gamma means.\u00a0 It&#8217;s called the <em>Christoffel symbol<\/em> or the <em>connection<\/em>, and it tells us how to parallel transport vectors by an infinitesimal amount.\u00a0 Basically if you take a vector pointing in the \\(c\\) direction and drag it a little bit in the \\(a\\) direction, then \\(\\Gamma^{b}_{ac}\\) says how much your vector ends up shifting in the \\(b\\) direction, relative to your system of coordinates.\u00a0 It turns out that the bottom two indices are symmetric: \\(\\Gamma^{b}_{ac} = \\Gamma^{b}_{ca}\\).<\/p>\n<p>Similarly, if you want to define the covariant derivative of a covector, you just have to attach the indices a little bit differently:$$\\nabla_a v_b = \\partial_a v_b &#8211; \\Gamma^{c}_{ab} v_c.$$The minus sign comes in because covectors are the <em>opposite <\/em>of vectors, so they need to do behave oppositely under a coordinate change.\u00a0 Or, if you have a complicated tensor with multiple upstairs or downstairs indices, you have to have a separate correction term involving \\(\\Gamma\\) for <em>each <\/em>of the indices.\u00a0 How tedious!\u00a0 But, in the case of a scalar field \\(\\Phi\\), we get off scot free: the covariant and partial derivative are just the same.<\/p>\n<p>If your spacetime is flat<em> <\/em>and you use <a title=\"Time as the Fourth Dimension?\" href=\"http:\/\/www.wall.org\/~aron\/blog\/the-geometry-of-spacetime-i-distance\/\">Minkowski coordinates<\/a>, then <em><\/em>\\(\\Gamma = 0\\).\u00a0 But even in flat spacetime you can have \\(\\Gamma \\ne 0\\) if you use a weird coordinate system, like <a title=\"Coordinates don't matter\" href=\"http:\/\/www.wall.org\/~aron\/blog\/coordinates-dont-matter\/\">polar coordinates<\/a>.<\/p>\n<p>All of this is a little bit circular so far, since I haven&#8217;t actually told you how to calculate \\(\\Gamma^{b}_{ac}\\) yet.\u00a0 It&#8217;s just some thing with the right number of indices to do what it does.\u00a0 In fact, you <em>could<\/em> choose to think of the connection \\(\\Gamma^{b}_{ac}\\) as a fundamental field in its own right, in which case there would be no need to define it in terms of anything else.\u00a0 But that is NOT what people normally do in general relativity.\u00a0 Instead they define the connection in terms of the metric \\(g_{ab}\\), because it turns out there is a slick way to do it.<\/p>\n<p>We want to find a way to <em><\/em>use the metric to compare things at two different points.\u00a0 In other words, the metric is a sort of standard measuring stick we want to use to see how other things change.\u00a0 But obviously the metric cannot change <em>relative to itself<\/em>.\u00a0 (If you define a yard as the length of a yardstick, then other things can change in size, but the stick will always be 1 yard by definition.)\u00a0 Therefore, the covariant derivative of the metric itself is zero: \\(\\nabla_c g_{ab} = 0\\).\u00a0 But if we write out the correction terms we get: $$\\nabla_c g_{ab} = \\partial_c g_{ab} &#8211; \\Gamma^{d}_{bc} g_{ad} &#8211; \\Gamma^{d}_{ac} g_{bd} = 0.$$<em><\/em>We can use this equation to solve for \\(\\Gamma\\) in terms of the metric.\u00a0 To do this, we just switch around the roles of the \\(a\\), \\(b\\), and \\(c\\) indices to get $$\\partial_a g_{bc} &#8211; \\Gamma^{d}_{ac} g_{bd} &#8211; \\Gamma^{d}_{ab} g_{cd} = 0.$$and$$\\partial_b g_{ac} &#8211; \\Gamma^{d}_{ab} g_{cd} &#8211; \\Gamma^{d}_{bc} g_{ad} = 0.$$By adding up two of these equations and subtracting the other, and dividing by two, one can prove that$$\\Gamma^{d}_{ab} g_{dc} = \\frac{1}{2}(\\partial_a g_{bc} + \\partial_b g_{ac} &#8211; \\partial_c g_{ab}).$$We can then define \\(\\Gamma^{d}_{ab}\\) directly as $$\\Gamma^{d}_{ab} = \\frac{1}{2} g^{cd}(\\partial_a g_{bc} + \\partial_b g_{ac} &#8211; \\partial_c g_{ab}).$$To do that, we had to introduce something called the inverse metric \\(g^{ab}\\).\u00a0 You get this by writing the metric \\(g_{ab}\\) out as a matrix and <a href=\"http:\/\/www.mathsisfun.com\/algebra\/matrix-inverse.html\">inverting<\/a> it.\u00a0 (Technically we write \\(g_{ab} g^{bc} = \\delta^c_a\\) where \\(\\delta^c_a\\) is a very boring tensor which is always 1 if \\(a\\) and \\(c\\) are the same index, and 0 if they are different.)<\/p>\n<p>So then, the connection (which allows us to transport vectors from place to place) can be written in terms of the first derivative of the metric.\u00a0 We&#8217;ll need to take a second derivative of the metric to get the curvature \\(R^{a}_{bcd}\\), but that will be the subject of another post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Suppose we have a field \\(\\Phi\\) in a curved spacetime, and we want to know how fast it is changing as you move in some direction in space or time.\u00a0 Because there is more than one possible direction to move in, we have to select a vector \\(\\delta x^a\\) which tells us which direction in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1222","post","type-post","status-publish","format-standard","hentry","category-physics"],"_links":{"self":[{"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/comments?post=1222"}],"version-history":[{"count":36,"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"predecessor-version":[{"id":1258,"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/posts\/1222\/revisions\/1258"}],"wp:attachment":[{"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wall.org\/~aron\/blog\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}