# How do you differentiate f(x)=cos(x^2-x)  using the chain rule?

$f ' \left(x\right) = - \sin \left({x}^{2} - x\right) \cdot \left(2 x - 1\right)$
$f ' \left(x\right) = - \sin \left({x}^{2} - x\right) \cdot \left(2 x - 1\right)$