% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
\ifPDFTeX
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
  \usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
  \usepackage{unicode-math}
  \defaultfontfeatures{Scale=MatchLowercase}
  \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
  \usepackage[]{microtype}
  \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
  \IfFileExists{parskip.sty}{%
    \usepackage{parskip}
  }{% else
    \setlength{\parindent}{0pt}
    \setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
  \KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
  hidelinks,
  pdfcreator={LaTeX via pandoc}}
\urlstyle{same} % disable monospaced font for URLs
\usepackage[margin=1in]{geometry}
\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\usepackage{graphicx}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{5}
\usepackage{bm}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{euler}
\usepackage{beton}
\usepackage{algorithm}
\usepackage[]{algpseudocode}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage{xcolor}
\usepackage[most]{tcolorbox}
\usepackage{tikz}
\usepackage{lipsum}
\usepackage{mathtools}
\usepackage{actuarialangle}
\usepackage{enumerate}
\usepackage[utf8]{inputenc}
\ifLuaTeX
  \usepackage{selnolig}  % disable illegal ligatures
\fi

\author{}
\date{\vspace{-2.5em}}

\begin{document}

{
\setcounter{tocdepth}{2}
\tableofcontents
}
\begin{center}\rule{0.5\linewidth}{0.5pt}\end{center}

\begin{center}\rule{0.5\linewidth}{0.5pt}\end{center}

\hypertarget{intrinsic-vs.-extrinsic-geometry-and-the-metric-tensor-illustrated}{%
\section{Intrinsic vs.~Extrinsic Geometry and The Metric Tensor Illustrated}\label{intrinsic-vs.-extrinsic-geometry-and-the-metric-tensor-illustrated}}

We illustrate the metric tensor as a mathematical book-keeping device which accounts for the variable change necessary in converting ``ground-distance'' to ``hiking-distance'' in a topographical map. Calculations are done in topographical maps to re-enforce the intuitive explanation given of intrinsic and extrinsic geometry.

\includegraphics[width=0.25\linewidth]{./Images/IntrinsicvExtrinsic-Thumbnail}

\emph{Last Updated: Monday, April 24, 2023 - 15:05:56.}

\begin{center}\rule{0.5\linewidth}{0.5pt}\end{center}

\hypertarget{imagine-collecting-the-following-materials}{%
\section{\texorpdfstring{\textbf{Imagine Collecting the Following Materials:}}{Imagine Collecting the Following Materials:}}\label{imagine-collecting-the-following-materials}}

\begin{enumerate}
\def\labelenumi{(\arabic{enumi})}
\tightlist
\item
  a flat piece of thick, gray construction paper,
\item
  a thin piece of pink, semi-transparent tracing paper,
\item
  and a yellow spotlight\ldots on the lens of which\ldots{}
\item
  \ldots you have drawn a star in black Sharpie pen.
\end{enumerate}



\begin{verbatim}
## Error in knitr::include_graphics(c("./Images/IntrinsicvExtrinsic-GrayPaper.png", : Cannot find the file(s): "./Images/IntrinsicvExtrinsic-GrayPaper.png"; "./Images/IntrinsicvExtrinsic-PinkPaper.png"; "./Images/IntrinsicvExtrinsic-Spotlight.png"; "./Images/IntrinsicvExtrinsic-StarPaper.png"
\end{verbatim}

\hypertarget{imagine-using-these-collected-materials}{%
\section{\texorpdfstring{\textbf{Imagine Using These Collected Materials:}}{Imagine Using These Collected Materials:}}\label{imagine-using-these-collected-materials}}

\begin{itemize}
\tightlist
\item
  Clear a space to work in your messy office or bedroom.\\
\item
  Lay the gray construction paper on the floor or a desk.\\
\item
  To get some practice with a pair of scissors you have found, you cut the pink tracing paper into a circle.\\
\item
  Now, in one hand, hold this pink circle above the gray paper but between the spotlight which you hold in your other hand.\\
\item
  With this setup, as seen in Figure \ref{fig:StarOnPlane}, you notice that the star on the flashlight casts a star-shaped shadow onto not only the semi-transparent pink tracing paper but also through onto the gray construction paper below.
\end{itemize}



\begin{verbatim}
## Error in knitr::include_graphics(c("./Images/IntrinsicvExtrinsic-StarOnPlane.png")): Cannot find the file(s): "./Images/IntrinsicvExtrinsic-StarOnPlane.png"
\end{verbatim}

\begin{verbatim}
## Error in knitr::include_graphics(c("./Images/IntrinsicvExtrinsic-StarOnPlane.png")): Cannot find the file(s): "./Images/IntrinsicvExtrinsic-StarOnPlane.png"
\end{verbatim}

