Differentiate w.r.t. x: cos(x).cos(2x).cos(3x).
Hint. Take log of both sides to turn the product into a sum, then differentiate term by term.
Let y=cos(x)cos(2x)cos(3x). Taking log: log(y) = log(cos x)+log(cos 2x)+log(cos 3x). Differentiating: (1/y)(dy/dx) = -tan(x) - 2tan(2x) - 3tan(3x). So dy/dx = -y.[tan(x)+2tan(2x)+3tan(3x)] = -cos(x)cos(2x)cos(3x).[tan(x)+2tan(2x)+3tan(3x)].
✦ dy/dx = -cos(x)cos(2x)cos(3x).[tan(x) + 2tan(2x) + 3tan(3x)]
