Let the required line meet the x-axis at P(a,0) and the y-axis at Q(0,b), where a>0,b>0.
The equation of the line in intercept form is
ax+by=1−(1)
Because the line passes through the given point (1,2), substitute x=1,y=2 in −(1):
a1+b2=1−(2)
The area of the triangle OPQ formed with the coordinate axes is
A=21∣a∣∣b∣=21ab−(3)
We have to minimise A subject to the condition −(2).
Solve −(2) for a:
a1=1−b2=bb−2⟹a=b−2b,b>2
Substitute this in −(3) to express A only in terms of b:
A(b)=21b−2bb=21b−2b2−(4)
To find the minimum, differentiate:
dbdA=21(b−2)2(2b)(b−2)−b2=21(b−2)22b(b−2)−b2=21(b−2)2b(b−4)
Set dbdA=0:
b(b−4)=0⟹b=0 or b=4
The admissible range is b>2, hence b=4.
With b=4, equation a=b−2b gives
a=4−24=2
Slope of the line PQ:
m=a−00−b=−ab=−24=−2
Thus, the line for which the triangle OPQ has the least area has slope −2.
Option C which is: −2