CAT 2022 Question Paper (Slot 1) Question 48

Question 48

Let $$0 \leq a \leq x \leq 100$$ and $$f(x) = \mid x - a \mid + \mid x - 100 \mid + \mid x - a - 50\mid$$. Then the maximum value of f(x) becomes 100 when a is equal to

Solution

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.


View Video Solution


Create a FREE account and get:

  • All Quant CAT Formulas and shortcuts PDF
  • 30+ CAT previous papers with solutions PDF
  • Top 500 CAT Solved Questions for Free

Comments
Raj Gupta

17 hours, 8 minutes ago

Sir, is it possible to do such a sum by elimination of options?

cracku

Boost your Prep!

Download App