so I have this example;
The position of ship 1 is $(3t-10, t+4)$. The position of ship 2 is $(2t-3, -t+13)$. What is the closest distance the ships approach and what time does it occur?
Then I have;
$$d^2 = (3t-10-(2t-3))^2+(t+4-(-t+13))^2=(t-7)^2+(2t-9)^2=5t^2-50t+130$$ $$d^2=5|(t-5)^2-25|+130=5(t-5)^2+5$$ So $t=5$, and $d=\sqrt{5}$.
So I think I understand about this problem conceptually and that the closest approach is always perpendicular from the first point to the relative velocity line, and that distance is the one I want. I've seen geometric interpretations with relative velocity and my main problem is I have a disconnect between what I think is happening and what the above maths is telling me.
The first thing that confuses me is that the distance formula looks like it finds the hypotenuse of a triangle and I can't figure out why that would be the perpendicular line. I don't understand how the maths applies geometrically.
The second thing is that I don't understand why this tells me anything about the closest approach.
Thanks.
What you are calculating is the distance $\Delta_t$ between ship 1 and ship 2 at time $t$. And you were correct to look at this distance and find the $t$ for which $\Delta_t$ is the smallest.
I think a source of the confusion is that the lines $\ell, \ell'$ that are the respective routes of ships 1 and 2 are not parallel ($\ell$ has slope $\frac{1}{3}$ and $\ell'$ has slope $-\frac{1}{2}$) so the distance between these two lines is zero at the unique point $\mathbf{x}$ in the plane where they intersect.
However, ship 1 arrives at $\mathbf{x}$ at a different time then ship 2. So the distance between the two lines is not necessarily the closest the two ships will ever get.