Introduction
This is the third (and last) in a series of posts explaining time dilation, and it is going to assume you’ve read the preceding posts What is time dilation really? and What is time, does it flow, and if so what defines its direction?. Much of what follows won’t make sense unless you’re familiar with the topics discussed in the previous two questions. This is also going to be the hardest of the three posts by quite some way, but it just isn’t possible to gain a real understanding of the twin paradox without exploring some hard ideas. You have been warned!
In what follows I’m going to assume I am the stationary twin i.e. I remain on Earth while you go zooming off on your return trip in your spaceship. Remember that when you see me or my it refers to the stationary twin and you and your refer to the accelerating twin.
So as not to keep you in suspense, I'm going to explain that the asymmetry arises because the geometry of spacetime looks different for the two twins. To calculate the elapsed time we need a function called the metric, and in the coordinate system of an accelerating observer the metric looks different from normal flat spacetime. When we take this into account both twins agree about their respective ages.
My version of events
In the question on time dilation I explained what we mean by time dilation and how we calculate it. In particular I showed this spacetime diagram:
Figure 1
This shows our two trajectories through spacetime using my rest coordinates i.e. the coordinates in which I remain stationary at the origin. In these coordinates I remain at $x=0$ and simply travel up the time axis from the starting point $A$ to the finishing point $B$ as shown by the black arrow. You go hurtling away along the $x$ axis from point $A$, then stop, reverse and scream back to meet me again at point $B$, as shown by the red arrows. So the red line shows your trajectory through spacetime as measured using my coordinates.
From the time dilation question we know that the elapsed time shown by a clock carried by an observer, $\Delta\tau$, is related to the length of the observer’s trajectory, $\Delta s$, by:
$$ \Delta s^2 = -c^2 \Delta\tau^2 $$
And we know that the length $\Delta s$ is calculated using a function called the metric. In flat spacetime this function is the Minkowski metric, and it tells that if you move a distance $\mathrm dx$ along the $x$ axis, $\mathrm dy$ along the $y$ axis and $\mathrm dz$ along the $z$ axis in a time $\mathrm dt$ then the total distance you have moved in spacetime is given by the Minkowski metric:
$$\mathrm ds^2 = -c^2\mathrm dt^2 + \mathrm dx^2 +\mathrm dy^2 +\mathrm dz^2 $$
Since it’s hard to draw 4D graphs it’s usual to assume all motion is on the $x$ axis, so $\mathrm dy =\mathrm dz = 0$, in which case the metric simplifies to:
$$\mathrm ds^2 = -c^2\mathrm d\tau^2 = -c^2\mathrm dt^2 + \mathrm dx^2 \tag{1} $$
To calculate the length of the red curve we use the cunning trick of noting that velocity is defined by $v = \mathrm dx/\mathrm dt$ so $\mathrm dx = v\,\mathrm dt$, and if we take equation (1) and substitute for $\mathrm dx$ we end up with:
$$ \mathrm d\tau = \sqrt{1 - \frac{v^2(t)}{c^2}}\,\mathrm dt $$
So the elapsed time $\tau_{AB}$ is given by the integral:
$$ \tau_{AB} = \int_{t_A}^{t_B} \, \sqrt{1 - \frac{v^2(t)}{c^2}} \,\mathrm dt \tag{2} $$
where $v(t)$ is your velocity as a function of time. The exact form of $v(t)$ will depend on how you choose to accelerate, but since $v^2$ is always positive that means the term inside the square root is always less than or equal to one:
$$ 1 - \frac{v^2(t)}{c^2} \le 1 $$
And therefore the integral from $t_A$ to $t_B$ must be less than or equal to $t_B-t_A$. This means your elapsed time $\tau_{AB}$ must be less than my elapsed time $t_{AB}$ i.e. when we meet again you have aged less than I have.
So far so good, but the paradox is that we could draw the spacetime diagram in figure 1 using your coordinates, i.e. the coordinates in which you are at rest, to give something like:
Figure 2
In these coordinates you remain stationary so your trajectory shown by the red line goes straight up your time axis, while my trajectory shown by the black line heads off in the $-x$ direction before returning. If we use the same argument as above we would conclude that I should have aged less than you, but we can’t both have aged less than each other.
And that’s the paradox.
Your version of events
The resolution to the paradox turns out to be very simple. When I calculated the length of your trajectory in the previous section I used the Minkowski metric, equation (1), and after some algebra ended up with the equation for your path length in equation (2):
$$ \Delta t_\text{you} = \int_{t_A}^{t_B} \, \sqrt{1 - \frac{v^2(t)}{c^2}}\,\mathrm dt $$
The resolution to the paradox is simply that in your rest frame the metric is not the Minkowski metric, and therefore the equation you have to use to calculate my path length is not the same as equation (2):
$$ \Delta t_\text{me} \ne \int_{t’_A}^{t’_B} \, \sqrt{1 - \frac{v’^2(t)}{c^2}}\,\mathrm dt’ $$
and that’s why when you calculate my path length we both agree that my path length is longer than yours i.e. we both agree that I age more than you do.
So what is your metric?
The form of your metric will depend on exactly how you accelerate, and in general will not be a simple function. However there is a special case that is reasonably simple, and that is what I’m going to assume for the rest of this answer. I’ll assume that your acceleration (or rather deceleration) is constant, so your motion consists of the following:
at time zero you pass me with some positive velocity $v$ and constant deceleration $a$ - constant deceleration means you are accelerating towards me and in the opposite direction to your velocity
the constant deceleration eventually slows you to a stop at some distance $x$ away from me
you maintain the constant deceleration and now you start moving back towards me i.e. your velocity becomes negative
eventually you pass me again now with a velocity of $-v$
For motion at constant acceleration your metric is a function called the Rindler metric:
$$\mathrm ds^2 = -\left(1 + \frac{a\,x}{c^2} \right)^2 c^2\mathrm dt^2 +\mathrm dx^2 \tag{3} $$
For now I won’t attempt to justify this (I may do so in an appendix) I’ll just make a few comments on it before showing how to use it to calculate the trajectory length.
The Rindler metric doesn’t look completely different to the Minkowski metric that I used before. Indeed at the point $A$, where we part company, the value of $x$ is zero for both of us, and if we set $x=0$ the Rindler metric reduces to:
$$\mathrm ds^2 = -c^2\mathrm dt^2 +\mathrm dx^2 $$
which is just the Minkowski metric. Likewise if we take the acceleration $a$ to zero, the equation (3) just reduces to the Minkowski metric. However when $a \ne 0$ and $x \ne 0$ the two metrics are different, and the further $a$ and $x$ are from zero the more different the metrics become.
OK let’s attempt the calculation
Now we can calculate my elapsed time in your rest frame using the correct metric i.e. the Rindler metric. Let’s remind ourselves of the spacetime diagram:
In your frame I pass you at time zero with a negative velocity, and I head off to negative $x$ before turning round to come back. What is perhaps not obvious is that the acceleration $a$ is negative. This is because $a$ is your acceleration. In the diagram above my acceleration relative to you is obviously positive so your acceleration relative to me must be negative.
We start as before by writing down the metric:
$$\mathrm ds^2 = -c^2\mathrm d\tau^2 = -\left(1 + \frac{a}{c^2}x \right)^2 c^2 \mathrm dt^2 +\mathrm dx^2 $$
And we use the same trick of substituting $\mathrm dx = v(x)\mathrm dt$. After rearranging we end up with:
$$ \Delta t_\text{me} = \int_{t_A}^{t_B} \, \sqrt{\left(1 + \frac{a\,x(t)}{c^2}\right)^2 - \frac{v^2(t)}{c^2}}\,\mathrm dt \tag{4} $$
This is actually pretty similar to the equation (2) that I used to calculate your elapsed time, apart from that extra term $a\,x(t)/c^2$. But it’s that extra term that makes the difference. To see why consider the leftmost point on my trajectory in figure 2. At this point my velocity is zero so the term in the square root becomes:
$$ 1 + \frac{a\,x(t)}{c^2} $$
But the product $a\,x(t)$ is positive, which means $1+ax(t)/c^2 \gt 1$ and therefore at this point $\mathrm d\tau \gt\mathrm dt$. Doing the integration in this region gives my elapsed time as greater than your elapsed time.
And this is the key to understanding the twin paradox. When you use equation (4) to calculate the length of my trajectory you’re going to find that my elapsed time is greater than your elapsed time, which is exactly what I found when I did the calculation in my frame. The resolution to the paradox is that the metric you use to do the calculation is not the same as the metric I use to do the calculation.