Question 22.

Let 0 ≤ a ≤ x ≤ 100 and f(x) = |x − a| + |x − 100| + |x − a − 50| . Then the maximum value of f(x) becomes 100 when a is equal to

A
100
B
25
C
0
D
50
Previous Question
Rate this Solution

Question Explanation

Text Explanation

x>=a, so |x-a| = x-a

x<100, so |x-100| = 100-x

f(x) = (x-a) + (100-x) + |x-a-50| =100

or, |x-a-50| = a


From the graph we can can see that when x=a then

|x-a-50|=a

or, a= 50

Similarly when x=a+100

|x-a-50|=a

or, a= 50

So value of a is 50 when f(x) is 100.

Video Explanation
XAT 2026 Full Course - Enroll Now for Best XAT Preparation
CAT LRDI 100 Recorded Course - Master Logical Reasoning and Data Interpretation
HOME
XAT Sankalp Sale
Quant Revision Book
More
YoutubeWhatsapp