2 x *(x - 3)
x^2*(x - 3)
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−3g{\left(x \right)} = x - 3g(x)=x−3; to find ddxg(x)\frac{d}{d x} g{\left(x \right)}dxdg(x):
Differentiate x−3x - 3x−3 term by term:
Apply the power rule: xxx goes to 111
The derivative of the constant −3-3−3 is zero.
The result is: 111
The result is: x2+2x(x−3)x^{2} + 2 x \left(x - 3\right)x2+2x(x−3)
Now simplify:
The answer is:
2 x + 2*x*(x - 3)
6*(-1 + x)
6