2 x *(x - 4)
x^2*(x - 4)
Apply the product rule:
f(x)=x2f{\left(x \right)} = x^{2}f(x)=x2; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}dxdf(x):
Apply the power rule: x2x^{2}x2 goes to 2x2 x2x
g(x)=x−4g{\left(x \right)} = x - 4g(x)=x−4; to find ddxg(x)\frac{d}{d x} g{\left(x \right)}dxdg(x):
Differentiate x−4x - 4x−4 term by term:
Apply the power rule: xxx goes to 111
The derivative of the constant −4-4−4 is zero.
The result is: 111
The result is: x2+2x(x−4)x^{2} + 2 x \left(x - 4\right)x2+2x(x−4)
Now simplify:
The answer is:
2 x + 2*x*(x - 4)
2*(-4 + 3*x)
6