GMAT Exam  >  GMAT Questions  >  If y = |x-2| + |x| - |x+2| where x is an inte... Start Learning for Free
If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?
  • a)
    10
  • b)
    11
  • c)
    12
  • d)
    13
  • e)
    14
Correct answer is option 'B'. Can you explain this answer?
Verified Answer
If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how ...
Given
  • x is an integer
  • y = |x-2| + |x| - |x+2|
To Find: Number of non-zero integral values of y such that -10 < y < 10
Approach
  1. We see that y is an expression in modulus (‘absolute value’ is also known as modulus). The expressions inside the modulus will change the signs at their zero points.
    1. For example, an expression |x-2| will have different signs for x ≥ 2 and x < 2. So, 2 will be the zero point of the expression |x-2|
  2. So the expression will change signs at -2, 0 and 2. Hence, there will be 4 ranges in which we need to analyse the values of y:
    1. Range-I: x < -2
    2. Range-II: -2 ≤ x ≤ 0
    3. Range-III: 0 < x ≤ 2
    4. Range-III: x > 2
       
  3. We will evaluate the possible values of y for each range such that -10 < y < 10
Working Out
  1. Range-I: x < -2
    1. |x-2| = -(x-2), as for x < -2, (x-2) < 0
    2. |x| = -x, as for x < -2,  x < 0
    3. |x+2| = -(x+2), as for x < -2, (x+2) < 0
    4. y = -x + 2 – x + x + 2 = -x + 4. So, possible values of y between -10 and 10 = {7, 8, 9}
       
  2. Range-II:  -2 ≤ x ≤ 0
    1. |x-2| = -(x-2), as for -2 ≤ x ≤ 0, (x-2) ≤ 0
    2. |x| = -x, as for -2 ≤ x ≤ 0, x ≤ 0
    3. (x+2) = x+2, as for -2 ≤ x ≤ 0, (x+2) ≥ 0
    4. y = - x + 2 – x – x – 2 = -3x. So, possible values of y = {3, 6}
      1. We did not consider 0, as y should take only non-zero integral values.
         
  3. Range-III: 0 < x ≤ 2
    1. |x-2| = (-x-2), as for 0 < x ≤ 2, (x-2) ≤ 0
    2. |x| = x, as for 0 < x ≤ 2, x > 0
    3. |x+2| = x+2, as for 0 < x ≤ 2, (x+2) > 0
    4. y = - x + 2 + x – x – 2 = -x. So, possible values of y = {-1, -2}
       
  4. Range-IV: x > 2
    1. |x-2| = x – 2, as for x > 2, (x-2) > 0
    2. |x| = x, as for x > 2, x > 0
    3. |x+2| = x+2, as for x > 2, (x+2) > 0
    4. y = x – 2 + x – x -2 = x – 4. So, possible values of y = {-1, 1, 2, ……..9}
       
  5. So, possible non-zero integral values of y = {-2, -1, 1, 2, ……9}, i.e. a total of 11 values.
Answer: B
View all questions of this test
Most Upvoted Answer
If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how ...
Understanding the given equation
- The given equation is y = |x-2| + |x| - |x+2|.
- We need to find the number of non-zero integral values y can take between -10 and 10.

Determining the range of x
- To find the range of x for which y is an integer, we can analyze the equation.
- The absolute value function ensures that the result is non-negative.
- We can break down the equation into different cases based on the signs of x-2, x, and x+2.

Counting the number of integral values
- By considering the different cases for x, we can determine the range of y.
- We find that y can take non-zero integral values between -8 and 6, inclusive.
- Therefore, the number of non-zero integral values y can take between -10 and 10, exclusive, is 11.
Therefore, the correct answer is option 'B' (11).
Explore Courses for GMAT exam

Top Courses for GMAT

If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer?
Question Description
If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? for GMAT 2025 is part of GMAT preparation. The Question and answers have been prepared according to the GMAT exam syllabus. Information about If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? covers all topics & solutions for GMAT 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer?.
Solutions for If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? in English & in Hindi are available as part of our courses for GMAT. Download more important topics, notes, lectures and mock test series for GMAT Exam by signing up for free.
Here you can find the meaning of If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer?, a detailed solution for If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? has been provided alongside types of If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice If y = |x-2| + |x| - |x+2| where x is an integer, then y can take how many non-zero integral values between -10 and 10, exclusive?a)10b)11c)12d)13e)14Correct answer is option 'B'. Can you explain this answer? tests, examples and also practice GMAT tests.
Explore Courses for GMAT exam

Top Courses for GMAT

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev