Is mod x differentiable at all points

In summary, f(x) = |x| is equivalent to x for x > 0 and -x for x < 0, making it differentiable at all points except x = 0. The confusion may come from the use of "mod" as an abbreviation for modulus, another term for absolute value. However, using the piecewise function representation, it can be shown that f(x) is linear and differentiable at all other points.
  • #1
sphyics
102
0
f(x)= mod x is this function differentiable at all points other than 0.
 
Physics news on Phys.org
  • #2
What do you mean by f(x) = mod x?
Usually, mod is used in an expression like "6 mod 4 = 2", and "mod 4" by itself doesn't really mean anything.

Did you mean "f(x) = |x|", the absolute value of x?
In that case, the answer is yes: you can easily see this by showing that it is equivalent to x for x > 0 and -x for x < 0. To prove that it is non-differentiable at x = 0, you need to do a little work, but that's still straightforward.
 
  • #3
CompuChip said:
Did you mean "f(x) = |x|", the absolute value of x?
In that case, the answer is yes: you can easily see this by showing that it is equivalent to x for x > 0 and -x for x < 0. To prove that it is non-differentiable at x = 0, you need to do a little work, but that's still straightforward.
yes its absolute value of x :)
 
  • #4
Why did you use the term mod for absolute value? I'm not familiar with that application of mod.
 
  • #5
I think the OP meant modulus, which is another term for absolute value.
 
  • #6
gb7nash said:
I think the OP meant modulus, which is another term for absolute value.

Don't use unapproved abreviations! Haha, i got confused.
 
  • #7
Yes; one way of seeing it is look at |x| as the piecewise function:

f(x)=x , if x≥0
f(x)=-x, if x≤0

Then the function is linear , and if you accept that for n>1, d/dx(xn)=nxn-1, then f is differentiable in (0,∞), and in (-∞,0), and the only possible problem is at x=0.
 

1. Is mod x differentiable at all points?

No, mod x (or absolute value of x) is not differentiable at all points. It is not differentiable at the point where x=0, because the derivative is undefined at this point.

2. Can we use the limit definition to determine if mod x is differentiable at a point?

Yes, we can use the limit definition to determine if mod x is differentiable at a point. If the right-hand and left-hand limits of the derivative exist and are equal at a point, then the function is differentiable at that point.

3. What is the derivative of mod x?

The derivative of mod x is not a single value, as it is not differentiable at the point x=0. However, the derivative of mod x at any other point is equal to either 1 or -1, depending on the sign of x.

4. Why is mod x not differentiable at x=0?

Mod x is not differentiable at x=0 because the function is not smooth at this point. The left-hand and right-hand limits of the derivative do not exist and are not equal, making the derivative undefined at this point.

5. Are there any other functions that are not differentiable at all points?

Yes, there are other functions that are not differentiable at all points. Some examples include the absolute value of x raised to an odd power, the step function, and the floor function. These functions have points where the derivative is undefined or discontinuous, making them not differentiable at those points.

Similar threads

Replies
46
Views
4K
Replies
1
Views
3K
  • Calculus
Replies
8
Views
2K
Replies
9
Views
1K
Replies
14
Views
1K
  • Calculus
Replies
4
Views
898
  • Calculus
Replies
1
Views
953
Replies
3
Views
1K
Replies
4
Views
872
Replies
14
Views
1K
Back
Top