Example 1: 2D Heart Curve
Move the point \((A,B)\), by clicking on it in the graph and dragging it. Then click "Scan for Minimum Distance". Just for fun, click on the "Make It a Beating Heart". Also watch how the corresponding distance function changes below.
Example 2: 3D Viviani Curve
Adjust the point \((A,B,C)\), by moving the sliders below. Then click "Scan for Minimum Distance". Watch how the distance graph changes.
Where It Started
Tessa started with a Math 124 optimization problem about finding the minimum distance from a curve to a point.
The homework included examples such as finding the minimum distance from a line to the origin and finding the closest point on another curve. This project takes that familiar calculus problem and turns it into a visual exploration.
Instead of only solving one equation, we can watch the distance change as a point moves along the curve.
Going Further
These questions are everything you look... As you walk around campus which point on a nearby building is closest to you? Which point on Earth is closest to a satellite? How does a robot vacuum find nearby obstacles so it does not run into them? How does a boat navigate a narrow stream while staying away from the banks?
The same idea returns in Math 126 when students find the closest point on a surface to a given point.