Last visit was: 19 Nov 2025, 15:49 It is currently 19 Nov 2025, 15:49
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
User avatar
MitDavidDv
Joined: 28 Jan 2011
Last visit: 02 Sep 2025
Posts: 62
Own Kudos:
788
 [697]
Given Kudos: 76
Location: Tennessee
Concentration: MBA-Entrepreneurship
Schools:Belmont University
GPA: 3.0
Posts: 62
Kudos: 788
 [697]
70
Kudos
Add Kudos
619
Bookmarks
Bookmark this Post
Most Helpful Reply
User avatar
IanStewart
User avatar
GMAT Tutor
Joined: 24 Jun 2008
Last visit: 18 Nov 2025
Posts: 4,145
Own Kudos:
Given Kudos: 99
Expert
Expert reply
Posts: 4,145
Kudos: 10,989
 [708]
371
Kudos
Add Kudos
333
Bookmarks
Bookmark this Post
User avatar
fluke
User avatar
Retired Moderator
Joined: 20 Dec 2010
Last visit: 24 Oct 2013
Posts: 1,099
Own Kudos:
5,095
 [44]
Given Kudos: 376
Posts: 1,099
Kudos: 5,095
 [44]
21
Kudos
Add Kudos
22
Bookmarks
Bookmark this Post
avatar
gayatri200
Joined: 07 Mar 2013
Last visit: 23 Jan 2017
Posts: 5
Own Kudos:
45
 [34]
Given Kudos: 14
Posts: 5
Kudos: 45
 [34]
13
Kudos
Add Kudos
20
Bookmarks
Bookmark this Post
Some Theory here:
Consider two numbers a, b
Now a* b always = [(a+b)/2]^ 2 – [(a-b)/2]^2---------------------- eqn 1
Additionally:
The number of ways a number can be expressed as a difference of two integers depends on number of ways it can be written as a two factor product stated below.
a.odd*odd
b. even *even
The reason being in eqn (1) above [(a-b)/2]^2 should result in an integer . Hence we consider only the above set of two factor products. (0dd minus odd = even ,even minus even =even , hence both will be divisible by 2

E.g the number 36 can be written as
6*6 , 18*2 hence 36 can be expressed as difference of squares in two ways.
36 = (6+6)/2 ^ 2 - (6-6)/2 ^ 2 = 6^2 - 0
36= (18+2)/2^2 – (18-2)/^2 = 10^2 – 4^2

Now back to the problem :
We have the number set (2, 5, 7, 8) out of which, the satisfying possibilities as per the above theory would be
2*8 (valid)
5*7 (valid)
2*5 (not valid)
2*7(not valid)
5*8== 4*10 hence valid
7*8 == 4*14 hence valid)
Hence there are 4 favourble cases out of 6. Therefore probability Is 4/6 = 2/3
General Discussion
User avatar
monirjewel
Joined: 06 Feb 2010
Last visit: 18 Oct 2014
Posts: 124
Own Kudos:
3,559
 [8]
Given Kudos: 182
Concentration: Marketing, Leadership
Schools: University of Dhaka - Class of 2010
GPA: 3.63
WE:Business Development (Consumer Packaged Goods)
Schools: University of Dhaka - Class of 2010
Posts: 124
Kudos: 3,559
 [8]
1
Kudos
Add Kudos
6
Bookmarks
Bookmark this Post
Need Bunuel's explanation for this problem......
User avatar
Bunuel
User avatar
Math Expert
Joined: 02 Sep 2009
Last visit: 19 Nov 2025
Posts: 105,390
Own Kudos:
Given Kudos: 99,977
Products:
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 105,390
Kudos: 778,368
 [12]
8
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
monirjewel
Need Bunuel's explanation for this problem......

Best solution is here: if-two-integers-are-chosen-at-random-out-of-the-set-114579.html#p929326
User avatar
ShashankDave
Joined: 03 Apr 2013
Last visit: 26 Jan 2020
Posts: 218
Own Kudos:
288
 [2]
Given Kudos: 872
Location: India
Concentration: Marketing, Finance
GMAT 1: 740 Q50 V41
GPA: 3
GMAT 1: 740 Q50 V41
Posts: 218
Kudos: 288
 [2]
2
Kudos
Add Kudos
Bookmarks
Bookmark this Post
Bunuel
monirjewel
Need Bunuel's explanation for this problem......