\hypertarget{while-searching-the-internet-for-interesting-shapes}{%
\section{\texorpdfstring{\textbf{While searching the internet for interesting shapes\ldots{}}}{While searching the internet for interesting shapes\ldots{}}}\label{while-searching-the-internet-for-interesting-shapes}}

You happen upon a shape called \textbf{a Helicoid} (seen in Figure \ref{fig:Helicoid}) which, on a first pass, looks like just a twisted version of a piece of paper. You find, however, that you are unable to construct this twisted shape from a single piece of pink tracing paper without creating wrinkles or tears. However, with a significant amount of time, patience, scissors, and glue, you are able to construct a reasonable approximation of this helicoid from many small pieces of pink paper. With this newly constructed helicoidal shape, you set up your shadow casting apparatus again. This time, as you rotate the resulting helicoid around its central axis in space, you notice that the spotlight illuminates only the portions of the surface that are accessible to the light.



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-TwistedPaper} \caption{\textbf{You Want Your Paper to Take the Shape of this ``Helicoid''.}}\label{fig:Helicoid}
\end{figure}



\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-StarOnHelicoid}

\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-StarOnHelicoid} \caption{\textbf{Shadow As a Projection. Only the parts of the surface that come into contact with the light rays (vertical dotted lines) coming from the spotlight are illuminated.}}\label{fig:HelicoidShadow}
\end{figure}

\hypertarget{extrinsic-geometry-in-the-shadow-casting-context}{%
\section{\texorpdfstring{\textbf{Extrinsic Geometry in the Shadow-Casting Context:}}{Extrinsic Geometry in the Shadow-Casting Context:}}\label{extrinsic-geometry-in-the-shadow-casting-context}}

This situation, in essence, reflects the \textbf{Extrinsic Geometry} of the surface, namely, features of the surface can be exposed by some external methods of space. That is, the shadow cast onto the surface exists only because the spotlight was first present in space to create the light which then interacted with the surface itself in space to create this shadow. Any questions we wish to ask about the surface (for example, those distance and angle questions in Figure \ref{fig:ExtrinsicQuestions}) can be asked instead of the shadow cast onto this surface from the spotlight in space. These questions about the shadow on the surface can then be answered with the understanding that the tools and techniques of space are at our disposal (e.g.~rulers, tape measures, and string to find lengths and protractors to measure angles).



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-ExtrinsicMeasurements} \caption{\textbf{Questions We Wish to Ask About the Surface Like the Distance Between Two Points A and B Along a Path 1 -\textgreater{} 2 -\textgreater{} 3 -\textgreater{} 4 or Like the Measure of One of the Angles of a Projected Triangle on a Surface Can Be Answered Using the Shadow Cast Onto This Surface From the Spotlight in Space. These questions can be answered with rulers, string, and protractors which are some tools of space.}}\label{fig:ExtrinsicQuestions}
\end{figure}

\hypertarget{an-experiment-with-photosensitive-paper}{%
\section{\texorpdfstring{\textbf{An Experiment with Photosensitive Paper:}}{An Experiment with Photosensitive Paper:}}\label{an-experiment-with-photosensitive-paper}}

Given your success constructing a helicoid out of tracing paper, you
decide to repeat the construction with yellow, photosensitive paper. Repositioning the star above this new construction, you leave the photosensitive paper to develop an image while you go and get coffee. Upon returning some time later, you find the following image imprinted onto the helicoid as seen in Figure \ref{fig:PhotosensitivePaper} which prompts some natural questions. Some time later, sufficiently tired from constructing and thinking about how to make distance and angle computations without spatial tools you fall asleep wondering about the meaning
of \textbf{Intrinsic Geometry}\ldots{}

(\ldots{} \emph{and this is what you dream}\ldots)

\textbf{a star} \textbackslash{}\emph{once remembered} \textbackslash{}\emph{easily forgotten}

\textbf{a supernova} \textbackslash{} \emph{captured} \textbackslash{} \emph{nuclear afterimage}

\textbf{yourself} \textbackslash{} \emph{miniscule} \textbackslash{} \emph{trapped in crepuscular corona}

\textbf{perception}\textbackslash{} \emph{sun-blinded} \textbackslash{} \emph{claustrophobic}

\textbf{fate}\textbackslash{} \emph{restricted} \textbackslash{} \emph{a struggle to know more}

