Last visit was: 25 Apr 2024, 05:31 It is currently 25 Apr 2024, 05:31

Close
GMAT Club Daily Prep
Thank you for using the timer - this advanced tool can estimate your performance and suggest more practice questions. We have subscribed you to Daily Prep Questions via email.

Customized
for You

we will pick new questions that match your level based on your Timer History

Track
Your Progress

every week, we’ll send you an estimated GMAT score based on your performance

Practice
Pays

we will pick new questions that match your level based on your Timer History
Not interested in getting valuable practice questions and articles delivered to your email? No problem, unsubscribe here.
Close
Request Expert Reply
Confirm Cancel
SORT BY:
Kudos
Tags:
Show Tags
Hide Tags
User avatar
Intern
Intern
Joined: 18 Jan 2012
Posts: 9
Own Kudos [?]: 5 [5]
Given Kudos: 0
Send PM
Most Helpful Reply
Math Expert
Joined: 02 Sep 2009
Posts: 92912
Own Kudos [?]: 618926 [9]
Given Kudos: 81595
Send PM
General Discussion
Math Expert
Joined: 02 Sep 2009
Posts: 92912
Own Kudos [?]: 618926 [1]
Given Kudos: 81595
Send PM
User avatar
Director
Director
Joined: 22 Mar 2011
Posts: 520
Own Kudos [?]: 2136 [1]
Given Kudos: 43
WE:Science (Education)
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
1
Kudos
alphabeta1234 wrote:
Bunuel wrote:
c210 wrote:
a) they say the maximum for 20x + 10y is 250 when x=0 and y=25, why didn't they make the maximum value using x=25 , y=0 since that would give you a larger number?

b) why didn't they use option (1) and solve for Y , then plug that into X=Y=25 from the original problem? wouldn't that solve for x right away?

its probably something simple that I'm missing but any clarity would be appreciated its really bugging me!

thanks in advance!


As for your questions (notice that x and y are nonnegative integers):

A. 250 is the smallest possible value of 20x+10y: minimize x, as it has greater multiple (20) and maximize y, as it has smaller multiple (10) --> x=0 and y=25 --> 20x +10y=250. The same way the largest possible value of 20x+10y is for x=25 and y=0 --> 20x +10y=500.

Or another way: 20x+10y=20x+10(25-x)=10x+250 --> to get the smallest possible value minimize x, so make it 0: 10x+250=250, and to get the largest possible value maximize x, so make it 25: 10x+250=500.

B. You can not solve for x or y as you get only the ranges for them from (1), as well as from (2), and not the unique values (refer to the solution above).

Hope it helps.



Hey Bunuel,

You taught me one hard rule, I'll never forget with inequilities. You can only add two inequalities in the same direction, never subtract!!

Ex
a<b
x<y

a+x<b+y is ok

but a-x<b-y is WRONG!!

Now, does this rule differ if I compare an inequality to an equation? Can I subtract an inequality and an equation in the same direction?

(1) 2x+y<30
(2) x+y=25

Can I simply subtract with confidence to get: x<5? I know that I can solve for y in equation (2) and substitute in equation (1). I would appreciate if you could confirm

Many thanks!!


YES, you can subtract with confidence, because this operation is equivalent to subtracting the same quantity from both sides, operation allowed when working with inequalities. In the above case, you subtract 25, only that on the left you express it as x + y, and on the right you just simply write it as 25.
Therefore, 2x + y - (x + y) < 30 - 25 or x < 5.
If you use substitution, replacing x + y in the inequality by 25, you obtain x + 25 < 30, from which by now subtracting 25 from both sides, you get the same conclusion x < 5.
So, you do the same thing, just in slightly different forms.
Tutor
Joined: 16 Oct 2010
Posts: 14822
Own Kudos [?]: 64909 [1]
Given Kudos: 426
Location: Pune, India
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
1
Kudos
Expert Reply
woohoo921 wrote:
Bunuel wrote:
c210 wrote:
a) they say the maximum for 20x + 10y is 250 when x=0 and y=25, why didn't they make the maximum value using x=25 , y=0 since that would give you a larger number?

b) why didn't they use option (1) and solve for Y , then plug that into X=Y=25 from the original problem? wouldn't that solve for x right away?

its probably something simple that I'm missing but any clarity would be appreciated its really bugging me!

thanks in advance!


As for your questions (notice that x and y are nonnegative integers):

A. 250 is the smallest possible value of 20x+10y: minimize x, as it has greater multiple (20) and maximize y, as it has smaller multiple (10) --> x=0 and y=25 --> 20x +10y=250. The same way the largest possible value of 20x+10y is for x=25 and y=0 --> 20x +10y=500.

