Question & Answer » Mathematics Questions » What is the Derivative of mod x?

What is the Derivative of mod x?

What is the derivative of mod x? Find the answer to this question and access a vast question bank that is customised for learners.

Answer:  First, condense the information provided..
Let y=x
y={x,  if x>0 and -x,  if x<0 }

You may also write mod of x as  |x∣=x2
y=x212

Step 2: Differentiate based on x.

 dy dx=12x212×2x     

dy dx=xx2 

dy dx=x|x| 

dy dx={-1,  x<0 and 1, x>0 x≠0

Consequently, derivative of modx is -1 when x<0 and 1 when x>0 not distinguishable at

x=0.