absolute value

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 106
Joined: Sat Mar 02, 2013 4:29 pm
Thanked: 4 times

absolute value

by buoyant » Mon Mar 03, 2014 1:44 pm

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

If x and y are integers and y = |x+3| + |4-x|, does y equal 7?

1) x < 4
2) x > -3

[spoiler]OA: C[/spoiler]

GMAT/MBA Expert

User avatar
Elite Legendary Member
Posts: 10392
Joined: Sun Jun 23, 2013 6:38 pm
Location: Palo Alto, CA
Thanked: 2867 times
Followed by:511 members
GMAT Score:800

by [email protected] » Mon Mar 03, 2014 2:09 pm

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

Hi buoyant,

This question is perfect for TESTing Values.

We're told that X and Y are INTEGERS and Y = |X+3| + |4-X|. We're asked "does Y = 7?" This is a YES/NO question

Fact 1: X < 4

If X=3, then Y = 6 + 1 = 7 and the answer to the question is YES
If X=-10, then Y = 7 + 14 = 21 and the answer to the question is NO
Fact 1 is INSUFFICIENT

Fact 2: X > -3

If X = 3, then Y = 7 and the answer to the question is YES
If X = 10, then Y = 13 + 6 = 19 and the answer to the question is NO
Fact 2 is INSUFFICIENT

Combined, we have -3 < X < 4

Here we have a finite set of possibilities
If X = 3, then Y = 7 and the answer is YES
If X = 2, then Y = 5+2 = 7 and we get YES
If X = 1, then Y = 4+3 = 7 and we get YES
If X = 0, then Y = 3+4 = 7 and we get YES
If X = -1, then Y = 2+5 = 7 and we get YES
If X = -2, then Y = 1+6 = 7 and we get YES

The answer is ALWAYS YES. Thus, it's SUFFICIENT TOGETHER

Final Answer: C

GMAT assassins aren't born, they're made,
Rich
Contact Rich at [email protected]
Image

User avatar
GMAT Instructor
Posts: 1052
Joined: Fri May 21, 2010 1:30 am
Thanked: 335 times
Followed by:98 members

by Patrick_GMATFix » Mon Mar 03, 2014 3:53 pm

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

An alternative approach: rephrase the question by thinking of absolute values as measures of distance.

&#10004; Absolute value of |a-b| is the distance between a and b on the number line. for instance |5-8| = |8-5| = distance between 5 and 8 on the number line.
&#10004; Absolute value of |a+b| = |a - (-b)| and is the distance between a and -b. For instance, |2+1| = |2-(-1)| = distance from 2 to -1 on the number line.
If x and y are integers and y = |x+3| + |4-x|, does y equal 7?

1) x < 4
2) x > -3
Rephrase the question: y is the sum of the distance between x & -3 and the distance between x & 4. Is the sum of these distances equal to 7? Think about where -3 and 4 are on the number line (they are 7 apart); the only way for the two distances to add up to 7 is for x to be between -3 and 4.

Rephrase: Is x between -3 and 4 inclusive?

Only together do the statements guarantee that x falls between these values. The answer is C.
  • Ask me about tutoring.

Master | Next Rank: 500 Posts
Posts: 106
Joined: Sat Mar 02, 2013 4:29 pm
Thanked: 4 times

by buoyant » Mon Mar 03, 2014 8:22 pm

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

Though i understand the above approaches,i don't get what was wrong with my approach.
I solved the above problem as below, but got [spoiler]ans E
[/spoiler]
for absolute value, we can take
case 1-> x is greater than or equal to 0 -> for x>0 ,y = (x+3)+(4-x)= 7
for x=0 ,y = (0+3)+(4-0)=7

case 2-> x is less than 0 -> y= -(x+3)+ [-(4-x)]= -7

so, i rephrased the qn as is y=7=? => is x greater than or equal to 0 ?

st1: Not sufficient
st2: Not sufficient