Or another way: 20x+10y=20x+10(25-x)=10x+250 --> to get the smallest possible value minimize x, so make it 0: 10x+250=250, and to get the largest possible value maximize x, so make it 25: 10x+250=500.

B. You can not solve for x or y as you get only the ranges for them from (1), as well as from (2), and not the unique values (refer to the solution above).

Hope it helps.


KarishmaB

I would be so appreciative for your insights on this problem.

I originally solved for y in the inequalities.
For statement 1, I simplified to y > 200/19. For statement 2, I got y <38.

So, if I go back to the original equation, y can be really any number greater than 11 and less than 24 because x must be an integer. Then depending on what value y is, x can take on an array of values.

I see how if you solved for the inequalities to tell you what x was greater than and less than by combining the two statements, you arrive at the correct answer based on the restrictions. However, why did solving for y lead me down a rabbit hole? Where am I wrong in my math? Or is the takeaway to just focus on the variable needed when simplifying inequalities?

Thank you thank you thank you again :)


No, there should be no problem substituting for x and then getting y. There is no one way to get the answer. You must have made some calculation mistakes. Though I would strongly recommend sticking with the variable you need so that extra steps are not required.
When you solve in inequalities for y (by putting x = 25 - y), you get y > 20 and y < 22. So y must be 21 and hence x must be 4.
User avatar
Intern
Intern
Joined: 18 Jan 2012
Posts: 9
Own Kudos [?]: 5 [0]
Given Kudos: 0
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
ooh that makes sense!

not that important but what about for :

a) they say the maximum for 20x + 10y is 250 when x=0 and y=25, why didn't they make the maximum value using x=25 , y=0 since that would give you a larger number?
User avatar
Manager
Manager
Joined: 12 Feb 2012
Posts: 105
Own Kudos [?]: 216 [0]
Given Kudos: 28
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
Bunuel wrote:
c210 wrote:
a) they say the maximum for 20x + 10y is 250 when x=0 and y=25, why didn't they make the maximum value using x=25 , y=0 since that would give you a larger number?

b) why didn't they use option (1) and solve for Y , then plug that into X=Y=25 from the original problem? wouldn't that solve for x right away?

its probably something simple that I'm missing but any clarity would be appreciated its really bugging me!

thanks in advance!


As for your questions (notice that x and y are nonnegative integers):

A. 250 is the smallest possible value of 20x+10y: minimize x, as it has greater multiple (20) and maximize y, as it has smaller multiple (10) --> x=0 and y=25 --> 20x +10y=250. The same way the largest possible value of 20x+10y is for x=25 and y=0 --> 20x +10y=500.

Or another way: 20x+10y=20x+10(25-x)=10x+250 --> to get the smallest possible value minimize x, so make it 0: 10x+250=250, and to get the largest possible value maximize x, so make it 25: 10x+250=500.

B. You can not solve for x or y as you get only the ranges for them from (1), as well as from (2), and not the unique values (refer to the solution above).

Hope it helps.



Hey Bunuel,

You taught me one hard rule, I'll never forget with inequilities. You can only add two inequalities in the same direction, never subtract!!

Ex
a<b
x<y

a+x<b+y is ok

but a-x<b-y is WRONG!!

Now, does this rule differ if I compare an inequality to an equation? Can I subtract an inequality and an equation in the same direction?

(1) 2x+y<30
(2) x+y=25

Can I simply subtract with confidence to get: x<5? I know that I can solve for y in equation (2) and substitute in equation (1). I would appreciate if you could confirm

Many thanks!!
Alum
Joined: 12 Aug 2015
Posts: 2282
Own Kudos [?]: 3128 [0]
Given Kudos: 893
GRE 1: Q169 V154
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
Awesome question..
Inequality mixed with word problems
here x=4 and y=21 is the only value value that will work
SO C
Intern
Intern
Joined: 30 Mar 2015
Posts: 8
Own Kudos [?]: 2 [0]
Given Kudos: 5
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
Bunuel wrote:
If x and y are nonnegative integers and x+y=25 what is x

Given: x+y=25 --> y=25-x. Question: x=?

(1) 20x+10y<300 --> 2x+y<30 --> 2x+(25-x)<30 --> x<5. Not sufficient.
(2) 20x+10y>280 --> 2x+y>28 --> 2x+(25-x)>28 --> x>3. Not sufficient.

(1)+(2) From (1) and (2) 3<x<5 --> since given that x is an integer then x=4. Sufficient.

