Arc length for a 3D vector-valued function
Let
r(t)=(x(t),y(t),z(t)),a≤t≤b,
with a continuous derivative.
To measure the length of the curve, break the interval [a,b] into small pieces.
On one small piece, from t to t+Δt, the position change is
Δr≈r′(t)Δt
so its length is approximately
∥Δr∥≈∥r′(t)∥Δt.
Summing these small lengths and taking a limit gives
L=∫ab∥r′(t)∥dt.
If we write derivatives component-wise,
r′(t)=(x′(t),y′(t),z′(t)),
then by the 3D Pythagorean rule,
∥r′(t)∥=(x′(t))2+(y′(t))2+(z′(t))2.
So the arc-length formula is
L=∫ab(x′(t))2+(y′(t))2+(z′(t))2dt.
For a tiny move on the curve, let
dx=x′(t)dt,dy=y′(t)dt,dz=z′(t)dt.The tiny displacement vector is (dx,dy,dz), so its length is
ds=dx2+dy2+dz2which is exactly the 3D distance formula (Pythagorean theorem in three perpendicular directions).
Substitute dx=x′(t)dt etc.:
ds=(x′(t))2+(y′(t))2+(z′(t))2dt=∥r′(t)∥dt.Integrating ds from a to b gives total length.
Arc-length function
Fix a starting value a. Define
s(t)=∫at∥r′(u)∥du,
where s(t) is the distance traveled along the curve from u=a to u=t.
By the Fundamental Theorem of Calculus,
s′(t)=∥r′(t)∥.
So the derivative of arc length is speed (magnitude of velocity / tangent vector).
If ∥r′(t)∥>0, then s(t) is strictly increasing and can be used as a new parameter (arc-length parameter).
Start with
s(t+h)−s(t)=∫tt+h∥r′(u)∥du.Divide by h:
hs(t+h)−s(t)=h1∫tt+h∥r′(u)∥du.As h→0, the average value of a continuous function over [t,t+h] approaches its value at t, so
h→0limhs(t+h)−s(t)=∥r′(t)∥.Hence s′(t)=∥r′(t)∥.
Interactive illustrations
1) A 3D helix and its tangent vectors
For
r(t)=(cost,sint,t/(2π)),0≤t≤2π,
we have
r′(t)=(−sint,cost,1/(2π)),
so the speed is
∥r′(t)∥=1+4π21,
which is constant.
Helix with sample points (constant speed curve)
2) Arc length as accumulated distance
The same helix can be viewed as adding many tiny pieces
ds=∥r′(t)∥dt.
Since the speed is constant here, arc length grows linearly with t:
s(t)=∫0t∥r′(u)∥du=t1+4π21.
Use the sample points below to see that equal parameter steps produce equal arc-length increments for this curve.
Equal t-steps on a constant-speed helix
For the helix above,
L[0,2π]=∫02π1+4π21dt=2π1+4π21.Try confirming numerically by approximating with short straight segments between many nearby parameter values.
Optional: curvature and torsion
Curvature measures how strongly a curve bends.
Let
T(t)=∥r′(t)∥r′(t)be the unit tangent vector. Curvature is
κ=dsdT.Equivalent practical formula (for r′=0):
κ(t)=∥r′(t)∥3∥r′(t)×r′′(t)∥.For a circle of radius R, curvature is constant: κ=1/R.
Circle of radius 2 (constant curvature k = 1/2)
Curvature describes bending in the osculating plane; torsion describes twisting out of that plane in 3D.
Using
B=T×N,torsion can be defined by
au=−dsdB⋅N.A useful computational formula is
τ(t)=∥r′(t)×r′′(t)∥2det(r′(t),r′′(t),r′′′(t)).For the standard helix
r(t)=(acost,asint,bt),both curvature and torsion are constants:
κ=a2+b2a,τ=a2+b2b.So a helix bends and twists at steady rates.
Helix: classic example with nonzero curvature and nonzero torsion
Summary
- For r(t)=(x(t),y(t),z(t)), arc length on [a,b] is
L=∫ab∥r′(t)∥dt=∫abx′(t)2+y′(t)2+z′(t)2dt.
- The arc-length function
s(t)=∫at∥r′(u)∥du
satisfies
s′(t)=∥r′(t)∥.
- Curvature κ measures bending and torsion τ measures twisting in 3D.