Last visit was: 24 Apr 2024, 15:41 It is currently 24 Apr 2024, 15:41

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:
Date
Tags:
Show Tags
Hide Tags
User avatar
Manager
Manager
Joined: 06 Oct 2009
Posts: 56
Own Kudos [?]: 1103 [202]
Given Kudos: 4
Location: Mexico
Concentration: Entrepreneurship, Finance
GPA: 3.85
WE:Sales (Commercial Banking)
Send PM
Most Helpful Reply
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618809 [61]
Given Kudos: 81588
Send PM
Math Expert
Joined: 02 Sep 2009
Posts: 92900
Own Kudos [?]: 618809 [16]
Given Kudos: 81588
Send PM
General Discussion
User avatar
Manager
Manager
Joined: 17 Mar 2010
Posts: 89
Own Kudos [?]: 588 [0]
Given Kudos: 9
Send PM
Re: Equations [#permalink]
Does GMAT ask trial and error questions?
avatar
Intern
Intern
Joined: 07 Jun 2009
Posts: 17
Own Kudos [?]: 36 [12]
Given Kudos: 4
Send PM
Re: Equations [#permalink]
11
Kudos
1
Bookmarks
amitjash wrote:
Does GMAT ask trial and error questions?

Yes, but only if they the range of possible numbers is small.. as is the case here.

One good way to attack the statements in DS, is to prove insufficiency by getting two different values which meet the preimposed conditions

e.g. in this question

Quote:
Statement 1
x+y = 6

we have two that are possible ..x=1,y=5 x=2,y=4 ... Therefore insufficient

Quote:
Statement 2
23x+21y = 130

a. to get an even sum(130), either both x and y have to be even or both have to be odd
b. to get units digit of 0, 3x + y should have units digit of 0

--> take possible values of x from 1 to 5..
x=1 --> 3 .. y has to be odd
x=2 --> 6 .. y has to be even
x=3 --> 9 .. y has to be odd
x=4 --> 12 .. y has to be even
x=5 --> 15 .. y has to be odd

the only value that fits that for x =2,y=4; On substituting in the equation 23x+21y, we get 130 --> Statement 2 alone is sufficient coz we get only one possible value for x and y

Hope this helps :)
User avatar
Intern
Intern
Joined: 24 Mar 2010
Posts: 38
Own Kudos [?]: 60 [4]
Given Kudos: 3
Send PM
Re: Equations [#permalink]
2
Kudos
2
Bookmarks
The way I thought about this one that probably will take less time than trying to actually write out formulas, is;

1) This doesn't tell us anything about the total amount spent on the pencils so it could be 5 of 23 cent pencil and 1 of the 21 cent pencils, or 4 of the 23 cent pencils and 2 of the 21 cent pencils etc... These have different totals so 1) is sufficient.

2) 21 and 23 cents are fairly large portions of the 130 total cents spent and 23 is a prime number so I concluded that there would only be one solution to this and we could figure out how much she spend on each. This by itself would be enough to conclude B, 2) is sufficient, but to validate I used the first digits of 23 and 21, which according to 2) must add to a multiple of ten. If you write out the two equations you can deduce from this it because readily evident that you can figure out this problem with just 2)

3x+1y=10
x+y=6

Hope this helps.

