Let us the slope of the line passing through the point P(1,4) be m.
We know that equation of a straight line passing through the point (x1,y1) and having slope m is given by :
⇒ y - y1 = m(x - x1)
The equation of the straight line is :
⇒ y - 4 = m(x - 1)
⇒ mx - y = m - 4
⇒ \(\frac{mx}{m-4}\) - \(\frac{y}{m-4}\) = 1
⇒ \(\frac{x}{\frac{m-4}{m}}\) - \(\frac{y}{4-m}\) = 1
This resembles the standard form \(\frac{x}{a}\) + \(\frac{y}{b}\) = 1,where a is x - intercept and b is y - intercept.
Here,
x - intercept a = \(\frac{m-4}{m}\) and b = 4 - m
According to the problem, we need sum of intercepts to be minimum,
Let us take the sum of intercepts to be S,
⇒ S = a + b
⇒ S = \(\frac{m-4}{m}\) + (4 - m)
⇒ S = 5 - \(\frac{4}{m}\) - m
Let us assume S is the function of m,
We know that for maxima and minima,
⇒ 4 - m2 = 0 (∵ m2>0)
⇒ m = ±2
Differentiating S again,
We have got minima for m = - 2
Using this value we find the sum of intercepts :
⇒ Smin = 3 + 6
⇒ Smin = 9
∴ The least value of sum of intercepts is 9.