Elitmus
Exam
Programming
Functions
What is the minimum value of x possible if |x|=|x-1|+|x-2|
Options a)1 b)2 C)0,d)6
Read Solution (Total 3)
-
- (a)
use hit and trial method,
if x=0,then |0|=|0-1|+|0-2| => |0|=|-1|+|-2|
=> |0|=1+2 => 0=3 which is absurd
in the same way put x=1
|1|=|1-1|+|1-2| => |1|=|0|+|-1|
=> |1|=0+1 => 1=1 which is possible
in the same way put x=2
|2|=|2-1+|2-2| =>|2|=|1|+|0
=> |2|=|1| which is absurd
in the same way put x=3
|3|=|3-1|+|3-2| => |3|=|2|+|1|
=> |3|=2+1 => 3=3 which is possible
so minimum value will be 1. - 11 years agoHelpfull: Yes(25) No(0)
- Ans a.
min{x|at x = 1 - 11 years agoHelpfull: Yes(0) No(0)
- |x|=|x-1|+|x-2|
as we know that for real x |x| will be -x and +x
so...
first..
x=x-1+x-2
===>> x=3;
and second
-x=-x+1-x+2
===>> x=3
so only one value is possible i.e. 3..
so ans will be 1 - 11 years agoHelpfull: Yes(0) No(1)
Elitmus Other Question