If x is an integer, what is the value of x?
(1) |x - |x^2|| = 2|x - |x^2|| = 2
(x^2 is ALWAYS greater than or equal to zero so we can drop the absolute value sign)
|x-x^2| = 2
Two cases, positive and negative
Positive: x>1
x-x^2 = 2
-x^2 + x - 2 = 0
x^2 - x + 2 = 0
(can this be factored out?)
Negative: x<1
-x + x^2 = 2
x^2 - x -2 = 0
(x-2) * (x+1) = 0
x=2, x=-1
Here, we have two possible values for x.
INSUFFICIENT
(2) |x^2 - |x|| = 2 |x^2 - |x|| = 2
Two cases for x, positive and negative.
x>= 0
x^2 - x = 2
x^2 - x - 2 = 0
(x-2) * (x+1) = 0
x = 2, x = -1
two values, one less than zero one greater than zero.
INSUFFICIENT
x<0
x^2 - -x =2
x^2 + x - 2 = 0
(x+2) * (x-1) = 0
x=-2, x=1
two values for x but one is greater than zero and one is less than zero.
INSUFFICIENT
See, I would say E in this case. Where did I go wrong?
Solving it another way...
(1) |x - |x^2|| = 2A stated above x^2 is greater than or equal to 0 so we can drop the absolute value signs.
(x-x^2)^2 = 4
x=2, x=-1
We get two values.
INSUFFICIENT
(2) |x^2 - |x|| = 2 As with #1 we can get rid of the outer absolute value signs by squaring.
|x^2 - |x|| = 2
(x^2 - |x|) = 2
(x^2 - |x|)^2 = 4
(remember, x^2 = |x|^2)
(|x|^2 - |x|)^2 = 4
|x|(|x| - 1)^2 = 4
x= 2, x=-2
we get two values
INSUFFICIENT
1+2 we get an intersection of x=-2
SUFFICIENT
Here is my question. There are many times where I have correctly used the first method (taking the positive and negative cases to solve) to solve problems and this seems like it could be one of those problems. Why is it that with this problem, that method appears to be incorrect?
Thanks!