Best solution is here: if-two-integers-are-chosen-at-random-out-of-the-set-114579.html#p929326
Bunuel please help out here..this will clear many things for me. My solution is this :-
a^2 - b^2 will be of the form (a-b)(a+b). We can infer that the difference between the two chosen numbers(of which one is (a-b) and the other (a+b)) will be (a+b) - (a-b) = 2b i.e. even difference(negative or positive).
Thus we will have to choose either two even numbers or two odd numbers?
this way we have two options -> 1. choosing 5 and 7 of which probability is = 1/6
2. choosing 2 and 8 of which probability is = 1/6.
thus the total probability = 2/6 which is 1/3.
please explain why this is wrong.
User avatar
paandey
Joined: 27 Feb 2014
Last visit: 25 Nov 2016
Posts: 13
Own Kudos:
13
 [8]
Posts: 13
Kudos: 13
 [8]
4
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
MitDavidDv
If two integers are chosen at random out of the set {2, 5, 7, 8}, what is the probability that their product will be of the form a^2 – b^2, where a and b are both positive integers?

A. 2/3
B. 1/2
C. 1/3
D. 1/4
E. 1/6

Shalom! I am currently studying the probability chapter of the Manhattan GMAT Word Translations book. I am looking forward to the different outcomes and answers.

I have an explanation too, maybe it'd be of some help:
a^2 - b^2 =(a-b)(a+b)
(a+b) and (a-b) can only be integers from the selected set i.e {2,5,7,8}
Now a and b are both positive integers as stated in the question
So the sum of (a-b) and (a+b) also has to be an integer
i.e 2a = sum of any two numbers chosen from the set {2,5,7,8}

For a to be a positive integer the sum has to be an even number so either it could be a pair of (2,8) or (7,5)

Using PnC P(getting one such pair when chosing two random numbers from a set) = P(Both numbers chosen to be even) + P(Both numbers chosen to be odd)
= 2/4C2 + 2/4C2
= 4/4C2 = 4/6 = 2/3
Kindly let me know in case the solution has some mistakes.
avatar
FZ
Joined: 21 Aug 2013
Last visit: 03 Jul 2014
Posts: 4
Own Kudos:
17
 [7]
Given Kudos: 6
Posts: 4
Kudos: 17
 [7]
5
Kudos
Add Kudos
2
Bookmarks
Bookmark this Post
ShashankDave
Bunuel
monirjewel
Need Bunuel's explanation for this problem......

Best solution is here: if-two-integers-are-chosen-at-random-out-of-the-set-114579.html#p929326
Bunuel please help out here..this will clear many things for me. My solution is this :-
a^2 - b^2 will be of the form (a-b)(a+b). We can infer that the difference between the two chosen numbers(of which one is (a-b) and the other (a+b)) will be (a+b) - (a-b) = 2b i.e. even difference(negative or positive).
Thus we will have to choose either two even numbers or two odd numbers?
this way we have two options -> 1. choosing 5 and 7 of which probability is = 1/6
2. choosing 2 and 8 of which probability is = 1/6.
thus the total probability = 2/6 which is 1/3.
please explain why this is wrong.


I had the same concern but now it's clear for me :
the 6 possible pairs are (2 5) (2 7) (2 8) (5 7) (5 8) (7 8)
our method allows to find 2 pairs (2 8) (5 7) but does not allow to eliminate the others
Especially (5 8 ) and (7 8) that also meet the condition : 5*8 = 10*4 = (7+3)*(7-3) and 7*8=14*4=(9+5)*(9-5)
so there are 4 possible pairs to be picked from 6 hence the probability is 4/6 = 2/3
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,001
 [15]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
 [15]
10
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
ShashankDave
Bunuel
monirjewel
Need Bunuel's explanation for this problem......

Best solution is here: https://gmatclub.com/forum/if-two-integ ... ml#p929326
Bunuel please help out here..this will clear many things for me. My solution is this :-
a^2 - b^2 will be of the form (a-b)(a+b). We can infer that the difference between the two chosen numbers(of which one is (a-b) and the other (a+b)) will be (a+b) - (a-b) = 2b i.e. even difference(negative or positive).
Thus we will have to choose either two even numbers or two odd numbers?
this way we have two options -> 1. choosing 5 and 7 of which probability is = 1/6
2. choosing 2 and 8 of which probability is = 1/6.
thus the total probability = 2/6 which is 1/3.
please explain why this is wrong.

