Question
Question: What is the derivative of an absolute value?...
What is the derivative of an absolute value?
Solution
The derivative is defined for a function which is the differentiation of the dependent variable with respect to the independent variable. So we have to write the function for the absolute value of a variable x, and then differentiate it with respect to x to get the answer. So we will let a function y=∣x∣
Complete step-by-step solution:
We know that the absolute value of a variable x is defined as the non-negative value of x. It is also known as the modulus of x. So let us assume a function y as
⇒y=∣x∣......(i)
Now, we know that the derivative of a function is defined as the differentiation of the dependent variable with respect to the independent variable. So we need to differentiate y with respect to x for obtaining the derivative for the absolute value. For that, we have to simplify the expression of modulus of x.
We know that the square root of a number is always non-negative, and so is the absolute value. This means that the modulus of x must be equal to the square root of the square of x. Therefore, the equation (i) can also be written as
⇒y=x2.......(ii)⇒y=(x2)21
Differentiating both the sides with respect to x, we get
⇒dxdy=dxd(x2)21
On applying the chain rule for differentiation, we get