Skip to main content
Back to Sets, Relations & Functions
JEE Main 2024
Sets, Relations & Functions
Sets and Relations
Medium

Question

Let R 1 and R 2 be relations on the set {1, 2, ......., 50} such that R 1 = {(p, p n ) : p is a prime and n \ge 0 is an integer} and R 2 = {(p, p n ) : p is a prime and n = 0 or 1}. Then, the number of elements in R 1 - R 2 is _______________.

Answer: 1

Solution

Key Concepts and Formulas

  • Set Difference: For two sets AA and BB, AB={xxA and xB}A - B = \{x \mid x \in A \text{ and } x \notin B\}. In the context of relations, R1R2R_1 - R_2 contains ordered pairs that are in R1R_1 but not in R2R_2.
  • Relation on a Set: A relation RR on a set SS is a subset of S×SS \times S. This means for any pair (a,b)R(a, b) \in R, both aa and bb must belong to SS.
  • Prime Numbers: A natural number greater than 1 that has no positive divisors other than 1 and itself.

Step-by-Step Solution

Step 1: Understand the Definitions of R1R_1 and R2R_2 and the Universal Set

The universal set is A={1,2,,50}A = \{1, 2, \ldots, 50\}. The relations are defined on AA. This means for any pair (x,y)(x, y) to be in R1R_1 or R2R_2, both xx and yy must be elements of AA.

R1={(p,pn)p is a prime and n0 is an integer}R_1 = \{(p, p^n) \mid p \text{ is a prime and } n \ge 0 \text{ is an integer}\} For (p,pn)R1(p, p^n) \in R_1, we must have:

  1. pp is a prime number.
  2. p{1,2,,50}p \in \{1, 2, \ldots, 50\}.
  3. n0n \ge 0 is an integer.
  4. pn{1,2,,50}p^n \in \{1, 2, \ldots, 50\}, which implies pn50p^n \le 50.

R2={(p,pn)p is a prime and n=0 or 1}R_2 = \{(p, p^n) \mid p \text{ is a prime and } n = 0 \text{ or } 1\} For (p,pn)R2(p, p^n) \in R_2, we must have:

  1. pp is a prime number.
  2. p{1,2,,50}p \in \{1, 2, \ldots, 50\}.
  3. n=0n=0 or n=1n=1.
  4. pn{1,2,,50}p^n \in \{1, 2, \ldots, 50\}, which implies pn50p^n \le 50.

Step 2: Determine the Conditions for Elements in R1R2R_1 - R_2

We are looking for elements (p,pn)(p, p^n) such that (p,pn)R1(p, p^n) \in R_1 and (p,pn)R2(p, p^n) \notin R_2. This means the pair must satisfy the conditions for R1R_1 but not the conditions for R2R_2.

The conditions for (p,pn)R1R2(p, p^n) \in R_1 - R_2 are:

  1. pp is a prime number.
  2. p{1,2,,50}p \in \{1, 2, \ldots, 50\}.
  3. n0n \ge 0 is an integer (from R1R_1).
  4. pn{1,2,,50}p^n \in \{1, 2, \ldots, 50\} (from R1R_1).
  5. It is NOT the case that (n=0n=0 or n=1n=1) (from R2R_2). This implies nn must be an integer such that n2n \ge 2.

So, we need to find pairs (p,pn)(p, p^n) where pp is a prime number, p50p \le 50, nn is an integer with n2n \ge 2, and pn50p^n \le 50.

Step 3: List all Prime Numbers p50p \le 50

The prime numbers less than or equal to 50 are: P={2,3,5,7,11,13,17,19,23,29,31,37,41,43,47}P = \{2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47\}. There are 15 such primes.

Step 4: Enumerate the Pairs (p,pn)(p, p^n) satisfying the conditions for R1R2R_1 - R_2

