QlarIITy

MathematicsJEE Main 2024 · 9 AprilInteger

Let A={2,3,6,7}A = \{2, 3, 6, 7\} and B={4,5,6,8}B = \{4, 5, 6, 8\}. Let RR be a relation defined on A×BA \times B by (a1,b1)R(a2,b2)(a_1, b_1)R(a_2, b_2) if and only if a1+a2=b1+b2a_1 + a_2 = b_1 + b_2. Then the number of elements in RR is ______

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A condition that equates two sums is counted by tabulating the sums on each side.

Concept refresher. If the value ss arises from psp_s ordered pairs of one kind and from qsq_s ordered pairs of another kind, the number of ways of matching equal values is

N=∑spsqsN = \sum_s p_s q_s

Picture the situation. An element of RR is a pair of pairs ((a1,b1),(a2,b2))((a_1, b_1), (a_2, b_2)) with a1+a2=b1+b2a_1 + a_2 = b_1 + b_2. So it is fixed by an ordered pair (a1,a2)(a_1, a_2) from AA and an ordered pair (b1,b2)(b_1, b_2) from BB with the same sum. The two elements of a pair may be equal.

Approach. Tabulate the sums of ordered pairs from each set and multiply the counts for equal sums.

  1. Step 1: Sums from the first set

    Ordered pairs from A={2,3,6,7}A = \{2, 3, 6, 7\} give the sum 8 in 2 ways, 9 in 4 ways, 10 in 2 ways, 12 in 1 way, 13 in 2 ways and 14 in 1 way; the sums 4, 5 and 6 also occur.

  2. Step 2: Sums from the second set

    Ordered pairs from B={4,5,6,8}B = \{4, 5, 6, 8\} give the sum 8 in 1 way, 9 in 2 ways, 10 in 3 ways, 12 in 3 ways, 13 in 2 ways and 14 in 2 ways; the sums 11 and 16 also occur.

  3. Step 3: The count

    Multiplying the counts for each common sum gives 2+8+6+3+4+2=252 + 8 + 6 + 3 + 4 + 2 = 25 elements.

Answer. 25

Sanity check. Each set gives 16 ordered pairs in all: the six common sums account for 12 of them from AA and 13 from BB.

Common wrong answers

  • 9: Counting unordered pairs on each side gives 1+2+2+2+1+1=91 + 2 + 2 + 2 + 1 + 1 = 9; the pairs in the relation are ordered.

Key takeaway

The trap. The same element may be used twice in a pair, and the order of a pair matters.

How toppers think. They list the sums in a small table before multiplying.

Remember. 2+8+6+3+4+2=252 + 8 + 6 + 3 + 4 + 2 = 25

More on Relations