Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
R−{1,8}
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
[0,∞)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
[8,∞)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is A[7,∞) f(x)=|x−1|+|x−8| Clearly, domain is R
f(x)=⎧⎨⎩1−x+8−x,x<1x−1+8−x,1≤x<8x−1+x−8,x≥8
f(x)=⎧⎨⎩9−2x,x<17,1≤x<82x−9,x≥8
Clearly, from the graph, we can conclude that range of f is [7,∞)
Alternate: If f(x)=|x−a1|+|x−a2|+|x−a3|+⋯+|x−an|, then the minimum value of f occurs at the median of the critical points of f, i.e., the minimum value of f occurs at median{a1,a2,a3,…,an}
For f(x)=|x−1|+|x−8|, critical points are 1 and 8. Since, there are two (even number of) critical points, the minimum value of f occurs at any x∈[1,8]