MATH-181 (Calculus I) Curriculum

Session 15 - Optimizing Distance and Time

Handout Worksheet
Fall Semester 2026
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/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/vA/v) against nonlinear aerodynamic drag and fuel/energy expenses (BvBvBv or Bv2Bv^2Bv2), 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}d(x)=(x−x0​)2+(y(x)−y0​)2​ contains an outer square root that complicates differentiation via the Chain Rule. Because the squaring function g(u)=u2g(u) = u^2g(u)=u2 is strictly monotonic for non-negative values u≥0u \ge 0u≥0, minimizing the squared distance D(x)=[d(x)]2D(x) = [d(x)]^2D(x)=[d(x)]2 yields the exact same critical numbers as minimizing d(x)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}} = -1mnormal​⋅mtangent​=−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_2v1​=v2​), 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}T(x)=v1​d1​(x)​+v2​d2​(x)​ proves Snell's Law of Refraction (sin⁡θ1v1=sin⁡θ2v2\frac{\sin \theta_1}{v_1} = \frac{\sin \theta_2}{v_2}v1​sinθ1​​=v2​sinθ2​​).
  • The Economic Trade-off: In transportation logistics, elapsed travel time scales as 1/v1/v1/v, while aerodynamic drag scales with velocity (vvv or v2v^2v2). At the mathematically optimal speed for linear power dissipation, total labor expenditure exactly equals total energy expenditure—a universal property known as Cost Equipartition.

Skill Block 1

Worked Example A: Minimum Distance from a Point to a Parabola

Find the coordinates of the points on the parabola y=x2y = x^2y=x2 that are closest to the coordinate point (0,2)(0, 2)(0,2), and calculate the minimum distance.

Worked Solution:
  1. Name the Governing Formulas: The Euclidean Distance Formula and the Squared-Distance Objective Function: (These optimization principles are defined in Squared-Distance Optimization Technique.)
  2. Assign Variables and Define Objective Function: Let (x,y)(x, y)(x,y) be an arbitrary point on the parabola y=x2y = x^2y=x2.
    The Euclidean distance from (0,2)(0, 2)(0,2) to (x,y)(x, y)(x,y) is:
    d(x)=(x−0)2+(y−2)2d(x) = \sqrt{(x - 0)^2 + (y - 2)^2}d(x)=(x−0)2+(y−2)2​
    Applying the Squared-Distance Optimization Technique, define the objective function D(x)=[d(x)]2D(x) = [d(x)]^2D(x)=[d(x)]2:
    D(x)=x2+(y−2)2D(x) = x^2 + (y - 2)^2D(x)=x2+(y−2)2
  3. Substitute the Curve Constraint: Substitute y=x2y = x^2y=x2 into the squared-distance function:
    D(x)=x2+(x2−2)2=x2+(x4−4x2+4)=x4−3x2+4D(x) = x^2 + (x^2 - 2)^2 = x^2 + (x^4 - 4x^2 + 4) = x^4 - 3x^2 + 4D(x)=x2+(x2−2)2=x2+(x4−4x2+4)=x4−3x2+4
  4. Establish the Feasible Domain: Because the parabola extends infinitely across the real numbers, the algebraic domain is:
    Domain: x∈(−∞,∞)\text{Domain: } x \in (-\infty, \infty)Domain: x∈(−∞,∞)
  5. Differentiate and Locate Critical Numbers: Take the first derivative using the Power Rule:
    D′(x)=ddx[x4−3x2+4]=4x3−6xD'(x) = \frac{d}{dx}[x^4 - 3x^2 + 4] = 4x^3 - 6xD′(x)=dxd​[x4−3x2+4]=4x3−6x
    Set D′(x)=0D'(x) = 0D′(x)=0 and factor:
    2x(2x2−3)=0  ⟹  x=0or2x2−3=0  ⟹  x2=32  ⟹  x=±322x(2x^2 - 3) = 0 \implies x = 0 \quad \text{or} \quad 2x^2 - 3 = 0 \implies x^2 = \frac{3}{2} \implies x = \pm\sqrt{\frac{3}{2}}2x(2x2−3)=0⟹x=0or2x2−3=0⟹x2=23​⟹x=±23​​
  6. Classify Extrema via the Second Derivative Test: Compute the second derivative:
    D′′(x)=12x2−6D''(x) = 12x^2 - 6D′′(x)=12x2−6
    • At x=0x = 0x=0: D′′(0)=12(0)2−6=−6<0  ⟹  D''(0) = 12(0)^2 - 6 = -6 < 0 \impliesD′′(0)=12(0)2−6=−6<0⟹ Local Maximum distance among stationary points.
    • At x=±32x = \pm\sqrt{\frac{3}{2}}x=±23​​: D′′(±32)=12(32)−6=18−6=12>0  ⟹  D''\left(\pm\sqrt{\frac{3}{2}}\right) = 12\left(\frac{3}{2}\right) - 6 = 18 - 6 = 12 > 0 \impliesD′′(±23​​)=12(23​)−6=18−6=12>0⟹ Local Minima.
  7. Compute Optimal Coordinates and Minimum Distance: Substitute x=±32x = \pm\sqrt{\frac{3}{2}}x=±23​​ into the curve equation y=x2y = x^2y=x2:
    y=(±32)2=32y = \left(\pm\sqrt{\frac{3}{2}}\right)^2 = \frac{3}{2}y=(±23​​)2=23​
    The two closest points on the parabola are:
    (−32,32)and(32,32)\left(-\sqrt{\frac{3}{2}}, \frac{3}{2}\right) \quad \text{and} \quad \left(\sqrt{\frac{3}{2}}, \frac{3}{2}\right)(−23​​,23​)and(23​​,23​)
    Evaluate the squared distance at these critical points:
    D(±32)=(32)2−3(32)+4=94−184+164=74D\left(\pm\sqrt{\frac{3}{2}}\right) = \left(\frac{3}{2}\right)^2 - 3\left(\frac{3}{2}\right) + 4 = \frac{9}{4} - \frac{18}{4} + \frac{16}{4} = \frac{7}{4}D(±23​​)=(23​)2−3(23​)+4=49​−418​+416​=47​
    Taking the square root gives the absolute minimum distance:
    dmin⁡=74=72≈1.323d_{\min} = \sqrt{\frac{7}{4}} = \frac{\sqrt{7}}{2} \approx 1.323dmin​=47​​=27​​≈1.323
    (Notice that at the local maximum x=0x = 0x=0, d=4=2>1.323d = \sqrt{4} = 2 > 1.323d=4​=2>1.323, confirming that (0,0)(0, 0)(0,0) is further from (0,2)(0, 2)(0,2) than the two symmetrical troughs.)

Practice Problem 1: Concept & Reading Check

