Integral of the fractional part of 1/x

Поділитися
Вставка
  • Опубліковано 30 сер 2018
  • In this video, I calculate the integral of the fractional part of 1/x from 0 to 1. The end result is really cool, as it leads us to define the Euler-Mascheroni constant

КОМЕНТАРІ • 72

  • @typha
    @typha 6 років тому +72

    you say you don't know the proof that "this thing" is a finite negative constant, but this is the proof. The fractional part of 1/x is positive and less then or equal to 1 between 0 and 1, so the integral has to be less than or equal to 1.
    And by the way, that fudge that you did with the M+1 is pretty easily explained, when you swap M for M-1 throughout the limit, you can add and subtract a 1/M term, one of these gets tagged on to the sum and the other can be pulled outside of the limit as it goes to zero.

    • @Czeckie
      @Czeckie 6 років тому +3

      beautiful

    • @beenaalavudheen4343
      @beenaalavudheen4343 6 років тому +8

      Goddess Haruhi has spoken.

    • @kekw7745
      @kekw7745 5 років тому +3

      as expected from the SOS brigade leader

    • @JPK314
      @JPK314 5 років тому +4

      In other words, the fractional part must vary exclusively between 0 and 1 (not inclusive) on *any* interval of nonnegative numbers, so the result must be less than the constant function y=1 evaluated on that same interval. The integral of this is of course a box with area 1, so we can use 1 as an upper bound for the integral.
      In a less rigorous way, a lower bound for the integral is 0 because the fractional part of a positive number is positive, and 1/x is positive on (0, 1], so the infinite sum must be greater than 0. Alternatively, because the measure of the domain is nonzero and the range is nonzero at an infinite amount of points, the infinite sum must be strictly greater than 0.
      Therefore (call the result of the integral R) 0 < R < 1 and we know (from the video) that:
      limit as M->inf of (ln(M+1)-(sum from n=1 to n=M+1 of 1/n)) + 1 = R
      so
      0 < limit as M->inf of (ln(M+1)-(sum from n=1 to n=M+1 of 1/n)) + 1 < 1
      which implies that
      -1 < limit as M->inf of (ln(M+1)-(sum from n=1 to n=M+1 of 1/n)) < 0
      Substitute M = M-1 to get:
      -1 < limit as M-1 -> inf of (ln(M)-sum from n=1 to n=M of 1/n)) < 0
      but M-1 approaches inf at the same rate as M approaches inf, so we can safely replace the "M-1 -> inf" with "M -> inf" without changing the result, leaving us with:
      -1 < limit as M -> inf of (ln(M)-sum from n=1 to n=M of 1/n)) < 0

    • @typha
      @typha 5 років тому +2

      Well, one sidedly between 0 and 1 (zero included), and that bit isn't very important, so yes. :)

  • @timurpryadilin8830
    @timurpryadilin8830 6 років тому +34

    By the way, this video is actually a proof of the finiteness of this constant because 0< {1/x}

  • @huseyn.asadullah
    @huseyn.asadullah 6 років тому +21

    I love math so I try to learn and improve my English language with your math videos

  • @Debg91
    @Debg91 6 років тому +15

    Is there anything impossible for Dr. Peyam?

  • @shanmugasundaram9688
    @shanmugasundaram9688 5 років тому +6

    Integrating a fractional part of a function is always interesting and non-trivial.It remainds me your previous video on integrating the fractional part of tan x over 0 to pi/2.

    • @duckymomo7935
      @duckymomo7935 5 років тому

      Shanmuga Sundaram
      NO! Do not bring that up

  • @dhunt6618
    @dhunt6618 6 років тому +1

    I really enjoy in your videos how you manage to cancel an infinite number of terms or combine them into a simple product/sum!

  • @hadassapinheiro3066
    @hadassapinheiro3066 6 років тому +10

    You made a spoiler in the description! You should have warned me about that!

  • @timurpryadilin8830
    @timurpryadilin8830 6 років тому +6

    Omg, you realy did this video. Thank you!

  • @aswinibanerjee6261
    @aswinibanerjee6261 5 років тому

    Others only mimic but this channel discover its own.that's why I like this channel most

  • @mcmage5250
    @mcmage5250 5 років тому

    Congrats on 10K subss

  • @mcfloh55
    @mcfloh55 6 років тому +10

    Einfach grandios, wunderprächtig erklärt. Vielen Dank, Dr. Peyam. :-DDD

  • @franciscojavierorozcobeiza9378
    @franciscojavierorozcobeiza9378 6 років тому +3

    Awesome!!! Thank u, a little detail, the first big parenthesis have to be put in front the limit In your final result

  • @giampiproietti
    @giampiproietti 6 років тому +2

    It'd cool a dedicated video for the Euler-Mascheroni constant

  • @avalons2170
    @avalons2170 5 років тому +1

    if we consider the area under 1/x between n and n + 1, minus the corresponding area of ​​the rectangle with base 1 and height 1 / (n + 1), with n natural going from 1 to infinity, we obtain the same final result: Σ n=1 to inf [ ln (1+1/n) - 1/(n+1) ) ] = 1-ϒ

  • @leonardromano1491
    @leonardromano1491 5 років тому

    I tried to generalize this for the fractional part of 1/x^s for s not 1 (which converges as the fractional part is strictly smaller than 1 and the interval is compact).
    There arises an expression that is the difference of something resembling the Riemann-Zeta-function evaluated at 1/s and the limit as N goes to infinity of N/(1+N)^(1/s).
    So I'm wondering: are these constants c(s) known constants that I can look up somewhere or do I have to calculate them myself?

  • @hahahasan
    @hahahasan 6 років тому +7

    This is so cool! I would think adding rational numbers together would give another rational number but weird things happen when you do things infinite times :D

    • @TheRealSamSpedding
      @TheRealSamSpedding 6 років тому

      But none of the ln(M)'s will be rational.

    • @Gameboygenius
      @Gameboygenius 6 років тому +1

      @@TheRealSamSpedding technically you're wrong. Exactly one of them will be rational, namely ln(1).

    • @Gameboygenius
      @Gameboygenius 6 років тому

      No wait... ln(M) is in the limit term as M goes to infinity and not in the sum. How the hell does this thing converge...

    • @TheRealSamSpedding
      @TheRealSamSpedding 6 років тому +3

      It converges because both the sum and the ln go to infinity as M goes to infinity, and so their difference can converge

  • @MrRyanroberson1
    @MrRyanroberson1 6 років тому +2

    So I have the problem. In physics, the magnetic pull on an electron at a distance d (assumed to be 1 since calculus allows any distance to map to it) while a current flows (again 1) is twice the integral from 0 to infinity of 1/(x^2+1). This integral, you may recognize, is just arctan.
    But in four dimensions, the formula is 1/(x^3 +1), and I've been trying for a few hours to integrate it, but nothing seems to work. Can you do this? Is it possible to generalize to any dimension? (For 2d, the answer is infinity though, so maybe not)

    • @gnikola2013
      @gnikola2013 6 років тому +2

      Dr Peyam has made a video about the integral of 1/ (x^n+1), basically, the general case, just look for it

  • @theoleblanc9761
    @theoleblanc9761 6 років тому +4

    Little error in the sum, you forget 1/(M+1) and no more problem with ln(M+1) and ln(M).
    Nice vid!

  • @linuskelsey8295
    @linuskelsey8295 5 років тому +2

    beautiful

  • @skylardeslypere9909
    @skylardeslypere9909 4 роки тому

    I know it's really late haha, but isn't that negative sum going from 1/2 up to 1/(M+1)? Instead of 1/M? Then you need an extra correcting factor of +1/(M+1)
    (i know it goes away in the limit but still)

  • @sandmann6851
    @sandmann6851 5 років тому

    8:36
    Shouldn't it be the sum to 1/(m+1) instead of just 1/m?

  • @pacolibre5411
    @pacolibre5411 6 років тому +1

    Is this how the numerical value of that constant is determined? By numerically doing this integral rather than just finding the harmonic numbers?

    • @drpeyam
      @drpeyam  6 років тому +1

      Harmonic is easier, I think! The integrand is pretty badly behaved!

  • @SlipperyTeeth
    @SlipperyTeeth 6 років тому

    Here's a simple, related proof for the finiteness of the macaroni constant. Take the left and right Riemann sums of 1/x from 1 to m with the delta being 1. The true area is ln(m)-ln(1)=ln(m) and is bounded by our Riemann sums. The Riemann sums are actually the Harmonic series and the Harmonic series minus 1. I'm going to start writing H_m to indicate the m-th Harmonic number. So, we know that H_m-1

  • @andriusjonaitis8509
    @andriusjonaitis8509 6 років тому +1

    Nice to be the first to see this :-)

  • @user-kx7qy7sr7t
    @user-kx7qy7sr7t 6 років тому +2

    👍👏👏👏

  • @koenth2359
    @koenth2359 5 років тому

    Great video! I wondered what would happen if you use the Taylor series of ln at 1, and I arrived at the expression
    Gamma = 1- Sum{k=2 to infinity} (sum {i=2 to infinity} (1/(i•k^i))).
    I then checked this using Excel for k up to 100, and i upto 14, and arrived at a value of 0.582 for gamma.
    So It seems correct, but it converges quite slowly.
    I never saw this expression (without ln) for gamma, so could anyone tell me if this is right?

    • @kikones34
      @kikones34 Рік тому

      You are correct, that expression converges exactly to gamma, according to Wolfram Alpha.

    • @koenth2359
      @koenth2359 Рік тому

      @@kikones34 Thank you!

  • @dr.rahulgupta7573
    @dr.rahulgupta7573 3 роки тому

    Very nice video Dr 3.14159 .......m.Thanks with sincere regards.

  • @sofianemohammed8046
    @sofianemohammed8046 5 років тому

    What if we use the original function of 1/x which is ln (|x|) then we have f(x)=1/x then F(x)=ln(|x|) then the integral from 0 to 1 of 1/x turns into ln(1)-ln(0) then ln(1) is 0 which means that the integral is -ln(0) we know that cos(π/2)=0 then we use the Euler is Formula we get -ln(0) equals to ln(i)=(π/2)i

  • @MrMCMaxLP
    @MrMCMaxLP 5 років тому

    Superb

  • @Koisheep
    @Koisheep 6 років тому

    Is the gamma constant inspired by this integral?

  • @martshoes2249
    @martshoes2249 4 роки тому

    I Love You, Brazil

  • @quahntasy
    @quahntasy 5 років тому +1

    Spoiler in description!
    Amazing video though!

  • @pradyumnanayak9844
    @pradyumnanayak9844 Рік тому

    🙏🌺🙏

  • @neeshurathi2558
    @neeshurathi2558 5 років тому

    Preety nice

  • @wankar0388
    @wankar0388 5 років тому

    Dr. Tigre Peyam !!!

  • @Archipelago.
    @Archipelago. 5 років тому

    Didn't get much 😅 as I'm a beginner btw really enjoyed this video ...😌
    Thanks @blackpenredpen 🔥🎆

  • @jessehammer123
    @jessehammer123 5 років тому +1

    Hi Dr. Peyam, I’m a sophomore in Stuyvesant High School who doesn’t know much of...well, anything about calculus. But I have a question: why could you not make the integral from 1 to infinity and replace the 1/x with just x? Why wouldn’t that give you the same eventual result? There is a one-to-one correspondence in the real numbers in (0,1] and [1,infinity), coming from the reciprocal function, so is there a reason this wouldn’t work? Thanks a ton.

    • @drpeyam
      @drpeyam  5 років тому +1

      That’s because then you’d have to replace dx with d(1/x), and dx is not equal to d(1/x), you need a technique called u-substitution for that!
      Also OMG, I know Stuyvesant High School! I went to the Lycée Français de New York, which is close!

    • @jessehammer123
      @jessehammer123 5 років тому +1

      Dr. Peyam's Show That’s so cool! I just proctored a math team from the Lycée at the Downtown Mathematics Invitational around a month ago- they were really nice kids. Also, thanks for the explanation!

    • @drpeyam
      @drpeyam  5 років тому +1

      Great to hear they have a math team now, that’s so cool!!!

  • @MA-bm9jz
    @MA-bm9jz 5 років тому

    Or you can just break the integral into 0 and 1/n and 1/n 1 and do the limit as n->infinity

  • @duckymomo7935
    @duckymomo7935 5 років тому

    O this shouldn’t be that bad compared to fractional tangent
    *shudders just thinking of that flashback*

  • @balajidodda7701
    @balajidodda7701 5 років тому

    I got it right.

  • @mcmage5250
    @mcmage5250 5 років тому

    Oh 7:18. When you get annoyed and have to delete it multiple times but imagine it being on the paper... then its just a mess that you... dispose

  • @yuvalpaz3752
    @yuvalpaz3752 6 років тому +1

    Nice video,
    By the way, the decompression in the fractional part of tan(x) video(ua-cam.com/video/0Ris20r3svE/v-deo.htmlm20s ) is still one of my all times favorites things in math

  • @christosmarangos6862
    @christosmarangos6862 4 роки тому

    I think there is a mistake. Although you got the correct result, you forgot to add the 1/(M+1) term at 8:38. You are lucky because this term tend to zero as M tends to infinity and that is why you got the correct result.

  • @afnanali4675
    @afnanali4675 4 роки тому

    Hello Doctor,
    Thank you for everything,
    Can you solve the
    Integral from 0 to 1
    {1/x}. {1/x-1}

  • @sebaitor
    @sebaitor 6 років тому

    At least give an aproximate value for gamma :( I feel blueballed now

    • @yuvalpaz3752
      @yuvalpaz3752 6 років тому

      0.577215665...(oeis.org/A001620 )

  • @giampiproietti
    @giampiproietti 6 років тому +6

    Fractional Fart of 1/x

  • @PrincessEev
    @PrincessEev 6 років тому

    I came in expecting something a little more mellow after the previous integral of a fractional function video.
    Then I spent 10 minutes fretting over the limit of the natural logarithm and the summation and the Euler-Mascheroni constant came in.

  • @GreenMeansGOF
    @GreenMeansGOF 6 років тому +1

    8:38 and 8:50 small inconsequential mistake. The sum is
    1/2 + 1/3 + ... + 1/(M+1)
    In the limiting process, it makes no difference but just wanted to point it out.

  • @embedded_
    @embedded_ 5 років тому

    Prove that the constant is irrational pls.

    • @drpeyam
      @drpeyam  5 років тому

      Open problem

    • @embedded_
      @embedded_ 5 років тому

      @@drpeyam heh.. I hoped that if you didn't know about that you would try to prove it)