TITLE: Does Tom catch Jerry?
QUESTION [23 upvotes]: Tom has Jerry backed against a wall. Tom is distance 1 away (perpendicularly). At time t=0, Jerry runs along the wall. Tom runs directly towards Jerry. Tom always runs directly towards Jerry. Tom and Jerry both run at the same speed.

Does Tom catch Jerry? 
How close does he get (in the limit t tends to infinity)?
What shaped curve does Tom run?


Edit: I made this problem up last week. Friends enjoyed it, I thought this site might too.
Hint: Take the x-axis as the wall, and assume Jerry runs to the right, without loss of generality at speed 1. Let $x(t)$ and $y(t)$ be Tom's position at time $t$. So $x(0) = 0$, and $y(0) = 1$.
Consider Tom's direction of travel at time $t$ towards Jerry at $(t, 0)$. Write $\theta$ for the (positive) angle below the horizon. Then 
$$ \tan \theta =  \frac{dy}{dx} =  \frac {y}{t-x} $$
Tom runs at unit speed, so also
$$ \frac{dy}{dt} = - \sin \theta $$
$$ \frac{dx}{dt} = \cos \theta $$
That's as far as I got, I don't know how to solve such a complex differential equation.

REPLY [2 votes]: The problem is simplified considerably if we consider the vector from Tom to Jerry.
So let $\vec r=\pmatrix{x\\y}$ be the vector from Tom to Jerry, with $r=|\vec r|=\sqrt{x^2+y^2}$. Then
\begin{eqnarray*}
\dot x&=&-\frac xr+1\;,\\
\dot y&=&-\frac yr\;,
\end{eqnarray*}
and
\begin{eqnarray*}
\dot r&=&\frac{x\dot x+y\dot y}r\\
&=&\frac xr-1\\
&=&-\dot x\;.
\end{eqnarray*}
Thus $r+x$ is constant. Initially $x=0$ and $r=1$, so the sum is $1$. In the limit, $x=r$, so both are $\frac12$.
This answers questions $1$ and $2$. To answer question $3$, you can introduce $\phi$ with $x=r\cos\phi$ and $y=r\sin\phi$ and calculate $\frac{\mathrm dr}{\mathrm d\phi}=\frac{\dot r}{\dot \phi}$ from $\dot x$ and $\dot y$. The result is
$$
\frac1r\frac{\mathrm dr}{\mathrm d\phi}=\tan\frac\phi2\;,
$$
and integrating yields $r=\lambda\cos^{-2}\frac\phi2$. The initial condition $r=1$, $\phi=\frac\pi2$ yields $\lambda=\frac12$, so the trajectory is
$$
r=\frac1{2\cos^2\frac\phi2}\;.
$$
Substituting $\phi=0$ again yields $r=\frac12$ in the limit.