QlarIITy

MathematicsJEE Main 2022 · 25 JulySingle correct

The number of solutions of ∣cos⁡x∣=sin⁡x|\cos x| = \sin x, such that −4π≤x≤4π-4\pi \leq x \leq 4\pi is

  1. Option A: 4
  2. Option B: 6
  3. Option C: 8
  4. Option D: 12
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. An equation with a modulus on one side forces the other side to be non-negative before squaring.

Concept refresher. For every real number uu the modulus is non-negative,

∣u∣≥0|u| \geq 0

and ∣u∣2=u2|u|^2 = u^2.

Picture the situation. By the refresher ∣cos⁡x∣≥0|\cos x| \geq 0, so a solution needs sin⁡x≥0\sin x \geq 0. Squaring then gives cos⁡2x=sin⁡2x\cos^2 x = \sin^2 x, that is tan⁡2x=1\tan^2 x = 1.

One period, from 0 to 2π, of the thin curve sin x and the thick curve |cos x|, which never goes below the axis. They cross at two points, at π/4 and 3π/4, both where sin x is positive.

Approach. Find the solutions in one period, then count the periods.

  1. Step 1: One period

    In [0,2π)[0, 2\pi) the angles with tan⁡2x=1\tan^2 x = 1 are π4\dfrac{\pi}{4}, 3π4\dfrac{3\pi}{4}, 5π4\dfrac{5\pi}{4} and 7π4\dfrac{7\pi}{4}, and only the first two have a positive sine. So each period holds 2 solutions.

  2. Step 2: The whole interval

    The interval from −4π-4\pi to 4π4\pi is four periods long, and at its ends sin⁡x=0\sin x = 0 while ∣cos⁡x∣=1|\cos x| = 1, so the ends are not solutions. The number of solutions is 4×2=84 \times 2 = 8.

Answer. (C) 8

Sanity check. At x=π4x = \dfrac{\pi}{4} both sides equal 12\dfrac{1}{\sqrt{2}}, and at x=5π4x = \dfrac{5\pi}{4} the left side is 12\dfrac{1}{\sqrt{2}} but the right side is −12-\dfrac{1}{\sqrt{2}}, so that angle is rightly rejected.

Why the other options are wrong

  • (A) The value 4 counts one solution in each period, but both π4\dfrac{\pi}{4} and 3π4\dfrac{3\pi}{4} work.
  • (B) The value 6 would fit three periods; the interval from −4π-4\pi to 4π4\pi holds four.
  • (D) The value 12 would need three solutions in each period; only two angles have a positive sine and tan⁡2x=1\tan^2 x = 1.

Key takeaway

The trap. Squaring alone would also admit the angles where the sine is negative.

How toppers think. They sketch the two graphs over one period and count the crossings.

Remember. sin⁡x≥0\sin x \geq 0 and tan⁡2x=1\tan^2 x = 1

More on Trigonometric Equations