We check each prime pp for possible values of n2n \ge 2 such that pn50p^n \le 50.

  • For p=2p=2: We need 2n502^n \le 50 with n2n \ge 2.

    • n=2:22=450n=2: 2^2 = 4 \le 50. Pair: (2,4)(2, 4).
    • n=3:23=850n=3: 2^3 = 8 \le 50. Pair: (2,8)(2, 8).
    • n=4:24=1650n=4: 2^4 = 16 \le 50. Pair: (2,16)(2, 16).
    • n=5:25=3250n=5: 2^5 = 32 \le 50. Pair: (2,32)(2, 32).
    • n=6:26=64>50n=6: 2^6 = 64 > 50. No more values for nn. There are 4 pairs for p=2p=2.
  • For p=3p=3: We need 3n503^n \le 50 with n2n \ge 2.

    • n=2:32=950n=2: 3^2 = 9 \le 50. Pair: (3,9)(3, 9).
    • n=3:33=2750n=3: 3^3 = 27 \le 50. Pair: (3,27)(3, 27).
    • n=4:34=81>50n=4: 3^4 = 81 > 50. No more values for nn. There are 2 pairs for p=3p=3.
  • For p=5p=5: We need 5n505^n \le 50 with n2n \ge 2.

    • n=2:52=2550n=2: 5^2 = 25 \le 50. Pair: (5,25)(5, 25).
    • n=3:53=125>50n=3: 5^3 = 125 > 50. No more values for nn. There is 1 pair for p=5p=5.
  • For p=7p=7: We need 7n507^n \le 50 with n2n \ge 2.

    • n=2:72=4950n=2: 7^2 = 49 \le 50. Pair: (7,49)(7, 49).
    • n=3:73=343>50n=3: 7^3 = 343 > 50. No more values for nn. There is 1 pair for p=7p=7.
  • For p11p \ge 11: For any prime p11p \ge 11, the smallest possible value for n2n \ge 2 is n=2n=2.

    • If p=11p=11, p2=112=121>50p^2 = 11^2 = 121 > 50. Since 112>5011^2 > 50, for any prime p>11p > 11 and any n2n \ge 2, pnp^n will also be greater than 50. Therefore, there are no pairs for primes p11p \ge 11.

Step 5: Count the Total Number of Elements in R1R2R_1 - R_2

The total number of elements in R1R2R_1 - R_2 is the sum of the counts for each prime: Number of elements = (Count for p=2p=2) + (Count for p=3p=3) + (Count for p=5p=5) + (Count for p=7p=7) Number of elements = 4+2+1+1=84 + 2 + 1 + 1 = 8.

Common Mistakes & Tips

  • Forgetting the pn50p^n \le 50 constraint: This is crucial for defining the actual elements within the given set.
  • Misinterpreting n0n \ge 0 vs. n2n \ge 2: The difference between R1R_1 and R2R_2 lies precisely in the allowed values of nn. Elements in R1R2R_1 - R_2 must have n2n \ge 2.
  • Not checking all primes: While larger primes quickly exceed the bound, it's important to systematically check primes until their squares exceed 50.
  • Including pairs where pn=1p^n=1: The condition pn50p^n \le 50 includes p0=1p^0=1. However, these pairs (p,1)(p, 1) are in R2R_2 (for n=0n=0), so they are not in R1R2R_1 - R_2.

Summary

To find the number of elements in R1R2R_1 - R_2, we identified that these are ordered pairs (p,pn)(p, p^n) where pp is a prime number, p50p \le 50, nn is an integer with n2n \ge 2, and pn50p^n \le 50. By systematically checking each prime number less than or equal to 50, we enumerated all such pairs: (2,4),(2,8),(2,16),(2,32)(2,4), (2,8), (2,16), (2,32) for p=2p=2; (3,9),(3,27)(3,9), (3,27) for p=3p=3; (5,25)(5,25) for p=5p=5; and (7,49)(7,49) for p=7p=7. Summing these counts gives a total of 8 elements.

The final answer is 8\boxed{8}.

Practice More Sets, Relations & Functions Questions

View All Questions