Given the curve $C$: $y=e^{x}$ and a point $P$: $(x_0,y_0)$ with $y_0 > e^{x_{0}}$, a straight line $L$ of slope $k$ goes through the point $P$ and intersects $C$ at two points $A$ and $B$, try to find out: $(1).$ $k$ that minimizes the distance of $A$ and $B$, $(2).$ k that minimizes the area of triangle OAB ($O$ is the origin $(0,0)$).
Edit:
I've tried the Lagrange multiplier method and only solved part of the problem(the minimal triangle when P on yAxis, in this case, $k=y_0$). However, the steps are quite complicated (for high school students). I'd like to know if there is some elementary methods to approach this problem. Thanks!
Edit 2:
(add the image)
I took the following Steps:
- as shown in the chart, points P,Q,A,B are colinear. then we got the constraits of variables a,b and q, which are: $g(a, b) = 0, g(a,q) = 0, g(b,q) = 0$.
- the distance between A and B is given by $f(a,b) = sqrt((b-a)^2+(e^b-e^a)^2)$
- the area of the triangle OAB is given by $f(a,b,q)=1/2 * q * (b-a)$
- ${\mathcal {L}}(a,b,\lambda) = f(a,b)+\lambda*g(a,b)$
- solve equations: $\nabla _{a,b,\lambda }{\mathcal {L}}(a,b,\lambda )=0$
The last step was the part that is very complicated.
This is not an answer, just an illustration. The picture below represents the contour lines for $f(a,b) = (a-b)^2+(e^a-e^b)^2$ and, in red, the constraint $\dfrac{e^b-y_0}{b-x_0} = \dfrac{y_0-e^a}{x_0-a}$. This was obtained for $(x_0,y_0) = (\frac 12, 2)$
As you can see, the minimum will be attained at a point where the contour line of $f$ is tangent to the constraint. This is in fact the thinking behind Lagrange multipliers. I believe that Lagrange multipliers is probably the best way to go but, even in this case, we need handle the numerical solution of one or more equations.