# Fourth, fifth, and sixth derivatives of position

In physics, the fourth, fifth and sixth derivatives of position are defined as derivatives of the position vector with respect to time – with the first, second, and third derivatives being velocity, acceleration, and jerk, respectively. The higher-order derivatives are less common than the first three; thus their names are not as standardized, though the concept of a minimum snap trajectory has been used in robotics.
The fourth derivative is referred to as snap, leading the fifth and sixth derivatives to be "sometimes somewhat facetiously" called crackle and pop, inspired by the Rice Krispies mascots Snap, Crackle, and Pop. The fourth derivative is also called jounce.

## Fourth derivative (snap/jounce)

Snap, or jounce, is the fourth derivative of the position vector with respect to time, or the rate of change of the jerk with respect to time. Equivalently, it is the second derivative of acceleration or the third derivative of velocity, and is defined by any of the following equivalent expressions: ${\vec {s}}={\frac {d\,{\vec {\jmath }}}{dt}}={\frac {d^{2}{\vec {a}}}{dt^{2}}}={\frac {d^{3}{\vec {v}}}{dt^{3}}}={\frac {d^{4}{\vec {r}}}{dt^{4}}}.$In civil engineering, the design of railway tracks and roads involves the minimization of snap, particularly around bends with different radii of curvature. When snap is constant, the jerk changes linearly, allowing for a smooth increase in radial acceleration, and when, as is preferred, the snap is zero, the change in radial acceleration is linear. The minimization or elimination of snap is commonly done using a mathematical clothoid function. Minimizing snap improves the performance of machine tools and roller coasters.
The following equations are used for constant snap: ${\begin{aligned}{\vec {\jmath }}&={\vec {\jmath }}_{0}+{\vec {s}}t,\\{\vec {a}}&={\vec {a}}_{0}+{\vec {\jmath }}_{0}t+{\tfrac {1}{2}}{\vec {s}}t^{2},\\{\vec {v}}&={\vec {v}}_{0}+{\vec {a}}_{0}t+{\tfrac {1}{2}}{\vec {\jmath }}_{0}t^{2}+{\tfrac {1}{6}}{\vec {s}}t^{3},\\{\vec {r}}&={\vec {r}}_{0}+{\vec {v}}_{0}t+{\tfrac {1}{2}}{\vec {a}}_{0}t^{2}+{\tfrac {1}{6}}{\vec {\jmath }}_{0}t^{3}+{\tfrac {1}{24}}{\vec {s}}t^{4},\end{aligned}}$
where
* ${\vec {s}}$ is constant snap,
* ${\vec {\jmath }}_{0}$ is initial jerk,
* ${\vec {\jmath }}$ is final jerk,
* ${\vec {a}}_{0}$ is initial acceleration,
* ${\vec {a}}$ is final acceleration,
* ${\vec {v}}_{0}$ is initial velocity,
* ${\vec {v}}$ is final velocity,
* ${\vec {r}}_{0}$ is initial position,
* ${\vec {r}}$ is final position,
* $t$ is time between initial and final states.
The notation ${\vec {s}}$ (used by Visser) is not to be confused with the displacement vector commonly denoted similarly.
The dimensions of snap are distance per fourth power of time (LT$^{−4}$). The corresponding SI unit is metre per second to the fourth power, m/s$^4$, m⋅s$^{−4}$.

## Fifth derivative

