Arc Length

If r(t)=x(t)i+y(t)j+z(t)k from a to b is a continuously differentiable curve, the length of the curve is given by Integral from a to b of ||r'(t)|| with respect to t. The idea behind this is that ||r'(t)|| is the length of a tiny piece of tangent line to the curve. Adding up these tiny pieces gives the arclength. In calculus, adding up tiny pieces is integrating! To make this seem reasonable, let's look at the following:


  r[t_]:={Cos[t],Sin[t]}


  ParametricPlot[r[t],{t,0,2 Pi},AspectRatio->Automatic]


  arclength=Integrate[norm2[D[r[t],t]],{t,0,2 Pi}]

I hope that was what you expected!

Let's make this a Mathematica function.


  arclength2[r_,t_,a_,b_]:=
     Integrate[norm2[D[r[t],t]],{t,a,b}]


  arclength3[r_,t_,a_,b_]:=
     Integrate[norm3[D[r[t],t]],{t,a,b}]


  r[t_]:={2 Cos[t],2 Sin[t],t^2}


  ParametricPlot3D[r[t],{t,0,2 Pi}]


  
  D[r[t],t]


  norm3[D[r[t],t]]


  Simplify[%]


  Integrate[Sqrt[4+4 t^2],{t,0,2 pi}]

Here I went through all the steps for you. You could just use:


  
  arclength3[r,t,0,2 Pi]

Up to Some Multivariable Calculus Ideas Part II