Integral of the fractional part of 1/x

  Рет қаралды 20,058

Dr Peyam

Dr Peyam

5 жыл бұрын

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 5 жыл бұрын
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 5 жыл бұрын
beautiful
@beenaalavudheen4343
@beenaalavudheen4343 5 жыл бұрын
Goddess Haruhi has spoken.
@kekw7745
@kekw7745 5 жыл бұрын
as expected from the SOS brigade leader
@JPK314
@JPK314 5 жыл бұрын
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 жыл бұрын
Well, one sidedly between 0 and 1 (zero included), and that bit isn't very important, so yes. :)
@timurpryadilin8830
@timurpryadilin8830 5 жыл бұрын
By the way, this video is actually a proof of the finiteness of this constant because 0< {1/x}
@huseyn.asadullah
@huseyn.asadullah 5 жыл бұрын
I love math so I try to learn and improve my English language with your math videos
@shanmugasundaram9688
@shanmugasundaram9688 5 жыл бұрын
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
@Debg91
@Debg91 5 жыл бұрын
Is there anything impossible for Dr. Peyam?
@dhunt6618
@dhunt6618 5 жыл бұрын
I really enjoy in your videos how you manage to cancel an infinite number of terms or combine them into a simple product/sum!
@aswinibanerjee6261
@aswinibanerjee6261 5 жыл бұрын
Others only mimic but this channel discover its own.that's why I like this channel most
@hadassapinheiro3066
@hadassapinheiro3066 5 жыл бұрын
You made a spoiler in the description! You should have warned me about that!
@timurpryadilin8830
@timurpryadilin8830 5 жыл бұрын
Omg, you realy did this video. Thank you!
@mcmage5250
@mcmage5250 5 жыл бұрын
Congrats on 10K subss
@franciscojavierorozcobeiza9378
@franciscojavierorozcobeiza9378 5 жыл бұрын
Awesome!!! Thank u, a little detail, the first big parenthesis have to be put in front the limit In your final result
@mcfloh55
@mcfloh55 5 жыл бұрын
Einfach grandios, wunderprächtig erklärt. Vielen Dank, Dr. Peyam. :-DDD
@hahahasan
@hahahasan 5 жыл бұрын
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 5 жыл бұрын
But none of the ln(M)'s will be rational.
@Gameboygenius
@Gameboygenius 5 жыл бұрын
@@TheRealSamSpedding technically you're wrong. Exactly one of them will be rational, namely ln(1).
@Gameboygenius
@Gameboygenius 5 жыл бұрын
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 5 жыл бұрын
It converges because both the sum and the ln go to infinity as M goes to infinity, and so their difference can converge
@theoleblanc9761
@theoleblanc9761 5 жыл бұрын
Little error in the sum, you forget 1/(M+1) and no more problem with ln(M+1) and ln(M). Nice vid!
@giampiproietti
@giampiproietti 5 жыл бұрын
It'd cool a dedicated video for the Euler-Mascheroni constant
@avalons2170
@avalons2170 5 жыл бұрын
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-ϒ
@MrRyanroberson1
@MrRyanroberson1 5 жыл бұрын
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 5 жыл бұрын
Dr Peyam has made a video about the integral of 1/ (x^n+1), basically, the general case, just look for it
@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?
@linuskelsey8295
@linuskelsey8295 5 жыл бұрын
beautiful
@andriusjonaitis8509
@andriusjonaitis8509 5 жыл бұрын
Nice to be the first to see this :-)
@user-kx7qy7sr7t
@user-kx7qy7sr7t 5 жыл бұрын
👍👏👏👏
@quahntasy
@quahntasy 5 жыл бұрын
Spoiler in description! Amazing video though!
@martshoes2249
@martshoes2249 4 жыл бұрын
I Love You, Brazil
@pacolibre5411
@pacolibre5411 5 жыл бұрын
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 5 жыл бұрын
Harmonic is easier, I think! The integrand is pretty badly behaved!
@MrMCMaxLP
@MrMCMaxLP 5 жыл бұрын
Superb
@SlipperyTeeth
@SlipperyTeeth 5 жыл бұрын
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
@dr.rahulgupta7573
@dr.rahulgupta7573 3 жыл бұрын
Very nice video Dr 3.14159 .......m.Thanks with sincere regards.
@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)
@Archipelago.
@Archipelago. 5 жыл бұрын
Didn't get much 😅 as I'm a beginner btw really enjoyed this video ...😌 Thanks @blackpenredpen 🔥🎆
@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!
@wankar0388
@wankar0388 5 жыл бұрын
Dr. Tigre Peyam !!!
@sandmann6851
@sandmann6851 5 жыл бұрын
8:36 Shouldn't it be the sum to 1/(m+1) instead of just 1/m?
@neeshurathi2558
@neeshurathi2558 5 жыл бұрын
Preety nice
@pradyumnanayak9844
@pradyumnanayak9844 Жыл бұрын
🙏🌺🙏
@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
@Koisheep
@Koisheep 5 жыл бұрын
Is the gamma constant inspired by this integral?
@theoleblanc9761
@theoleblanc9761 5 жыл бұрын
Nope
@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.
@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
@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 5 жыл бұрын
Nice video, By the way, the decompression in the fractional part of tan(x) video(kzfaq.info/get/bejne/ZriZppVh15nXpnk.htmlm20s ) is still one of my all times favorites things in math
@giampiproietti
@giampiproietti 5 жыл бұрын
Fractional Fart of 1/x
@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.
@jessehammer123
@jessehammer123 5 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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 жыл бұрын
Great to hear they have a math team now, that’s so cool!!!
@PrincessEev
@PrincessEev 5 жыл бұрын
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 5 жыл бұрын
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.
@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 5 жыл бұрын
At least give an aproximate value for gamma :( I feel blueballed now
@yuvalpaz3752
@yuvalpaz3752 5 жыл бұрын
0.577215665...(oeis.org/A001620 )
@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)
Integral of sin^2
4:45
Dr Peyam
Рет қаралды 6 М.
Vardi Integral
31:55
Dr Peyam
Рет қаралды 14 М.
WHO LAUGHS LAST LAUGHS BEST 😎 #comedy
00:18
HaHaWhat
Рет қаралды 18 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 55 МЛН
Half derivative ln(x)
25:21
Dr Peyam
Рет қаралды 24 М.
Integral of fractional part of x from 0 to 4
7:36
blackpenredpen
Рет қаралды 47 М.
Imaginary derivative of x
22:48
Dr Peyam
Рет қаралды 104 М.
nth derivative equals inverse
14:53
Dr Peyam
Рет қаралды 12 М.
Euler's formula with introductory group theory
24:28
3Blue1Brown
Рет қаралды 2,4 МЛН
Wallis product formula
26:43
Dr Peyam
Рет қаралды 12 М.
Half Derivative of x
20:06
Dr Peyam
Рет қаралды 147 М.
sin derivative of cos
10:11
Dr Peyam
Рет қаралды 15 М.
The Man Who Solved the World’s Hardest Math Problem
11:14
Newsthink
Рет қаралды 586 М.