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