/ pi\ / pi\
2*sin|x - --|*cos|x - --|
\ 3 / \ 3 /
(2*sin(x - pi/3))*cos(x - pi/3)
Apply the product rule:
; to find :
The derivative of a constant times a function is the constant times the derivative of the function.
Let .
The derivative of sine is cosine:
Then, apply the chain rule. Multiply by :
Differentiate term by term:
Apply the power rule: goes to
The derivative of the constant is zero.
The result is:
The result of the chain rule is:
So, the result is:
; to find :
Let .
The derivative of cosine is negative sine:
Then, apply the chain rule. Multiply by :
Differentiate term by term:
Apply the power rule: goes to
The derivative of the constant is zero.
The result is:
The result of the chain rule is:
The result is:
Now simplify:
The answer is:
2/ pi\ 2/ pi\
- 2*sin |x - --| + 2*cos |x - --|
\ 3 / \ 3 /
/ pi\ / pi\
8*cos|x + --|*sin|x + --|
\ 6 / \ 6 /