multiply the derivative of x^2 by the derivative of cos(x)
⇥Let's differentiate: ddx(x2)
⇥ⓘ The derivative of xn is nxn -1: ddx(x2) = 2x
⇥ 2x
⇥Let's perform the differentiation: ddx(cos(x))
⇥ⓘ The derivative of cos(x) is -sin(x): ddx(cos(x)) = -sin(x)
⇥ -sin(x)
Let's calculate: 2x·(-sin(x))
Let's evaluate: 2x·(-sin(x))
ⓘ Write the minus sign in front of the product: 2·(-sin(x)) = -2·sin(x)
▶Result:   -2x·sin(x)