🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Courses / Calculus I / Session 15

Optimizing Distance and Time

Session Objectives & Overview

By the end of this session, you will be able to:

  • Formulate Euclidean distance objective functions between external reference coordinates and functional curves, applying the Squared-Distance Optimization Technique to eliminate radical chain-rule differentiation while preserving critical number locations.
  • Verify geometric orthogonality between the displacement vector to the closest point on a curve and the curve's tangent line, proving that the target point lies on the normal line.
  • Model multi-medium transit scenarios using time-rate formulations (T=d/vT = d/v), identifying optimal boundary crossing points and discovering the calculus derivation of Snell's Law and Fermat's Principle of Least Time formalized in Fastest Path Across Media and Snell's Law.
  • Optimize municipal utility infrastructure routing (subsea/river pipelines and telecommunication cables) across disparate physical media, balancing per-meter excavation costs against path lengths using the Closed Interval Method.
  • Construct operational fleet transit cost functions balancing inverse-velocity time/labor overhead (A/vA/v) against nonlinear aerodynamic drag and fuel/energy expenses (BvBv or Bv2Bv^2), validating the Cost Equipartition Theorem and the Single Critical Point Rule on open domains.

📅 Micro-Lecture

1. Beyond Static Geometry: The Physics of Motion, Clearance, and Time

  • Mathematical Foundation: In Session 14, we explored static geometric containers—enclosing fixed areas and packaging fixed volumes. In Session 15, we expand optimization into dynamic spatial coordinates and kinematic rates. Here, the decision variable often controls a spatial clearance, a trajectory transition point, or an operating velocity.
  • Engineering Context: Engineering systems are rarely static. Autonomous drones compute real-time collision clearances to surrounding obstacles; subsea civil engineers size pipeline routes across wetlands and rivers to balance environmental excavation costs; and logistics fleet managers program commercial cruise speeds to balance driver payroll against aerodynamic fuel consumption.

2. The Squared-Distance Technique & Geometric Orthogonality

  • Mathematical Foundation: The Euclidean distance d(x)=(x−x0)2+(y(x)−y0)2d(x) = \sqrt{(x - x_0)^2 + (y(x) - y_0)^2} contains an outer square root that complicates differentiation via the Chain Rule. Because the squaring function g(u)=u2g(u) = u^2 is strictly monotonic for non-negative values u≥0u \ge 0, minimizing the squared distance D(x)=[d(x)]2D(x) = [d(x)]^2 yields the exact same critical numbers as minimizing d(x)d(x).
  • The Normal Line Property: Calculus proves that the straight line connecting an external coordinate to the closest point on any smooth curve is strictly perpendicular to the curve's tangent line (mnormal⋅mtangent=−1m_{\text{normal}} \cdot m_{\text{tangent}} = -1).

3. Fermat's Principle of Least Time & The Cost Equipartition Theorem

  • Mathematical Foundation: When an entity moves between two media with differing traversal speeds (v1≠v2v_1 \ne v_2), the quickest path is not the straight Euclidean line, but a refracted trajectory. Differentiating the elapsed time function T(x)=d1(x)v1+d2(x)v2T(x) = \frac{d_1(x)}{v_1} + \frac{d_2(x)}{v_2} proves Snell's Law of Refraction (sin⁡θ1v1=sin⁡θ2v2\frac{\sin \theta_1}{v_1} = \frac{\sin \theta_2}{v_2}).
  • The Economic Trade-off: In transportation logistics, elapsed travel time scales as 1/v1/v, while aerodynamic drag scales with velocity (vv or v2v^2). At the mathematically optimal speed for linear power dissipation, total labor expenditure exactly equals total energy expenditure—a universal property known as Cost Equipartition.