wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Find the minimum value of the function f(x) = |x-1| + |x-2| + |x-3| + ... + |x-20|

A

190

No worries! We‘ve got your back. Try BYJU‘S free classes today!
B

172

No worries! We‘ve got your back. Try BYJU‘S free classes today!
C

96

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

100

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D

100


The minimum value of such an expression occurs when x takes the middle value in the given range i.e. when x is between 10 and 11. And the value of the function f(x) at that value becomes:
f(x=10) = 9+8+7+6+5+4+3+2+1+0+1+2+3+4+5+6+7+8+9+10 = 100
Also,f(x=11) = 10+9+8+7+6+5+4+3+2+1+0+1+2+3+4+5+6+7+8+9=100

Therefore, answer option (d) stands out as the correct answer choice.


flag
Suggest Corrections
thumbs-up
1
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Functions
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon