• Support PF! Buy your school textbooks, materials and every day products Here!

What is the derivative of the absolute value of cos(x)?

  • #1
What is the derivative of the absolute value of cos(x)?
 

Answers and Replies

  • #2
TD
Homework Helper
1,022
0
The derivative of cos(x) is -sin(x) and the derivative of |x| is sgn(x), can you now combine them?
 
  • #3
Thanks, but what does sgn stand for? Is the derivative just -sin(x)*Abs(cos(x))'?
 
Last edited:
  • #4
TD
Homework Helper
1,022
0
The 'sign' or 'signum' function, which returns 1 or -1, whether the argument in question was positive or negative.

See http://mathworld.wolfram.com/Sign.html" [Broken].
 
Last edited by a moderator:
  • #5
benorin
Homework Helper
Insights Author
Gold Member
1,234
61
[tex]\frac{d}{dx}|\cos(x)|=-\frac{|\cos(x)|}{\cos(x)}\sin(x)[/tex]
Note that the signum function can be defined by [tex]sgn(x)=\frac{|x|}{x}[/tex] for nonzero x, and is zero when x is zero. The signum function cannot be use in this case as [tex]|\cos(x)|[/tex] is not differentiable at the values of x for which [tex]\cos(x)=0[/tex] as the lefthand and righthand derivative are not equal there (by lefthand or righthand derivates, what is meant is the left or right-handed limit of the difference quotient at a particular value of x).
 
  • #6
Thank you so much. I've never even heard about the signum function before until now. How would I go about taking higher order derivatives of the signum function like the second and third, etc. How does that work?
 
  • #7
Look at its graph. The derivative should be apparent.
 
Top