We are exploring arc length. We want to understand what is happening. (We do NOT care whether we can integrate symbollically! Any program will integrate for us.)
YouTube Videos: Parameterization Arc Length
Related Sage Pages: Arc Length of Parametric Curves in 2D Arc Length of Curves in 3D
Related Wiki Pages:
|
|
|
|
Look at the curve above and estimate a minimum and maximum value for its length L.
Arc Length of a Curve given explicity C=s: y= f(x) for x \in [x1,x2] is
\newcommand{\Bold}[1]{\mathbf{#1}}-\sin\left(x\right)
\newcommand{\Bold}[1]{\mathbf{#1}}-\sin\left(x\right)
|
\newcommand{\Bold}[1]{\mathbf{#1}}3.82019778903
\newcommand{\Bold}[1]{\mathbf{#1}}3.82019778903
|
So the arc length of this perfectly "normal" cos(x) curve using the formula (which we are calling our "exact" result even though it is being calculated numerically and CANNOT be calculated symbolically) is L=3.82
Let us approximate this length by finding tangent line segments at regularly spaced values of x along the curve.
|
|
We draw pieces of tangent line segments starting at these points.
|
|
So the approximate arc length of this "simple" curve using 4 tangent pieces is: L_4 =3.82.
We calculate our error.
\newcommand{\Bold}[1]{\mathbf{#1}}3.81994364317984
\newcommand{\Bold}[1]{\mathbf{#1}}3.81994364317984
|
Our error is \approx 0.007%.
Let us try more or less step sizes - change the value of steps2 and revaluate.
\newcommand{\Bold}[1]{\mathbf{#1}}0.0000665268820912695
\newcommand{\Bold}[1]{\mathbf{#1}}0.0000665268820912695
|
Let us try more or less step sizes - change the value of steps2 and revaluate.
|
|
So the approximate arc length of the cos(x) curve using 12 tangent pieces is: L_{12} =3.82.
We calculate our new error.
\newcommand{\Bold}[1]{\mathbf{#1}}3.82019778899358
\newcommand{\Bold}[1]{\mathbf{#1}}3.82019778899358
|
We check our new error.
\newcommand{\Bold}[1]{\mathbf{#1}}8.93448829513871 \times 10^{-12}
\newcommand{\Bold}[1]{\mathbf{#1}}8.93448829513871 \times 10^{-12}
|
Our error is now smaller than: 1.0 \times 10^{-11}.
We note that small errors are delicate things and in "real life" we must keep track of all of the possible types of errors that can occur here.
|
|