Jared
User avatar
Intern
Intern
Joined: 18 Nov 2010
Posts: 8
Own Kudos [?]: 38 [1]
Given Kudos: 8
Send PM
Data suff [#permalink]
1
Kudos
How can this problem be solved without 2 equations. How do you in fact spot such cases?
Attachments

1.docx [74.88 KiB]
Downloaded 406 times

Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64900 [12]
Given Kudos: 426
Location: Pune, India
Send PM
Martha bought several pencils. If each pencil was either a [#permalink]
9
Kudos
3
Bookmarks
Expert Reply
shash wrote:
How can this problem be solved without 2 equations. How do you in fact spot such cases?


To solve for two variables, you need two equations. But if there are constraints on the solutions (e.g. x and y should be positive integers), sometimes, one equation is enough. When you have real world examples, where they talk about number of pens, pencils etc which cannot be negative or a fraction, you need to ascertain whether one equation is enough.

Check out this blog post where I have discussed in detail how to solve such problems:
https://anaprep.com/algebra-integer-sol ... variables/

Originally posted by KarishmaB on 12 Dec 2010, 04:53.
Last edited by KarishmaB on 19 Sep 2023, 04:20, edited 1 time in total.
GMAT Tutor
Joined: 24 Jun 2008
Posts: 4128
Own Kudos [?]: 9242 [4]
Given Kudos: 91
 Q51  V47
Send PM
Martha bought several pencils. If each pencil was either a [#permalink]
4
Kudos
Expert Reply
Bull78 wrote:
Martha bought several pencils. If each pencil was either a 23 cent pencil or a 21 pencil, how many 23 cent pencils did martha buy?

(1) Martha bought a total of 6 pencils

(2) The total value of the pencils Martha bought was 130 cents.


You can also look at this as follows: if she bought 7 pencils, she would spend at least 7*0.21 = $1.49. If she bought 5 pencils, she would spend at most 5*0.23 = $1.15. So if she spent $1.30, as we learn from Statement 2 alone, she must have bought exactly 6 pencils. So Statement 2 is sufficient alone (once we know that she bought 6 pencils, there can only be one combination of $0.23 and $0.21 pencils that give a total cost of $1.30, since the more $0.23 pencils she buys, the greater the cost will be).
Manager
Manager
Joined: 31 Aug 2011
Posts: 121
Own Kudos [?]: 790 [4]
Given Kudos: 56
Send PM
Re: Martha bought several pencils. If each pencil was either a [#permalink]
3
Kudos
1
Bookmarks
I see a nice discussion on this topic and would like to add my bits here. Trying to find a general method of solving such questions where the constraints are 1) linear equation in two variables 2) the solution is only non negative integers . Just by combining the ways used by community members for this particular question,I can say a shortcut method for such questions can be

1) express in form of a linear equation 21x + 23y = 130 . . find y

2) find max value of required variables y = 130/23 . therefore y< 6 and x <7

3) plug in values of y , 1,2,3,4,5.

4) calculate only units digit . .y = 1 => 23y ( units digit is 3) 2 (6) 3(9) 4 (2) 5(5)

5) check if an integer value of x does exist for the set of values of y, by plugging in values and calculating only units digit, the solution should follow the required constraint i.e. x<7

for y=1 not possible (units digit of 21x need to be 7)
for y = 2 units digit of 21x should be 4 possible and thats one solution
for y = 3 21x to end in 1 possible but not a solution because does not follow 21x + 23y = 130 ( no need to calculate can rule out as ans being to small)
for y = 4 21x should end in 8 , not possible
for y = 5 21x should end in 5 possible but does not follow 21x + 23y = 130 ( again no calculation required can rule out as ans being too large)

can you please elaborate this sarathy : b. to get units digit of 0, 3x + y should have units digit of 0. . your equation is 23x + 21y = 130 . . this is along same lines to calculate units digit only but i guess we cannot make an equation like this because 4x + 2y can also have units digit of 0 and thats infact our solution to this problem. .
User avatar
Manager
Manager
Joined: 15 Aug 2013
Posts: 180
Own Kudos [?]: 331 [0]
Given Kudos: 23
Send PM
Re: Martha bought several pencils. If each pencil was either a [#permalink]
Bunuel wrote:
Bull78 wrote:
Martha bought several pencils. If each pencil was either a 23 cent pencil or a 21 pencil, how many 23 cent pencils did martha buy?

a) Martha bought a total of 6 pencils

b) The total value of the pencils Martha bought was 130 cents.



This is C-trap question. C-trap question is the question which is obviously sufficient if we take statements together. When we see such questions we should become very suspicious.

