# Mechanics

2016-07-24

Every body continues in its state of rest, or of uniform motion in a right line, unless it is compelled to change that state by forces impressed upon it. – Isaac Newton, discoverer of the laws of motion and gravitation

Mechanics is the study of movement. In this chapter, we will describe how physicists study the movement of physical objects using mathematical laws. With this knowledge, we will then see how this is relevant to rocket science.

# Referential

## Origin

The first thing we want to do is to find a way to describe **where** objects are. For this, we will elect an object (an actual physical object or just an arbitrary virtual point in space) to be fixed, and consider all movements relative to this **origin**.

## Dimensions

If all the objects are on a same line (for instance a race track), then we can describe the position of each object with a single measure: the distance from the origin. Since a single measure is sufficient, a line is said to have one dimension.

If all the objects are on a same surface (for instance, on a checkboard), then we need two numbers to fully describe the position of any of these objects. For example, we may arrange items on a grid a tell their positions as the row and column numbers; we can locate a location on the surface of the Earth using longitude and latitude. Since two measures are needed, a surface is said to have two dimensions.

Finally, we can consider an arbitrary location in space, which needs three dimensions. For example, if we add altitude to longitude and latitude, we can easily locate any object.

A referential is the object we use as a landmark (origin) to keep track of interesting points. A system of coordinates if the kind of data you use to store the position of these points relatively to the origin.

The most common set of measures used in two dimensions are the **Cartesian coordinate** and the **polar coordinate** systems. The Cartesian coordinate system extend to three dimensions naturally; there are two ways to extend the polar coordinates system to a third dimension: the **cylindrical coordinate** and the **spherical coordinate** systems.

## Cartesian coordinates

Cartesian coordinates are the most common. We basically choose two (or three, in space) directions, and the measures describes how much you have to go each way to get from the origin to the point.

The directions used in Cartesian coordinates (the axes) are usually perpendicular and conventionally named $x$ and $y$, (and $z$)).

### Derivatives

A nice property of the Cartesian coordinate system is that, if we are interested in the variation of some point $P$ with Cartesian coordinates $(x,y)$, we can simply consider the **vector** (x, y).

## Polar coordinates

Polar coordinates work in two dimensions. One value is simply the distance to the origin while a second is the angle of $P$ with a fixed porientation.

### Derivative

Consider a point $P$ given in polar coordinates $(\angle \mathit{\theta},r)$. We can use the corresponding Cartesian coordinates: $P=(r\mathrm{cos}(\angle \mathit{\theta}),r\mathrm{sin}(\angle \mathit{\theta}))$. Then we can derive on each Cartesian coordinate using the derivation rules for function composition.

If we define $\hat{r}==(\mathrm{cos}\mathit{\theta},\mathrm{sin}\mathit{\theta})$ and $\hat{\mathit{\theta}}=(-\mathrm{sin}\mathit{\theta},\mathrm{cos}\mathit{\theta}))$, then:

$$\{\begin{array}{cc}\hfill \frac{d}{dt}\hat{r}& =(-\stackrel{\bullet}{\mathit{\theta}}\mathrm{sin}\mathit{\theta},\stackrel{\bullet}{\mathit{\theta}}\mathrm{cos}\mathit{\theta})=\stackrel{\bullet}{\mathit{\theta}}\hat{\mathit{\theta}}\hfill \\ \hfill \frac{d}{dt}\hat{\mathit{\theta}}& =(-\stackrel{\bullet}{\mathit{\theta}}\mathrm{cos}\mathit{\theta},-\stackrel{\bullet}{\mathit{\theta}}\mathrm{sin}\mathit{\theta})=-\stackrel{\bullet}{\mathit{\theta}}\hat{r}\hfill \end{array}$$

Now, $P$ is at an offset $\overrightarrow{r}$ to the origin, where:

$$\overrightarrow{r}=(r\mathrm{cos}(\angle \mathit{\theta}),r\mathrm{sin}(\angle \mathit{\theta}))=r\hat{r}$$

thus:

$$\stackrel{\bullet}{\overrightarrow{r}}=\frac{d}{dt}(r\hat{r})=\hat{r}\frac{d}{dt}r+r\frac{d}{dt}\hat{r}=\stackrel{\bullet}{r}\hat{r}+r\stackrel{\bullet}{\mathit{\theta}}\hat{\mathit{\theta}}$$

By deriving again, we get the acceleration:

$$\stackrel{\bullet \bullet}{\overrightarrow{r}}=\frac{d}{dt}(\stackrel{\bullet}{r}\hat{r}+r\stackrel{\bullet}{\mathit{\theta}}\hat{\mathit{\theta}})=(\stackrel{\bullet \bullet}{r}-r{\stackrel{\bullet}{\mathit{\theta}}}^{2})\hat{r}+(2\stackrel{\bullet}{r}\stackrel{\bullet}{\mathit{\theta}}+r\stackrel{\bullet \bullet}{\mathit{\theta}})\hat{\mathit{\theta}}$$

## Spherical coordinates

Spherical coordinates are simply the generalization of polar coordinates to three dimensions. To the usual coordinates $r$ and $\mathit{\theta}$, we add a third one, $\mathit{\phi}$, which is the angle with the polar plane:

# Newtonian mechanics

## Center of mass

For the sake of simplicity, we will pretend that objects are simple points (e.g. $P$) associated to their mass (e.g. $m$); such points (e.g. $(P,m)$) are called mass-points. For a given object, the point we will use is called the center of mass (CoM). It is easy to find for regular and uniform objects (e.g. a sphere).

We will usually refer to the position $P$ by using the vector $\overrightarrow{r}=\overrightarrow{\mathit{OP}}$. The velocity is simply the derivative of the position: $\overrightarrow{v}=\stackrel{\bullet}{\overrightarrow{r}}$; the acceleration is the derivative of the velocity: $a=\stackrel{\bullet}{\overrightarrow{v}}=\stackrel{\bullet \bullet}{\overrightarrow{r}}$.

## Newton’s second law

Consider a mass-point $(P,m)$ subjected to forces ${\overrightarrow{F}}_{1},{\overrightarrow{F}}_{2},\dots $. We need not consider every force independentely and can sum them as the **resultant force** $\overrightarrow{F}=\sum {\overrightarrow{F}}_{i}$.

Then, according to Newton’s second law:

$$\overrightarrow{a}=\frac{1}{m}\overrightarrow{F}$$

This equation means several things. First, it means that an object on which is exerted a non-zero resultant force will be accelerated (acceleration encompasses the slowing down of an object). Second, the more mass it has, the less it will accelerate; since this is perceived as a resistance to movement, we call this inertia.

## Gravitation

The gravitational force is one of the four fundamental forces that physicist have identified, along with the electromagnetic, weak and strong forces.

Gravitation says that any two objects with a mass attract each other, at any distance. Since it is extremely feeble, we do not observe it within common objects. It becomes perceptible when huge masses are grouped together; for instance, we observe an apple falling because of the vast mass of the Earth effecting the apple.

The amount of force exerted by an object of mass $M$ over an object of mass $m$ is:

$$F=G\frac{Mm}{{r}^{2}}$$

where $r$ is the distance between the two objects.

# Shell theorem

## Problem

We are interested in knowing the gravitation exerted by a celestial body $C$ (i.e. the gravity). We will assume the celestial body is a ball of radius $R$ and uniform density $\mathit{\mu}$ and consider a mass-point $(m,P)$ at distance $r$ from $C$:

## Elementary force

The usual way to solve a large problem is to split it in smaller problems and solve those instead. Here, to find the total force exerted, we will split the spherical body in many mass points $(Q,dm)$.

The force exerted by $Q$ over $P$ is oriented along $\overrightarrow{\mathit{QP}}$ and has magnitude:

$$F=\overrightarrow{dg}m=G\frac{mdm}{{\mathit{PQ}}^{2}}$$

Another way to write this is:

$$\overrightarrow{dg}=G\frac{\mathit{\mu}dV}{{s}^{2}}$$

where $s$ is just $\mathit{PQ}$

## Symmetry

Now, to simplify things, we can notice the axial symmetry of the whole situation around $(\mathit{CP})$. This means that the resultant force $\overrightarrow{g}$ can only be along the axis $(\mathit{CP})$: no other could be justified without breaking the symmetry.

Thus, we can only choose to only consider the effect of $Q$ along $(\mathit{CP})$; the others effect will cancel out. The effect of gravitation from $Q$ exerted on $P$ along $(\mathit{CP})$ is:

$$\overrightarrow{dg}\bullet \frac{\overrightarrow{\mathit{PC}}}{\mathit{PC}}=G\frac{\mathit{\mu}dV}{{s}^{2}}\times \mathrm{cos}\mathit{\psi}$$

where $\mathit{\psi}$ is the angle $\hat{\mathit{CPQ}}$.

## Integrating

Now, it is only a matter of integrating. We first extend the elementary volume $dV$ in spherical coordinates as $(\mathit{\rho}\mathrm{sin}\mathit{\psi}d\mathit{\theta})(\mathit{\rho}d\mathit{\psi})$. Then we just need to do a substitution and to cancel out terms.

g
= _S g

=

=

= 2

= 2

= 4

= 4

=

## Result

In the end, $g=G\frac{M}{{s}^{2}}$. It means that, the resultant gravitation force exerted by a planet is the same as the mass-point in the center with the same mass, even when close to it.

This will make all considerations involving the gravitation of a planet relatively easy, as long as we assume it is spherical and uniform.

## Details on the substitution

To get from (*) to (*), we substitute $u=\sqrt{{R}^{2}-{r}^{2}{\mathrm{sin}}^{2}\mathit{\psi}}$ for $\mathit{\psi}$. This means that $\mathit{\psi}=\mathrm{arcsin}\frac{\sqrt{{r}^{2}-{u}^{2}}}{r}$ and subsequently:

$$d\mathit{\psi}=\frac{1}{\sqrt{1-\frac{{R}^{2}-{u}^{2}}{{r}^{2}}}}\times \frac{-2udu}{2r\sqrt{{R}^{2}-{u}^{2}}}=-\frac{u}{\sqrt{{r}^{2}-{R}^{2}+{u}^{2}}\sqrt{{R}^{2}-{u}^{2}}}du$$

We then use the relations $\mathrm{sin}(\mathrm{arcsin}x)=x$ and $\mathrm{cos}(\mathrm{arcsin}x)=\sqrt{1-{x}^{2}}$ for $0\le x\le \frac{\mathit{\pi}}{2}$.

# Sphere of influence

## Patched conics

In reality, an object travelling through space is influenced by all moons, planets and stars of the universe. Even when restricting to the closest moon, closest planet and closest star, the combined influence of several bodies is hard to take into account simultaneously.

A simple approximation is to only consider the body with the most influence. The region where a celestial body has the most influence is called the **sphere of influence**. When leaving the sphere of influence of one body, we transition to that of another. The trajectory is then made of two parts (two conics), hence the name **patched conics** approximation.

## Influences

We will consider two mass-points $({P}_{1},{M}_{1})$ and $({P}_{2},{M}_{2})$ and look at their influences on a mass-point $(P,m)$ between them.

The intensity of forces ${F}_{1}$ and ${F}_{2}$ respectively exerted by ${P}_{1}$ and ${P}_{2}$ are:

$${F}_{1}=G\frac{{M}_{1}m}{{{P}_{1}P}^{2}}\text{and}{F}_{2}=G\frac{{M}_{2}m}{{{P}_{2}P}^{2}}$$

For short, we define $r={P}_{1}P$ and $R={P}_{1}{P}_{2}$. Thus, ${P}_{2}P={P}_{1}{P}_{2}-{P}_{1}P=R-r$. We also define ${\mathit{\mu}}_{1}=G{M}_{1}$ and ${\mathit{\mu}}_{2}=G{M}_{2}$ (the **gravitational parameters**). The accelerations due to each are:

$${g}_{1}=\frac{{\mathit{\mu}}_{1}}{{r}^{2}}\text{and}{g}_{2}=\frac{{\mathit{\mu}}_{2}}{(R-r{)}^{2}}$$

The acceleration exerted by ${P}_{1}$ over ${P}_{2}$, and by ${P}_{2}$ over ${P}_{1}$ are respectively:

$${g}_{1,2}=\frac{{\mathit{\mu}}_{1}}{{R}^{2}}\text{and}{g}_{2,1}=\frac{{\mathit{\mu}}_{2}}{{R}^{2}}$$

## Perturbations

Now, if we look at the acceleration of $P$ **relatively** to ${P}_{1}$, it is **perturbed** by the fact that ${P}_{2}$ does not exert the same acceleration over $P$ and over ${P}_{1}$. The absolute perturbation is ${g}_{2}-{g}_{2,1}$ (the difference in acceleration from ${P}_{2}$).

In practice, this value only makes sense when compared to the **main** acceleration ${g}_{1}$. Here, we will assume that $r<<R$; it makes sense when ${P}_{1}$ is an object significantly smaller than ${P}_{2}$. We define the relative perturbation ${Q}_{1}$ as:

$${Q}_{1}=\frac{{g}_{2}-{g}_{2,1}}{{g}_{1}}=\frac{\frac{{\mathit{\mu}}_{2}}{(R-r{)}^{2}}-\frac{{\mathit{\mu}}_{2}}{{R}^{2}}}{\frac{{\mathit{\mu}}_{1}}{{r}^{2}}}=\frac{{r}^{2}}{{R}^{2}}\frac{{\mathit{\mu}}_{2}}{{\mathit{\mu}}_{1}}(\frac{1}{{(1-\frac{r}{R})}^{2}}-1)$$

Now, it can be shown that, when $x$ is small, $\frac{1}{(1-x{)}^{2}}=1+2x+3{x}^{2}+\dots \approx 1+2x$. With $x=\frac{r}{R}$ we get that:

$${Q}_{1}=\frac{{r}^{2}}{{R}^{2}}\frac{{\mathit{\mu}}_{2}}{{\mathit{\mu}}_{1}}\times 2\frac{r}{R}=2\frac{{r}^{3}}{{R}^{3}}\frac{{\mathit{\mu}}_{2}}{{\mathit{\mu}}_{1}}$$

Similarly, the relative perturbation due to ${P}_{1}$ when looking at the acceleration of $P$ relatively to ${P}_{2}$ is:

$${Q}_{2}=\frac{{g}_{1}-{g}_{1,2}}{{g}_{2}}=\frac{\frac{{\mathit{\mu}}_{1}}{{r}^{2}}\overline{)-\frac{{\mathit{\mu}}_{1}}{{R}^{2}}}}{\frac{{\mathit{\mu}}_{2}}{(R\overline{)-r}{)}^{2}}}=\frac{{\mathit{\mu}}_{1}}{{\mathit{\mu}}_{2}}\frac{{R}^{2}}{{r}^{2}}$$

