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

math&science
Messages
24
Reaction score
0
What is the derivative of the absolute value of cos(x)?
 
Physics news on Phys.org
The derivative of cos(x) is -sin(x) and the derivative of |x| is sgn(x), can you now combine them?
 
Thanks, but what does sgn stand for? Is the derivative just -sin(x)*Abs(cos(x))'?
 
Last edited:
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" .
 
Last edited by a moderator:
\frac{d}{dx}|\cos(x)|=-\frac{|\cos(x)|}{\cos(x)}\sin(x)
Note that the signum function can be defined by sgn(x)=\frac{|x|}{x} for nonzero x, and is zero when x is zero. The signum function cannot be use in this case as |\cos(x)| is not differentiable at the values of x for which \cos(x)=0 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).
 
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?
 
Look at its graph. The derivative should be apparent.
 
Back
Top