"Scotty!" barked Captain Kirk, "we need more power!"

"I don' know, Cap'n!" replied Scotty, "we're on impulse engines alone!"

This classic exchange comes from the Star Trek series. It takes place in the 23'rd century, a time when there is warp-drive technology. In this post we work out the mathematics and describe the physics behind warp drive.

What exactly is warp drive? According to the series, it is powered by dilithium crystals. Warp drive pulls the starship's destination closer and pushes the ship's starting coordinates further back. Essentially, the spacetime shrinks in front of the starship and stretches out behind it. This implies shorter spacetime wavelengths in front and longer spacetime wavelengths in back. It is possible to derive an equation that models this. Let's begin with the classic Hamiltonian:

Why the Hamiltonian? It is the sum of kinetic and potential energy. We can think of kinetic energy as energy needed to move a particle through space. Potential energy is, of course, stored energy, or, time energy, since a particle moves through time when it is at rest.

Energy conservation suggests that when there is more kinetic energy (more movement through space), there is less potential energy (less movement through time), and vice versa. At equations 4 and 5 below, we show the equivalency of time and potential energy; and, space and kinetic energy:

We can also create a Minkowski diagram:

From the Minkowski diagram we can derive the Lorentz factor (see equation 11 below):

If we start with the Planck mass squared, we can derive and define the spacetime wavelength (lambda) as well as proper time (lambda/c). (See equations 16 and 17):

Using a scale factor (alpha) we can build a second energy equation equal to the one we derived from the Minkowski diagram.

At equation 20 we set the kinetic energy equal to the gravitational energy. Gravitational energy is the warped spacetime that allows the starship to stay at rest, yet, seemingly move through space. It actually moves with space rather than through it. This enables the starship to reach destinations at super-light speeds.

At 21 and 22 we equate the classical Hamiltonian with the energy's quantum representation. The alpha scale factor makes this possible. Also, notice energy would not be conserved without it. When gravitational energy increases, the wavelength (lambda) decreases. This conserves energy on the right side of equation 22, but the left side can become infinite. Dividing the left side by alpha fixes this problem.

Using a bit of algebra we derive equation 29 below:

Equation 29 is the warp-drive equation. We know that massive galaxies move away from us faster than light if they are far enough away. Equation 29's first term contains Hubble's constant and bar-lambda. This is a velocity with long wavelengths or vast distance. The second term contains a velocity with short wavelengths or distance. The greater the difference, the faster the starship moves with space. It's like dark energy pushing from behind and gravity pulling in front. We can use an integral to sum every point in space along the path between the longest wavelength to the shortest:

At 30 and 31 we show how energy is conserved in spite of the fact that gravitational energy seems to have no upper limit. Shorter wavelengths (lambda) offset the longer wavelengths (bar-lambda):

Below we restate equation 26 at 32. From there we show how Einstein's field equations can be derived.

The fact we can derive the field equations confirms that the warp-drive equation is a solution.