You have a corridor which has an L-shape in it. The corridor looks like this:

cor

where a and b are the widths of the sections of the corridor. The question is to find the longest pipe that can be carried down this corridor. The word pipe here just means something long and with essentially 0 thickness. There is a huge simplification which is being assumed here, which is that the corridor is only 2 dimensional. Of course in a 3 dimensional corridor we have a lot more room to manoeuvre.

Let’s think about a pipe going round the corner.┬áThe longest pipe that can go through is the length of the shortest gap that it has to go through. So let’s think of a pipe at a particular angle with respect to the corner:

cor2

The pipe here is the blue line and \theta is the angle that it makes with respect to the corner. What we need to find is the length of the longest pipe that can fit in for a given \theta. We can see that the length of this pipe is:

l=\frac{b}{\sin\theta}+\frac{a}{\cos\theta}

Now we know that the pipe will need to go right around the corner which means that it has to go through all \theta in (0,\frac{\pi}{2}). We use the open interval as we can see that the function is divergent at 0 and \frac{\pi}{2}. What is the minimum l as a function of \theta?┬áBecause the function is divergent and positive at the endpoints we don’t need to check whether these are minima. Thus we need to see if there are any turning points in the function:

\frac{dl}{d\theta}=a \tan (\theta ) \sec (\theta )-b \cot (\theta ) \csc (\theta )

equating to zero, this can be simplified to give:

b\cos^3\theta=a\sin^3\theta and thus:

\theta=\arctan\left(\sqrt{3}\frac{b}{a}\right)

as \arctan is 1:1 there is a unique critical point, and because we know that the function is continuous on the open interval, and that it is divergent and positive at the endpoints, this must be where the minimum is. Thus, we can calculate the value of l at this point:

l(\tan ^{-1}\left(\sqrt[3]{\frac{b}{a}}\right))=\left(a^{2/3}+b^{2/3}\right)^{3/2}

This last part takes some manipulation.

Therefore, this is the longest pipe that can go around the corner, as it is the shortest distance that it must go through in its journey.

How clear is this post?