# Rocket And Orbit Basics | Physics of Kerbal Space Program

This section will illustrate the physics behind the ascent stage of launching your rocket.

**TO-DO**

- Hohmann Transfer
- Gravity Turn

## How Does a Rocket Work

The basic idea behind most rockets is Newton’s second law, which shows that force is the rate of momentum change. Now consider a rocket which is composed of fuel and payload, to have a simple model, we consider the case in vacuum no gravity environment.

The equation for a rocket is called the rocket equation.

where $v_e$ is the exhaust velocity of the desposed gas in center of mass frame, while $m$ is the mass of the rocket at time $t$. This equation does make sense because more mass dropped with a higher velocity, the rocket itself gains more velocity which is a trivial idea.

The solution of the equation becomes

This equation is the key to find out many things for a flight. One of them is the propellant needed to achieve an orbit.

Derivation of rocket equationTo derive the equation, we start from Newton’s second law, which is

As a definition for momentum in non-relativistic classical mechanics,

Plug in this expression, we have

What happens next? We have to stop the math and think about the meanings of the equation. As you can recognize, the first term on the RHS is the $m \vec a$, here m should be the mass of the rocket at time $t$ and this $\vec a$ is the acceleration of the rocket itself.

What is the second term? It is the effective force produced by propellant, thus the velocity is actually the exhaust velocity of the propellant in center of mass frame, in other words, the relative velocity between the rocket and the propellant.

### Orbit

Orbit around a planet or moon is in general elliptical. The key of this orbit is conservation of energy. Two kinds of energy is in use in the dynamics, which are the kinetic energy of the ship and the gravitational energy.

The kinetic energy is

Gravitational potential energy is

where $M$ is the mass of the central object like Kerbin.

#### Circular Orbit

The good thing about circular orbit is that it preserves a rotational symmetry, which means the magnitude of its velocity is all the same on the orbit. Throught this simple symmetry argument, we could see that the magnitude of the velocity is given by the circumference divided by the period,

where $\omega = \frac{2\pi}{T} $ is the angular velocity.

By conservation of energy, we should have the total energy

What’s more, the dynamics is given by Newton’s second law, in the language of math,

Manipulating this equation, one find that

for circular orbits only.

This is a magnificent relation. It’s related to **virial theorem** which is the key to many phyiscs in general.

Virial TheoremFor those who is interested in physics, virial theorem is very important in almost every field of physics research. It is important is quantum mechanics, astrophyiscs, astronomy, cosmology, etc.

#### Parameters

An orbit in vacuum and all above the ground is characterised by the following parameters.

- Semimajor axis,
- Inclination,
- Argument,
- …