Don’t worry, we are not going to discuss (Even + Even = Even) and (Odd + Odd = Even) type of basic number properties in this post. What we have in mind for today is something based on this but far more advanced. Often, people complain that they thoroughly understand the theory but have difficulties applying it and hence are stuck at a score of 600. They look for practice questions and tend to ignore concepts since they already “know” them. We often ask them to go back to concepts since we believe that a strong foundation of concepts is necessary for ‘score increase’. Mind you, when we do that, we don’t mean to ask them to review the basic concepts again, we mean to ask them to deduce and work on advanced concepts. Let’s show you with the help of a question.
Question: If two integers are chosen at random out of first 5 positive integers, what is the probability that their product will be of the form , where and are both positive integers?
A.
B.
C.
D.
E.
Solution: This might look like a probability question but isn’t. Questions like these are the reason we ask you to go through basics of every topic including probability. If you do not know probability at all, you may skip this question even though it needs very basic knowledge of probability.
Probability will tell you that
Required probability =
Total cases are very easy to find: or whatever you prefer. This is the number of ways in which you select any 2 distinct numbers out of the given 5 distinct numbers.
Number of favorable cases is the challenge here. That is why it is a number properties question and not so much a probability question. Let’s focus on the main part of the question:
First five positive integers: 1, 2, 3, 4, 5
We need to select two integers such that their product is of the form . What does remind you of? It reminds me of . So the product needs to be of the form . So is it necessary that of the two numbers we pick, one must be of the form and the other must be ? No. Note that we should be able to write the product in this form. It is not necessary that the numbers must be of this form only.
But first let’s focus on numbers which are already of the form and .
Say you pick two numbers, 2 and 5. Are they of the form and such that and are integers? No.
So , .
and are not integers.
What about numbers such as 3 and 5? Are they of the form and such that and are integers? Yes.
Note that whenever the average of the numbers will be an integer, we will be able to write them as and because one number will be some number more than the average and the other will be the same number less than average. So will be the average and the amount more or less will be .
When will the average of two numbers be an integer? When the sum of the two numbers is even! When is the sum of two numbers even? It is when both the numbers are even or when both are odd. So then does the question boil down to “favorable cases are when we select both numbers even or both numbers odd?” Yes and No. When we select both even numbers or both odd numbers, the product can be written as . But are those the only cases when the product can be written as ?
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. We need to be able to write the product (whatever we obtain) as product of two even or two odd numbers.
To explain this, let’s say we pick two numbers 4 and 5
Can we write 20 as product of two even numbers? Yes .
So even though, 4 is even and 5 is odd, their product can be written as product of two even numbers. So in which all cases will this happen?
– 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.
Let’s go back to our question:
We have 5 numbers: 1, 2, 3, 4, 5
Our favorable cases constitute those in which either both numbers are odd or the product has 4 as a factor.
3 Odd numbers: 1, 3, 5
2 Even numbers: 2, 4
Number of cases when both numbers are odd = (select 2 of the 3 odd numbers)
Number of cases when 4 is a factor of the product = Number of cases such that we select 4 and any other number =
Total number of favorable cases = 3 + 4 = 7
Note that this includes the case where we take both even numbers. Had there been more even numbers such as 6, we would have included more cases where we pick both even numbers such as 2 and 6 since their product would have 4 as a factor.
Required Probability =
Answer (C).
Takeaway:
When can we write a number as difference of squares?
– When the number is odd
or
– When the number has 4 as a factor