Galilean transformations

Suppose we have two inertial frames, $S$ and $S'$.

Then the transformation of event in $S$ to $S'$ is $$ \pmat{x' \\ y' \\ z' \\ t'} = \pmat{x - vt \\ y \\ z \\ t} = \pmat{1&0&0&-v \\ 0&1&0&0 \\ 0&0&1&0 \\ 0&0&0&1}\pmat{x\\y\\z\\t}. $$

The transformation of velocity is $$ \vec u' = \frac{d\vec s'}{dt'} = \frac{d\vec s'}{dt} = \pmat{\frac{dx}{dt} -v \\\frac{dy}{dt} \\ \frac{dz}{dt}}. $$

The transformation of acceleration is $$ \vec a' = \vec a. $$

Since forces between objects depend only on their relative position, which does not change between $S$ and $S'$, Newton's law of motion apply in both frames.