QlarIITy

MathematicsJEE Main 2021 · 27 JulyInteger

Letf(x)=∣sin⁡2x−2+cos⁡2xcos⁡2x2+sin⁡2xcos⁡2xcos⁡2xsin⁡2xcos⁡2x1+cos⁡2x∣f(x) = \begin{vmatrix} \sin^2 x & -2 + \cos^2 x & \cos 2x \\ 2 + \sin^2 x & \cos^2 x & \cos 2x \\ \sin^2 x & \cos^2 x & 1 + \cos 2x \end{vmatrix}, x∈[0,π]x \in [0, \pi]. Then the maximum value of f(x)f(x) is equal to ______.

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. Subtracting a row that carries all the awkward terms leaves the other rows with numbers only.

Concept refresher. Adding a multiple of one row to another row does not change a determinant, and a common factor of a row can be taken out:

∣kakbcd∣=k∣abcd∣\begin{vmatrix} ka & kb \\ c & d \end{vmatrix} = k\begin{vmatrix} a & b \\ c & d \end{vmatrix}

Picture the situation. The first two rows differ from the third only by the numbers 2 and −2-2 and by the 1 in the last entry. Subtracting the third row from each of them removes every trigonometric term from those rows. The expansion then involves the third row only once.

Approach. Subtract the third row from the others, expand, and maximise the cosine.

  1. Step 1: Row operations

    Subtracting the third row from the first two gives the rows (0,−2,−1)(0, -2, -1) and (2,0,−1)(2, 0, -1), with the third row (sin⁡2x,cos⁡2x,1+cos⁡2x)(\sin^2 x, \cos^2 x, 1 + \cos 2x) unchanged.

  2. Step 2: Expand

    Expanding along the first row, the determinant is 2(2(1+cos⁡2x)+sin⁡2x)−2cos⁡2x2\left(2(1 + \cos 2x) + \sin^2 x\right) - 2\cos^2 x. Since 2sin⁡2x−2cos⁡2x=−2cos⁡2x2\sin^2 x - 2\cos^2 x = -2\cos 2x, this is 4+4cos⁡2x−2cos⁡2x=4+2cos⁡2x4 + 4\cos 2x - 2\cos 2x = 4 + 2\cos 2x.

  3. Step 3: The maximum

    The largest value of cos⁡2x\cos 2x is 1, reached at x=0x = 0 and x=πx = \pi, so the maximum of ff is 6.

Answer. 6

Sanity check. At x=0x = 0 the determinant has rows (0,−1,1)(0, -1, 1), (2,1,1)(2, 1, 1), (0,1,2)(0, 1, 2) and equals 4+2=64 + 2 = 6.

Common wrong answers

  • 8: Writing f=4+4cos⁡2xf = 4 + 4\cos 2x, without the term −2cos⁡2x-2\cos 2x, gives 8.

Key takeaway

The trap. The difference of the squares of the cosine and the sine is the cosine of the doubled angle, with its sign.

How toppers think. They check the result at one easy angle.

Remember. cos⁡2x=cos⁡2x−sin⁡2x\cos 2x = \cos^2 x - \sin^2 x

More on Evaluation & Properties