# How do you differentiate g(x) = sqrt(x^2-x)sin^2x using the product rule?

Jun 10, 2018

(sin(x)(4(x-1)xcos(x)+(2x-1)sin(x)))/(2sqrt(x(x-1))
$\frac{1}{2} {\left({x}^{2} - x\right)}^{- \frac{1}{2}} \cdot \left(2 x - 1\right) {\sin}^{2} \left(x\right) + \sqrt{{x}^{2} - x} \cdot 2 \sin \left(x\right) \cos \left(x\right)$
(sin(x)(4(x-1)x*cos(x)+(2x-1)*sin(x)))/(2sqrt(x(x-1))