Upon waking you realize that a way to make sense of your dream is to imagine yourself being trapped as a
photographic image onto a helical surface made of photosensitive paper, and that in this transference you retain no knowledge of your prior existence in three-dimensional space. While this seems rather claustrophobic, you at least have retained the ability to move within the surface using your two remaining degrees of freedom (known to a 3D spatial observer as the width and vertical directions of the helicoid, but known to you the photographic inhabitant as simply \(v\) (moving \emph{across or left/right} in the surface) and \(u\) (moving \emph{forward/backward} on the surface), respectively.



\begin{verbatim}
## Error in knitr::include_graphics(c("./Images/IntrinsicvExtrinsic-YellowPaper.png", : Cannot find the file(s): "./Images/IntrinsicvExtrinsic-YellowPaper.png"
\end{verbatim}

\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-IntrinsicQuestions} \caption{\textbf{Instead of Transparent Pink Tracing Paper, Procure Some Yellow Photosensitive Paper. Leave this photosensitive paper exposed to the spotlight, and you will find the star photographically imprinted onto the helicoidal, photosensitive paper. The star now rotates with the helicoid as the star is now inseparable from the surface itself.}}\label{fig:PhotosensitivePaper}
\end{figure}

\hypertarget{intrinsic-geometry-in-photographic-terms}{%
\section{\texorpdfstring{\textbf{Intrinsic Geometry in Photographic Terms:}}{Intrinsic Geometry in Photographic Terms:}}\label{intrinsic-geometry-in-photographic-terms}}

\textbf{Intrinsic Geometry} then are those features of the surface that can be discovered while being ``photographically embedded'' into the surface. Intrinsic geometry requires that knowledge of surface be discovered using intrinsic tools that are developed with no reference to or knowledge of the surfaces prior extrinsic existence in space. Intrinsic tools should be constructed from knowledge of the variables \(u\) and \(v\) and special functions thereof (for example, the metric tensor \(g_{\alpha \beta}\)).

It turns out that, as hinted at in Figure \ref{fig:MetricTensorExample}, despite a transference to the photographic paper, special knowledge of an intrinsic object called the metric tensor \(g_{\alpha\beta}\) can be obtained, which allows one to compute lengths and angles in this new, restricted (intrinsic) surface environment defined by the vectors \(\partial_{1}=\partial_{u}\) and \(\partial_{2}=\partial_{v}\).



\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-MetricTensor1}

\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-MetricTensor2}

\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-MetricTensor3} \caption{\textbf{Screenshots of Intrinsic Computations with the Metric Tensor. Details to follow in the additional resources (Apple Book, YouTube Video, etc.) to this post.}}\label{fig:MetricTensorExample}
\end{figure}

\hypertarget{a-step-skip-and-a-jump-towards-metrics}{%
\section{\texorpdfstring{\textbf{A Step, Skip, and a Jump Towards Metrics\ldots{}}}{A Step, Skip, and a Jump Towards Metrics\ldots{}}}\label{a-step-skip-and-a-jump-towards-metrics}}

Using the metric tensor of the Helicoid (as seen in Figure \ref{fig:MetricTensorExample}) to compute lengths and angles intrinsically in the surface is not yet that satisfying as we have not yet developed the intuition behind the concept of Metrics. To develop this intuition and to step, skip, and jump towards the concepts of intrinsic geometry and the metric tensor, consider the illustration of a race shown in Figure \ref{fig:RaceIllustration}.



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-RaceMetricsIllustration} \caption{\textbf{Imagine a Race with Three Contestants:} The first (blue) contestant is a Stepper, which means they can only take Steps towards the finish line. The second (black) contestant is a Skipper, and thus wants to try to complete the race with Skips. The third (pink) contestant is a Jumper who is sure that this athletic ability will allow them to win the race. \textbf{The race begins!} According to one outside (extrinsic) observer in the crowd, they see a straight track that is 12ft in length which the blue contestant completes by taking 6steps at 2ft per step. To a second outside observer the black contestant complete the race in 4skips at 3ft per skip, while a third observer watches in amazement as the jumper complete the course in just 3 jumps at 4ft per jump. \textbf{The contests tie!}. They all completed the 12ft course at the same time albeit with different racing methods (or Metrics).}\label{fig:RaceIllustration}
\end{figure}

\hypertarget{metrics-definition}{%
\section{\texorpdfstring{\textbf{Metrics Definition\ldots{}}}{Metrics Definition\ldots{}}}\label{metrics-definition}}

According to one definition of \textbf{Metrics} obtained from the internet:

\textbf{Metrics (/metriks/)}

