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

$g ' \left(x\right) = x \cdot \sec x \left(x \cdot \tan x + 2\right)$
Use the formula $\frac{d \left(u v\right)}{\mathrm{dx}} = u \frac{\mathrm{dv}}{\mathrm{dx}} + v \frac{\mathrm{du}}{\mathrm{dx}}$