Again, we use the fact that $x<<X$ to simplify the expression.

## Radius of influence

Now, we are interested in the point $P$ between ${P}_{1}$ and ${P}_{2}$ where both relative perturbations are of the same magnitude. We thus solve:

Q_1 = Q_2
2 r^3 _2
= _1 R^2

r
= 1 R (_1)^2
= 2^- 1 R (M_1)^2

# Thrust

## Propulsion

A car can push along the road thanks to friction; a plane can generate lift from air and speed; a balloon can use buoyancy in the atmosphere. However, a rocket needs to be able to operate in the vacuum of outer space, which implies no physical object to push against.

Articulating an object into space will not move its center of mass. It means that a rocket can only gain speed by interacting with the exterior. Thus, the only way a rocket can accelerate is by throwing parts of its mass out. This is exactly what their exhaust do: it ejects lots of mass (propellant) down, so that the rocket will lift up.

**solar sails**.

## Conserved momentum

We consider a **r**ocket with center $R$ of mass $m$. From $t$ to $t+dt$, it ejects $dm$ of its **p**ropellant ($P$) with relative (**exhaust**) velocity ${v}_{e}$.

Let us notate $G$ the center of mass of the system $\{R,P\}$. Since the system did not interact with its environment, the speed of $G$ remains unchanged by the ejection. However, since $P$ is moving downwards, it means the rocket have gained speed.