(\ldots{}\textbf{a method of measuring something}) Each race contestant (the intrinsic observers) had a different method for measuring the length of the race based on their chosen racing mode or metric (6steps or 4skips or 3jumps). In contrast, the race fans (the extrinsic observers) had their own metric in the form of the race markers on the outside of the track (12ft).

(\ldots{}\textbf{the results obtained from this}) This form of the definition is interesting as it can help us see the race, not really as a race, but as a means of dividing up the track into smaller parts. Imagine every time one of the contestants foot touches the ground (after a Step, a Skip, or a Jump) that a line across the track is made visible for the fans. By the end of the race, we might then see something like shown in Figure \ref{fig:RaceIllustrationWithLines} or that seen from a top view in Figure \ref{fig:MetricsToScale}.



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricsDefinition} \caption{\textbf{Metrics Definition: a method of measuring something, or the results obtained from this.}}\label{fig:MetricsDefinition}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-RaceMetricsIllustrationWithLines} \caption{\textbf{Imagine the Race as a Means of Dividing the Track into Smaller Parts.}}\label{fig:RaceIllustrationWithLines}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricsToScale} \caption{\textbf{Top View of Track Divided into Smaller Parts Using Three Fixed Metrics}}\label{fig:MetricsToScale}
\end{figure}

\hypertarget{a-variable-metric-and-race-summary}{%
\section{\texorpdfstring{\textbf{A Variable Metric and Race Summary:}}{A Variable Metric and Race Summary:}}\label{a-variable-metric-and-race-summary}}

Imagine now that one race fan (extrinsic) decides that they want to be a fourth contestant in what they know to be the 12ft race. As a now contestant (intrinsic) they decide to mix and match the race modes (fixed metrics) from the previous contestants into their own varying metric as shown in Figure \ref{fig:VariableMetric}. To summarize the four race completion strategies we have:

\begin{itemize}
\tightlist
\item
  (Stepper, Step Metric) 6steps
\item
  (Skipper, Skip Metric) 4skips
\item
  (Jumper, Jump Metric) 3jumps
\item
  (Former Observer, New Contestant, Variable Metric) 2skips, 1step, and 1jump
\end{itemize}

Because the New Contestant was a Former Observer who had the extrinsic knowledge that 1step=2ft, 1skip=3ft, and 1jump=4f, it follows that the contestants as a group are able to compare their intrinsic metrics (steps, skips, jumps, variable) to the extrinsic metric (ft) to see that they have all actually traveled the same distance of 12ft:

\begin{itemize}
\tightlist
\item
  (Stepper)
  \begin{equation*} 6steps \cdot \frac{2ft}{1step}=6\cdot 2ft=12ft \end{equation*}
\item
  (Skipper)
  \begin{equation*}
  4skips \cdot \frac{3ft}{1skip}=4\cdot 3ft=12ft
  \end{equation*}
\item
  (Jumper)
\end{itemize}

\begin{equation*}3jumps \cdot \frac{4ft}{1jump}=3\cdot 4ft=12ft\end{equation*}

\begin{itemize}
\tightlist
\item
  (Variable)
\end{itemize}

\begin{align*} & \left(2skips \cdot \frac{3ft}{1skip}\right) \\
&+\left(1step \cdot \frac{2ft}{1step}\right) \\
&+\left(1jump\cdot \frac{4ft}{1jump}\right)\\
&=6ft+2ft+4ft\\
&=12ft\end{align*}

The concept of a variable metric extends from the length of a racetrack to distances traveled on a curved surface. The surface can be viewed as a mountainous park as seen in Figure \ref{fig:MountainSurface}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-VariableMetric} \caption{\textbf{Top View of Track Divided into Smaller Parts Using A Variable Metric}}\label{fig:VariableMetric}
\end{figure}

\hypertarget{imagine-a-surface-as-a-mountainous-park}{%
\section{\texorpdfstring{\textbf{Imagine a Surface as a Mountainous Park:}}{Imagine a Surface as a Mountainous Park:}}\label{imagine-a-surface-as-a-mountainous-park}}

In this next several sections we introduce and motivate the idea of the metric tensor \(g_{\alpha \beta}\) of a surface using the, perhaps, more familiar concept of the topographical map the surface.



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-MountainSurface} \caption{\textbf{Imagine a Surface as a Mountainous Park.}}\label{fig:MountainSurface}
\end{figure}

\hypertarget{imagine-a-mountainous-park-as-a-topographical-map}{%
\section{\texorpdfstring{\textbf{Imagine A Mountainous Park as a Topographical Map:}}{Imagine A Mountainous Park as a Topographical Map:}}\label{imagine-a-mountainous-park-as-a-topographical-map}}

