Detail solution
-
Apply the product rule:
; to find :
-
Apply the power rule: goes to
; to find :
-
Let .
-
The derivative of cosine is negative sine:
-
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:
Now simplify:
The answer is:
The first derivative
[src]
2
2*x*cos(a*x) - a*x *sin(a*x)
$$- a x^{2} \sin{\left(a x \right)} + 2 x \cos{\left(a x \right)}$$
The second derivative
[src]
2 2
2*cos(a*x) - a *x *cos(a*x) - 4*a*x*sin(a*x)
$$- a^{2} x^{2} \cos{\left(a x \right)} - 4 a x \sin{\left(a x \right)} + 2 \cos{\left(a x \right)}$$
The third derivative
[src]
/ 2 2 \
a*\-6*sin(a*x) + a *x *sin(a*x) - 6*a*x*cos(a*x)/
$$a \left(a^{2} x^{2} \sin{\left(a x \right)} - 6 a x \cos{\left(a x \right)} - 6 \sin{\left(a x \right)}\right)$$
/ 2 2 \
a*\-6*sin(a*x) + a *x *sin(a*x) - 6*a*x*cos(a*x)/
$$a \left(a^{2} x^{2} \sin{\left(a x \right)} - 6 a x \cos{\left(a x \right)} - 6 \sin{\left(a x \right)}\right)$$