Open this Skill Block on the Memex to locate the information needed to answer the following:

  • (a) Explain mathematically why minimizing the squared-distance function D(x)=[d(x)]2D(x) = [d(x)]^2D(x)=[d(x)]2 yields the exact same critical numbers and spatial coordinate locations as minimizing the radical distance function d(x)d(x)d(x).
  • (b) In Worked Example A, calculate the slope of the tangent line to y=x2y = x^2y=x2 at the point (1.5,1.5)\left(\sqrt{1.5}, 1.5\right)(1.5​,1.5) and the slope of the line segment connecting (0,2)(0, 2)(0,2) to that point. Verify that their product equals −1-1−1.
  • (c) In the linked engineering application Autonomous Drone LiDAR Obstacle Clearance (Computer Engineering), what physical safety clearance threshold must the quadcopter maintain from the pylon, and why does the embedded flight computer calculate D(x)D(x)D(x) rather than d(x)d(x)d(x)?
Solution Key:
  • (a) By the Chain Rule, ddx[d(x)2]=2d(x)d′(x)\frac{d}{dx}[d(x)^2] = 2d(x)d'(x)dxd​[d(x)2]=2d(x)d′(x). Whenever physical distance is non-zero (d(x)>0d(x) > 0d(x)>0), 2d(x)d′(x)=02d(x)d'(x) = 02d(x)d′(x)=0 if and only if d′(x)=0d'(x) = 0d′(x)=0. Because the squaring function is strictly monotonic for non-negative values, it preserves order: if d(x1)<d(x2)d(x_1) < d(x_2)d(x1​)<d(x2​), then [d(x1)]2<[d(x2)]2[d(x_1)]^2 < [d(x_2)]^2[d(x1​)]2<[d(x2​)]2. Thus, every local and absolute extremum of d(x)d(x)d(x) occurs at the identical location as that of D(x)D(x)D(x).
  • (b) For y=x2y = x^2y=x2, the derivative is y′=2xy' = 2xy′=2x. At x=1.5x = \sqrt{1.5}x=1.5​, the tangent slope is mtan=21.5m_{\text{tan}} = 2\sqrt{1.5}mtan​=21.5​. The line segment connecting (0,2)(0, 2)(0,2) to (1.5,1.5)(\sqrt{1.5}, 1.5)(1.5​,1.5) has slope mnormal=1.5−21.5−0=−0.51.5=−121.5m_{\text{normal}} = \frac{1.5 - 2}{\sqrt{1.5} - 0} = \frac{-0.5}{\sqrt{1.5}} = -\frac{1}{2\sqrt{1.5}}mnormal​=1.5​−01.5−2​=1.5​−0.5​=−21.5​1​. Multiplying the slopes: mtan⋅mnormal=(21.5)(−121.5)=−1m_{\text{tan}} \cdot m_{\text{normal}} = (2\sqrt{1.5})\left(-\frac{1}{2\sqrt{1.5}}\right) = -1mtan​⋅mnormal​=(21.5​)(−21.5​1​)=−1. This confirms that the displacement vector is perpendicular to the tangent line.
  • (c) The autonomous quadcopter firmware requires a minimum safety clearance threshold of dmin⁡≥2.0 damd_{\min} \ge 2.0\text{ dam}dmin​≥2.0 dam (20 meters20\text{ meters}20 meters) to prevent aerodynamic downwash destabilization and collision. Embedded flight microcontrollers calculate D(x)=[d(x)]2D(x) = [d(x)]^2D(x)=[d(x)]2 because polynomial evaluation requires fewer clock cycles and avoids floating-point square-root hardware latency during high-speed obstacle avoidance scans.
Show your steps and calculations here.

Practice Problem 2

Find the point on the curve y=xy = \sqrt{x}y=x​ that is closest to the coordinate point (4,0)(4, 0)(4,0).

Solution Key:
  1. Name the Governing Formula: The Squared-Distance Objective Function: (Defined in Squared-Distance Optimization Technique.)
    D(x)=(x−x0)2+(y−y0)2D(x) = (x - x_0)^2 + (y - y_0)^2D(x)=(x−x0​)2+(y−y0​)2
  2. Substitute Curve and Coordinate: Given (x0,y0)=(4,0)(x_0, y_0) = (4, 0)(x0​,y0​)=(4,0) and y=xy = \sqrt{x}y=x​:
    D(x)=(x−4)2+(x−0)2=(x2−8x+16)+x=x2−7x+16D(x) = (x - 4)^2 + (\sqrt{x} - 0)^2 = (x^2 - 8x + 16) + x = x^2 - 7x + 16D(x)=(x−4)2+(x​−0)2=(x2−8x+16)+x=x2−7x+16
  3. Establish Physical Domain: Because y=xy = \sqrt{x}y=x​ requires non-negative radicands:
    Domain: x∈[0,∞)\text{Domain: } x \in [0, \infty)Domain: x∈[0,∞)
  4. Differentiate and Find Critical Numbers:
    D′(x)=ddx[x2−7x+16]=2x−7D'(x) = \frac{d}{dx}[x^2 - 7x + 16] = 2x - 7D′(x)=dxd​[x2−7x+16]=2x−7
    Set D′(x)=0D'(x) = 0D′(x)=0:
    2x−7=0  ⟹  x=72=3.52x - 7 = 0 \implies x = \frac{7}{2} = 3.52x−7=0⟹x=27​=3.5
    x=3.5x = 3.5x=3.5 lies strictly within the domain [0,∞)[0, \infty)[0,∞).
  5. Verify Global Minimum:
    D′′(x)=2>0for all xD''(x) = 2 > 0 \quad \text{for all } xD′′(x)=2>0for all x
    Because D′′(x)>0D''(x) > 0D′′(x)>0 everywhere and x=3.5x = 3.5x=3.5 is the unique critical point on [0,∞)[0, \infty)[0,∞), it is the absolute minimum by the Single Critical Point Rule.
  6. Compute Coordinates and Minimum Distance:
    y=3.5=72y = \sqrt{3.5} = \sqrt{\frac{7}{2}}y=3.5​=27​​
    The closest point is (72,72)≈(3.5,1.871)\left(\frac{7}{2}, \sqrt{\frac{7}{2}}\right) \approx (3.5, 1.871)(27​,27​​)≈(3.5,1.871).
    Minimum distance:
    D(3.5)=(3.5)2−7(3.5)+16=12.25−24.5+16=3.75=154D(3.5) = (3.5)^2 - 7(3.5) + 16 = 12.25 - 24.5 + 16 = 3.75 = \frac{15}{4}D(3.5)=(3.5)2−7(3.5)+16=12.25−24.5+16=3.75=415​
    dmin⁡=154=152≈1.936d_{\min} = \sqrt{\frac{15}{4}} = \frac{\sqrt{15}}{2} \approx 1.936dmin​=415​​=215​​≈1.936
Show your steps and calculations here.

Practice Problem 3

Find the point on the line y=2x+1y = 2x + 1y=2x+1 that is closest to the point (4,2)(4, 2)(4,2), and verify that the line connecting these points is perpendicular to the boundary line.