The question is not so much as whether both the numbers are even or both are odd as whether the product of the numbers can be written as product of two even numbers or two odd numbers.

Two numbers are chosen and multiplied. Now they have lost their individual identity. Now you focus on the product and find whether it can be written as product of two numbers which are both odd or both even. Say you took two number 7 and 8 and multiplied them. You get 56. Can you write 56 as product of two numbers such that both are even? Yes, 4 and 14 or 2 and 28. So 56 can be written as a^2 - b^2 in two ways: (9^2 - 5^2) and (15^2 - 13^3). So if you choose 7, 8 from the set, their product can be written in the form a^2 - b^2.

Similarly, 5, 8 will give you the same result.

Hence you get 2 more cases and total probability becomes 4/6 = 2/3.

Whenever you have at least 4 in the product, you can write it as product of two even numbers: give one 2 to one number and the other 2 to the other number to make both even.
If the product is even but not a multiple of 4, it cannot be written as product of two even numbers or product of two odd numbers. It can only be written as product of one even and one odd number.
If the product is odd, it can always be written as product of two odd numbers.

Check: https://anaprep.com/number-properties-a ... m-product/
avatar
smaheswar
Joined: 05 Aug 2014
Last visit: 25 Dec 2020
Posts: 1
Own Kudos:
12
 [12]
Given Kudos: 1
Posts: 1
Kudos: 12
 [12]
7
Kudos
Add Kudos
5
Bookmarks
Bookmark this Post
Here is the solution with easy steps:

a^2 - b^2 = (a-b)(a+b)

Now we need to find all possible combinations of two numbers from the set {2, 5, 7, 8 } which can be expressed as (a-b)(a+b)

Let say x =a-b and y = a+b, therefore x+y = 2a and y-x = 2b, so you need to have two numbers x and y whose sum and difference should be even number.

How many are there from the set {2, 5, 7, 8} ? 8 + 2 = 10 , 8 - 2 = 6, 7 - 5 = 2 , 7 + 5 = 12 . So there are two pairs (8,2) and (7,5) which can be expressed as a^2 - b^2.

Therefore, the probability that their product will be of the form a^2 – b^2 = 2/total two numbers combination = 2/4 Chose 2 = 2/3

Ans is option (A)
User avatar
ronr34
Joined: 08 Apr 2012
Last visit: 10 Oct 2014
Posts: 248
Own Kudos:
250
 [1]
Given Kudos: 58
Posts: 248
Kudos: 250
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
VeritasPrepKarishma


The question is not so much as whether both the numbers are even or both are odd as whether the product of the numbers can be written as product of two even numbers or two odd numbers.

Two numbers are chosen and multiplied. Now they have lost their individual identity. Now you focus on the product and find whether it can be written as product of two numbers which are both odd or both even. Say you took two number 7 and 8 and multiplied them. You get 56. Can you write 56 as product of two numbers such that both are even? Yes, 4 and 14 or 2 and 28. So 56 can be written as a^2 - b^2 in two ways: (9^2 - 5^2) and (15^2 - 13^3). So if you choose 7, 8 from the set, their product can be written in the form a^2 - b^2.

Similarly, 5, 8 will give you the same result.

Hence you get 2 more cases and total probability becomes 4/6 = 2/3.

Whenever you have at least 4 in the product, you can write it as product of two even numbers: give one 2 to one number and the other 2 to the other number to make both even.
If the product is even but not a multiple of 4, it cannot be written as product of two even numbers or product of two odd numbers. It can only be written as product of one even and one odd number.
If the product is odd, it can always be written as product of two odd numbers.
Hi Karishma,
Can you elaborate a little more?
Why are we looking for 2 numbers that are either both even or both odd?
Also, how did you know to stop at (9^2 - 5^2) and (15^2 - 13^3) and not look for more?
Thanks,
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
77,001
 [11]
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
 [11]
8
Kudos
Add Kudos
3
Bookmarks
Bookmark this Post
ronr34

Hi Karishma,
Can you elaborate a little more?
Why are we looking for 2 numbers that are either both even or both odd?
Also, how did you know to stop at (9^2 - 5^2) and (15^2 - 13^3) and not look for more?
Thanks,

