Set operations and subsets: JEE Main PYQ with Solutions
29 questions on Set operations and subsets from the Sets and Relations chapter, newest first. Open "Show answer and solution" under a question to check your work.
Let S be the set of the first 11 natural numbers. Then the number of elements in A={B⊆S:n(B)≥2 and the product of all elements of B is even} is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 1979 (exact integer)
Subsets with at least 2 elements: 211−1−11=2036. The product is odd only when every element is odd; S has 6 odd numbers, giving 26−1−6=57 such subsets with at least 2 elements. So 2036−57=1979 subsets have an even product.
A: 4≤x2≤16, so A=[−4,−2]∪[2,4]. B=(−∞,1)∪(3,∞). Removing A from B leaves (−∞,−4)∪(−2,1)∪(4,∞), which is option B. The others have wrong end points: A∪B=(−∞,1)∪[2,∞), A−B=[2,3] and A∩B=[−4,−2]∪(3,4].
Let A={x∈(0,π)−{2π}:log(2/π)∣sinx∣+log(2/π)∣cosx∣=2} and B={x≥0:x(x−4)−3∣x−2∣+6=0}. Then n(A∪B) is equal to :
A4
B8
C6
D2
Show answer and solution
Answer: (B)
A: ∣sinxcosx∣=π24, so ∣sin2x∣=π28≈0.81. For 2x in (0,2π) this has 4 solutions, so n(A)=4. B: put t=x. For t≥2: t2−7t+12=0, t=3,4. For t<2: t2−t=0, t=0,1. So B={0,1,9,16}. The only member of B inside (0,π) is 1, and ∣sin2∣≈0.91, so it is not in A. Hence n(A∪B)=8.
Let A={(x,y)∈R×R:∣x+y∣≥3} and B={(x,y)∈R×R:∣x∣+∣y∣≤3}. If C={(x,y)∈A∩B:x=0 or y=0}, then ∑(x,y)∈C∣x+y∣ is :
A15
B24
C18
D12
Show answer and solution
Answer: (D)
On an axis one coordinate is zero, so ∣x+y∣=∣x∣+∣y∣. Being in A needs this to be at least 3 and being in B needs it to be at most 3, so it equals 3. That gives four points: (3,0),(−3,0),(0,3),(0,−3). Each has ∣x+y∣=3, so the sum is 12.
Let A={1,2,3,…,10} and B={nm:m,n∈A,m<n and gcd(m,n)=1}. Then n(B) is equal to :
A36
B31
C37
D29
Show answer and solution
Answer: (B)
For each denominator n count the m<n coprime to n. For n=2,3,…,10 the counts are 1,2,2,4,2,6,4,6,4. Fractions in lowest terms are all different, so n(B)=31.
Let the set S={2,4,8,16,…,512} be partitioned into 3 sets A, B, C with equal number of elements such that A∪B∪C=S and A∩B=B∩C=A∩C=ϕ. The maximum number of such possible partitions of S is equal to:
A1680
B1640
C1520
D1710
Show answer and solution
Answer: (A)
S={21,…,29} has 9 elements, so each of A, B, C gets 3. Choose 3 for A, then 3 of the remaining 6 for B; the rest go to C: (39)(36)=84×20=1680.
Let A and B be two finite sets with m and n elements respectively. The total number of subsets of the set A is 56 more than the total number of subsets of B. Then the distance of the point P(m,n) from the point Q(−2,−3) is
A10
B6
C4
D8
Show answer and solution
Answer: (A)
2m−2n=56=8×7, so 2n(2m−n−1)=23×7: n=3 and m−n=3, so m=6. Then PQ=(6+2)2+(3+3)2=100=10.
The number of elements in the set {n∈N:10≤n≤100 and 3n−3 is a multiple of 7} is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 15 (exact integer)
The powers of 3 leave remainders 3,2,6,4,5,1 on division by 7 and then repeat with period 6. So 3n leaves remainder 3 exactly when n leaves remainder 1 on division by 6. From 10 to 100 these are 13,19,…,97: 697−13+1=15 numbers.
Let the number of elements in sets A and B be five and two respectively. Then the number of subsets of A×B each having at least 3 and at most 6 elements is
A752
B782
C792
D772
Show answer and solution
Answer: (C)
A×B has 5×2=10 elements. Subsets with 3, 4, 5 or 6 elements: (310)+(410)+(510)+(610)=120+210+252+210=792.
Let A={x∈R:[x+3]+[x+4]≤3}, B={x∈R:3x(∑r=1∞10r3)x−3<3−3x}, where [t] denotes greatest integer function. Then,
AB⊂A,A=B
BA∩B=ϕ
CA⊂B,A=B
DA=B
Show answer and solution
Answer: (D)
A: [x+3]+[x+4]=2[x]+7≤3 gives [x]≤−2, that is x<−1. B: the sum is a geometric series equal to 1−1/103/10=31, so the left side is 3x⋅3−(x−3)=27. Then 33<3−3x gives x<−1. Both sets are (−∞,−1), so A=B.
Let S={x∈[−6,3]−{−2,2}:∣x∣−2∣x+3∣−1≥0} and T={x∈Z:x2−7∣x∣+9≤0}. Then the number of elements in S∩T is
A7
B5
C4
D3
Show answer and solution
Answer: (D)
For T: ∣x∣ lies between 27−13≈1.7 and 27+13≈5.3, so x=±2,±3,±4,±5. Those inside [−6,3] other than ±2 are −5,−4,−3,3. Test the fraction: at −5 it is 31, at −4 it is 0, at −3 it is −1, at 3 it is 5. So S∩T={−5,−4,3}, with 3 elements.
Let A={1,2,3,4,5,6,7}. Define B={T⊆A:either 1∈/T or 2∈T} and C={T⊆A:the sum of all the elements of T is a prime number}. Then the number of elements in the set B∪C is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 107 (exact integer)
Count the complement: subsets outside both B and C contain 1, do not contain 2, and have a non-prime sum. Such a T is {1} plus a subset of {3,4,5,6,7} with sum s where s+1 is not prime. By size of that subset the counts are 1 (empty), 3, 7, 6, 3 and 1 (all five), total 21. So n(B∪C)=27−21=107.
Let A={1,a1,a2,…,a18,77} be a set of integers with 1<a1<a2<…<a18<77. Let the set A+A={x+y:x,y∈A} contain exactly 39 elements. Then, the value of a1+a2+…+a18 is equal to ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 702 (exact integer)
The sums 1+1<1+a1<…<1+77<a1+77<…<77+77 are already 20+19=39 different values. So every other sum must repeat one of these, which happens only when the 20 numbers are in arithmetic progression. Then 77=1+19d gives d=4, and a1,…,a18 are 5,9,…,73. Their sum is 218(5+73)=702.
Let A={n∈N:H.C.F.(n,45)=1} and let B={2k:k∈{1,2,…,100}}. Then the sum of all the elements of A∩B is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 5264 (exact integer)
We need the even numbers up to 200 divisible by neither 3 nor 5. Sum of the even numbers: 2×5050=10100. Multiples of 6: 6×233×34=3366. Multiples of 10: 10×220×21=2100. Multiples of 30: 30×21=630. Required sum =10100−3366−2100+630=5264.
Let A={x∈R:∣x+1∣<2} and B={x∈R:∣x−1∣≥2}. Then which one of the following statements is NOT true?
AA−B=(−1,1)
BB−A=R−(−3,1)
CA∩B=(−3,−1]
DA∪B=R−[1,3)
Show answer and solution
Answer: (B)
A=(−3,1) and B=(−∞,−1]∪[3,∞). Then A−B=(−1,1), A∩B=(−3,−1] and A∪B=(−∞,1)∪[3,∞)=R−[1,3) are all true. But B−A=(−∞,−3]∪[3,∞)=R−(−3,3), not R−(−3,1). So B is not true.
The sum of all the elements of the set {α∈{1,2,…,100}:HCF(α,24)=1} is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 1633 (exact integer)
24=23×3, so we need the numbers up to 100 divisible by neither 2 nor 3. Sum of all: 5050. Multiples of 2: 2550. Multiples of 3: 3×233×34=1683. Multiples of 6: 6×216×17=816. Required sum =5050−2550−1683+816=1633.
If A={x∈R:∣x−2∣>1}, B={x∈R:x2−3>1}, C={x∈R:∣x−4∣≥2} and Z is the set of all integers, then the number of subsets of the set (A∩B∩C)c∩Z is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 256 (exact integer)
A=(−∞,1)∪(3,∞), B=(−∞,−2)∪(2,∞) and C=(−∞,2]∪[6,∞). Their intersection is (−∞,−2)∪[6,∞), so the complement is [−2,6). Its integers are −2,−1,0,1,2,3,4,5: 8 of them. The number of subsets is 28=256.
Let A={n∈N∣n2≤n+10,000}, B={3k+1∣k∈N} and C={2k∣k∈N}, then the sum of all the elements of the set A∩(B−C) is equal to ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 832 (exact integer)
n(n−1)≤10000 holds up to n=100 (100×99=9900) and fails at 101, so A={1,…,100}. B−C is the odd numbers of the form 3k+1 with k≥1: 7,13,19,…. Up to 100 these are 7,13,…,97, which is 16 terms. Their sum is 216(7+97)=832.
Let A={n∈N:n is a 3-digit number}, B={9k+2:k∈N} and C={9k+l:k∈N} for some l(0<l<9). If the sum of all the elements of the set A∩(B∪C) is 274×400, then l is equal to ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 5 (exact integer)
The 3-digit numbers that leave remainder l on division by 9 are 99+l,108+l,…: 100 numbers with sum 100(99+l)+9×4950=54450+100l. For B (l=2) the sum is 54650. The target is 109600, more than B alone, so l=2 and the two sets are disjoint: 54650+54450+100l=109600. So l=5.
Set A has m elements and set B has n elements. If the total number of subsets of A is 112 more than the total number of subsets of B, then the value of m⋅n is ______.
Numerical answer. Work it out before you open the answer.
Show answer and solution
Answer: 28 (exact integer)
2m−2n=112, so 2n(2m−n−1)=16×7. The odd factor must be 7, so 2n=16 and 2m−n=8: n=4, m=7. Then m⋅n=28.
A=(−2,2) and B=(−∞,−1]∪[5,∞). Then B−A=(−∞,−2]∪[5,∞)=R−(−2,5), which is option B. The others miss an end point: A∩B=(−2,−1], A∪B=R−[2,5) and A−B=(−1,2).
Let A, B and C be sets such that ϕ=A∩B⊆C. Then which of the following statements is not true?
AB∩C=ϕ
B(C∪A)∩(C∪B)=C
CIf (A−B)⊆C, then A⊆C
DIf (A−C)⊆B, then A⊆B
Show answer and solution
Answer: (D)
A: the non-empty set A∩B lies in both B and C, so B∩C=ϕ. B: (C∪A)∩(C∪B)=C∪(A∩B)=C. C: A=(A−B)∪(A∩B) and both parts lie in C. D fails: take A=C={1,2} and B={1}; then A−C=ϕ⊆B but A is not a subset of B. So D is not true.
Let Z be the set of integers. If A={x∈Z:2(x+2)(x2−5x+6)=1} and B={x∈Z:−3<2x−1<9}, then the number of subsets of the set A×B, is :
A212
B210
C218
D215
Show answer and solution
Answer: (D)
The power of 2 equals 1 only when the exponent is zero: (x+2)(x−2)(x−3)=0, so A={−2,2,3}. For B: −1<x<5, so B={0,1,2,3,4}. Then A×B has 3×5=15 elements and 215 subsets.
If X={4n−3n−1:n∈N} and Y={9(n−1):n∈N}, where N is the set of natural numbers, then X∪Y is equal to
AX
BY
CN
DY−X
Show answer and solution
Answer: (B)
4n=(1+3)n=1+3n+9((2n)+3(3n)+…), so 4n−3n−1 is always a multiple of 9 (it is 0 for n=1). Y is the set of all non-negative multiples of 9. So X⊆Y and X∪Y=Y.