If x is an integer, is y an integer?

This topic has expert replies
Legendary Member
Posts: 2276
Joined: Sat Oct 14, 2017 6:10 am
Followed by:3 members

If x is an integer, is y an integer?

by VJesus12 » Thu Nov 30, 2017 10:12 am
If x is an integer, is y an integer?

(1) The average (arithmetic mean) of x, y, and y - 2 is x.
(2) The average (arithmetic mean) of x and y is not an integer.

The OA is A.

I don't know how can I solve this DS question. Experts, can you assist me here? Thanks.
Source: — Data Sufficiency |

GMAT/MBA Expert

Newbie | Next Rank: 10 Posts
Posts: 5
Joined: Fri Nov 17, 2017 11:20 am

TTT

by aockert » Thu Nov 30, 2017 1:48 pm
The trick to this question is to remember that to calculate an average, you add up all the values and then divide by how many values there are. This is difficult to see with values that are given as variables rather than actual numbers.

If you look at Statement (1), you are given THREE values: x, y, and y-2. To find the average of these three values, you would need to add them up and divide by 3.

$$\frac{x+y+y-2}{3}$$

You are told that the average is equal to x. So now you can set up an equation:
$$\frac{x+y+y-2}{3}=x$$

Now solve the equation for x:
Multiply both sides by 3: $$3\cdot\frac{x+y+y-2}{3}=x\cdot3$$
Simplify: $$x+2y-2=3x$$
Subtract x from both sides: $$x+2y-2-x=3x-x$$
Divide both sides by two: $$\frac{2y-2}{2}=\frac{2x}{2}$$

Finally, x is equal to y-1. This means that SINCE the difference between x and y is an integer (1), and x is an integer, then y must be an integer as well. (If x was not an integer, y would also have to be a non-integer).