As indicated in the hint, we define as the angle to the top of the screen* and as the angle to the bottom of the screen. Then Maximizing the visual angle occupied by the screen is equivalent to maximizing the angle . As and are both functions of , we just need to calculate the derivative and find the critical . First with implicit differentiation we calculate
Note: It is a common mistake to interpret the angle as the angle that is below the angle and not the angle that is within the angle .
With the diagram on the right
we obtain So Similarly, we calculate Hence,
By setting we solve , as represents the distance and must be positive. To verify it is a maximum, we use the first derivative test
So the angle is maximized at .