To make a topographical map of a surface, consider drawing many planes of constant elevation. As seen in Figure \ref{fig:TopoMapCreation1}, the intersection of these planes with the surface create the constant elevation or contour curves of the surface. Drawing many contour curves together on a single plot is the topographical map of the surface as seen for example in Figure \ref{fig:TopoMapCreation}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-ManyLevels} \caption{\textbf{Creating a Topographical Map of a Surface. Step 1: Draw many planes of varying, constant elevations. Here the elevations are set to be every 2 units on the z-axis. Step 2: Where these planes intersect the surface become the curves of constant elevation (contour curves). Crossing from a contour curve to one other (next) contour curve means you have changed elevation by 2 units of vertical distance.}}\label{fig:TopoMapCreation1}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-ExampleLevels} \caption{\textbf{Step3: Drawing many contour curves together on a single plot is a topographical map of the surface. The spacing of the contour curves in this topographical map correspond to a vertical change of 2 units of distance.}}\label{fig:TopoMapCreation}
\end{figure}

\hypertarget{the-park-could-have-many-sections-and-many-trails}{%
\section{\texorpdfstring{\textbf{The Park Could Have Many Sections and Many Trails:}}{The Park Could Have Many Sections and Many Trails:}}\label{the-park-could-have-many-sections-and-many-trails}}

The section on the park you have chosen to go to has three possible trails. In an effort to be prepared for whichever trail you might use, you have brought a variety topographical maps of a varying degrees of detail of the different regions as seen in Figure \ref{fig:TopoMaps} which are shown in the context of the park itself in Figure \ref{fig:MountainTopoMap}. Imagine the whole mountainous park to be the size of your topographical maps and imagine the trails shown by their trail marker colors (Red for the Peak Trail, Purple for the Mountain Loop Trail, and Blue for the Valley Loop Trail).



\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-TopoMap1}

\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-TopoMap2}

\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-TopoMap3} \caption{\textbf{You Have a Variety of Topographical Maps of the Area. The topographical maps of the park show flattened versions of the surrounding hilly terrain. On these maps, the colors and numbers correspond to the elevations above or below the parks office (which is considered to be elevation 0).}}\label{fig:TopoMaps}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-MountainTopoMap} \caption{\textbf{The Relationship of the Topographical Map to the Surface. Imagine the whole mountainous park to be the size of your map and imagine the trails shown by their trail marker colors (red for the Peak Trail, purple for the Mountain Loop Trail, and blue for the Valley Loop Trail). Hiking the red Peak Trail means following the red dotted path on the topographical map which will take you to high (red) elevations around 8 above the park office. Hiking the purple Mountain Loop means following the purple dotted path on the map with some elevations in the yellow range around 5 above the park office. The blue Valley Loop follows the blue dotted path on the map which leads to some elevations in the blue range around 3 below the park office.}}\label{fig:MountainTopoMap}
\end{figure}

\hypertarget{the-walking-distances-between-points-on-the-mountain-depends-on-the-trail}{%
\section{\texorpdfstring{\textbf{The Walking Distances Between Points on the Mountain Depends on the Trail:}}{The Walking Distances Between Points on the Mountain Depends on the Trail:}}\label{the-walking-distances-between-points-on-the-mountain-depends-on-the-trail}}

The computation of distances between points on the mountainous surface along different paths can be accomplished using the data contained in the corresponding topographical maps. Understanding the spacing of the constant elevation (or contour) curves of the surface is a key to the metric tensor \(g_{\alpha\beta}\) of the surface, and therefore the computation of distances between points along paths.



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrensic-MountainTopoMapWithData} \caption{\textbf{Distance Computations Between Points on the Surface Can Be Accomplished Using the Elevation Data in the Corresponding Topographical Map.}}\label{fig:MountainTopoMapWithData}
\end{figure}

\hypertarget{how-to-incorrectly-compute-walking-distance-to-tip-top-of-peak-trail-and-what-you-could-try-instead}{%
\section{\texorpdfstring{\textbf{How to Incorrectly Compute Walking Distance to Tip-Top of Peak Trail (and What You Could Try Instead):}}{How to Incorrectly Compute Walking Distance to Tip-Top of Peak Trail (and What You Could Try Instead):}}\label{how-to-incorrectly-compute-walking-distance-to-tip-top-of-peak-trail-and-what-you-could-try-instead}}

Walking the Peak Trail to the TipTop seen in Figure \ref{fig:PeakTrailWalking} presents a great opportunity to show how to incorrectly compute walking distance using the Pythagorean Theorem as illustrated in Figure \ref{fig:WhatNotToDo}. Recall the Pythagorean Theorem (for computing the length of the hypoteneuse, \(c\)) of a right triangle whose leg lengths are \(a\) and \(b\)