That's a good question. You should understand this concept well. That is why I have written a detailed post on it on my blog:
https://anaprep.com/number-properties-a ... m-product/

Check it out and get back to me if any doubts remain.
User avatar
bsmith37
Joined: 07 Sep 2014
Last visit: 14 Jan 2015
Posts: 13
Own Kudos:
25
 [17]
Given Kudos: 6
Location: United States (MA)
Concentration: Finance, Economics
Posts: 13
Kudos: 25
 [17]
5
Kudos
Add Kudos
11
Bookmarks
Bookmark this Post
not sure if its been discussed, but a valuable property to know is that ANY non-prime odd number, or multiple of 4, can be written as a difference of squares using integers. 21 = (5+2)(5-2) 15 = (4+1)(4-1) etc. try it out.

therefore, we can see that out of our 6 possible outcomes, only 4 will be either odd (5 x 7) or multiples of 4 (8 x each other #). so answer = 4/6=2/3
User avatar
mathivanan
Joined: 10 Jun 2015
Last visit: 20 Sep 2015
Posts: 84
Own Kudos:
77
 [3]
Posts: 84
Kudos: 77
 [3]
3
Kudos
Add Kudos
Bookmarks
Bookmark this Post
MitDavidDv
If two integers are chosen at random out of the set {2, 5, 7, 8}, what is the probability that their product will be of the form a^2 – b^2, where a and b are both positive integers?

A. 2/3
B. 1/2
C. 1/3
D. 1/4
E. 1/6

Shalom! I am currently studying the probability chapter of the Manhattan GMAT Word Translations book. I am looking forward to the different outcomes and answers.
answer is (A)
the product set=(10, 14, 16, 35, 40, and 56)
16=8x2=(5+3)(5-3); (8-2)/2 =3
35=7x5=(6+1)(6-1); (7-5)/2 = 1
40=10x4=(7+3)(7-3)
56=14x4=(9+5)(9-5)
you got the pattern.
User avatar
sam7
Joined: 17 Nov 2015
Last visit: 02 May 2022
Posts: 4
Own Kudos:
6
 [6]
Given Kudos: 1
Location: India
Concentration: Entrepreneurship, General Management
Schools: ISB '17
GMAT 1: 750 Q40 V35
GPA: 3.73
WE:Business Development (Energy)
Schools: ISB '17
GMAT 1: 750 Q40 V35
Posts: 4
Kudos: 6
 [6]
5
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
Set = (2,5,7,8)
Let the product of two numbers to be selected from given set be x * y
Thus, x*y = a^2-b^2 = (a+b)*(a-b)
x = a + b
y = a - b
Solving these equations we get
x + y = 2a
x - y = 2b
therefore the two numbers we select must have summation & difference, an even number.
Amongst the 6 cases,
(2 , 5 ) -> difference is odd
(2 , 7) -> difference is odd
(2 , 8) -> summation & difference is even
(5 , 7) -> summation & difference is even
(5 , 8) -> this can be also expressed as 10 * 4 -> summation & difference is even
(7 , 8) -> this can be also expressed as 14 * 4 -> summation & difference is even

So out of 6 cases, 4 satisfy the equation
Therefore the required probablity = 4/6 = 2/3
User avatar
vitaliyGMAT
Joined: 13 Oct 2016
Last visit: 26 Jul 2017
Posts: 297
Own Kudos:
875
 [1]
Given Kudos: 40
GPA: 3.98
Posts: 297
Kudos: 875
 [1]
Kudos
Add Kudos
1
Bookmarks
Bookmark this Post
The number can be written as difference of 2 squares only in two cases: when it’s odd or in case when it’s even - it should be a multiple of 4 (even number can be represented as 2x, putting this to the formulae of difference of squares we’ll have common factor of 4). Now let’s make different cases depending on the first number chosen.
If the first number was chosen to be 2 (probability ¼). The only number, that will satisfy the given condition will be 8 (probability 1/3) Resulting product (1/4)*(1/3)=1/12
Next cases will be following:
First number chosen - 5(prob ¼), numbers that satisfy given condition – 7,8 (prob 2/3) result (1/4)*(2/3)=2/12
First number chosen - 7(prob ¼), numbers that satisfy given condition – 5,8 (prob 2/3) result (1/4)*(2/3)=2/12
First number chosen - 8(prob ¼), numbers that satisfy given condition –2, 7,5 (prob 1= 3/3) result (1/4)*(3/3)=3/12
Cases are independent so summing up all partial results we’ll get :
1/12+2/12+2/12+3/12=8/12=2/3
Answer A
avatar
bazu
Joined: 17 Aug 2016
Last visit: 06 Apr 2020
Posts: 37
Own Kudos:
Given Kudos: 81
Posts: 37
Kudos: 15
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma
ronr34

Hi Karishma,
Can you elaborate a little more?
Why are we looking for 2 numbers that are either both even or both odd?
Also, how did you know to stop at (9^2 - 5^2) and (15^2 - 13^3) and not look for more?
Thanks,

That's a good question. You should understand this concept well. That is why I have written a detailed post on it on my blog:
https://www.gmatclub.com/forum/veritas-prep-resource-links-no-longer-available-399979.html#/2014/04 ... at-part-i/

Check it out and get back to me (on the blog or here) if any doubts remain.

Hi Karishma, your blog is awesome, as it is your explanation to this problem.

My only doubt is with regards to the number 4. You said it is sufficient that we have the number for to be able to write the product of 2 integers in the form a^2-b^2.
But this doesn't seem to work if I select 1 and 4. It looks to me this is the only case it doesn't work. Am I right?

Thanks
User avatar
KarishmaB
Joined: 16 Oct 2010
Last visit: 19 Nov 2025
Posts: 16,267
Own Kudos:
Given Kudos: 482
Location: Pune, India
Expert
Expert reply
Active GMAT Club Expert! Tag them with @ followed by their username for a faster response.
Posts: 16,267
Kudos: 77,001
Kudos
Add Kudos
Bookmarks
Bookmark this Post
bazu
VeritasPrepKarishma
ronr34

Hi Karishma,
Can you elaborate a little more?
Why are we looking for 2 numbers that are either both even or both odd?
Also, how did you know to stop at (9^2 - 5^2) and (15^2 - 13^3) and not look for more?
Thanks,

That's a good question. You should understand this concept well. That is why I have written a detailed post on it on my blog:
https://www.gmatclub.com/forum/veritas-prep-resource-links-no-longer-available-399979.html#/2014/04 ... at-part-i/

Check it out and get back to me (on the blog or here) if any doubts remain.

Hi Karishma, your blog is awesome, as it is your explanation to this problem.

My only doubt is with regards to the number 4. You said it is sufficient that we have the number for to be able to write the product of 2 integers in the form a^2-b^2.
But this doesn't seem to work if I select 1 and 4. It looks to me this is the only case it doesn't work. Am I right?

Thanks

We need 4 in the product to be able to write the product as the product of two even numbers.

Say the product is 4. You can write it as 2*2 (both even)
Say the product is 4*3 = 12. You can write it as 2*6 (both even)
avatar
bazu
Joined: 17 Aug 2016
Last visit: 06 Apr 2020
Posts: 37
Own Kudos:
15
 [1]
Given Kudos: 81
Posts: 37
Kudos: 15
 [1]
Kudos
Add Kudos
Bookmarks
Bookmark this Post
VeritasPrepKarishma
bazu
VeritasPrepKarishma


That's a good question. You should understand this concept well. That is why I have written a detailed post on it on my blog:
https://www.gmatclub.com/forum/veritas-prep-resource-links-no-longer-available-399979.html#/2014/04 ... at-part-i/

Check it out and get back to me (on the blog or here) if any doubts remain.

Hi Karishma, your blog is awesome, as it is your explanation to this problem.

My only doubt is with regards to the number 4. You said it is sufficient that we have the number for to be able to write the product of 2 integers in the form a^2-b^2.
But this doesn't seem to work if I select 1 and 4. It looks to me this is the only case it doesn't work. Am I right?

Thanks

We need 4 in the product to be able to write the product as the product of two even numbers.

Say the product is 4. You can write it as 2*2 (both even)
Say the product is 4*3 = 12. You can write it as 2*6 (both even)


But the in then case of 2*2, how can i write the product in the form a^2-b^2? Apologies for the silly question, but I can't find an answer...
 1   2   
Moderators:
Math Expert
105390 posts
Tuck School Moderator
805 posts