Question: A line is drawn through the point (1, 2) to meet the coordinate axis at P And Q such that OPQ is a triangle with O as the origin. If area of triangle OPQ is least, then what is the slope of line PQ. I have been given four options A(-1/4), B(-4), C(-2), D (-1/2)
So I found all four equations of line with given slopes, found the length of intercepts of each and then found the area of each triangle (b = base, h = height) using
$$area(b, h) = \frac1{2}bh$$
My answer came out to be slope = -2
But I was wondering if this is least area out of all possible slopes of line passing throught (1, 2) or just these four slopes, also is there any concept which we can use to directly obtain the slope of least area without checking each option.
Additional information: I have found slope 1.1 which gives area less than given by slope -2.
Your answer is correct, notice
Let the line intersect the coordinate axes at $P(s, 0)$ & $Q(0, t)$ respectively. where $s$ & $t$ are variables.
The equation of the line is given as $$\frac{x}{s}+\frac{y}{t}=1$$ Since, the line PQ also passes through the point $(1, 2)$, hence satisfying the equation of the line we get $$\frac{1}{s}+\frac{2}{t}=1$$ $$t=\frac{2s}{s-1}\tag 1$$ Since, $\angle POQ=90^\circ$ hence, the area of the right triangle $POQ$ $$A=\frac{1}{2}(\text{base})(\text{normal height})=\frac{1}{2}(s)(t)$$ setting the value of $t$ from (1), we get $$A=\frac{1}{2}s\left(\frac{2s}{s-1}\right)=\frac{s^2}{s-1}$$ Now, differentiating A w.r.t. $s$, we get $$\frac{dA}{ds}=\frac{(s-1)(2s)-s^2(1)}{(s-1)^2}=\frac{s^2-2s}{(s-1)^2}$$ $$\frac{d^2A}{ds^2}=\frac{(s-1)^2(2s-2)-2(s^2-2s)(s-1)}{(s-1)^4}=\frac{2}{(s-1)^3}$$ For minima & maxima $$\frac{dA}{ds}=0\implies \frac{s^2-2s}{(s-1)^2}=0 $$ $$s(s-2)=0\implies s=0, 2$$ setting $s=2$ in $\frac{d^2A}{ds^2}$, we get $$\frac{d^2A}{ds^2}=\frac{2}{(2-1)^3}=2>0$$ The area A is minimum at $s=2$, now setting $s=2$ in (1), we get $$t=\frac{2(2)}{2-1}=4$$ Now, the equation of the line PQ is given as $$\frac{x}{2}+\frac{y}{4}=1$$ $$\color{blue}{y=-2x+4}$$ Now, comparing the above equation with $y=mx+c$, the slope (m) of the line $PQ$ is $\color{red}{-2}$