# Special Relativity/Mathematical approach2

## Four vectors edit

A four vector represents a displacement in spacetime.

If the spacetime has a metric given by:

and if the space-time is flat the magnitude of the four vector is calculated from:

Where A, B, C, D are the projections of the vector on the corresponding coordinate axes (t,x,y,z). The magnitude of a four vector is given by:

The scalar product of a four vector (also known as the "dot product" or "inner product") can be derived in the same way as the scalar product for an ordinary vector (a three vector, see scalar product). So the scalar product of two four vectors, is:

This can also be derived easily from the metric tensor of Minkowski spacetime. The scalar product of two four-vectors *x* and *y* is defined (using indicial notation) as:

The scalar product of four vectors is independent of the coordinate system:

The scalar product in this frame is:

Simplifying, we get:

Which is the same as the scalar product in the original frame of reference.

Properties:

1. Distributivity for vector addition

2. Symmetry

3. Leibniz rule of differentiation applies ie:

4. Orthogonality if is perpendicular to

5.

We now know that the dot product of two four-vectors is a *scalar* result, i. e., its value is independent of coordinate system. This can be used to advantage on occasion.

In the odd geometry of spacetime it is not obvious what *perpendicular* means. We therefore *define* two four-vectors and to be perpendicular if their dot product is zero, in the same way as with three-vectors.

Because the dot product is a scalar, if vectors are perpendicular in one frame, they will be perpendicular in all frames.

We can also consider the dot product of a four-vector which resolves into in the unprimed frame. Let us further suppose that the spacelike component is zero in some primed frame, so that the components in this frame are (0, *A*_{t'} ) The fact that the dot product is independent of coordinate system means that

This constitutes an extension of the spacetime Pythagorean theorem to four-vectors other then the position four-vector. Thus, for instance, the wavenumber for some wave may be zero in the primed frame, which means that the wavenumber and frequency in the unprimed frame are related to the frequency in the primed frame by .

We indicate a four-vector by underlining and write the components in the following way: , where is the wave four-vector, is its spacelike component, and is its timelike component. For three space dimensions, where we have a wave vector rather than just a wavenumber, we write .

Another example of a four-vector is simply the position vector in spacetime, , or in three space dimensions. The *multiplies* the timelike component in this case, because that is what is needed to give it the same dimensions as the spacelike component.

### Proper time edit

Classically, the temporal derivative, *d*/*dt* acts like a scalar so we can multiply a vector by it, and get another vector.

In relativity *t* is part of a four-vector, which means *d*/*dt* also is, so we can't simply differentiate vectors with respect to *t* and expect to get vectors.

For example, the position of a stationary particle is (0, *ct*).

Viewed from a frame moving at *v* to the right, its position becomes (-*v*τ, *c*τ), where τ=γ*t* is the time as measured in the moving frame.

If we differentiate with respect to τ the velocity would be (-*v*, *c*)

If we differentiate with respect to *t*, we get (0, *c*) in the stationary frame, which would be (using the Lorentz transform) (-γ*v*, -γ*c*) in the moving frame, if this were a four vector.

These two expressions differ by a factor of γ, when measured in the same frame, so this can not be a four vector.

However, if the moving observer divides by γ, which is the time dilation, they will get the same vector as the stationary observer.

Doing this is equivalent to differentiating by the time *in the particles own rest frame*. Since this works for the position vector, we can expect it to work for all vectors.

The time measured in a particle's rest frame is called its *proper time*.

Differentiating a vector with respect to proper time gives another vector, which is the relativistic equivalent of the temporal derivative.