\begin{align*}
c=\sqrt{a^{2}+b^{2}}.
\end{align*}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-PeakTrailWalking} \caption{\textbf{Walking the Peak Trail to the Tip-Top Shows a Total Walking Distance of 10.41 units.}}\label{fig:PeakTrailWalking}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-WhatNotToDo} \caption{\textbf{In Trying to Understand Where a Total Walking Distance of 10.41 Comes From, It is Incorrect to Just Use the Pythagorean Theorem. Using this method in this case undercomputes the walking distance.}}\label{fig:WhatNotToDo}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-WhatToTry} \caption{\textbf{In Trying to Understand Where a Total Walking Distance of 10.41 Comes From, It Would Be More Correct to Use the Pythagorean Theorem Multiple Times.}}\label{fig:WhatToTry}
\end{figure}

\hypertarget{trail-distances-can-be-approximated-using-repeated-pythagorean-theorem}{%
\section{\texorpdfstring{\textbf{Trail Distances Can Be Approximated Using Repeated Pythagorean Theorem:}}{Trail Distances Can Be Approximated Using Repeated Pythagorean Theorem:}}\label{trail-distances-can-be-approximated-using-repeated-pythagorean-theorem}}

A common problem solving strategy in mathematics is to reduce a complicated problem (like the exact distance measurement problem) into smaller, less complicated problems (like the problem of finding the length of a single line segment). The trade off in solving these less complicated problems is that there are usually many, many of these smaller problems to need to be ``re-assembled'' to find final answer to the complicated problem (like needing to add the lengths of many line segments together to get a total curve length).



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-AllTrailsWalkingDistances} \caption{\textbf{Walking All the Trails and Exact Distances. For the Time Being, Assume These Exact Distance Measurements Come From the Pedometer Readings of Your Smart Watch.}}\label{fig:AllTrailsWalking}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-AllTrailsWalkingDistancesApprox} \caption{\textbf{Approximate Distances by Dividing the Trails Into Many Straight-Line Segments. The Lengths of Straight Lines are Straight-Forward (pun intended).}}\label{fig:AllTrailsWalkingApprox}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-AllTrailsWalkingDistancesApproxAnnotated} \caption{\textbf{Extrinsic Computations for the Lengths of Vectors in Space are Performed with Pythagorean's Theorem.}}\label{fig:ApproxAnnotated}
\end{figure}

\hypertarget{the-smaller-the-line-segments-used-the-better-the-trail-distance-approximation}{%
\section{\texorpdfstring{\textbf{The Smaller the Line Segments Used the Better the Trail Distance Approximation:}}{The Smaller the Line Segments Used the Better the Trail Distance Approximation:}}\label{the-smaller-the-line-segments-used-the-better-the-trail-distance-approximation}}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MainMathIdea} \caption{\textbf{(A Common Problem Solving Strategy) The Exact Distance Measurements Along the Trails on the Mountainous Surface (left) Can Be Approximated by Adding the Lengths of Many Straight-Line Segments (right). The More Segments Used the Better the Approximation.}}\label{fig:MainMathIdea}
\end{figure}

\hypertarget{find-walking-distances-on-trails-using-contour-lines}{%
\section{\texorpdfstring{\textbf{Find Walking Distances on Trails Using Contour Lines:}}{Find Walking Distances on Trails Using Contour Lines:}}\label{find-walking-distances-on-trails-using-contour-lines}}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-Point5ContoursOfPark} \caption{\textbf{Distances Along Line Segments of the Trails are Found with Repeated Application of the Pythagorean Theorem (to compute the Length of the Hypotenuse).}}\label{fig:PointFiveContours}
\end{figure}

\hypertarget{towards-a-variable-distance-metric-for-tip-top-peak-trailsimilar-to-the-step-skip-jump-race}{%
\section{\texorpdfstring{\textbf{Towards a Variable Distance Metric for Tip-Top Peak Trail\ldots Similar to the Step, Skip, Jump Race}}{Towards a Variable Distance Metric for Tip-Top Peak Trail\ldots Similar to the Step, Skip, Jump Race}}\label{towards-a-variable-distance-metric-for-tip-top-peak-trailsimilar-to-the-step-skip-jump-race}}

