Give me a function that is piecewise continuous but not piecewise smooth

Click For Summary
A function that is piecewise continuous but not piecewise smooth is exemplified by the Weierstrass function, which is continuous everywhere but nowhere differentiable. The absolute value function |x| is piecewise defined and continuous, yet it is not smooth at x=0, although it can be argued that it is piecewise smooth due to its one-sided derivatives. The discussion highlights that the function's behavior at the origin is irrelevant when considering its overall continuity and differentiability. Continuous Brownian motion is also mentioned as a practical example of a function that is continuous but nowhere differentiable. The conversation includes a reference to a continuous map of the sphere into the plane that preserves distance but lacks differentiability.
AlonsoMcLaren
Messages
89
Reaction score
2
Give me a function that is piecewise continuous but not piecewise smooth
 
Physics news on Phys.org
The Weierstrass function should fit the bill, in being everywhere continuous, but nowhere differentiable.
 
|x| is defined piecewise as abs(x)={-x,x<0; x,x>0} which is continuous but not smooth at x=0. And is perhaps a little bit easier to visualize than a fractal :D
 
jmm said:
|x| is defined piecewise as abs(x)={-x,x<0; x,x>0} which is continuous but not smooth at x=0. And is perhaps a little bit easier to visualize than a fractal :D

Yeah, but this IS piecewise smooth.
 
jmm said:
|x| is defined piecewise as abs(x)={-x,x<0; x,x>0} which is continuous but not smooth at x=0. And is perhaps a little bit easier to visualize than a fractal :D

jmm, the domain of of the function you wrote down is the reals minus 0. So it is irrelevant what the function is doing at the origin.

Further as micromass has noted, even if you define abs(0) = 0, the function will still be piecewise smooth. This is because you can split the domain into (-\infty,0) \cup [0,\infty), and so abs has one sided derivatives of all orders at x = 0.
 
The path of a particle following continuous Brownian motion is nowhere differentiable. You can think of this as a continuous random walk Many stochastic models for practical problems use continuous Brownian motion.

For a weird example, I was told that there is a continuous map of the sphere into the plane that is everywhere distance preserving. Such a map can not be differentiable anywhere.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K