n sin (x)*cos(n*x)
sin(x)^n*cos(n*x)
Apply the product rule:
; to find :
Let .
Apply the power rule: goes to
Then, apply the chain rule. Multiply by :
The derivative of sine is cosine:
The result of the chain rule is:
; 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:
n n n*sin (x)*cos(x)*cos(n*x) - n*sin (x)*sin(n*x) + ------------------------- sin(x)
/ / 2 2 \ \ n | | cos (x) n*cos (x)| 2*n*cos(x)*sin(n*x)| -n*sin (x)*|n*cos(n*x) + |1 + ------- - ---------|*cos(n*x) + -------------------| | | 2 2 | sin(x) | \ \ sin (x) sin (x) / /
/ / 2 2 2 2 \ \ | | 2*cos (x) n *cos (x) 3*n*cos (x)| | | |2 - 3*n + --------- + ---------- - -----------|*cos(x)*cos(n*x) | | / 2 2 \ | 2 2 2 | 2 | n | 2 | cos (x) n*cos (x)| \ sin (x) sin (x) sin (x) / 3*n *cos(x)*cos(n*x)| n*sin (x)*|n *sin(n*x) + 3*n*|1 + ------- - ---------|*sin(n*x) + ---------------------------------------------------------------- - --------------------| | | 2 2 | sin(x) sin(x) | \ \ sin (x) sin (x) / /