ikaplan wrote:If , then what is the value of x+y?
(1) y=-1
(2) x=2
Source: NOVA's GMAT DS Prep Course, p.65
I'll offer another approach here, since it's always nice to have several options when solving a question.
For me, when I see a given equation like x+xy+y=-1, I consider whether there's a way to rearrange it such that I can gain some information about x and y.
Here, we can rewrite the given equation as x+xy+1+y=0. Then we can factor it in parts (a useful technique when dealing with 4-term algebraic expressions).
When we factor it in parts we get: x
(1+y) + 1
(1+y)=0
We can now simplify this as (x+1)
(1+y)=0
This tells us that
x= -1 or y= -1 (or they both equal -1)
Okay, now let's examine the statements:
Statement 1: y= -1
If y= -1, we can see that x can have any value, which means x+y can have any value.
As such, statement 1 is not sufficient.
Statement 2: x = 2
If x = 2, then it
must be true that y=-1 (since we already concluded that
x= -1 or y= -1 (or they both equal -1))
So we know that x=2 and we know that y must equal -1.
As such, we can find the value of x+y (it equals 1), so statement 2 is sufficient, and the answer is
B
Of course, rohit_gmat's solution is quicker, but I thought I'd post another approach nonetheless.
Cheers,
Brent