\(A\left( {1,0} \right)\) and \(B\left( {5,0} \right)\) are points on the \(x-\)axis (Figure \(9a\)). Find the \(y-\)coordinate of the point \(M\left( {0,y} \right)\) on the \(y-\)axis such that the angle \(\theta = \angle AMB\) has the maximum possible value.
Solution.
We can express the angle \(\theta\) in terms of \(\alpha\) and \(\beta:\)
Assuming that \(y \gt 0,\) we take the positive root \(y = \sqrt 5.\) The derivative is positive to the left of this point and negative to the right. Therefore, \(y = \sqrt 5\) is a point of maximum, that is the angle \(\theta\) has the largest value when the point \(M\) is located at \(\left( {0,\sqrt 5 } \right).\)
Example 10.
Two channels of width \(a\) and \(b\) are connected to each other at right angles (Figure \(10a\)). Determine the maximum length of logs that can be floated through this system of channels.
Solution.
Let the position of a log be described by the angle \(\alpha,\) as shown in Figure \(10a.\) The maximum possible length of the log \(L\) depends on the angle \(\alpha:\)
We can make sure that when passing through this critical value \(\alpha\) the derivative changes sign from minus to plus, i.e. this point is a minimum of the function \(L\left( \alpha \right).\) (It is clear that the length of the log must be less than the specified value to turn from one channel to another.)
Rewrite the sine and cosine of the angle \(\alpha\) in terms of tangent:
The bridge from \(A( - 2,4)\) to \(M\left( {x,y} \right)\) spans a gorge which has the shape of the parabola \(y = {x^2}\) (Figure \(11a\)). Find the \(x-\)coordinate of the point \(M\) such that the bridge \(AM\) has the smallest length.
Solution.
The distance between the endpoints \(A( - 2,4)\) to \(M\left( {x,y} \right)\) is given by the formula
It follows from the sign chart that the minimum of \(d\left( x \right)\) is attained at \(x = 1 + \frac{{\sqrt 2 }}{2} \approx 1.71\)
The schematic view of the function \(d\left( x \right)\) is given in Figure \(11c.\)
Example 12.
A rectangle with sides parallel to the coordinate axes is inscribed in an ellipse (Figure \(12a\)) defined by the equation \[\frac{{{x^2}}}{{{a^2}}} + \frac{{{y^2}}}{{{b^2}}} = 1.\]
Find the sides of the rectangle with the greatest area.
Solution.
Suppose that the point \(M\left( {x,y} \right)\) is a vertex of the inscribed rectangle. The area of the rectangle is
\[S = 2x \cdot 2y = 4xy.\]
The quantity \(y\) can be expressed from the equation of the ellipse:
When passing through the point \(x = {\frac{a}{{\sqrt 2 }}}\) the derivative changes sign from plus to minus. Therefore, this point is a maximum point.
It is interesting to note the special case where the ellipse has equal major and minor axes, that is it is a circle:
\[a = b = R.\]
In this case, the rectangle with the largest area is a square with the side \(R\sqrt 2 .\)
Example 13.
Find the point \(M\left( {x,y} \right)\) on the graph of \(f\left( x \right) = \sqrt x \) that is closest to \(A\left( {a,0} \right)\) where \(a\) is a positive real number (Figure \(13a\)).
Solution.
The distance \(d\) between the points \(A\) and \(M\) is given by the formula
When passing through this point from left to right, the derivative changes sign from negative to positive. Therefore, \(x = a - \frac{1}{2}\) is a point of minimum.
The length of the altitude drawn from the hypotenuse of a right triangle is \(h\) (Figure \(14a\)). Determine the shortest length of the median drawn to the longest leg.
We take only positive solution, that is \(B = 3H.\) This is the right root of the parabola that is curved upwards. Therefore the sign of the derivative changes from negative to positive around this point, so this solution relates to the smallest median.
A picture of height \(a\) is hung on a wall in such a way that its bottom edge is \(h\) units above the eye level. At what distance \(x\) should the observer stand from the wall to be the most favourable for viewing the picture (Figure \(15a\))?
Solution.
Obviously, the observer is in optimal position when the angle of vision is the largest.
We derive the relationship for the angle of vision \(\varphi = \angle BPA.\)
It follows from Figure \(15b\) that \(\varphi = \alpha - \beta\) where
and at this point the function \(\varphi \left( x \right)\) has a maximum as the first derivative changes from positive to negative when passing through this point.
Thus, the optimal distance from the wall for the best viewing of the picture is determined by the formula
\[x = \sqrt {h\left( {a + h} \right)} .\]
For example, if \(a = 3\,\text{m}\) and \(h = 2\,\text{m},\) the optimal distance is
A rectangle is inscribed in a semicircle of radius \(R\) with one of its sides on the diameter of the semicircle (Figure \(16a\)). Find the maximum perimeter of the rectangle.
Solution.
Let the perimeter of the rectangle \(L = 2\left( {a + b} \right)\) be the objective function.
We introduce the base angle \(\theta\) \(\left( {0 \le \theta \le \frac{\pi }{2}} \right).\) Then
\[\frac{a}{2} = R\cos \theta ,\;\; b = R\sin \theta .\]
The perimeter \(L\) is expressed in terms of the angle \(\theta\) as follows:
Hence, we have one critical point \(\theta = \arctan \frac{1}{2}.\) To compute the perimeter at this point, we first calculate the sine and cosine of the angle \(\theta = \arctan \frac{1}{2}:\)
We see that the maximum value of the perimeter of the inscribed rectangle is \(2\sqrt 5 R.\)
Example 17.
Find the point \(M\left( {x,y} \right)\) on the parabola \(y = {x^2}\) assuming \(x \gt 0\) that is closest to \(B\left( {0,b} \right)\) where \(b\) is a positive real number (Figure \(17a\)).
Solution.
The distance \(d\) between the points \(B\) and \(M\) is given by
Instead of the distance \(d\) we can consider the square of the distance \(D = {d^2}\) and differentiate the function \(D\left({x}\right)\) with respect to \(x:\)
\[D\left( x \right) = {d^2}\left( x \right) = {x^4} + \left( {1 - 2b} \right){x^2} + {b^2}.\]
We see that the second derivative is positive for all values of \(b \gt \frac{1}{2},\) so the point \(x = \sqrt {b - \frac{1}{2}} \) is a point of local minimum.
Hence, the closest point on the parabola has the coordinates
Two sides of a parallelogram lie on the sides of a triangle, and one vertex of the parallelogram belongs to the third side of the triangle (Figure \(18a\)). Find the conditions under which the area of the parallelogram is greatest.
Solution.
Let the triangle be defined by two sides \(a = BC,\) \(b = AC\) and the angle \(\alpha = \angle BCA\) between them. We draw the parallelogram \(CMKN\) in accordance with the conditions of the problem. Denote the sides of the parallelogram as \(x = MK\) and \(y = KN.\) The area of the parallelogram is determined by the formula
\[S = xy\sin \alpha .\]
We express \(y\) in terms of \(x\) and the sides of the triangle \(a, b.\)
From the similarity of triangles \(BMK\) and \(BCA\) we see that
\[\frac{{a - y}}{a} = \frac{x}{b}.\]
Then
\[\left( {a - y} \right)b = ax,\;\; \Rightarrow ab - by = ax,\;\; \Rightarrow by = ab - ax,\;\; \Rightarrow y = \frac{{ab - ax}}{b} = a - \frac{a}{b}x.\]
As a result, the area \(S\) is written as a function \(S\left( x \right):\)
This shows that the extremum of the function \(S\left( x \right)\) exists at the following point:
\[S'\left( x \right) = 0,\;\; \Rightarrow 1 - \frac{{2x}}{b} = 0,\;\; \Rightarrow 2x = b,\;\; \Rightarrow x = \frac{b}{2}.\]
When passing through this point the derivative changes sign from plus to minus, that is this point is a maximum point. The other side of the parallelogram is equal to
\[y = a - \frac{a}{b}x = a - \frac{a}{b} \cdot \frac{b}{2} = a - \frac{a}{2} = \frac{a}{2}.\]
Thus, the parallelogram with the sides \(x, y\) inscribed in a triangle has the largest area under the following condition:
\[x = \frac{b}{2},\;\;y = \frac{a}{2},\]
where \(a, b\) are the sides of the triangle. It is interesting that the result does not depend on the angle \(\alpha\) between the sides of the triangle.
Example 19.
An isosceles trapezoid has base angles of 45 degrees and a perimeter \(L\) (Figure \(19a\)). What is the largest area of the trapezoid?
Solution.
The area of trapezoid (the objective function) has the form:
\[A = \frac{{a + b}}{2} \cdot h,\]
where \(a\) and \(b\) are the parallel sides and \(h\) is the height of the trapezoid.
\[A^\prime\left( h \right) = 0,\;\; \Rightarrow \frac{L}{2} - 2\sqrt 2 h = 0,\;\; \Rightarrow h = \frac{L}{{4\sqrt 2 }}.\]
As \(A^\prime\left( h \right) = - 2\sqrt 2 \lt 0,\) the solution \(h = \frac{L}{{4\sqrt 2 }}\) corresponds to the local maximum of the function \(A\left( h \right).\)