QlarIITy

MathematicsJEE Main 2025 · 24 JanuarySingle correct

LetA={x∈(0,π)−{π2}:log⁡(2/π)∣sin⁡x∣+log⁡(2/π)∣cos⁡x∣=2}A = \left\{x \in (0, \pi) - \left\{\frac{\pi}{2}\right\} : \log_{(2/\pi)}|\sin x| + \log_{(2/\pi)}|\cos x| = 2\right\}andB={x≥0:x(x−4)−3∣x−2∣+6=0}B = \{x \geq 0 : \sqrt{x}(\sqrt{x} - 4) - 3|\sqrt{x} - 2| + 6 = 0\}. Then n(A∪B)n(A \cup B) is equal to :

  1. Option A: 4
  2. Option B: 8
  3. Option C: 6
  4. Option D: 2
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The size of a union is the sum of the sizes less the number of common elements.

Concept refresher. Logarithms to the same base add when their arguments multiply:

log⁡bu+log⁡bv=log⁡buv\log_b u + \log_b v = \log_b uv

and log⁡bw=2\log_b w = 2 means w=b2w = b^2.

Picture the situation. The first equation involves ∣sin⁡x∣|\sin x| and ∣cos⁡x∣|\cos x| under logarithms to the base 2π\dfrac{2}{\pi}, so their product is fixed. The second is an equation in x\sqrt{x} with a modulus, which splits into two cases at x=2\sqrt{x} = 2. The number of elements of the union is the sum of the two sizes less any common elements.

Approach. Solve each equation, count its solutions, and check for common elements.

  1. Step 1: The first set

    Adding the logarithms gives ∣sin⁡xcos⁡x∣=4π2|\sin x\cos x| = \dfrac{4}{\pi^2}, that is ∣sin⁡2x∣=8π2|\sin 2x| = \dfrac{8}{\pi^2}, about 0.81. As xx runs over (0,π)(0, \pi), 2x2x runs over a full turn, where ∣sin⁡2x∣|\sin 2x| takes this value 4 times. So AA has 4 elements.

  2. Step 2: The second set

    With t=xt = \sqrt{x} the equation is t2−4t−3∣t−2∣+6=0t^2 - 4t - 3|t - 2| + 6 = 0. For t≥2t \geq 2 it is t2−7t+12=0t^2 - 7t + 12 = 0, so t=3t = 3 or 4. For t<2t < 2 it is t2−t=0t^2 - t = 0, so t=0t = 0 or 1. Hence B={0,1,9,16}B = \{0, 1, 9, 16\}.

  3. Step 3: The union

    Of the elements of BB only 1 lies in (0,π)(0, \pi), and ∣sin⁡2∣|\sin 2| is about 0.91, not 0.81. So the sets have no common element, and n(A∪B)=4+4=8n(A \cup B) = 4 + 4 = 8.

Answer. (B) 8

Sanity check. None of the four solutions of the first equation is π2\dfrac{\pi}{2}, since sin⁡π=0\sin\pi = 0, so the excluded point costs nothing.

Why the other options are wrong

  • (A) The value 4 counts only one of the two sets; each has 4 elements.
  • (C) The value 6 would need only 2 solutions of the trigonometric equation, but ∣sin⁡2x∣|\sin 2x| takes the value 4 times in a full turn.
  • (D) The value 2 is far short: the second equation alone has the 4 solutions 0, 1, 9 and 16.

Key takeaway

The trap. The modulus of a sine takes a value between 0 and 1 four times in a full turn.

How toppers think. They replace the square root by a new variable and split at the point where the modulus changes.

Remember. ∣sin⁡2x∣=8π2|\sin 2x| = \dfrac{8}{\pi^2}

More on Set Operations & Venn Diagrams