Why is the function abs(x) not differentiable at x=0?

  • Context: Undergrad 
  • Thread starter Thread starter Bassalisk
  • Start date Start date
  • Tags Tags
    Function Limit
Click For Summary

Discussion Overview

The discussion centers around the differentiability of the absolute value function, abs(x), at x=0, and explores the implications of the signum function, sgn(x), and the composition of functions involving discontinuities. Participants examine limits and continuity in the context of these functions.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • Some participants state that abs(x) is not differentiable at x=0 due to differing left and right limits of sgn(x), leading to the conclusion that the limit does not exist.
  • There is a discussion about whether sgn(0) should be defined as 0, with some arguing that defining it does not affect the limit's existence.
  • Participants introduce an example involving the functions g(y) and f(x) to illustrate issues with function composition, questioning why the composition behaves unexpectedly.
  • Some clarify that the discontinuity of g at x=0 is the reason the limit does not exist when composed with f(x), which is constant at 0.
  • Others emphasize that continuity of g at the limit of f(x) is necessary for the limit of the composition to hold.

Areas of Agreement / Disagreement

Participants generally agree that abs(x) is not differentiable at x=0 and that the limits of sgn(x) from either side do not match. However, there is some disagreement regarding the implications of defining sgn(0) and the understanding of function composition in this context.

Contextual Notes

The discussion reveals limitations in understanding continuity and limits, particularly in the context of function composition and the behavior of piecewise functions. The assumptions about continuity and the definitions of limits are not fully resolved.

Who May Find This Useful

This discussion may be useful for students and individuals interested in calculus, particularly those studying limits, continuity, and differentiability of functions.

Bassalisk
Messages
946
Reaction score
2
Hello,

I am currently trying to understand some limits. |x| is not differentiable because left and right limits are different.

I also learned that |x|/x=sgn(x) (signum)

But

[tex]\lim_{\substack{x\rightarrow 0}} sgn(x)[/tex]

is not defined, ergo function abs(x) is not differentiable in 0.

But isn't sgn(x) defined to be 0 if x=0, or am I misinterpreting the term "approaching".
Another example:

let

[tex]g(y) = \begin{Bmatrix} <br /> 1, & y \not= 0 \\ 0, & y=0 \end{Bmatrix}[/tex]

and f(x)=0 for all x.

[itex]\lim_{\substack{y\rightarrow 0}} g(y)=1[/itex]

[itex]\lim_{\substack{x\rightarrow 0}} f(x)=0[/itex]

but

[itex]\lim_{\substack{x\rightarrow 0}} (g \circ f) (x) =0[/itex]

This is example where composition of functions doesn't work as they should.

I don't understand how this composition of functions, doesn't work. Can anybody explain to me how this works? ( I found the example on the internet, but not as good explanation)
 
Last edited:
Physics news on Phys.org
For the first question: lim sgn(x), = 1 for x-> 0 and x > 0, = -1 for x ->0 and x < 0. Therefore the limit does not exist. Defining sgn(0)=0 or anything else doesn't matter.

For the second [I'm assuming you are asking about g(f(x))]: f(x)=0 for all x, therefore this function is g(0)=0 for all x. I am not quite sure what "doesn't work".
 
mathman said:
For the first question: lim sgn(x), = 1 for x-> 0 and x > 0, = -1 for x ->0 and x < 0. Therefore the limit does not exist. Defining sgn(0)=0 or anything else doesn't matter.

For the second [I'm assuming you are asking about g(f(x))]: f(x)=0 for all x, therefore this function is g(0)=0 for all x. I am not quite sure what "doesn't work".

It doesn't work like this:

[tex]\lim_{\substack{x\rightarrow a}} f(x)=b[/tex]
[tex]\lim_{\substack{y\rightarrow b}} g(y)=c[/tex]

[tex]\lim_{\substack{x\rightarrow a}} (g \circ f) (x) =c[/tex]This feels right to me, But i cannot understand the problem above.(2nd one)

Does that "for all x" makes everything in composed function 0?
 
The problem (why it doesn't work) is simply the discontinuity at x=0 for g. For the composite function the argument for g is always 0. The general property for the limit involving g assumes -> 0 through non-zero values of the argument.
 
sgn(x)= 1 if x> 0, sgn(0)= 0, and sgn(x)= -1 if x< 0.

In particular,
[tex]\lim_{x\to 0^+} sgn(x)= \lim_{x\to 0} 1= 1[/tex]
and
[tex]\lim_{x\to 0^-} sgn(x)= \lim_{x\to 0} -1= -1[/tex]

Of course, [itex]\lim_{x\to a} f(x)= L[/itex] if and only if both [itex]\lim_{x\to a^+} f(x)= L[/itex] and [itex]\lim_{x\to a^-} f(x)= L[/itex]. If the two sided limits are not the same, then the limit itself cannot exist.

As for your second problem, in general [itex]\lim_{x\to a} g(f(x))= g(\lim_{x\to a}f(x))[/tex] if and only if g is <b>continuous</b> at [itex]\lim_{x\to a}f(x)[/itex]. In fact, that can be used as a <b>definition</b> of "continuous". Here, you function g is not continuous at x= 0.<br /> <br /> That's why the limit at 0 does not exist. It has nothing to do with the value of the function at x= 0.[/itex]
 
HallsofIvy said:
sgn(x)= 1 if x> 0, sgn(0)= 0, and sgn(x)= -1 if x< 0.

In particular,
[tex]\lim_{x\to 0^+} sgn(x)= \lim_{x\to 0} 1= 1[/tex]
and
[tex]\lim_{x\to 0^-} sgn(x)= \lim_{x\to 0} -1= -1[/tex]

Of course, [itex]\lim_{x\to a} f(x)= L[/itex] if and only if both [itex]\lim_{x\to a^+} f(x)= L[/itex] and [itex]\lim_{x\to a^-} f(x)= L[/itex]. If the two sided limits are not the same, then the limit itself cannot exist.

As for your second problem, in general [itex]\lim_{x\to a} g(f(x))= g(\lim_{x\to a}f(x))[/itex] if and only if g is continuous at [itex]\lim_{x\to a}f(x)[/itex]. In fact, that can be used as a definition of "continuous". Here, you function g is not continuous at x= 0.

That's why the limit at 0 does not exist. It has nothing to do with the value of the function at x= 0.

My brain is swelling of information i got recently. I misplaced the definition of "not continuous". Thank you.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K