Detail solution
-
Let .
-
-
Then, apply the chain rule. Multiply by :
-
Apply the product rule:
; to find :
-
Differentiate term by term:
-
Apply the power rule: goes to
-
The derivative of the constant is zero.
The result is:
; to find :
-
Let .
-
The derivative of sine is cosine:
-
Then, apply the chain rule. Multiply by :
-
The derivative of a constant times a function is the constant times the derivative of the function.
-
Apply the power rule: goes to
So, the result is:
The result of the chain rule is:
The result is:
The result of the chain rule is:
Now simplify:
The answer is:
The first derivative
[src]
(x - 3)*sin(3*x)
2 *(3*(x - 3)*cos(3*x) + sin(3*x))*log(2)
$$2^{\left(x - 3\right) \sin{\left(3 x \right)}} \left(3 \left(x - 3\right) \cos{\left(3 x \right)} + \sin{\left(3 x \right)}\right) \log{\left(2 \right)}$$
The second derivative
[src]
(-3 + x)*sin(3*x) / 2 \
2 *\6*cos(3*x) + (3*(-3 + x)*cos(3*x) + sin(3*x)) *log(2) - 9*(-3 + x)*sin(3*x)/*log(2)
$$2^{\left(x - 3\right) \sin{\left(3 x \right)}} \left(- 9 \left(x - 3\right) \sin{\left(3 x \right)} + \left(3 \left(x - 3\right) \cos{\left(3 x \right)} + \sin{\left(3 x \right)}\right)^{2} \log{\left(2 \right)} + 6 \cos{\left(3 x \right)}\right) \log{\left(2 \right)}$$
The third derivative
[src]
(-3 + x)*sin(3*x) / 3 2 \
2 *\-27*sin(3*x) + (3*(-3 + x)*cos(3*x) + sin(3*x)) *log (2) - 27*(-3 + x)*cos(3*x) - 9*(-2*cos(3*x) + 3*(-3 + x)*sin(3*x))*(3*(-3 + x)*cos(3*x) + sin(3*x))*log(2)/*log(2)
$$2^{\left(x - 3\right) \sin{\left(3 x \right)}} \left(- 27 \left(x - 3\right) \cos{\left(3 x \right)} - 9 \left(3 \left(x - 3\right) \sin{\left(3 x \right)} - 2 \cos{\left(3 x \right)}\right) \left(3 \left(x - 3\right) \cos{\left(3 x \right)} + \sin{\left(3 x \right)}\right) \log{\left(2 \right)} + \left(3 \left(x - 3\right) \cos{\left(3 x \right)} + \sin{\left(3 x \right)}\right)^{3} \log{\left(2 \right)}^{2} - 27 \sin{\left(3 x \right)}\right) \log{\left(2 \right)}$$