Answer: C.

Hope it's clear.


for me ,the right answer is E because the question says that x and y are nonnegative integer means that x and y can be negative fraction and could be positive integer and fraction Therefore when we combine statments we find that x is between 3 and 4 means that x can be 3.5 3.6 3.2 so is insufficient can you please tell me where my reasoning is false ?
Thankyou
Math Expert
Joined: 02 Sep 2009
Posts: 92912
Own Kudos [?]: 618926 [0]
Given Kudos: 81595
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
Expert Reply
hichem wrote:
Bunuel wrote:
If x and y are nonnegative integers and x+y=25 what is x

Given: x+y=25 --> y=25-x. Question: x=?

(1) 20x+10y<300 --> 2x+y<30 --> 2x+(25-x)<30 --> x<5. Not sufficient.
(2) 20x+10y>280 --> 2x+y>28 --> 2x+(25-x)>28 --> x>3. Not sufficient.

(1)+(2) From (1) and (2) 3<x<5 --> since given that x is an integer then x=4. Sufficient.

Answer: C.

Hope it's clear.


for me ,the right answer is E because the question says that x and y are nonnegative integer means that x and y can be negative fraction and could be positive integer and fraction Therefore when we combine statments we find that x is between 3 and 4 means that x can be 3.5 3.6 3.2 so is insufficient can you please tell me where my reasoning is false ?
Thankyou


x and y are nonnegative integers means that x and y are integers greater than or equal to 0: 0, 1, 2, 3, ... This is the only reading of this statement.
Manager
Manager
Joined: 02 Nov 2013
Posts: 60
Own Kudos [?]: 28 [0]
Given Kudos: 10
Location: India
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
I hope, I can think the way Banuel does.
To solve this simple question I used substitution method.

Yes, only one value of X can satisfy the equations, x=4 and y=21.

Answer C.
Director
Director
Joined: 09 Jan 2020
Posts: 966
Own Kudos [?]: 223 [0]
Given Kudos: 434
Location: United States
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
x = 25 - y

(1) 20x + 10y < 300
20(25 - y) + 10y < 300
y > 20

INSUFFICIENT.

(2) 20x + 10y > 280
20(25-y) + 10y > 280
y < 22

INSUFFICIENT.

(1&2) 20 < y < 22
y = 21; x = 4.

SUFFICIENT.

Answer is C.
Director
Director
Joined: 04 Jun 2020
Posts: 552
Own Kudos [?]: 67 [0]
Given Kudos: 626
Send PM
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
Bunuel wrote:
c210 wrote:
a) they say the maximum for 20x + 10y is 250 when x=0 and y=25, why didn't they make the maximum value using x=25 , y=0 since that would give you a larger number?

b) why didn't they use option (1) and solve for Y , then plug that into X=Y=25 from the original problem? wouldn't that solve for x right away?

its probably something simple that I'm missing but any clarity would be appreciated its really bugging me!

thanks in advance!


As for your questions (notice that x and y are nonnegative integers):

A. 250 is the smallest possible value of 20x+10y: minimize x, as it has greater multiple (20) and maximize y, as it has smaller multiple (10) --> x=0 and y=25 --> 20x +10y=250. The same way the largest possible value of 20x+10y is for x=25 and y=0 --> 20x +10y=500.

Or another way: 20x+10y=20x+10(25-x)=10x+250 --> to get the smallest possible value minimize x, so make it 0: 10x+250=250, and to get the largest possible value maximize x, so make it 25: 10x+250=500.

B. You can not solve for x or y as you get only the ranges for them from (1), as well as from (2), and not the unique values (refer to the solution above).

Hope it helps.


KarishmaB

I would be so appreciative for your insights on this problem.

I originally solved for y in the inequalities.
For statement 1, I simplified to y > 200/19. For statement 2, I got y <38.

So, if I go back to the original equation, y can be really any number greater than 11 and less than 24 because x must be an integer. Then depending on what value y is, x can take on an array of values.

I see how if you solved for the inequalities to tell you what x was greater than and less than by combining the two statements, you arrive at the correct answer based on the restrictions. However, why did solving for y lead me down a rabbit hole? Where am I wrong in my math? Or is the takeaway to just focus on the variable needed when simplifying inequalities?

Thank you thank you thank you again :)
GMAT Club Bot
Re: If x and y are nonnegative integers and x+y=25 what is x? [#permalink]
Moderator:
Math Expert
92912 posts

Powered by phpBB © phpBB Group | Emoji artwork provided by EmojiOne