Dirichlet Function: The King of Calculus Counter-Examples

Sdílet
Vložit
  • čas přidán 12. 09. 2024

Komentáře • 83

  • @antonemberbroque4452
    @antonemberbroque4452 Před 5 měsíci +311

    Now I am become counter example, destroyer of proofs.

    • @Winium
      @Winium Před 5 měsíci +16

      Hidden destroyer of the freshmen who got pranked by their seniors.

    • @andreasxfjd4141
      @andreasxfjd4141 Před 5 měsíci +2

      It is not a proof, if it is rebuttable

    • @boblobgobstopper13214
      @boblobgobstopper13214 Před 5 měsíci +7

      throughout discrete math and real analysis, i alone am the counter example

  • @danielevilone
    @danielevilone Před 5 měsíci +140

    Moreover, Dirichlet's function is integrable by Lebesgue but not by Riemann.

    • @ron-math
      @ron-math  Před 5 měsíci +32

      Yep. I wanted to include this point in the video as well.

    • @fakezpred
      @fakezpred Před 5 měsíci +11

      Funny how a huge troublemaker to the riemann integral follows immediately from definition of the Lebesgue integral actually

    • @lperezherrera1608
      @lperezherrera1608 Před 5 měsíci +1

      ​@@fakezpredI mean the proof for it not being Riemann-integrable is pretty trivial too so I wouldn't call it a huge trouble maker

    • @fakezpred
      @fakezpred Před 5 měsíci +1

      @@lperezherrera1608 by troublemaker I mean being nonintegrable with the riemann definition, not the proof.

    • @rwiturajgoswami5001
      @rwiturajgoswami5001 Před 4 měsíci +2

      Because the set of rationals has a measure equal to zero. So Dirichlet's function is the zero function almost everywhere.

  • @albertemc2stein290
    @albertemc2stein290 Před 5 měsíci +36

    Small remark to 4:38. f(x) = 1/((x-1)(x-e)) is actually continuous on its whole domain. Since it is not defined in either 1 or e it cannot be discontinuous at those points. Only if you defined it to be some real number in those points, it would be discontinuous. This is because in the definition of continuity, only points from the domain are considered for the condition |x - x0| < delta => |f(x) - f(x0)| < epsilon

    • @ron-math
      @ron-math  Před 5 měsíci +3

      Yes. Great catch!

    • @pedroivog.s.6870
      @pedroivog.s.6870 Před 3 měsíci

      It was mind-blowing to discover in my calculus 1 class that f(x) = 1/x is continuous, along with all elementary functions.

  • @set.theory
    @set.theory Před 5 měsíci +27

    I had a smile on my face this whole video :)
    I hope more people come across this channel! Can't wait for the next upload

    • @Senshidayo
      @Senshidayo Před 5 měsíci

      Yes this is a really cool video, and I’m also a fan of Micaiah!

  • @rosettaroberts8053
    @rosettaroberts8053 Před 5 měsíci +50

    Another example of a periodic function with no smallest period is f(x) = 0

    • @comedyfriendsenglish
      @comedyfriendsenglish Před 5 měsíci +1

      Also another example for two discontinuous functions with a continous sum is any discontinous function f and -f

    • @naufalfadhlurrahman5092
      @naufalfadhlurrahman5092 Před 4 měsíci +1

      ​@@comedyfriendsenglish what if the function is discontinuous because it's not defined at some points? Then the sum will still be discontinuous.

    • @comedyfriendsenglish
      @comedyfriendsenglish Před 4 měsíci +3

      No. Because the zero function is continuous no matter on what subset of say R you define it. In fact any map between topological spaces that maps all values to a single point is automatically continuous. You can not say a functions continuity is violated on a point on which the function isn't even defined

  • @douglasstrother6584
    @douglasstrother6584 Před 5 měsíci +12

    My Calculus Professor (Tony Tromba, UC Santa Cruz 1981) dropped the Dirichlet Function on us at the end of a Friday lecture to give something to discuss at Happy Hour.

    • @SedgeHermit
      @SedgeHermit Před měsícem +1

      Is that the Tromba who coauthored a vector calc textbook with Marsden?

    • @douglasstrother6584
      @douglasstrother6584 Před měsícem +1

      @@SedgeHermit Yes.
      "Mathematics is difficult, even for mathematicians." ~ Reinhold Böhme, quoted in Appendix A of "Vector Calculus" (2nd Edition).

  • @stevenfallinge7149
    @stevenfallinge7149 Před 5 měsíci +9

    Next, the Cantor set indicator function. Discontinuous at an uncountable set of points but still riemann integrable.

  • @moritzalshuth7239
    @moritzalshuth7239 Před 5 měsíci +19

    This function is a smart bomb on "Let epsilon > 0"

  • @3141minecraft
    @3141minecraft Před 4 měsíci +4

    2:59 by the way, you forgot to mention 1 thing: e is not only irrational, e is trancendental. That means e², e³, e⁴ etc. cannot be rational numbers. (By the way, this is not true for all irrational numbers. For example: sqrt(2) is irrational, but sqrt(2)²=2, which is rational.)

  • @estebanvasquez-giraldo5770
    @estebanvasquez-giraldo5770 Před 5 měsíci +6

    You did pass a lot of joy, thanks!

  • @dnhatanh
    @dnhatanh Před 5 měsíci +1

    Amazing! Both the original construction and your explaination.

  • @MikeMagTech
    @MikeMagTech Před 5 měsíci +7

    Excellent video! Thank you.

  • @chixenlegjo
    @chixenlegjo Před 5 měsíci +8

    I would like to mention the “periodic but no smallest period” has the counterexample f(x)=0.
    Here’s another related counterintuitive fact: All linear functions are the sum of two periodic functions.

    • @farfa2937
      @farfa2937 Před 5 měsíci +1

      I don't think you consider 0 as a period. Otherwise all functions are periodic.

    • @tomtomspa
      @tomtomspa Před 5 měsíci +6

      @@farfa2937no, but 0 has no smallest period

    • @andy02q
      @andy02q Před 5 měsíci

      f(0) is not period because there's no p for which f(0)≠f(p+0).

    • @omp199
      @omp199 Před 5 měsíci +2

      1. That's an example, not a counterexample.
      2. How?

    • @Troloze
      @Troloze Před 5 měsíci

      f(x) = 0
      then f(x) = f(x + k) = 0
      where k is the interval, and therefore f(x) = 0 is periodic

  • @klausolekristiansen2960
    @klausolekristiansen2960 Před 5 měsíci +8

    Conway's base 13 function is discontinous everywhere.

    • @ron-math
      @ron-math  Před 5 měsíci +1

      On my to-do list :)

  • @Rory626
    @Rory626 Před 5 měsíci +1

    This funxtion absolutely carried me through undergrad

  • @rssl5500
    @rssl5500 Před 5 měsíci +3

    Amazing ! Well done

  • @SamarthPatil-my5mh
    @SamarthPatil-my5mh Před 5 měsíci +4

    How about Weirstrass Function which is continuous but non differentiable everywhere

  • @PixelSergey
    @PixelSergey Před 5 měsíci +3

    wait, what? you said that lim_{k->inf}(k!x) is an integer iff x is rational. But for x=1/2, lim_{k->inf}(k! * 1/2) = infinity, which isn't an integer. Is there some more precise way of phrasing this? (I'm guessing "eventually all terms become integers" or something)

    • @markopanev3317
      @markopanev3317 Před 5 měsíci +1

      The x is inside the cosine function hence it's limited by -1 and 1 and in the limit even if the cosine is 0.99999999 as j tends to infinity it goes to 0, so only from the rationals can we get 1 for the expression

  • @_P_a_o_l_o_
    @_P_a_o_l_o_ Před 5 měsíci +1

    Do the Devil's Staircase function now! Also, I recommend the book 'Counterexamples in Analysis'

  • @alonsoviton8278
    @alonsoviton8278 Před 5 měsíci +3

    Great video, but in 5:49 you say that a similar method could be used to create a function that is continuos only on the integers. I remember reading that due to Baire's cathegory theorem cannot be continuos on infinite sets with zero measure like the rationals, is that the case? If so, why does it fail on the rationals but not in the integers even thought the latter also have 0 measure?

    • @ron-math
      @ron-math  Před 5 měsíci +4

      Good point! Rationals are dense while integers are not.

  • @jensraab2902
    @jensraab2902 Před 5 měsíci

    I have heard the name Dirichlet before but I've never had a close look at the Dirichlet function.
    It's truly a crazy function. But what I found most fascinating is that it's not just one of those artificial functions where you define the different parts but that you get this weird beast from what looks like this ordinary double limit!
    Cool video!
    PS: Did you make a mistake at 5:36? You say that the same argument applies for the "e case". But is this correct since e is not a rational number? Wouldn't the limit be 0 when x goes to e because when x=e the lower definition (for x not element of Q) applies?

    • @ron-math
      @ron-math  Před 5 měsíci

      Hi!
      I was referring to the artificial function defined as you see on the screen 5:36, not the original Dirichlet function. You are right that when x=e then f(e) is indeed 0. And by definition of the limit, the limit of f(x) when x- > e is also 0.

  • @Just_Ava
    @Just_Ava Před 4 měsíci

    My calculus lecturer gave us the task to proof whether or not the dirchelet function is a regulated function. So its kinda funny to see this video a week later :)

  • @lox7182
    @lox7182 Před 5 měsíci

    1:17 I get what you're trying to say with lim k to infinity (k factorial * x) is in Z, but that limit (unless x is 0) would actually be positive or negative infinity. I think it would be better to say something along the lines of (for all k bigger than a certain natural number N (k!x) is an integer)

  • @danielc.martin
    @danielc.martin Před 5 měsíci

    Fun, but funnier when you try to do something like the following:
    Write the sine function buuuut at x=69 is 69 aaaand can only be written as a combination of elementary functions and limits (no use of the brackets)

  • @ferlywahyu342
    @ferlywahyu342 Před 3 měsíci

    This man like godel and hypasus 😂

  • @lox7182
    @lox7182 Před 5 měsíci

    0:23, for number 4 can't you just have the constant function c?

    • @ron-math
      @ron-math  Před 5 měsíci +1

      As mathematicians will say, it is trivial 🤣

  • @emilyscloset2648
    @emilyscloset2648 Před 5 měsíci

    A Weierstrass function is also an answer to most of those questions

  • @Setiny
    @Setiny Před 4 měsíci

    Now find a function that is discontinuous at any rational number but continuous otherwise

  • @parthhooda3713
    @parthhooda3713 Před 5 měsíci

    Can the greatest integer function be the answer to 2nd question ❓⁉️

    • @ron-math
      @ron-math  Před 5 měsíci

      Mind be more specific? You mean the ceil() function?

  • @mr_1wr572
    @mr_1wr572 Před 4 měsíci

    He be like Gojo fr

  • @_dd-n9zl
    @_dd-n9zl Před 5 měsíci

    Herkes için altyazı lütfen

    • @ron-math
      @ron-math  Před 5 měsíci

      Hi bro.
      Click the `cc` button on the lower right corner, select `auto-translate` and find the language you are using. Most of the time, it is good enough.

  • @andy02q
    @andy02q Před 5 měsíci +1

    But...
    There are infinitely more irrational numbers than there are rational numbers, I'm sure I learned that some years ago.
    So shouldn't there be examples for two irrational numbers so close that there's no rational number in between?
    And if not, why not?

    • @ron-math
      @ron-math  Před 5 měsíci +2

      Good question. You can construct a rational number between any two irrational numbers. Because I can't type LaTeX in the comment, here is the link: math.stackexchange.com/questions/421580/is-there-a-rational-number-between-any-two-irrationals

    • @omp199
      @omp199 Před 5 měsíci +1

      The cardinality of the set of irrational numbers is higher than the cardinality of the set of rational numbers, which is a more precise way of saying that there are more irrational numbers than there are rational numbers, so yes to your first question.
      But to your second question, no, there can't be two irrational numbers so close that there's no rational number in between them. Given any two distinct irrational numbers a and b, the distance d between them is given by d = |a - b|. Since a and b are distinct, a - b is not zero, so d > 0. However small d is, you can always find a fraction 2^(-n) that is smaller than d for a large enough positive integer n. Given that consecutive integer multiples of 2^(-n) are always a distance 2^(-n) apart, which is smaller than d, it must be true that at least one such integer multiple of 2^(-n) falls within the interval between a and b. And any integer multiple of 2^(-n) is a rational number.

    • @ron-math
      @ron-math  Před 5 měsíci +1

      Thank you! @@omp199

    • @omp199
      @omp199 Před 5 měsíci +1

      @@ron-math You're welcome.

  • @BridgeBum
    @BridgeBum Před 5 měsíci +4

    Shortly after being introduced to this function, my calc 2 teacher posed to the class to give an example of a function continuous at only 1 point. His solution was the Dirichlet-adjacent function f(x)={x if rational, -x iff irrational}. It isnt hard to see that f(0) has a straightforward delta epsilon proof.

  • @jellymath
    @jellymath Před měsícem

    This function is cursed, don't use it

  • @user-mf7li2eb1o
    @user-mf7li2eb1o Před 5 měsíci

    Okay the way you pronounced continuous and other things are just wrong. Except that the video seems great

    • @ron-math
      @ron-math  Před 5 měsíci

      Can you help me identify the list of mispronunciations? Thanks!

    • @HJ-gg6ju
      @HJ-gg6ju Před 5 měsíci

      The pronunciation is fine. Your ears function poorly.

    • @finthechat2717
      @finthechat2717 Před 5 měsíci

      @@ron-math your accent is on the thicker side so words like graph become gruff between 1:45 and 1:55 I feel are the most noticeable, like the word atoms sounds like items, those are just some examples

    • @ron-math
      @ron-math  Před 5 měsíci

      Thank you so much for pointing it out! I will definitely work on it in the future videos.@@finthechat2717