The fifth derivative of the position vector with respect to time is sometimes referred to as crackle. It is the rate of change of snap with respect to time. Crackle is defined by any of the following equivalent expressions: ${\vec {c}}={\frac {d{\vec {s}}}{dt}}={\frac {d^{2}{\vec {\jmath }}}{dt^{2}}}={\frac {d^{3}{\vec {a}}}{dt^{3}}}={\frac {d^{4}{\vec {v}}}{dt^{4}}}={\frac {d^{5}{\vec {r}}}{dt^{5}}}$
The following equations are used for constant crackle: ${\begin{aligned}{\vec {s}}&={\vec {s}}_{0}+{\vec {c}}\,t\\[1ex]{\vec {\jmath }}&={\vec {\jmath }}_{0}+{\vec {s}}_{0}\,t+{\tfrac {1}{2}}{\vec {c}}\,t^{2}\\[1ex]{\vec {a}}&={\vec {a}}_{0}+{\vec {\jmath }}_{0}\,t+{\tfrac {1}{2}}{\vec {s}}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {c}}\,t^{3}\\[1ex]{\vec {v}}&={\vec {v}}_{0}+{\vec {a}}_{0}\,t+{\tfrac {1}{2}}{\vec {\jmath }}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {s}}_{0}\,t^{3}+{\tfrac {1}{24}}{\vec {c}}\,t^{4}\\[1ex]{\vec {r}}&={\vec {r}}_{0}+{\vec {v}}_{0}\,t+{\tfrac {1}{2}}{\vec {a}}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {\jmath }}_{0}\,t^{3}+{\tfrac {1}{24}}{\vec {s}}_{0}\,t^{4}+{\tfrac {1}{120}}{\vec {c}}\,t^{5}\end{aligned}}$
where
* ${\vec {c}}$ : constant crackle,
* ${\vec {s}}_{0}$ : initial snap,
* ${\vec {s}}$ : final snap,
* ${\vec {\jmath }}_{0}$ : initial jerk,
* ${\vec {\jmath }}$ : final jerk,
* ${\vec {a}}_{0}$ : initial acceleration,
* ${\vec {a}}$ : final acceleration,
* ${\vec {v}}_{0}$ : initial velocity,
* ${\vec {v}}$ : final velocity,
* ${\vec {r}}_{0}$ : initial position,
* ${\vec {r}}$ : final position,
* $t$ : time between initial and final states.
The dimensions of crackle are LT$^{−5}$. The corresponding SI unit is m/s$^5$.

## Sixth derivative

The sixth derivative of the position vector with respect to time is sometimes referred to as pop. It is the rate of change of crackle with respect to time. Pop is defined by any of the following equivalent expressions:
${\vec {p}}={\frac {d{\vec {c}}}{dt}}={\frac {d^{2}{\vec {s}}}{dt^{2}}}={\frac {d^{3}{\vec {\jmath }}}{dt^{3}}}={\frac {d^{4}{\vec {a}}}{dt^{4}}}={\frac {d^{5}{\vec {v}}}{dt^{5}}}={\frac {d^{6}{\vec {r}}}{dt^{6}}}$
The following equations are used for constant pop: ${\begin{aligned}{\vec {c}}&={\vec {c}}_{0}+{\vec {p}}\,t\\{\vec {s}}&={\vec {s}}_{0}+{\vec {c}}_{0}\,t+{\tfrac {1}{2}}{\vec {p}}\,t^{2}\\{\vec {\jmath }}&={\vec {\jmath }}_{0}+{\vec {s}}_{0}\,t+{\tfrac {1}{2}}{\vec {c}}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {p}}\,t^{3}\\{\vec {a}}&={\vec {a}}_{0}+{\vec {\jmath }}_{0}\,t+{\tfrac {1}{2}}{\vec {s}}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {c}}_{0}\,t^{3}+{\tfrac {1}{24}}{\vec {p}}\,t^{4}\\{\vec {v}}&={\vec {v}}_{0}+{\vec {a}}_{0}\,t+{\tfrac {1}{2}}{\vec {\jmath }}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {s}}_{0}\,t^{3}+{\tfrac {1}{24}}{\vec {c}}_{0}\,t^{4}+{\tfrac {1}{120}}{\vec {p}}\,t^{5}\\{\vec {r}}&={\vec {r}}_{0}+{\vec {v}}_{0}\,t+{\tfrac {1}{2}}{\vec {a}}_{0}\,t^{2}+{\tfrac {1}{6}}{\vec {\jmath }}_{0}\,t^{3}+{\tfrac {1}{24}}{\vec {s}}_{0}\,t^{4}+{\tfrac {1}{120}}{\vec {c}}_{0}\,t^{5}+{\tfrac {1}{720}}{\vec {p}}\,t^{6}\end{aligned}}$
where
* ${\vec {p}}$ : constant pop,
* ${\vec {c}}_{0}$ : initial crackle,
* ${\vec {c}}$ : final crackle,
* ${\vec {s}}_{0}$ : initial snap,
* ${\vec {s}}$ : final snap,
* ${\vec {\jmath }}_{0}$ : initial jerk,
* ${\vec {\jmath }}$ : final jerk,
* ${\vec {a}}_{0}$ : initial acceleration,
* ${\vec {a}}$ : final acceleration,
* ${\vec {v}}_{0}$ : initial velocity,
* ${\vec {v}}$ : final velocity,
* ${\vec {r}}_{0}$ : initial position,
* ${\vec {r}}$ : final position,
* $t$ : time between initial and final states.
The dimensions of pop are LT$^{−6}$. The corresponding SI unit is m/s$^6$.