Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Example of a Function

  1. Nov 14, 2005 #1
    Can someone give me an example of a function that is continuous everywhere yet differentiable nowhere?
     
  2. jcsd
  3. Nov 14, 2005 #2

    Hurkyl

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    Have you seen the Koch Snowflake, or any other fractal curve?
     
  4. Nov 14, 2005 #3
    Seen them yes. Unfortunately I haven't studied them. I'm told that the discovery of such functions is what prompted the beginning of mathematical analysis. How is any such function defined?
     
  5. Nov 14, 2005 #4
    See Mathworld, Planetmath and Wikipedia. Fractal curves are usually defined recursively. Details of each curve can be found in their respective articles.
    The Weierstrass function is a related pathology. Weierstrass was one of the mathematicians (including Dedekind, Cantor, Kronecker, and so forth) that heralded the 2nd age of rigor, which put on firm ground many concepts that were previously nebulous in definition and application. Many pathologies were created at this time.
     
  6. Nov 14, 2005 #5

    benorin

    User Avatar
    Homework Helper

    Here's a function which is everywhere continuous but nowhere differentiable

    [tex]\forall x\in\mathh{R}\mbox{ let } f_{0}(x)[/tex] be the distance from x to the nearest integer; thus [tex] f_{0}(x+1)=f_{0}(x)\mbox{ and }f_{0}(x)=\left| x \right|,\mbox{ for }\left| x \right| \leq \frac{1}{2}[/tex].
    For each [tex]n\in\mathbb{N}[/tex], define [tex]f_{n}(x)=\frac{f_{0}(12^{n}x)}{2^{n}}[/tex], then [tex]f(x)=\sum_{n=0}^{\infty} f_{n}(x)[/tex] is such a function. (continuity is from uniform convergence)
     
  7. Nov 14, 2005 #6

    quasar987

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    This might not be the most on-topic post ever but lookit it's pretty funny:

    :rofl: :rofl: :rofl: :rofl:
     
  8. Nov 14, 2005 #7
    i have a stupid question
    Can you even take derivative if it is not continuous?
    Assume it is not continuous at point C, then the limit of the slope approve to C from both sides should not be equal, thus derivative does not exist and nondifferentiable.
     
  9. Nov 15, 2005 #8

    NateTG

    User Avatar
    Science Advisor
    Homework Helper

    There are functions that have the same derivative on both sides of discontinuities (like the greatest integer function), but the derivative at the discontinuity is undefined.
     
  10. Nov 15, 2005 #9

    benorin

    User Avatar
    Homework Helper

    Since there are everywhere continuous but nowhere differentiable functions, but every continuous function is integrable...[end my rant because Mathworld said it better, see below].

    ...continuity is a necessary but not sufficient condition for differentiability. Since some discontinuous functions can be integrated, in a sense there are "more" functions which can be integrated than differentiated. In a letter to Stieltjes, Hermite wrote, "I recoil with dismay and horror at this lamentable plague of functions which do not have derivatives."

    The above quote is from http://mathworld.wolfram.com/Derivative.html

    So in what "sense" is that [the " "more" " part]? I asked my Real analysis prof, he said in the sense of catagory. But I wonder, could it be true in the sense of cardinality? Specifically, is the cardinality of the set of all functions which are integrable greater than that of differentiable functions?
     
  11. Nov 15, 2005 #10

    benorin

    User Avatar
    Homework Helper

    Continuity is a neccessary, but not a sufficient condition for differentability. So no, you cannot differentiate a non-continuous function.
     
    Last edited: Nov 15, 2005
  12. Nov 15, 2005 #11
    So it means that suck function doesnt exist?
     
  13. Nov 15, 2005 #12

    benorin

    User Avatar
    Homework Helper

    What's a suck function?
     
  14. Nov 15, 2005 #13
    I think he meant "such" function.
     
  15. Nov 15, 2005 #14
    lmao :rofl:
     
    Last edited: Nov 15, 2005
  16. Nov 15, 2005 #15
    If I ever create an original pathology, its name shall be suck. :rofl:
     
  17. Nov 16, 2005 #16
    Well it's technically not a function, but how about 0y+3x=6
    it's a straight line, with an infinite value both plus and minus for every x different than 2.

    Nah...that's not what you're looking for...what about f(x)=0?
    I don't know...i tried.
     
  18. Nov 16, 2005 #17

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Just about every calculus book has a proof that a function is differentiable at c only if it is continuous at c. There is no such function.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Example of a Function
Loading...