Even if it seems really easy, I'm struggling to solve |x|+|2−x|≤x+1.
The book says that x∈[1,3].
I first rewrote as x+(2−x)≤x+1 with x≥0 and −x−(2−x)≤x+1 with x<0. Then I solved.
For the first, I got 1≤x and for the 2nd, −3≤x
x∈]−3;0[∪[1;+∞[
It is maybe a very stupid question, but I can't see what I did wrong? Thanks for your help.
Answer
There are 3 cases:
a) x≤0 (quite useless, because it generates a bright lower bound):
|x|+|2−x|≤x+1⟹−x+2−x≤x+1 −3x≤−1 3x≥1 x≥13
b) $0
|x|+|2−x|≤x+1⟹x+2−x≤x+1 x≥1
c) x>2:
|x|+|2−x|≤x+1⟹x+x−2≤x+1 2x≤x+3⟹x≤3
Now, you know the lower bound of x, from case b, xmin=1, and you know the upper bound of x from case c, xmax=3. Therefore, 1≤x≤3⟹x∈[1;3]
No comments:
Post a Comment