KUPPA V U KARTHIK

CAT Preparation Community 10y ago

In a video lecture which is related to inequalities chapter.......for an example problem g(x)=|x-2|+|x-3|+|x-6|. find the least possible value of g(x)....it has been in the second step of the solution that 2<=x<=3, g(x)=7-x, minimum at x=3 and g(x)=4....please explain me about this step and other steps also.......thank you

2

PRACHI AWASTHI 10y ago

Since,
2<=x<=3
so minimum value of x can be 2 and maximum can we 3
so for x=2,
g(x)= |2-2|+|2-3|+|2-6| (since |-n|=n)
=0+1+4
=5
so for x=2 g(x)=5

similarly for x=3;

g(x)= 1+0+3
=4
so for x=3 g(x)=4

HENCE LEAST VALUE OF g(x) CAN BE 4

KUPPA V U KARTHIK 10y ago

thanks alot for the explanation..........:)

Join CAT 2026 course by 5-Time CAT 100%iler

Crack CAT 2026 & Other Exams with Cracku!