[Math] Graph of the function $\cos(x)\cos(x+2)-\cos^2(x+1)$ will be

algebra-precalculusanalytic geometrycalculusfunctionstrigonometry

Graph of the function $\cos(x)\cos(x+2)-\cos^2(x+1)$ will be?

(A)A straight line (B)A parabola

Give the corresponding equation too.

Source:JEE 1997.

Can someone suggest how should I proceed?Can't think of any way to reduce the the given equation to a straight line or a parabola's equation.Please guide me!

JEE 1997 paper PDF version

Best Answer

Let $f(x)=\cos(x)\cos(x+2)-\cos^2(x+1)$

\begin{align} f'(x)&=-\sin x\cos(x+2)-\cos x\sin(x+2)+2\cos(x+1)\sin(x+1)\\ &=-\sin(2x+2)+\sin(2x+2)\\ &=0 \end{align}

So it is a constant function, i.e., a horizontal straight line.