QlarIITy

MathematicsJEE Main 2021 · 26 FebruaryInteger

The number of integral values of kk for which the equation3sin⁡x+4cos⁡x=k+13\sin x + 4\cos x = k + 1has a solution, k∈Rk \in \mathbb{R} is ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. A sum of a sine and a cosine of the same angle swings between minus and plus the root of the sum of the squared coefficients.

Concept refresher. For real aa and bb, the expression asin⁡θ+bcos⁡θa\sin\theta + b\cos\theta takes every value allowed by

∣asin⁡θ+bcos⁡θ∣≤a2+b2|a\sin\theta + b\cos\theta| \leq \sqrt{a^2 + b^2}

Picture the situation. By the refresher 3sin⁡x+4cos⁡x3\sin x + 4\cos x takes every value from −9+16-\sqrt{9 + 16} to 9+16\sqrt{9 + 16}, that is from −5-5 to 5.

The graph of 3 sin x + 4 cos x over one period, a wave that starts at 4, rises to 5, falls to −5 and returns to 4. Dashed lines mark the levels 5 and −5 between which it stays.

Approach. Put k plus one in the range and count the integers.

  1. Step 1: The condition on k

    The equation has a solution exactly when −5≤k+1≤5-5 \leq k + 1 \leq 5, that is when −6≤k≤4-6 \leq k \leq 4.

  2. Step 2: The count

    The integers from −6-6 to 4 number 4−(−6)+14 - (-6) + 1, so there are 11 integral values of kk.

Answer. 11

Sanity check. The end values work: k=4k = 4 needs the left side to equal 5 and k=−6k = -6 needs −5-5, and both are reached.

Common wrong answers

  • 15: Taking the greatest value as 3+4=73 + 4 = 7 gives −8≤k≤6-8 \leq k \leq 6 and 15 values.
  • 10: Counting the integers from −6-6 to 4 as 4−(−6)4 - (-6), without adding 1, gives 10.

Key takeaway

The trap. The sine and the cosine do not reach their greatest values together, so the coefficients are not simply added.

How toppers think. They count both ends of the interval for k.

Remember. −5≤k+1≤5-5 \leq k + 1 \leq 5

More on Properties & Graphs