Solution Key:
  1. Name the Governing Formula: The Squared-Distance Objective Function: (Defined in Squared-Distance Optimization Technique.)
    D(x)=(x−x0)2+(y−y0)2D(x) = (x - x_0)^2 + (y - y_0)^2D(x)=(x−x0​)2+(y−y0​)2
  2. Substitute Curve and Point: Given (x0,y0)=(4,2)(x_0, y_0) = (4, 2)(x0​,y0​)=(4,2) and y=2x+1y = 2x + 1y=2x+1:
    D(x)=(x−4)2+((2x+1)−2)2=(x−4)2+(2x−1)2D(x) = (x - 4)^2 + ((2x + 1) - 2)^2 = (x - 4)^2 + (2x - 1)^2D(x)=(x−4)2+((2x+1)−2)2=(x−4)2+(2x−1)2
    Expand both terms:
    D(x)=(x2−8x+16)+(4x2−4x+1)=5x2−12x+17D(x) = (x^2 - 8x + 16) + (4x^2 - 4x + 1) = 5x^2 - 12x + 17D(x)=(x2−8x+16)+(4x2−4x+1)=5x2−12x+17
    Domain: x∈(−∞,∞)x \in (-\infty, \infty)x∈(−∞,∞).
  3. Differentiate and Locate Critical Numbers:
    D′(x)=10x−12D'(x) = 10x - 12D′(x)=10x−12
    Set D′(x)=0D'(x) = 0D′(x)=0:
    10x−12=0  ⟹  x=1210=65=1.210x - 12 = 0 \implies x = \frac{12}{10} = \frac{6}{5} = 1.210x−12=0⟹x=1012​=56​=1.2
  4. Verify Global Minimum:
    D′′(x)=10>0D''(x) = 10 > 0D′′(x)=10>0
    The function is strictly concave up, confirming an absolute minimum at x=1.2x = 1.2x=1.2.
  5. Calculate Point and Verify Orthogonality: Substitute x=1.2x = 1.2x=1.2 into the line equation:
    y=2(1.2)+1=2.4+1=3.4=175y = 2(1.2) + 1 = 2.4 + 1 = 3.4 = \frac{17}{5}y=2(1.2)+1=2.4+1=3.4=517​
    The closest point is (1.2,3.4)(1.2, 3.4)(1.2,3.4).
    Minimum distance:
    dmin⁡=(1.2−4)2+(3.4−2)2=(−2.8)2+(1.4)2=7.84+1.96=9.8=75≈3.130d_{\min} = \sqrt{(1.2 - 4)^2 + (3.4 - 2)^2} = \sqrt{(-2.8)^2 + (1.4)^2} = \sqrt{7.84 + 1.96} = \sqrt{9.8} = \frac{7}{\sqrt{5}} \approx 3.130dmin​=(1.2−4)2+(3.4−2)2​=(−2.8)2+(1.4)2​=7.84+1.96​=9.8​=5​7​≈3.130
    Check orthogonality: The boundary line y=2x+1y = 2x + 1y=2x+1 has slope m1=2m_1 = 2m1​=2.
    The segment from (4,2)(4, 2)(4,2) to (1.2,3.4)(1.2, 3.4)(1.2,3.4) has slope:
    m2=3.4−21.2−4=1.4−2.8=−0.5=−12m_2 = \frac{3.4 - 2}{1.2 - 4} = \frac{1.4}{-2.8} = -0.5 = -\frac{1}{2}m2​=1.2−43.4−2​=−2.81.4​=−0.5=−21​
    Since m1⋅m2=2⋅(−12)=−1m_1 \cdot m_2 = 2 \cdot \left(-\frac{1}{2}\right) = -1m1​⋅m2​=2⋅(−21​)=−1, the segment is perpendicular to the line.

Show your steps and calculations here.

Regroup 1

  • The Power of Monotonicity: Minimizing D(x)=[d(x)]2D(x) = [d(x)]^2D(x)=[d(x)]2 rather than d(x)d(x)d(x) is an essential engineering simplification. It eliminates square roots and chain-rule fractions without altering critical numbers.
  • The Normal Line Property: If an exam problem asks for the point on a curve closest to an external point, you can immediately check your work: the line passing through both points must be perpendicular to the curve's tangent line.
  • Algebraic Artifacts: When solving D′(x)=0D'(x) = 0D′(x)=0 on higher-degree polynomials (such as the cubic in Worked Example A), always use the Second Derivative Test to distinguish between local minima and local maxima.

Skill Block 2

Worked Example A: The Coastal Transit / Lifeguard Path

A lifeguard at point AAA on a straight shoreline needs to reach an offshore swimmer at point BBB. Point BBB is located 30 meters30\text{ meters}30 meters offshore and 80 meters80\text{ meters}80 meters downshore from point AAA. The lifeguard can run along the shoreline at 5 m/s5\text{ m/s}5 m/s and swim through the water at 3 m/s3\text{ m/s}3 m/s. Find the distance xxx along the shoreline the lifeguard should run before entering the water to minimize total rescue time.