Martha bought several pencils. if each pencil was either 23 cents pencil or a 21 cents pencil. How many 23 cents pencils did Marta buy?

Let \(x\) be the # of 23 cent pencils and \(y\) be the # of 21 cent pencils. Note that \(x\) and \(y\) must be an integers. Q: \(x=?\)

(1) Martha bought a total of 6 pencils --> \(x+y=6\). Clearly not sufficient.

(2) The total value of the pencils Martha bought was 130 cents --> \(23x+21y=130\). Now x and y must be an integers (as they represent the # of pencils). The only integer solution for \(23x+21y=130\) is when \(x=2\) and \(y=4\) (trial and errors). Sufficient.

Answer: B.

For more on this type of questions check:
eunice-sold-several-cakes-if-each-cake-sold-for-either-109602.html
martha-bought-several-pencils-if-each-pencil-was-either-a-100204.html
a-rental-car-agency-purchases-fleet-vehicles-in-two-sizes-a-105682.html
joe-bought-only-twenty-cent-stamps-and-thirty-cent-stamps-106212.html
a-certain-fruit-stand-sold-apples-for-0-70-each-and-bananas-101966.html
joanna-bought-only-0-15-stamps-and-0-29-stamps-how-many-101743.html
at-an-amusement-park-tom-bought-a-number-of-red-tokens-and-126814.html
collections-confused-need-a-help-81062.html

Hope it helps.



Hi Bunuel,

Interesting question. I landed on this after solving this a-total-of-60-000-was-invested-for-one-year-part-of-this-126655.html#p1035647:

Question for you -- I totally fell for the CTrap. How would I have know that this was a C trap vs. the investment question, which wasn't a C trap. They are worded almost identically?
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64900 [1]
Given Kudos: 426
Location: Pune, India
Send PM
Martha bought several pencils. If each pencil was either a [#permalink]
1
Bookmarks
Expert Reply
russ9 wrote:
Hi Bunuel,

Interesting question. I landed on this after solving this https://gmatclub.com/forum/a-total-of-60 ... l#p1035647:

Question for you -- I totally fell for the CTrap. How would I have know that this was a C trap vs. the investment question, which wasn't a C trap. They are worded almost identically?


Though the question is addressed to Bunuel, I would like to add my two cents here, hoping Bunuel will not mind!

The question in this thread is based on the concept of "integral solutions of an equation in two variables". In these equations, it seems that you need more information, but actually you can often get a unique solution due to constraints on values that x and y can take. Such questions are often based on real life situations involving number of objects which cannot be a fraction. Hence the test maker does not need to specifically write that x and y must be non negative/positive integers but you need to logically assume it. Whenever you get such questions where you need to make an equation in two variables based on physical objects, you need to be alert of the possibility of C-Traps.
In the investment question, the amount invested/rate of interest needn't be integral and hence multiple values are possible.

Obviously, there are many other questions where people could fall for C-Trap but be aware of integral solutions questions.

Originally posted by KarishmaB on 18 Aug 2014, 03:17.
Last edited by KarishmaB on 17 Oct 2022, 00:59, edited 1 time in total.
User avatar
Senior Manager
Senior Manager
Joined: 07 Apr 2014
Status:Math is psycho-logical
Posts: 340
Own Kudos [?]: 386 [0]
Given Kudos: 169
Location: Netherlands
GMAT Date: 02-11-2015
WE:Psychology and Counseling (Other)
Re: Martha bought several pencils. If each pencil was either a [#permalink]
I am not sure if I am missing something, but it sounds a bit silly to just try out numbers. Of course it is logical that a combination could work, but having to look for it is not really reasonable - even if it is not hard.

Apart from this, I have a question. Let's say that it wasn't possible to find the needed combination for the equation in B.
Could we use A and B together to figure it out?

So, [1] says that x+y = 6, so x = 6-y and [2] says that 23x+24y = 130 and then replace x with 6-y. Because in this way you indeed result in x=2 and y=4.

For this reason, I chose C, as it sounded more reasonable to use them in combination that to have to find a random combination or numbers. Any thoughts?
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64900 [1]
Given Kudos: 426
Location: Pune, India
Send PM
Re: Martha bought several pencils. If each pencil was either a [#permalink]
1
Kudos
Expert Reply
pacifist85 wrote:
I am not sure if I am missing something, but it sounds a bit silly to just try out numbers. Of course it is logical that a combination could work, but having to look for it is not really reasonable - even if it is not hard.

Apart from this, I have a question. Let's say that it wasn't possible to find the needed combination for the equation in B.
Could we use A and B together to figure it out?

So, [1] says that x+y = 6, so x = 6-y and [2] says that 23x+24y = 130 and then replace x with 6-y. Because in this way you indeed result in x=2 and y=4.

For this reason, I chose C, as it sounded more reasonable to use them in combination that to have to find a random combination or numbers. Any thoughts?



There is logic associated with this and you do not need to just try random numbers. That is why the answer here is not (C). The link that I have given in my post above discusses the logic.
GMAT Club Legend
GMAT Club Legend
Joined: 12 Sep 2015
Posts: 6821
Own Kudos [?]: 29907 [2]
Given Kudos: 799
Location: Canada
Send PM
Re: Martha bought several pencils. If each pencil was either a [#permalink]
2
Kudos
Expert Reply
Top Contributor
Bull78 wrote:
Martha bought several pencils. If each pencil was either a 23 cent pencil or a 21 pencil, how many 23 cent pencils did martha buy?

(1) Martha bought a total of 6 pencils

(2) The total value of the pencils Martha bought was 130 cents.


Target question: How many 23 cent pencils did Martha buy?

Given: Martha bought several pencils. Each pencil was either a 23-cent pencil or a 21-cent pencil.

Statement 1: Martha bought a total of 6 pencils
Clearly, statement 1 is NOT SUFFICIENT

Statement 2: The total value of the pencils Martha bought was 130 cents.
This statement APPEARS to be insufficient. However, since the pencils cost 21 cents and 23 cents, we can't buy many for 130 cents.
So, let's LIST THE POSSIBLE CASES

Case a: Martha bought ZERO 23-cent pencils (for a total of 0 cents).
This means she spent all 130 cents on the 21-cent pencils. However, 21 cents does not evenly divide into 130 cents
So, it cannot be the case that Martha bought ZERO 23-cent pencils

Case b: Martha bought ONE 23-cent pencil.
This means she spent the remaining 107 cents on the 21-cent pencils. However, 21 cents DOES NOT evenly divide into 107 cents.
So, it cannot be the case that Martha bought ONE 23-cent pencil

Case c: Martha bought TWO 23-cent pencils (for a total of 46 cents).
This means she spent the remaining 84 cents on the 21-cent pencils. 21 cents divides into 84 cents exactly FOUR TIMES.
So, it's possible that Martha bought TWO 23-cent pencils and FOUR 21-cent pencils
In this case, the answer to the target question is Martha bought TWO 23-cent pencils

Case d: Martha bought THREE 23-cent pencils (for a total of 69 cents).
This means she spent the remaining 61 cents on the 21-cent pencils. However, 21 cents DOES NOT evenly divide into 61 cents.
So, it cannot be the case that Martha bought THREE 23-cent pencils

Case e: Martha bought FOUR 23-cent pencils (for a total of 92 cents).
This means she spent the remaining 38 cents on the 21-cent pencils. However, 21 cents DOES NOT evenly divide into 38 cents.
So, it cannot be the case that Martha bought FOUR 23-cent pencils

Case f: Martha bought FIVE 23-cent pencils (for a total of 15 cents).
This means she spent the remaining 15 cents on the 21-cent pencils. However, 21 cents DOES NOT evenly divide into 15 cents.
So, it cannot be the case that Martha bought FIVE 23-cent pencils

Now that we've examined all of the cases, the only possible solution is the one described in case c
So, it MUST be the case that Martha bought TWO 23-cent pencils
Since we can answer the target question with certainty, statement 2 is SUFFICIENT

Answer: B

Cheers,
Brent
Director
Director
Joined: 21 Feb 2017
Posts: 521
Own Kudos [?]: 1034 [0]
Given Kudos: 1091
Location: India
GMAT 1: 700 Q47 V39
Send PM
Re: Martha bought several pencils. If each pencil was either a [#permalink]
Bunuel VeritasKarishma

Hi, I read the below on another similar c trap question:

Quote:
In general, when you have two variables and one equation you will not have enough data to solve. There is at least one important exception:

✔ If your equation is of the form Ax + By = C where A, B and C are known, and
✔ if your unknowns are positive integers, and
✔ if C < the least common multiple of A & B, then


As per this, statement 2 would be enough to give a unique answer as it satisfies all three conditions. Would you say this approach is correct and I can use it for all similar questions?
GMAT Club Legend
GMAT Club Legend
Joined: 08 Jul 2010
Status:GMAT/GRE Tutor l Admission Consultant l On-Demand Course creator
Posts: 5957
Own Kudos [?]: 13387 [1]
Given Kudos: 124
Location: India
GMAT: QUANT+DI EXPERT
Schools: IIM (A) ISB '24
GMAT 1: 750 Q51 V41
WE:Education (Education)
Send PM
Martha bought several pencils. If each pencil was either a [#permalink]
Expert Reply
Kritisood wrote:
Bunuel VeritasKarishma

Hi, I read the below on another similar c trap question:

Quote:
In general, when you have two variables and one equation you will not have enough data to solve. There is at least one important exception:

✔ If your equation is of the form Ax + By = C where A, B and C are known, and
✔ if your unknowns are positive integers, and
✔ if C < the least common multiple of A & B, then


As per this, statement 2 would be enough to give a unique answer as it satisfies all three conditions. Would you say this approach is correct and I can use it for all similar questions?


Kritisood

Usually such instruction are given by a particular GC handle but I won't name that

I won't suggest making the approach such mechanical. We don't get extra credit to save time so use all 62 minutes to answer 31 questions. :D

Although to answer your question, yes these instructions are CORRECT. :)
Manager
Manager
Joined: 23 Feb 2020
Posts: 134
Own Kudos [?]: 87 [0]
Given Kudos: 297
Location: Nepal
GMAT 1: 650 Q44 V35
Send PM
Re: Martha bought several pencils. If each pencil was either a [#permalink]
Bunuel wrote:
Bull78 wrote:
Martha bought several pencils. If each pencil was either a 23 cent pencil or a 21 pencil, how many 23 cent pencils did martha buy?

a) Martha bought a total of 6 pencils

b) The total value of the pencils Martha bought was 130 cents.



This is C-trap question. C-trap question is the question which is obviously sufficient if we take statements together. When we see such questions we should become very suspicious.

Martha bought several pencils. if each pencil was either 23 cents pencil or a 21 cents pencil. How many 23 cents pencils did Marta buy?

Let \(x\) be the # of 23 cent pencils and \(y\) be the # of 21 cent pencils. Note that \(x\) and \(y\) must be an integers. Q: \(x=?\)

(1) Martha bought a total of 6 pencils --> \(x+y=6\). Clearly not sufficient.

(2) The total value of the pencils Martha bought was 130 cents --> \(23x+21y=130\). Now x and y must be an integers (as they represent the # of pencils). The only integer solution for \(23x+21y=130\) is when \(x=2\) and \(y=4\) (trial and errors). Sufficient.

Answer: B.

For more on this type of questions check:
https://gmatclub.com/forum/eunice-sold-s ... 09602.html
https://gmatclub.com/forum/martha-bought ... 00204.html
https://gmatclub.com/forum/a-rental-car- ... 05682.html
https://gmatclub.com/forum/joe-bought-on ... 06212.html
https://gmatclub.com/forum/a-certain-fru ... 01966.html
https://gmatclub.com/forum/joanna-bought ... 01743.html
https://gmatclub.com/forum/at-an-amuseme ... 26814.html
https://gmatclub.com/forum/collections-c ... 81062.html

Hope it helps.


Hi Bunuel
Nice Explantion Again.

I did the trial and error which you mentioned for st 2, but it took me 3 mins 2 secs.
So how can i work it with speed?
Than you.

Posted from my mobile device
Tutor
Joined: 16 Oct 2010
Posts: 14817
Own Kudos [?]: 64900 [1]
Given Kudos: 426
Location: Pune, India
Send PM
Martha bought several pencils. If each pencil was either a [#permalink]
1
Kudos
Expert Reply
Kritisood wrote:
Bunuel VeritasKarishma

Hi, I read the below on another similar c trap question:

Quote:
In general, when you have two variables and one equation you will not have enough data to solve. There is at least one important exception:

✔ If your equation is of the form Ax + By = C where A, B and C are known, and
✔ if your unknowns are positive integers, and
✔ if C < the least common multiple of A & B, then


As per this, statement 2 would be enough to give a unique answer as it satisfies all three conditions. Would you say this approach is correct and I can use it for all similar questions?


Check out how to solve questions of this type (link given below). Understand the logic. Even when C > LCM of A and B, sometimes you may have a single solution only. Plus, how many such conditions will you learn for how many distinct cases?

https://anaprep.com/algebra-integer-sol ... variables/

Try 3p + 5e = 16

Originally posted by KarishmaB on 20 May 2020, 02:39.
Last edited by KarishmaB on 21 Dec 2023, 08:15, edited 1 time in total.
Intern
Intern
Joined: 04 Jan 2016
Posts: 20
Own Kudos [?]: 40 [4]
Given Kudos: 128
Send PM
Martha bought several pencils. If each pencil was either a [#permalink]
2
Kudos
1
Bookmarks
Bull78 wrote:
Martha bought several pencils. If each pencil was either a 23 cent pencil or a 21 pencil, how many 23 cent pencils did martha buy?

(1) Martha bought a total of 6 pencils

(2) The total value of the pencils Martha bought was 130 cents.


I don't remember the exact source but i learnt the way to solve these questions and it is relatively easy once we know a few basic things. The following equation Ax + By = C is called a diophantine Equation.

The first thing to know is how many solutions are possible i.e how many combination of number of 23 cents pencils and 21 cent pencils are possible.

How do we figure that out?

Ax + By = C
If A*B > C (There is at most 1 solution)
If A*B < C (There is at least 1 solution)
To know how many solutions are possible we need to know by how many times can we divide C from A*B when A*B <C Eg. (Digressing from the question) Lets assume C is 25 and A is 2 and B is 3. Now A*B = 6. If we divide C by A*B, the number is between 4 and 5 (4.16). Hence the number of solution will be either 4 or 5.

Now to solve the question given
Statement 1. Does not tell us the total cost which may lead to multiple values for x and y. Not sufficient

Statement 2:The total value of the pencils Martha bought was 130 cents.
From the information given above
23x + 21y = 130 (This is a diophantine equation with A = 23 and B =21 and C = 130)

Looking at the question we realize that A*B >130 (This would mean there is at most 1 solution i.e could be 0 or 1. Sneakily if we use the 1st equation we know its not 0. However we do not need to officially use that )

Hence answer is B

Kudos if this helps please

P.S: Found the source. Its by Anthony Ritz. Here is his video https://www.youtube.com/watch?v=SCf-HrtYUMg
GMAT Club Bot
Martha bought several pencils. If each pencil was either a [#permalink]
 1   2   
Moderator:
Math Expert
92900 posts

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