differentiate cos(2x)
Let's perform the differentiation: (cos(2x))'
Apply the differentiation rule: (cos(f))' = -(f)'·sin(f) with f = 2x
-(2x)'·sin(2x)
Answer:   -2·sin(2x)