Worked Solution:
  1. Name the Governing Formula: The Multi-Medium Travel Time Function: (Defined in Fastest Path Across Media and Snell's Law.)
    T=d1v1+d2v2T = \frac{d_1}{v_1} + \frac{d_2}{v_2}T=v1​d1​​+v2​d2​​
  2. Assign Variables and Define Objective Function: Let xxx be the distance run along the shoreline (in meters).
    The remaining downshore distance is 80−x80 - x80−x.
    The diagonal swimming distance to the offshore platform is:
    dswim(x)=302+(80−x)2d_{\text{swim}}(x) = \sqrt{30^2 + (80 - x)^2}dswim​(x)=302+(80−x)2​
    Total transit time T(x)T(x)T(x) is:
    T(x)=x5+302+(80−x)23=15x+13900+(80−x)2T(x) = \frac{x}{5} + \frac{\sqrt{30^2 + (80 - x)^2}}{3} = \frac{1}{5}x + \frac{1}{3}\sqrt{900 + (80 - x)^2}T(x)=5x​+3302+(80−x)2​​=51​x+31​900+(80−x)2​
  3. Establish Context-Driven Domain: The lifeguard must enter the water between the starting position (x=0x = 0x=0) and the point directly opposite the swimmer (x=80x = 80x=80):
    Domain: x∈[0,80] meters\text{Domain: } x \in [0, 80]\text{ meters}Domain: x∈[0,80] meters
  4. Differentiate and Locate Critical Numbers: Differentiate T(x)T(x)T(x) using the Chain Rule:
    T′(x)=15+13⋅12900+(80−x)2⋅2(80−x)(−1)=15−80−x3900+(80−x)2T'(x) = \frac{1}{5} + \frac{1}{3} \cdot \frac{1}{2\sqrt{900 + (80 - x)^2}} \cdot 2(80 - x)(-1) = \frac{1}{5} - \frac{80 - x}{3\sqrt{900 + (80 - x)^2}}T′(x)=51​+31​⋅2900+(80−x)2​1​⋅2(80−x)(−1)=51​−3900+(80−x)2​80−x​
    Set T′(x)=0T'(x) = 0T′(x)=0:
    80−x3900+(80−x)2=15  ⟹  80−x900+(80−x)2=35\frac{80 - x}{3\sqrt{900 + (80 - x)^2}} = \frac{1}{5} \implies \frac{80 - x}{\sqrt{900 + (80 - x)^2}} = \frac{3}{5}3900+(80−x)2​80−x​=51​⟹900+(80−x)2​80−x​=53​
    Let u=80−xu = 80 - xu=80−x:
    u900+u2=35\frac{u}{\sqrt{900 + u^2}} = \frac{3}{5}900+u2​u​=53​
    Square both sides:
    u2900+u2=925  ⟹  25u2=9(900+u2)=8100+9u2\frac{u^2}{900 + u^2} = \frac{9}{25} \implies 25u^2 = 9(900 + u^2) = 8100 + 9u^2900+u2u2​=259​⟹25u2=9(900+u2)=8100+9u2
    16u2=8100  ⟹  u2=810016  ⟹  u=904=22.5 meters16u^2 = 8100 \implies u^2 = \frac{8100}{16} \implies u = \frac{90}{4} = 22.5\text{ meters}16u2=8100⟹u2=168100​⟹u=490​=22.5 meters
    Solve for xxx:
    x=80−22.5=57.5 metersx = 80 - 22.5 = 57.5\text{ meters}x=80−22.5=57.5 meters
    x=57.5 mx = 57.5\text{ m}x=57.5 m lies strictly inside the physical domain [0,80][0, 80][0,80].
  5. Evaluate Extrema via the Closed Interval Method: Evaluate T(x)T(x)T(x) at the domain endpoints and the interior critical point:
    • At x=0x = 0x=0 (swimming immediately along direct line):
      T(0)=05+302+8023=900+64003=73003≈28.48 secondsT(0) = \frac{0}{5} + \frac{\sqrt{30^2 + 80^2}}{3} = \frac{\sqrt{900 + 6400}}{3} = \frac{\sqrt{7300}}{3} \approx 28.48\text{ seconds}T(0)=50​+3302+802​​=3900+6400​​=37300​​≈28.48 seconds
    • At x=80x = 80x=80 (running to perpendicular point then swimming straight):
      T(80)=805+302+023=16+303=16+10=26.00 secondsT(80) = \frac{80}{5} + \frac{\sqrt{30^2 + 0^2}}{3} = 16 + \frac{30}{3} = 16 + 10 = 26.00\text{ seconds}T(80)=580​+3302+02​​=16+330​=16+10=26.00 seconds
    • At x=57.5x = 57.5x=57.5 (optimal refracted path):
      T(57.5)=57.55+302+(22.5)23=11.5+900+506.253=11.5+1406.253=11.5+37.53=11.5+12.5=24.00 secondsT(57.5) = \frac{57.5}{5} + \frac{\sqrt{30^2 + (22.5)^2}}{3} = 11.5 + \frac{\sqrt{900 + 506.25}}{3} = 11.5 + \frac{\sqrt{1406.25}}{3} = 11.5 + \frac{37.5}{3} = 11.5 + 12.5 = 24.00\text{ seconds}T(57.5)=557.5​+3302+(22.5)2​​=11.5+3900+506.25​​=11.5+31406.25​​=11.5+337.5​=11.5+12.5=24.00 seconds
      The absolute minimum transit time is 24.0 seconds24.0\text{ seconds}24.0 seconds, achieved by running 57.5 meters57.5\text{ meters}57.5 meters along the shore and swimming 37.5 meters37.5\text{ meters}37.5 meters diagonally.

Practice Problem 4: Concept & Reading Check

Open this Skill Block on the Memex to locate the information needed to answer the following:

  • (a) In time-minimization problems across two media with different speeds (v1>v2v_1 > v_2v1​>v2​), why does the optimal path bend at the interface boundary rather than following a single Euclidean straight line?
  • (b) In Worked Example A, let θ\thetaθ represent the angle between the diagonal swimming path and the shoreline. Explain how setting T′(x)=0T'(x) = 0T′(x)=0 directly reveals cos⁡θ=vswimvrun\cos \theta = \frac{v_{\text{swim}}}{v_{\text{run}}}cosθ=vrun​vswim​​.
  • (c) In the linked engineering application Regional Wastewater Effluent Pipeline Routing (Civil & Environmental Engineering), what construction factor makes wetland pipeline installation more expensive than dry bank trenching, and how much money is saved by optimizing the crossing point?
Solution Key:
  • (a) A straight Euclidean line minimizes spatial distance, but not travel time. Because the entity travels faster in Medium 1 (v1>v2v_1 > v_2v1​>v2​), the time saved by traveling farther through the higher-speed medium outweighs the small increase in total geometric distance, up to the critical refraction angle where marginal time saved equals marginal time added.
  • (b) In the right triangle formed by the swimming leg, the side adjacent to the shoreline has length 80−x80 - x80−x and the hypotenuse is 302+(80−x)2\sqrt{30^2 + (80 - x)^2}302+(80−x)2​. Therefore, cos⁡θ=adjacenthypotenuse=80−x302+(80−x)2\cos \theta = \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{80 - x}{\sqrt{30^2 + (80 - x)^2}}cosθ=hypotenuseadjacent​=302+(80−x)2​80−x​. Differentiating T(x)=xv1+d2v2T(x) = \frac{x}{v_1} + \frac{d_2}{v_2}T(x)=v1​x​+v2​d2​​ and setting to zero gives 1v1−cos⁡θv2=0  ⟹  cos⁡θ=v2v1=35\frac{1}{v_1} - \frac{\cos \theta}{v_2} = 0 \implies \cos \theta = \frac{v_2}{v_1} = \frac{3}{5}v1​1​−v2​cosθ​=0⟹cosθ=v1​v2​​=53​.
  • (c) Wetland pipeline installation requires specialized horizontal directional drilling (HDD) rigs, biological environmental monitoring, and secondary leak containment liners costing $400/m\$400/\text{m}$400/m, whereas dry easement trenching costs $240/m\$240/\text{m}$240/m. Optimizing the crossing point to x=450 mx = 450\text{ m}x=450 m produces a total cost of $672,000\$672,000$672,000, saving $48,000\$48,000$48,000 (6.7%6.7\%6.7%) compared to a perpendicular crossing ($720,000\$720,000$720,000) and saving $163,224\$163,224$163,224 (19.5%19.5\%19.5%) compared to a direct diagonal line ($835,224\$835,224$835,224).
Show your steps and calculations here.

Practice Problem 5

A municipal water pipeline connects a pumping station PPP on the bank of a straight 400-meter400\text{-meter}400-meter wide river to a treatment plant FFF located 1000 meters1000\text{ meters}1000 meters downstream on the opposite bank. Laying pipe underwater costs $100/meter\$100/\text{meter}$100/meter, while laying pipe along the dry riverbank costs $60/meter\$60/\text{meter}$60/meter. The pipe runs underwater in a straight diagonal line from PPP to a point QQQ on the opposite bank, and then runs along the bank to FFF. Determine the distance xxx downstream where the pipe should reach the opposite bank to minimize total construction cost.

Solution Key:
  1. Name the Governing Formula: The Dual-Medium Cost Objective Function: (Defined in Fastest Path Across Media and Snell's Law.)
    C(x)=C1w2+x2+C2(L−x)C(x) = C_1 \sqrt{w^2 + x^2} + C_2 (L - x)C(x)=C1​w2+x2​+C2​(L−x)
  2. Assign Parameters and Formulate Objective: River width w=400 mw = 400\text{ m}w=400 m, total downstream distance L=1000 mL = 1000\text{ m}L=1000 m, water cost C1=$100/mC_1 = \$100/\text{m}C1​=$100/m, land cost C2=$60/mC_2 = \$60/\text{m}C2​=$60/m.
    C(x)=1004002+x2+60(1000−x)for x∈[0,1000]C(x) = 100\sqrt{400^2 + x^2} + 60(1000 - x) \quad \text{for } x \in [0, 1000]C(x)=1004002+x2​+60(1000−x)for x∈[0,1000]
  3. Differentiate and Locate Critical Numbers:
    C′(x)=100⋅2x2160,000+x2−60=100x160,000+x2−60C'(x) = 100 \cdot \frac{2x}{2\sqrt{160,000 + x^2}} - 60 = \frac{100x}{\sqrt{160,000 + x^2}} - 60C′(x)=100⋅2160,000+x2​2x​−60=160,000+x2​100x​−60
    Set C′(x)=0C'(x) = 0C′(x)=0:
    100x160,000+x2=60  ⟹  x160,000+x2=60100=35\frac{100x}{\sqrt{160,000 + x^2}} = 60 \implies \frac{x}{\sqrt{160,000 + x^2}} = \frac{60}{100} = \frac{3}{5}160,000+x2​100x​=60⟹160,000+x2​x​=10060​=53​
    Square both sides:
    x2160,000+x2=925  ⟹  25x2=9(160,000+x2)=1,440,000+9x2\frac{x^2}{160,000 + x^2} = \frac{9}{25} \implies 25x^2 = 9(160,000 + x^2) = 1,440,000 + 9x^2160,000+x2x2​=259​⟹25x2=9(160,000+x2)=1,440,000+9x2
    16x2=1,440,000  ⟹  x2=90,000  ⟹  x=300 meters16x^2 = 1,440,000 \implies x^2 = 90,000 \implies x = 300\text{ meters}16x2=1,440,000⟹x2=90,000⟹x=300 meters
    x=300 mx = 300\text{ m}x=300 m is a valid critical number in [0,1000][0, 1000][0,1000].
  4. Evaluate via the Closed Interval Method:
    • At x=0x = 0x=0 (perpendicular crossing):
      C(0)=100(400)+60(1000)=40,000+60,000=$100,000C(0) = 100(400) + 60(1000) = 40,000 + 60,000 = \$100,000C(0)=100(400)+60(1000)=40,000+60,000=$100,000
    • At x=1000x = 1000x=1000 (direct straight line underwater):
      C(1000)=1004002+10002=100160,000+1,000,000=1001,160,000≈100(1077.03)=$107,703C(1000) = 100\sqrt{400^2 + 1000^2} = 100\sqrt{160,000 + 1,000,000} = 100\sqrt{1,160,000} \approx 100(1077.03) = \$107,703C(1000)=1004002+10002​=100160,000+1,000,000​=1001,160,000​≈100(1077.03)=$107,703
    • At x=300x = 300x=300 (optimal landing point):
      C(300)=1004002+3002+60(1000−300)=100(500)+60(700)=50,000+42,000=$92,000C(300) = 100\sqrt{400^2 + 300^2} + 60(1000 - 300) = 100(500) + 60(700) = 50,000 + 42,000 = \$92,000C(300)=1004002+3002​+60(1000−300)=100(500)+60(700)=50,000+42,000=$92,000
      The absolute minimum construction cost is $92,000\$92,000$92,000, achieved by landing the underwater pipe 300 meters300\text{ meters}300 meters downstream.
Show your steps and calculations here.

Practice Problem 6

A planetary rover at point AAA on a compacted dirt road needs to reach an exploration target BBB located 600 meters600\text{ meters}600 meters east and 200 meters200\text{ meters}200 meters north across a boulder plain. The road runs directly east-west. Rover speed is 10 m/s10\text{ m/s}10 m/s along the road and 6 m/s6\text{ m/s}6 m/s across the boulder plain. How far xxx along the road should the rover travel before turning diagonally into the boulder plain to reach target BBB in minimum time?

Solution Key:
  1. Name the Governing Formula: The Multi-Medium Travel Time Function: (Defined in Fastest Path Across Media and Snell's Law.)
    T(x)=xv1+h2+(L−x)2v2T(x) = \frac{x}{v_1} + \frac{\sqrt{h^2 + (L - x)^2}}{v_2}T(x)=v1​x​+v2​h2+(L−x)2​​
  2. Assign Parameters: Road speed v1=10 m/sv_1 = 10\text{ m/s}v1​=10 m/s, off-road speed v2=6 m/sv_2 = 6\text{ m/s}v2​=6 m/s, lateral offset h=200 mh = 200\text{ m}h=200 m, east distance L=600 mL = 600\text{ m}L=600 m.
    T(x)=x10+2002+(600−x)26for x∈[0,600]T(x) = \frac{x}{10} + \frac{\sqrt{200^2 + (600 - x)^2}}{6} \quad \text{for } x \in [0, 600]T(x)=10x​+62002+(600−x)2​​for x∈[0,600]
  3. Differentiate and Find Critical Numbers:
    T′(x)=110−600−x640,000+(600−x)2T'(x) = \frac{1}{10} - \frac{600 - x}{6\sqrt{40,000 + (600 - x)^2}}T′(x)=101​−640,000+(600−x)2​600−x​
    Set T′(x)=0T'(x) = 0T′(x)=0:
    600−x640,000+(600−x)2=110  ⟹  600−x40,000+(600−x)2=610=35\frac{600 - x}{6\sqrt{40,000 + (600 - x)^2}} = \frac{1}{10} \implies \frac{600 - x}{\sqrt{40,000 + (600 - x)^2}} = \frac{6}{10} = \frac{3}{5}640,000+(600−x)2​600−x​=101​⟹40,000+(600−x)2​600−x​=106​=53​
    Let u=600−xu = 600 - xu=600−x:
    u240,000+u2=925  ⟹  25u2=360,000+9u2  ⟹  16u2=360,000\frac{u^2}{40,000 + u^2} = \frac{9}{25} \implies 25u^2 = 360,000 + 9u^2 \implies 16u^2 = 360,00040,000+u2u2​=259​⟹25u2=360,000+9u2⟹16u2=360,000
    u2=22,500  ⟹  u=150 metersu^2 = 22,500 \implies u = 150\text{ meters}u2=22,500⟹u=150 meters
    Solve for xxx:
    x=600−150=450 metersx = 600 - 150 = 450\text{ meters}x=600−150=450 meters
  4. Evaluate via the Closed Interval Method:
    • At x=0x = 0x=0 (direct diagonal across boulders):
      T(0)=2002+60026=400,0006≈632.466≈105.41 sT(0) = \frac{\sqrt{200^2 + 600^2}}{6} = \frac{\sqrt{400,000}}{6} \approx \frac{632.46}{6} \approx 105.41\text{ s}T(0)=62002+6002​​=6400,000​​≈6632.46​≈105.41 s
    • At x=600x = 600x=600 (road to perpendicular point, then due north):
      T(600)=60010+2006=60+33.33=93.33 sT(600) = \frac{600}{10} + \frac{200}{6} = 60 + 33.33 = 93.33\text{ s}T(600)=10600​+6200​=60+33.33=93.33 s
    • At x=450x = 450x=450 (optimal turn-off point):
      T(450)=45010+2002+15026=45+2506=45+41.67=86.67 sT(450) = \frac{450}{10} + \frac{\sqrt{200^2 + 150^2}}{6} = 45 + \frac{250}{6} = 45 + 41.67 = 86.67\text{ s}T(450)=10450​+62002+1502​​=45+6250​=45+41.67=86.67 s
      The rover should travel 450 meters450\text{ meters}450 meters along the road before turning toward target BBB, minimizing total transit time to 86.67 seconds86.67\text{ seconds}86.67 seconds.

Show your steps and calculations here.

Regroup 2

  • The Derivative Pattern: Notice that in every dual-medium problem, differentiating h2+u2v\frac{\sqrt{h^2 + u^2}}{v}vh2+u2​​ always generates the exact trigonometric projection uvh2+u2=sin⁡θv\frac{u}{v \sqrt{h^2 + u^2}} = \frac{\sin \theta}{v}vh2+u2​u​=vsinθ​.
  • Algebraic Substitution Trick: When solving equations like L−xh2+(L−x)2=k\frac{L - x}{\sqrt{h^2 + (L - x)^2}} = kh2+(L−x)2​L−x​=k, always substitute u=L−xu = L - xu=L−x before squaring. This prevents expanding unwieldy quadratic expressions (L−x)2=L2−2Lx+x2(L - x)^2 = L^2 - 2Lx + x^2(L−x)2=L2−2Lx+x2 until after uuu is solved.
  • Physical Boundary Sanity Check: What happens if v1≤v2v_1 \le v_2v1​≤v2​? If the off-road speed is faster than or equal to the road speed (v2≥v1v_2 \ge v_1v2​≥v1​), the ratio v2v1≥1\frac{v_2}{v_1} \ge 1v1​v2​​≥1. Since sin⁡θ≤1\sin \theta \le 1sinθ≤1, no interior critical point exists, meaning the optimal path is a direct straight line (x=0x = 0x=0).

Skill Block 3

Worked Example A: Commercial Freight Truck Fleet Optimization

A long-haul freight truck operates on a 300-mile300\text{-mile}300-mile highway route. The commercial driver receives a flat wage of $36/hour\$36/\text{hour}$36/hour. When cruising at a steady speed vvv (in mph\text{mph}mph), diesel fuel costs v2100\frac{v^2}{100}100v2​ dollars per hour. Fleet governors restrict cruising velocity to the closed interval v∈[40,75] mphv \in [40, 75]\text{ mph}v∈[40,75] mph. Find the cruising speed that minimizes the total cost of the trip, and calculate the cost at that speed.

Worked Solution:
  1. Name the Governing Formula: The Fleet Transit Cost Objective Function: (Defined in Cruising Velocity and Operational Transit Cost Optimization.)
    C(v)=t(v)⋅[Rlabor+Rfuel(v)]=Dv(w+v2k)=wDv+DkvC(v) = t(v) \cdot \left[ R_{\text{labor}} + R_{\text{fuel}}(v) \right] = \frac{D}{v} \left( w + \frac{v^2}{k} \right) = \frac{w D}{v} + \frac{D}{k} vC(v)=t(v)⋅[Rlabor​+Rfuel​(v)]=vD​(w+kv2​)=vwD​+kD​v
  2. Assign Parameters and Formulate Objective: Route distance D=300 milesD = 300\text{ miles}D=300 miles, wage rate w=$36/hrw = \$36/\text{hr}w=$36/hr, fuel coefficient k=100k = 100k=100.
    C(v)=300v(36+v2100)=10,800v+3vfor v∈[40,75]C(v) = \frac{300}{v}\left(36 + \frac{v^2}{100}\right) = \frac{10,800}{v} + 3v \quad \text{for } v \in [40, 75]C(v)=v300​(36+100v2​)=v10,800​+3vfor v∈[40,75]
    Rewrite in power form for differentiation:
    C(v)=10,800v−1+3vC(v) = 10,800 v^{-1} + 3vC(v)=10,800v−1+3v
  3. Differentiate and Find Critical Numbers:
    C′(v)=ddv[10,800v−1+3v]=−10,800v−2+3=−10,800v2+3C'(v) = \frac{d}{dv}[10,800 v^{-1} + 3v] = -10,800 v^{-2} + 3 = -\frac{10,800}{v^2} + 3C′(v)=dvd​[10,800v−1+3v]=−10,800v−2+3=−v210,800​+3
    Set C′(v)=0C'(v) = 0C′(v)=0:
    10,800v2=3  ⟹  3v2=10,800  ⟹  v2=3600  ⟹  v=60 mph\frac{10,800}{v^2} = 3 \implies 3v^2 = 10,800 \implies v^2 = 3600 \implies v = 60\text{ mph}v210,800​=3⟹3v2=10,800⟹v2=3600⟹v=60 mph
    v=60 mphv = 60\text{ mph}v=60 mph lies strictly within the allowable speed interval [40,75][40, 75][40,75].
  4. Evaluate Extrema via the Closed Interval Method: Evaluate C(v)=10,800v+3vC(v) = \frac{10,800}{v} + 3vC(v)=v10,800​+3v at the boundaries and the critical point:
    • At minimum governor speed (v=40 mphv = 40\text{ mph}v=40 mph):
      C(40)=10,80040+3(40)=270+120=$390.00C(40) = \frac{10,800}{40} + 3(40) = 270 + 120 = \$390.00C(40)=4010,800​+3(40)=270+120=$390.00
    • At maximum speed limit (v=75 mphv = 75\text{ mph}v=75 mph):
      C(75)=10,80075+3(75)=144+225=$369.00C(75) = \frac{10,800}{75} + 3(75) = 144 + 225 = \$369.00C(75)=7510,800​+3(75)=144+225=$369.00
    • At critical speed (v=60 mphv = 60\text{ mph}v=60 mph):
      C(60)=10,80060+3(60)=180+180=$360.00C(60) = \frac{10,800}{60} + 3(60) = 180 + 180 = \$360.00C(60)=6010,800​+3(60)=180+180=$360.00
      The absolute minimum trip cost is $360.00\$360.00$360.00, achieved at a cruising velocity of 60 mph60\text{ mph}60 mph. (Notice that total driver wage $180\$180$180 exactly equals total fuel cost $180\$180$180, validating the Cost Equipartition Theorem.)

Practice Problem 7: Concept & Reading Check

Open this Skill Block on the Memex to locate the information needed to answer the following:

  • (a) Explain why the labor component of transit cost decreases as 1/v1/v1/v while the aerodynamic fuel component increases with vvv.
  • (b) In Worked Example A, verify that at v=60 mphv = 60\text{ mph}v=60 mph, the marginal rate of labor cost savings (−dClabordv-\frac{dC_{\text{labor}}}{dv}−dvdClabor​​) exactly equals the marginal rate of fuel cost increase (dCfueldv\frac{dC_{\text{fuel}}}{dv}dvdCfuel​​).
  • (c) In the linked engineering application Electric Delivery Van Highway Cruising Optimization (Mechanical Engineering), what cruising speed minimizes the delivery shift cost, and how does wage inflation alter that optimal speed?
Solution Key:
  • (a) Because transit distance DDD is constant, driving faster decreases the total duration of the trip according to t=D/vt = D/vt=D/v, causing hourly labor expenses to decline as wD/vwD/vwD/v. Conversely, overcoming aerodynamic drag requires mechanical power proportional to the cube of velocity (P∝v3P \propto v^3P∝v3). Dividing power by velocity reveals that fuel or battery energy consumed per unit distance increases with speed (E/D∝v2E/D \propto v^2E/D∝v2 or vvv), causing energy costs to climb.
  • (b) Total trip cost is C(v)=Clabor(v)+Cfuel(v)=10,800v+3vC(v) = C_{\text{labor}}(v) + C_{\text{fuel}}(v) = \frac{10,800}{v} + 3vC(v)=Clabor​(v)+Cfuel​(v)=v10,800​+3v. Taking derivatives of the individual components:
    • Marginal labor savings rate: −dClabordv=10,800v2-\frac{dC_{\text{labor}}}{dv} = \frac{10,800}{v^2}−dvdClabor​​=v210,800​. At v=60v = 60v=60, this equals 10,8003600=3 dollars per mph\frac{10,800}{3600} = 3\text{ dollars per mph}360010,800​=3 dollars per mph.
    • Marginal fuel expense rate: dCfueldv=3 dollars per mph\frac{dC_{\text{fuel}}}{dv} = 3\text{ dollars per mph}dvdCfuel​​=3 dollars per mph. At v=60 mphv = 60\text{ mph}v=60 mph, the marginal savings from driving faster exactly balances the marginal cost of additional fuel, which is why the net derivative C′(v)=−3+3=0C'(v) = -3 + 3 = 0C′(v)=−3+3=0.
  • (c) For the electric delivery van fleet operating on the 240-mile240\text{-mile}240-mile Interstate-15 corridor, the optimal cruising speed is 60 mph60\text{ mph}60 mph, resulting in an operating cost of $360\$360$360 per shift. If commercial driver wages rise (e.g., due to overtime premiums from $45/hr\$45/\text{hr}$45/hr to $60/hr\$60/\text{hr}$60/hr), the numerator of the time-cost function increases (wD=60×240=14,400wD = 60 \times 240 = 14,400wD=60×240=14,400), shifting the optimal speed higher to v∗=14,400/3=4,800≈69.3 mphv^* = \sqrt{14,400 / 3} = \sqrt{4,800} \approx 69.3\text{ mph}v∗=14,400/3​=4,800​≈69.3 mph to minimize paid operating hours.
Show your steps and calculations here.

Practice Problem 8

A commercial container cargo vessel navigates a 400-nautical-mile400\text{-nautical-mile}400-nautical-mile voyage. Ship crew and onboard hotel electrical systems cost a flat $500/hour\$500/\text{hour}$500/hour. Heavy bunker fuel costs 0.25v30.25 v^30.25v3 dollars per hour when the vessel cruises at velocity vvv (in knots). Navigational safety limits cruising velocity to v∈[6,18] knotsv \in [6, 18]\text{ knots}v∈[6,18] knots. Find the cruising speed that minimizes the total voyage cost, and calculate the cost at that speed.

Solution Key:
  1. Name the Governing Formula: The Cubic-Drag Transit Cost Objective Function: (Defined in Cruising Velocity and Operational Transit Cost Optimization.)
    C(v)=Dv(w+kv3)=wDv+kDv2C(v) = \frac{D}{v}(w + k v^3) = \frac{w D}{v} + k D v^2C(v)=vD​(w+kv3)=vwD​+kDv2
  2. Assign Parameters: Voyage distance D=400 nmiD = 400\text{ nmi}D=400 nmi, hourly crew overhead w=$500/hrw = \$500/\text{hr}w=$500/hr, fuel coefficient k=0.25k = 0.25k=0.25.
    C(v)=400v(500+0.25v3)=200,000v+100v2for v∈[6,18]C(v) = \frac{400}{v}(500 + 0.25 v^3) = \frac{200,000}{v} + 100 v^2 \quad \text{for } v \in [6, 18]C(v)=v400​(500+0.25v3)=v200,000​+100v2for v∈[6,18]
    Rewrite in power form:
    C(v)=200,000v−1+100v2C(v) = 200,000 v^{-1} + 100 v^2C(v)=200,000v−1+100v2
  3. Differentiate and Find Critical Numbers:
    C′(v)=ddv[200,000v−1+100v2]=−200,000v2+200vC'(v) = \frac{d}{dv}[200,000 v^{-1} + 100 v^2] = -\frac{200,000}{v^2} + 200 vC′(v)=dvd​[200,000v−1+100v2]=−v2200,000​+200v
    Set C′(v)=0C'(v) = 0C′(v)=0:
    200v=200,000v2  ⟹  200v3=200,000  ⟹  v3=1000  ⟹  v=10 knots200 v = \frac{200,000}{v^2} \implies 200 v^3 = 200,000 \implies v^3 = 1000 \implies v = 10\text{ knots}200v=v2200,000​⟹200v3=200,000⟹v3=1000⟹v=10 knots
    v=10 knotsv = 10\text{ knots}v=10 knots lies strictly inside [6,18][6, 18][6,18].
  4. Evaluate via the Closed Interval Method:
    • At minimum safe speed (v=6 knotsv = 6\text{ knots}v=6 knots):
      C(6)=200,0006+100(6)2≈33,333.33+3,600=$36,933.33C(6) = \frac{200,000}{6} + 100(6)^2 \approx 33,333.33 + 3,600 = \$36,933.33C(6)=6200,000​+100(6)2≈33,333.33+3,600=$36,933.33
    • At maximum safe speed (v=18 knotsv = 18\text{ knots}v=18 knots):
      C(18)=200,00018+100(18)2≈11,111.11+32,400=$43,511.11C(18) = \frac{200,000}{18} + 100(18)^2 \approx 11,111.11 + 32,400 = \$43,511.11C(18)=18200,000​+100(18)2≈11,111.11+32,400=$43,511.11
    • At critical speed (v=10 knotsv = 10\text{ knots}v=10 knots):
      C(10)=200,00010+100(10)2=20,000+10,000=$30,000.00C(10) = \frac{200,000}{10} + 100(10)^2 = 20,000 + 10,000 = \$30,000.00C(10)=10200,000​+100(10)2=20,000+10,000=$30,000.00
      The optimal cruising speed is 10 knots10\text{ knots}10 knots, minimizing total voyage expenses to $30,000.00\$30,000.00$30,000.00.
Show your steps and calculations here.

Practice Problem 9

An autonomous delivery quadcopter flies a courier route on the open speed domain v∈(0,25] m/sv \in (0, 25]\text{ m/s}v∈(0,25] m/s. The net electrical power required to sustain flight is P(v)=200+2v2P(v) = 200 + 2v^2P(v)=200+2v2 watts (where 200 W200\text{ W}200 W accounts for hover and avionics base load and 2v22v^22v2 accounts for aerodynamic drag). Find the forward air speed that minimizes the total energy consumed per meter of flight (e(v)=P(v)ve(v) = \frac{P(v)}{v}e(v)=vP(v)​), and prove global optimality using the Second Derivative Test.

Solution Key:
  1. Name the Governing Formula: The Specific Energy Objective Function: (Defined in Cruising Velocity and Operational Transit Cost Optimization.)
    e(v)=P(v)ve(v) = \frac{P(v)}{v}e(v)=vP(v)​
  2. Formulate Objective Function: Given power P(v)=200+2v2P(v) = 200 + 2v^2P(v)=200+2v2 (in watts, where 1 W=1 J/s1\text{ W} = 1\text{ J/s}1 W=1 J/s):
    e(v)=200+2v2v=200v+2v=200v−1+2vfor v∈(0,25]e(v) = \frac{200 + 2v^2}{v} = \frac{200}{v} + 2v = 200 v^{-1} + 2v \quad \text{for } v \in (0, 25]e(v)=v200+2v2​=v200​+2v=200v−1+2vfor v∈(0,25]
  3. Differentiate and Locate Critical Numbers:
    e′(v)=ddv[200v−1+2v]=−200v2+2e'(v) = \frac{d}{dv}[200 v^{-1} + 2v] = -\frac{200}{v^2} + 2e′(v)=dvd​[200v−1+2v]=−v2200​+2
    Set e′(v)=0e'(v) = 0e′(v)=0:
    200v2=2  ⟹  2v2=200  ⟹  v2=100  ⟹  v=10 m/s\frac{200}{v^2} = 2 \implies 2v^2 = 200 \implies v^2 = 100 \implies v = 10\text{ m/s}v2200​=2⟹2v2=200⟹v2=100⟹v=10 m/s
    v=10 m/sv = 10\text{ m/s}v=10 m/s (36 km/h36\text{ km/h}36 km/h) is the unique stationary point in (0,25](0, 25](0,25].
  4. Prove Global Minimum via Second Derivative Test: Compute the second derivative:
    e′′(v)=ddv[−200v−2+2]=400v3e''(v) = \frac{d}{dv}[-200 v^{-2} + 2] = \frac{400}{v^3}e′′(v)=dvd​[−200v−2+2]=v3400​
    Evaluate at v=10v = 10v=10:
    e′′(10)=400103=4001000=0.4>0e''(10) = \frac{400}{10^3} = \frac{400}{1000} = 0.4 > 0e′′(10)=103400​=1000400​=0.4>0
    Because e′′(10)>0e''(10) > 0e′′(10)>0 and v=10v = 10v=10 is the unique critical point on the open-bounded interval (0,25](0, 25](0,25], it is the absolute minimum by the Single Critical Point Rule.
  5. Evaluate Minimum Energy Expenditure:
    e(10)=20010+2(10)=20+20=40 Joules per metere(10) = \frac{200}{10} + 2(10) = 20 + 20 = 40\text{ Joules per meter}e(10)=10200​+2(10)=20+20=40 Joules per meter
    (Notice that base hover energy 20 J/m20\text{ J/m}20 J/m equals aerodynamic drag energy 20 J/m20\text{ J/m}20 J/m, again confirming cost equipartition.)

Show your steps and calculations here.

Regroup 3

  • The Drag Penalty: In vehicle systems, notice why higher speeds become rapidly unaffordable: drag power scales as v3v^3v3. Driving 20%20\%20% faster does not cost 20%20\%20% more in fuel—it increases fuel burn rate by nearly 73%73\%73% (1.23=1.7281.2^3 = 1.7281.23=1.728).
  • The Cost Equipartition Shortcut: Whenever a total cost function has the form C(v)=Av+BvC(v) = \frac{A}{v} + BvC(v)=vA​+Bv, the minimum always occurs where the two terms are equal (Av=Bv  ⟹  v=A/B\frac{A}{v} = Bv \implies v = \sqrt{A/B}vA​=Bv⟹v=A/B​). Use this shortcut on homework and exams to check your derivative algebra instantly.
  • Open Domain Verification: When problems do not specify closed bracket endpoints (e.g., v∈(0,∞)v \in (0, \infty)v∈(0,∞)), always evaluate the second derivative C′′(v)C''(v)C′′(v) to formally guarantee that your stationary point is an absolute minimum rather than an inflection point.

Synthesis Wrap-up

  • Core Takeaways from Session 15:
    1. Squared-Distance Simplification: Minimizing D=d2D = d^2D=d2 eliminates radical expressions and simplifies polynomial differentiation while preserving exact critical points.
    2. Refracted Fastest Paths: Traversal between media with differing speeds demands bent trajectories; setting dT/dx=0dT/dx = 0dT/dx=0 derives Snell's Law sin⁡θ1v1=sin⁡θ2v2\frac{\sin \theta_1}{v_1} = \frac{\sin \theta_2}{v_2}v1​sinθ1​​=v2​sinθ2​​.
    3. Velocity & Operating Cost Balance: Optimal speed balances inverse-speed time overhead (1/v1/v1/v) against direct-speed aerodynamic drag (vvv or v2v^2v2), achieving cost equipartition.
  • Knewton Alta Bridge: This session completes the theoretical and computational foundation for Knewton Alta homework: Optimization Problems in Other Contexts.
  • Course Trajectory: Having completed constrained optimization of static geometry (Session 14) and dynamic motion/cost (Session 15), we transition in Session 16 to Curve Sketching, where first and second derivatives combine to map full system responses.