st1+ st2 : -3<x<4 => x can be -2,-1,0,1,2, and 3 => x can be +ve , 0 or -ve => not sufficient=> ans E

After i looked at the solution and solved again, i got that for each of the above values,i get y =7
but, i followed the rephrased question blindly, hence got the wrong answer.
What is wrong with my approach?

Please help.

User avatar
GMAT Instructor
Posts: 1052
Joined: Fri May 21, 2010 1:30 am
Thanked: 335 times
Followed by:98 members

by Patrick_GMATFix » Mon Mar 03, 2014 9:48 pm

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

ase 1-> x is greater than or equal to 0 -> for x>0 ,y = (x+3)+(4-x)= 7
for x=0 ,y = (0+3)+(4-0)=7

case 2-> x is less than 0 -> y= -(x+3)+ [-(4-x)]= -7
It's incorrect to claim that if x>0, then |4-x| is the same as (4-x). For instance, if x were 5, those two expressions would not have the same value.

Likewise, it's incorrect to claim that if x<0, then |4-x| is the same as -(4-x). For instance, if x were -1, then |4-x| would be 5, but -(4-x) would be -5.

The "switch" is not whether x itself is greater than or less than 0, but rather whether the entire contents of the absolute value brackets are greater than or less than 0

What we can say correctly is that if 4-x>0, then |4-x| = +(4-x), while if 4-x<0, then |4-x| = -(4-x)
  • Ask me about tutoring.

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Tue Mar 04, 2014 8:22 am

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

buoyant wrote:If x and y are integers and y = |x+3| + |4-x|, does y equal 7?

1) x < 4
2) x > -3

[spoiler]OA: C[/spoiler]
An alternate approach is to determine the CRITICAL POINTS: the values where the EXPRESSIONS inside the absolute values are equal to 0.
Here, the critical points are x=-3 (where x+3 = 0) and x=4 (where 4-x=0).

First, test the critical points themselves.
If x=-3, then y = |x+3| + |4-x| = |-3+3| + |4-(-3)| = 0+7 = 7.
If x=4, then y = |x+3| + |4-x| = |4+3| + |4-4| = 7+0 = 7.
Thus, if x=-3 or x=4, the answer to the question stem is YES.

Next, test values to EACH SIDE of the critical points.
x<-3:
If x=-4, then y = |x+3| + |4-x| = |-4+3| + |4-(-4)| = 1+8 = 9.
In this range, y>7, so the answer to the question stem is NO.

-3<x<4:
If x=0, then y = |x+3| + |4-x| = |0+3| + |4-0| = 3+4 = 7.
In this range, y=7, so the answer to the question stem is YES.

x>4:
If x=5, then y = |x+3| + |4-x| = |5+3| + |4-5| = 8+1 = 9.
In this range, y>7, so the answer to the question stem is NO.

Question stem, rephrased:
Is -3≤x≤4?

Only when the statements are combined is it guaranteed that -3≤x≤4.

The correct answer is C.
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

GMAT Instructor
Posts: 2630
Joined: Wed Sep 12, 2012 3:32 pm
Location: East Bay all the way
Thanked: 625 times
Followed by:119 members
GMAT Score:780

by Matt@VeritasPrep » Tue Mar 04, 2014 5:26 pm

Timer

00:00

Your Answer

A

B

C

D

E

Global Stats

Maybe an easier way:

If |a| > 0, |a| = a

If |a| < 0, |a| = -a

Now suppose that (x+3) and (4-x) are both positive:

If (x+3) is positive, then |x+3| = x + 3
If (4-x) is positive, then |4-x| = 4 - x

So if (x+3) and (4-x) are BOTH positive, |x+3| + |4-x| = (x+3)+(4-x) = 7

Hence the question is basically asking us "Are both (x + 3) and (4 - x) positive?" or, more simply, "Is x greater than or equal to -3 and less than or equal to 4?" Given both statements, we can answer affirmatively!