This section illustrates the connection between the variable metric idea introduced in section \textbf{\protect\hyperlink{a-variable-metric-and-race-summary}{\textbf{A Variable Metric and Race Summary:}}} with a variety of topographical map calculations. By dividing the trail into sequentially smaller segments on which we perform extrinsic calculations for elevation gains and hiking distances, we create a reasonable approximation of a variable metric on the Peak Trail which motivates a more detailed treatment of in section \textbf{\protect\hyperlink{the-metric-tensor}{\textbf{The Metric Tensor:}}}.



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-TowardsMetric} \caption{\textbf{Consider the Segment Length Data for the Tip-Top Trail: This Length Data Partly Required Extrinsic Knowledge of the Elevation Data. }}\label{fig:TowardsMetric1}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-TowardsMetric-Point7-3} \caption{\textbf{Consider the Segment Length Data for the Tip-Top Trail (0.7 Contour Spacing, 3 Segments with Spacing 0.5).}}\label{fig:PointSevenContours3}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-TowardsMetric-Point7-6} \caption{\textbf{Consider the Segment Length Data for the Tip-Top Trail (0.7 Contour Spacing, 6 Segments with Spacing 0.25).}}\label{fig:PointSevenContours6}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-TowardsMetric-Point7-50} \caption{\textbf{Consider the Segment Length Data for the Tip-Top Trail (0.7 Contour Spacing, 50 Segments with Spacing 0.03).}}\label{fig:PointSevenContours50}
\end{figure}

\hypertarget{the-metric-tensor}{%
\section{\texorpdfstring{\textbf{The Metric Tensor:}}{The Metric Tensor:}}\label{the-metric-tensor}}

In this section we transition from extrinsic to intrinsic calculations of distance by using the metric tensor as a scale factor which converts ``along-the-ground-distance'' to ``along-the-trail-distance''. We see that as the number of trail segments increases, then intrinsic and extrinsic computations of distance converge to each other.

The metric tensor \(g_{\alpha\beta}\) of a surface written as \(z=f(x,y)\) is the matrix

\begin{align*}
g_{\alpha\beta}=\begin{pmatrix} g_{11} & g_{12} \\ g_{21} & g_{22} \end{pmatrix}=\begin{pmatrix} 1+f_{x}^{2} & f_{x}f_{y} \\ f_{x}f_{y} & 1+f_{y}^2 \end{pmatrix}
\end{align*}

where \(f_{x}\) and \(f_{y}\) are the partial derivatives of the surface equation \(z=f(x,y)\) with respect to \(x\) and \(y\). In the case of our mountainous park, the \(z\)-values (or elevations) can be obtained by \((x,y)\) location in the park by the equation

\begin{align*}
f(x,y)&=-10 \cos ^3(x) \sin ^3(y)+\cos (x) \sin (y) \cos ^2(y)\\
&+2 \sin (x) \sin (y) (\cos (x) \sin (y)+1)^2\\
&+3 \sin (x) \sin (y) \cos (y)
\end{align*}

from which the the metric tensor \(g_{\alpha\beta}(x,y)\) follows at any point in the park \((x,y)\). This matrix is quite complicated due to the complicated nature of the terrain. However, the metric tensor along the Peak Trail given by the points \((x,y)=(0,y)\) can be reduced to simply to a function of \(y\)
\begin{align*}
g_{\alpha\beta}(y)=\begin{pmatrix} g_{11}(y) & g_{12}(y) \\ g_{12}(y) & g_{22}(y) \end{pmatrix},
\end{align*}

where

\begin{align*}
g_{11}(y)&=\left(2 \sin (y) (\sin (y)+1)^2+3 \sin (y) \cos (y)\right)^2+1\\
g_{12}(y)&=\left(\cos ^3(y)-32 \sin ^2(y) \cos (y)\right)\\
&\cdot \left(2 \sin (y) (\sin (y)+1)^2+3 \sin (y) \cos (y)\right)\\
g_{22}(y)&= \left(\cos ^3(y)-32 \sin ^2(y) \cos (y)\right)^2+1.
\end{align*}

The Figures \ref{fig:MetricTensorDef1} and \ref{fig:MetricTensorDef2} show that intrinsic computations of (hill) segment length can be obtained from ground distance \(\Delta y\) and (the square root of) the metric tensor \(\sqrt{g_{22}(y)}\) by a scale factor formula:

\begin{align*}
\mbox{Hill Segment Length}=\Delta y \cdot \sqrt{g_{22}(y)}.
\end{align*}

The Peak Trail, because of its constant southerly heading (with no east-west deviation), is an ideal example to use since only one component of the metric tensor is needed \(g_{22}\) for scaling. Intrinsically computing the walking distance on this specific trail nicely illustrates the metric tensors role as a mathematical book-keeping device accounting for the variable change necessary in converting ``ground-distance \(\Delta y\)'' to ``hill-distance, \(\Delta y \cdot \sqrt{g_{22}(y)}\)''. The metric tensor stores intrinsically all the information necessary to ensure that extrinsic computations of distance match the intrinsic distance.

Figure \ref{fig:MetricTensorDef3} shows that as \(\Delta y\) decreases to \(0\) (and therefore the number of segments increases to \(\infty\)) the intrinsic and extrinsic segment lengths begin to converge. So too then do the trail distances converge (aka the totals of the segments lengths).



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricTensorDef1} \caption{\textbf{Definitions of \(y\), \(\Delta y\), and \(\Delta z\) Needed to Extrinsically Compute Segment Lengths.}}\label{fig:MetricTensorDef1}
\end{figure}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricTensorDef2} \caption{\textbf{Definition of Metric Tensor \(g_{\alpha \beta}\) and Computing Intrinsic Distance as Metric Tensor Scaling \(\sqrt{g_{22}}\) of \(\Delta y\). Note that the scale factor is variable based on the segment number it is applied to!}}\label{fig:MetricTensorDef2}
\end{figure}



\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricTensorDef3a}

\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricTensorDef3b}

\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-MetricTensorDef3c} \caption{\textbf{Intrinsic and Extrinsic Segment Lengths Converge as \(\Delta y \rightarrow 0\). In this case, \(\Delta y=0.01\).}}\label{fig:MetricTensorDef3}
\end{figure}

\hypertarget{one-could-always-use-extrinsic-and-intrinsic-arc-length-integrals}{%
\section{\texorpdfstring{\textbf{One Could Always Use Extrinsic and Intrinsic Arc-Length Integrals:}}{One Could Always Use Extrinsic and Intrinsic Arc-Length Integrals:}}\label{one-could-always-use-extrinsic-and-intrinsic-arc-length-integrals}}

For those with some experience in Calculus who wish not to ``sum-up'' the many, many intrinsic or extrinsic segment lengths to get an approximation of total trail distance, you can always compute some integrals.

\begin{itemize}
\tightlist
\item
  (Extrinsic) Describe the mountainous park as a surface in space using \(r(x,y)=(x,y,f(x,y))\) where
\end{itemize}

\begin{align*}
f(x,y)&=-10 \cos ^3(x) \sin ^3(y)+\cos (x) \sin (y) \cos ^2(y)\\
&+2 \sin (x) \sin (y) (\cos (x) \sin (y)+1)^2\\
&+3 \sin (x) \sin (y) \cos (y).
\end{align*}

The equation of the peak trail as a curve in 3D is then

\begin{align*}
r(t)=r(0,t)=(0,-t,-\sin (t) \cos ^2(t)+10 \sin ^3(t)).
\end{align*}

The speed of the curve (or length of the velocity vector) is

\begin{align*}
|v(t)|&=|r'(t)\cdot r'(t)|=\sqrt{\left(-\cos ^3(t)+32 \sin ^2(t) \cos (t)\right)^2+1}
\end{align*}

from which it follows that the arc-length element \(ds\) (or the distance traveled at speed \(|v(t)|\) for a short moment in time dt) is given by \(ds=|v(t)|dt\).

Integrating \(ds\) from \(t=0\) to \(t=1.5\) yields a total trail distance of
\begin{align*}
\int_{0}^{1.5}ds&=\int_{0}^{1.5}\sqrt{\left(-\cos ^3(t)+32 \sin ^2(t) \cos (t)\right)^2+1}\; dt=10.4083.
\end{align*}

\begin{itemize}
\tightlist
\item
  (Intrinsic) An intrinsic calculation of distance will yield the same value \(10.4083\) and will look something like what is shown in Helicoid example in Section \textbf{\protect\hyperlink{intrinsic-geometry-in-photographic-terms}{\textbf{Intrinsic Geometry in Photographic Terms:}}} in Figure \ref{fig:MetricTensorExample}.
\end{itemize}

\hypertarget{more-to-follow-soon-in-additional-resources}{%
\section{\texorpdfstring{\textbf{More To Follow Soon In Additional Resources:}}{More To Follow Soon In Additional Resources:}}\label{more-to-follow-soon-in-additional-resources}}



\begin{figure}
\includegraphics[width=1\linewidth]{./Images/IntrinsicvExtrinsic-Closing} \caption{\textbf{More Technical Details of the Metric Tensor to Follow in the Additional Resources Section of this Post.}}\label{fig:Closing}
\end{figure}

\end{document}
