QlarIITy

MathematicsIIT-JEE 1998Single correct

The number of values of xx, where the function f(x)=cos⁡x+cos⁡(2x)f(x) = \cos x + \cos(\sqrt{2}x) attains its maximum is

  1. Option A: 0
  2. Option B: 1
  3. Option C: 2
  4. Option D: infinite
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. A sum of two cosines reaches its maximum value 22 only where both cosines equal 11 at the same xx.

Concept refresher. cos⁡θ≤1\cos\theta \le 1, with equality exactly when θ=2kπ\theta = 2k\pi, k∈Zk \in \mathbb{Z}. A sum of two cosines reaches 22 only where both equal 11 at once.

Approach. Use the bound f(x)≤2f(x) \le 2, find when equality holds, and use the irrationality of 2\sqrt{2}.

  1. Step 1: Upper bound

    f(x)=cos⁡x+cos⁡(2x)≤1+1=2f(x) = \cos x + \cos(\sqrt{2}x) \le 1 + 1 = 2

    and f(0)=2f(0) = 2, so the maximum value is 22.

  2. Step 2: When is f(x)=2f(x) = 2?

    Both terms must equal 11: x=2mπx = 2m\pi and 2x=2nπ\sqrt{2}x = 2n\pi for integers m,nm, n.

  3. Step 3: Use irrationality

    If m≠0m \ne 0, dividing gives 2=nm\sqrt{2} = \frac{n}{m}, a rational number, which is impossible. So m=0m = 0, i.e. x=0x = 0 is the only point where the maximum is attained.

Answer. (B)

Why the other options are wrong

  • (A) the maximum value 22 is attained at x=0x = 0, so the count is not zero.
  • (C) there is no second point: any other common point would make 2\sqrt{2} rational.
  • (D) ff is not periodic, since the periods 2π2\pi and 2π\sqrt{2}\pi have an irrational ratio, so the maximum does not repeat.

Key takeaway

The trap. Students assume the maximum repeats periodically, but x=2mπx=2m\pi and 2x=2kπ\sqrt{2}x=2k\pi together force 2=km\sqrt{2}=\frac{k}{m}, which is impossible unless x=0x=0.

How toppers think. They turn the maximum condition into two simultaneous equations and use the irrationality of 2\sqrt{2} to rule out every point except x=0x=0.

Remember. cos⁡x+cos⁡kx\cos x+\cos kx is periodic only for rational kk; for irrational kk the value 22 is attained only at x=0x=0.

More on Maxima & Minima