jackmell said:
I made a mistake. It's not so intutitive until after I think about it a while and study the example in my book. Sorry about that. Also, don't forget what Clamtrox said. There is a mistake in the handout. You are trying to "minimize" the length of a line drawn when you touch the outside walls and touch the inner corner. Think first about lines which are too long and don't get through. Draw some of those. Then draw smaller ones, eventually you reach a largest line that does get through (while still touching at the three indicated points). That minimum value gives the maximum length of the ladder that will just get through. You can also work this in terms of the angle the line makes with the walls then express the length of the line as a function of the angle it makes, then minimize the length as a function of the angle.
Yes then differentiate set to zero..that method works. The method presented in this book is the lagrange multiplier. I've given some thought about it and I think the lagrange multiplier is in fact, quite an elegant solution as it does away with some of the questions above:Let's first set the assumptions of transporting the ladder (without this definition, you can't work anything out):
1. The ladder must, at all times touch both ends of the wall as it turns (angle changes decreases from 90)
2. It is trivial to see that at all points during its motion, if the ladder never encounters the corner, the ladder is brought across successfully.
3. Hence, we want to find the shortest possible length, across all angles during transportation (remember assumption 1. holds) that the ladder will just nice touch the corner.
Lagrange multiplier
1. As you examine the conditions, it merely stated that the ladder must touch all three points (both walls and corner)
2. By finding the minimum length to do so, it
eliminates the question of finding at what angle the ladder is most likely to hit the corner or when during the turning point.
3. The constraints work for
all angles (that's the beauty, isn't it?) when you simply define the y=mx+c equation for the straight line.
So in short, with the lagrange method, you are simply finding
across all angles, for any a and any b the shortest ladder length to satisfy the conditions above.