Chapter 3: Applications of Differentiation
Section 3.8: Optimization
Example 3.8.14
Find the length of the longest ladder that can be carried horizontally around the corner of the passageway shown in Figure 3.8.14(a). (The horizontal and vertical segments, corridors of widths b and a, respectively, are at right angles to each other.)
Hint: The longest ladder that can be carried around the corner at point B is the shortest line segment from A to C that also passes through B.
Hint: Angles ABE and BCF are equal because they are corresponding interior angles of the parallel lines BE and CF.
p1:=plot([[0,0],[0,5],[6,5]],style=line,color=black): p2:=plot([[2,0],[2,13/5],[6,13/5]],style=line,color=black): p3:=plot([[[0,1],[2,1]],[[5,13/5],[5,5]]],style=line,linestyle=dot,color=red): p4:=plot([[0,1],[5,5]],style=line,color=green): p5:=plots:-textplot({[-.2,1,typeset(A)],[1.9,2.8,typeset(B)],[5,5.2,typeset(C)],[5,12/5,typeset(F)],[2.2,1,typeset(E)]},font=[default,bold,12]): p6:=plots:-textplot({[1.8,2.2,typeset(theta)],[4.8,4.6,typeset(theta)]},font=[default,12]): p7:=plots:-textplot({[1,.8,typeset(a)],[5.2,3.7,typeset(b)]},font=[default,12]): plots:-display(p||(1..7),scaling=constrained,view=[-.5..6,0..5.2],axes=none);
Figure 3.8.14(a) Ladder in right-angled corridor
Solution
Analysis
Figure 3.8.14(b) animates the passage of a ladder through the corridors. The accompanying slider controls the angle θ (see Figure 3.8.14(a)) measured in degrees. As the slider is moved, the corresponding value of L, the length of the ladder, is displayed. As θ→0° or θ→90°, the length of the ladder becomes arbitrarily large, but of course, such large ladders would not fit around the corner of the passageway. Hence, it is the length of the shortest segment that determines the length of the longest ladder that can be brought around the corner of the passageway.
Figure 3.8.14(c) is a graph of L against the angle θ, measured in degrees. For the particular values of a and b used in Figure 3.8.14(b), there appears to be a minimum value for L near θ≐44°.
θ= = ⇒ L=
Figure 3.8.14(b) Slider-controlled animation
plot(2/sin(t*Pi/180)+2.4/cos(t*Pi/180),t=20..70);
Figure 3.8.14(c) Graph of Lθ
From Figure 3.8.14(a), L= AB+BC, so that Lθ=asinθ+bcosθ.
Analytic Solution
Define the objective function Lθ
Control-drag Lθ=… Context Panel: Assign Function
Lθ=asinθ+bcosθ→assign as functionL
Find critical numbers
Write the equation L′θ=0 and press the Enter key.
Context Panel: Solve≻Obtain Solutions for≻θ
Context Panel: Conversions≻To List
Context Panel: Assign to a Name≻T
L′θ=0
−a⁢cos⁡θsin⁡θ2+b⁢sin⁡θcos⁡θ2=0
→solutions for theta
arctan⁡b2⁢a1/3b,arctan⁡−12⁢b2⁢a1/3b+12⁢I⁢3⁢b2⁢a1/3b,−arctan⁡12⁢b2⁢a1/3b+12⁢I⁢3⁢b2⁢a1/3b
→to list
→assign to a name
T
Evaluate Lθ for the real value of θ=θ^
Write LT1 and press the Enter key.
Context Panel: Simplify≻Assuming Positive
LT1
a⁢b⁢1+b2⁢a2/3b2b2⁢a1/3+b⁢1+b2⁢a2/3b2
→assuming positive
a2/3+b2/3⁢b2/3⁢a1/3+aa1/3
Additional manipulations (performed by hand) put the length of the longest ladder into the form a2/3+b2/33/2.
Alternate Solution
An alternate solution can be constructed along the following lines. Let point B in Figure 3.8.14(a) be the origin of a Cartesian coordinate system. Then the equation of the green line representing the ladder is y=m x, where m, the slope of the line, is to be determined. The intersection of this line with y=b is the point b/m,b; the intersection with the vertical line x=−a is the point −a,−a m, where a is taken as positive.
The length of the segment AC is then Lm=b/m+a2+b+a m2. The equation L′m=0 has multiple solutions for m=m^ ; the appropriate real, positive solution gives Lm^=a2/3+b2/33/2.
<< Previous Example Section 3.8 Next Section >>
© Maplesoft, a division of Waterloo Maple Inc., 2024. All rights reserved. This product is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation.
For more information on Maplesoft products and services, visit www.maplesoft.com
Download Help Document