## Exerted force

We are interested in the changes of speed $d{v}_{R}$ and $d{v}_{P}$ from $t$ to $t+\mathit{dt}$. If we do not take into account external forces, then $d{v}_{g}=0$. Thus:

0
= v_G

= v_R m + v_P m

= v_R (m + m) + v_e m
because v_P = v_R - v_e

Dividing by $\mathit{dt}$ and with $m+dm\approx m$, it follows that:

$$m\frac{d{v}_{r}}{dt}=-{v}_{e}\frac{dm}{dt}$$

We finally get the expression of the force of thrust:

$${F}_{t}=m{a}_{t}=-{v}_{e}\stackrel{\bullet}{m}(1)$$

## Specific impulse

In KSP, the engines are defined by their maximum thrust ${F}_{t}$ and their ${I}_{\mathrm{sp}}$ (“atmosphereCurve” in configuration files). The **sp**ecific **i**mpulse is just the force exerted per unit (in weight) of fuel used, i.e. ${I}_{\mathrm{sp}}=\frac{{F}_{t}}{\stackrel{\bullet}{m}g}$. Thus:

$$\begin{array}{cc}\stackrel{\bullet}{m}=\frac{{F}_{t}}{{I}_{\mathrm{sp}}\times g}\text{and}\hfill & \hfill {v}_{e}=-{I}_{\mathrm{sp}}\times g\end{array}$$

## Tsiolkovsky rocket equation

We can now integrate equation (1) to get the velocity change of a rocket due to thrust, over a long period of time:

v_t
= _0^t t

= _0^t - v_e m t

= _0^t

= v_e m(0)

Conversely, we can compute the amount of propellant $\mathit{\Delta}m$ to eject to bring a mass $m$ to a given speed:

$$\mathit{\Delta}m=m(1-{e}^{-\frac{\mathit{\Delta}{v}_{t}}{{v}_{e}}})$$