Cartesian coordinates are a system of coordinates defined by an orthonormalBasis where any given point in space is determined by a set of real numbers, called coordinates, that represent the distance between the point and a basis vector.
Motion of a particle in two dimensional Cartesian coordinates can be represented like
r(t)=x(t)i^+y(t)j^
with i^ and j^ being the basis vectors (1,0) and (0,1). The velocity is
v(t)=r˙=x˙i^+y˙j^
and acceleration
a(t)=v˙=r¨=x¨i^+y¨j^
Given a trajectory curves(t), a tangent unit vector an be defined for each point as
T(t)=∣v∣v=(cos(ϕ(t)),sin(ϕ(t)))
and also a normal vector by differentiating each component
N(t)=(−sin(ϕ(t)),cos(ϕ(t)))
Since differentiating the components of a unit vector is equivalent to rotating it 90° counterclockwise, the normal vector is π/2 from the tangent vector, as expected1. The tangent and normal vectors form a Cartesian basis that moves with the particle, with its origin determined by the origin vector r(t). These three vectors form a Moving frame
Velocity and acceleration can be expressed in the moving frame as
v=∣v∣T=s˙T,a=v˙=s¨T+s˙2κN
where κ is the curvature of the curve at arc length s. The first component in the acceleration is called tangential acceleration and the second centripetal acceleration.
with i^=(1,0,0), j^=(0,1,0) and k^=(0,0,1) as the basis vectors. The velocity then is
v(t)=r˙=x˙i^+y˙j^+zk^
and acceleration
a(t)=v˙=r¨=x¨i^+y¨j^+z¨k^
Given a trajectory curve s(t), the tangent vector can be defined as
T(t)=∣v∣v
In three dimensions, there are infinitely possible normal vectors to T, which are all the unit vector on the plane perpendicular to T. Conventionally, the normal vector is chosen by seeing that dT/ds is perpendicular to T (by virtue of being a unit vector) and the normal vector is just, given the curvature κ(s),2
dsdT=κ(s)N(s)
The curvature can also be computed as
κ=σ∣v∣3∣v×a∣
where σ=±1 is a sign parameter designed to keep the normal vector continuous. Thus, we can write
N=∣v×a∣∣v∣σ(v×a)×v
The third and final basis vector can be taken as the cross product of tangent and normal like
B=T×N
called the binormal vector. These three, plus the position vector, make a moving frame:
{r(t);T(t),N(t),B(t)}
As B is perpendicular to both T and N, we can write
0=dsdB⋅T+B⋅dsdT=dsdB⋅T+κB⋅N=dsdB⋅T
Differentiating by s and diving by 2 we obtain
0=B⋅dsdB
which, when combined with the last equation, tells us that the derivative of B is perpendicular to both B and T. It must therefore be parallel to N, so
dsdB=−τN
where τ is the torsion of the curve. The minus sign is conventional. We can also compute
A rotation by −π/2 is completely equivalent and would end up with a clockwise-rotation system. A π/2 rotation gives a counterclockwise-rotating system. It's convention to use the counterclockwise form. ↩
Like in the 2D case, there are actually two possibilities, N and −N. If the curve is planar, we can just pick the counterclockwise direction again. If it's nonplanar, this reasoning cannot apply and the choice should be made to keep N continuous (if possible). ↩