This integral will have you on the floor 🤣🤣

Поделиться
HTML-код
  • Опубликовано: 11 апр 2023
  • Integral of 1 over integer part of 1/x from 0 to 1. I calculate a nice integral with a floor function by using Riemann sums and using telescoping series, it’s a must see for calculus lovers. The answer involves the Euler Mascheroni constant
    Integral fractional part of 1/x
    • Integral of the fracti...
    YT channel: / drpeyam
    TikTok channel: / drpeyam
    Instagram: / peyamstagram
    Teespring merch: teespring.com/stores/dr-peyam

Комментарии • 166

  • @thegrandmuftiofwakanda
    @thegrandmuftiofwakanda Год назад +11

    I didn't recognise this "floor" notation and thought you were asking me to find the continuous integral of x dx between 0 and 1.
    Interesting problem with an interesting result, though.

  • @averageboulderer
    @averageboulderer 4 месяца назад +3

    Glad I got it right. Euler's solution to the Basel problem is a fun topic by itself. I love it when continuous and discrete domains are mixed. Reminds me of signal processing math.

  • @aneeshsrinivas9088
    @aneeshsrinivas9088 Год назад +107

    WTF happened to the floor.

    • @tyruskarmesin5418
      @tyruskarmesin5418 Год назад +11

      Floor is the piecewise function that let him break it into a bunch of simple integrals.

    • @aneeshsrinivas9088
      @aneeshsrinivas9088 Год назад +11

      I was making a pokemon talk reference.

    • @yogi30051972
      @yogi30051972 Год назад

      ​@@tyruskarmesin5418 can you give more info on this please? I'm new to these functions. I looked it up on wiki but it described it in a very strange way and I don't understand

    • @adrienanderson7439
      @adrienanderson7439 Год назад +3

      ​@@yogi30051972 ​So for each interval of x that he integrates 1/x over, (1/2 to 1 and 1/3 to 1/2 ect), the floor of 1/x for x being in that interval is just a constant. For example 1/x where x is a value somewhere between 1/3 and 1/2 means 1/x is between 2 and 3 so the floor of 1/x is just 2 (decimal part removed). Which allows him to integrate the floor of 1/x as just 2 over that interval. If you add all those pieces together you get the whole integral from 0 to 1.

    • @Djdjennerd
      @Djdjennerd Год назад +3

      memory unlocked

  • @Yolwoocle
    @Yolwoocle Год назад +1

    I love your enthusiasm!

  • @gabrielhuan7482
    @gabrielhuan7482 Год назад +10

    Any math problem will have me on the floor in a fetal position

  • @user-yd1yi3gm5e
    @user-yd1yi3gm5e Год назад +2

    Great video as always! I am pretty sure that the last integral, of the frational part of {1/x} from 0 to 1, is actually positive and equal to 1-gamma.
    I transfered the integral to a pretty weird sum, and as wolfram alpha said, the sum equals 1-gamma.

  • @roberttelarket4934
    @roberttelarket4934 Год назад +6

    No it had me on the "ceiling"!

  • @BadlyOrganisedGenius
    @BadlyOrganisedGenius Год назад

    Great video! Vear clear explanation, and a cool final result.
    If you want a challenge, you could try:
    Integral from 0 to infinity of {e^x} - 1/2
    i.e fractional part of e^x, subtract 1/2

  • @michaelbaum6796
    @michaelbaum6796 Год назад

    Very cool solution - thanks 👍

  • @jacobtopp6356
    @jacobtopp6356 Год назад +1

    Great video!

  • @Classy
    @Classy Год назад +5

    I accidently discovered what a floor function was trying to find the wave equation of a triangular traveling wave. It scared me and so does this integral.

  • @denismilic1878
    @denismilic1878 Год назад +5

    Fun math, fun video and fun guy.

  • @ema8889
    @ema8889 Год назад +1

    very good video, it could help me to solve an integral with matrices or with linear algebra, greetings from Mexico

  • @johnloony68
    @johnloony68 Год назад +10

    The calculation you did in the video uses the floor function, which is different from the image shown in the thumbnail

    • @drpeyam
      @drpeyam  Год назад +1

      The thumbnail shows the floor function

    • @a.b.c.d.e...
      @a.b.c.d.e... Год назад +3

      ​@@drpeyam the Thumbnail shows square brackets

    • @maitri1656
      @maitri1656 Год назад

      @@a.b.c.d.e... Greatest integer function

    • @johnloony68
      @johnloony68 Год назад +2

      No it doesn’t. The thumbnail shows square brackets [ ]

    • @drpeyam
      @drpeyam  Год назад +1

      It’s another notation for the floor function…

  • @user-iz6gi1rf4t
    @user-iz6gi1rf4t Год назад +6

    The last integral is positive: 1-γ.

  • @armanavagyan1876
    @armanavagyan1876 Год назад +1

    Hi PROF nice to see U back☺

  • @mr.nobody.01
    @mr.nobody.01 Год назад +1

    Very cool!

  • @davidbelk46
    @davidbelk46 Год назад +2

    I literally just saw this problem on Brilliant yesterday and thought... "Huh!? Where do I even begin??" Thanks.

  • @Khalid_7477
    @Khalid_7477 4 месяца назад

    Thank you so much ❤

  • @abhinavk0929
    @abhinavk0929 Год назад +3

    I felt smart when I figured this out without watching the video, then I felt even smarter after reading the comments lol!

    • @jameeztherandomguy5418
      @jameeztherandomguy5418 Год назад +1

      bruh look at the thumbnail its not the floor f unction there, so people solved it on the thumbnail

  • @MultiNeurons
    @MultiNeurons Год назад +3

    Always looks like there is something mysterious when we manage integer numbers and suddenly appears Pi

  • @sadiqtheog2265
    @sadiqtheog2265 4 месяца назад

    Perfect❤❤ i love your show

  • @nedmerrill5705
    @nedmerrill5705 Год назад +7

    That right-hand expression collapses like a cheap suit.

  • @davidhoekstra4620
    @davidhoekstra4620 Год назад +8

    I must be missing something. Isn't [1/x]expn(-1) just x? So that would be Integral(x) from 0 to 1. And wouldn't that just be 1/2?

    • @drpeyam
      @drpeyam  Год назад +5

      No it’s the floor function

  • @theproofessayist8441
    @theproofessayist8441 Год назад

    The integral of the integer part does not necessarily need to be an integer because the integer part is just in the integrand correct and it becomes an infinite series as we saw what you did. - Good to see Euler Mascheroni constant again!

  • @ekadria-bo4962
    @ekadria-bo4962 Год назад +2

    My face in the floor when doctor peyam make a video ❤😊

    • @drpeyam
      @drpeyam  Год назад

      Awwwwww thank youuuu!!!

  • @seanfraser3125
    @seanfraser3125 Год назад +1

    I derived the series at 1:47 using integral substitution. If we let u=1/x, then dx = 1/u du (note I didn’t mix up x and u here, the two formulations are equivalent).
    From there it’s a relatively straightforward forward sum of integrals.

  • @General12th
    @General12th Год назад

    Doubly cool!

  • @decare696
    @decare696 Год назад +2

    how is that second sum telescoping? Did you mistake it for the sum of (1/n - 1/(n+1)) or did I miss something?

    • @drpeyam
      @drpeyam  Год назад +5

      It is telescoping, you can use partial fractions

    • @decare696
      @decare696 Год назад +2

      Aaah I see, the numerator is 1 + n - n.

  • @etiennebasset7493
    @etiennebasset7493 Год назад +5

    Beautiful result out of ugly integral 😂

  • @newwaveinfantry8362
    @newwaveinfantry8362 Год назад +7

    After reading the comment section I am convinced that a lot of people, even in the math community, don't know what the floor function is.

    • @drpeyam
      @drpeyam  Год назад +3

      I know right?? I’m so shook 😂

    • @jameeztherandomguy5418
      @jameeztherandomguy5418 Год назад +1

      @@drpeyam thumbnail doesnt CONTAIN it

    • @thegrandmuftiofwakanda
      @thegrandmuftiofwakanda Год назад

      I've used it a lot over 20+ years in MATLAB / C / C++ where we just see it as floor() but have never seen this "partial square bracket" notation.

    • @thegrandmuftiofwakanda
      @thegrandmuftiofwakanda Год назад +1

      @@jameeztherandomguy5418 Yes that's why I thought the problem was to integrate x dx between 0 an 1, which of course is trivial. Then on the white board it looks different, if you spot it.

    • @softwarelivre2389
      @softwarelivre2389 Год назад

      People do know what the floor function is. The problem is the thumbnail did not show the floor function.

  • @ElifnurKale-fj2ex
    @ElifnurKale-fj2ex Год назад

    Amazing 🥰🥰🥰🥰

  • @markrosenthal9108
    @markrosenthal9108 Год назад +8

    Pi squared? No way!
    Pi are round.
    Cornbread are square.

  • @theelk801
    @theelk801 Год назад +4

    your thumbnail shows nearest integer, not floor

    • @drpeyam
      @drpeyam  Год назад

      No that’s the notation for floor

    • @ErhardNeher
      @ErhardNeher Год назад +2

      @@drpeyam no its not, you put in brackets

  • @MultiNeurons
    @MultiNeurons Год назад +3

    What about studying the triples as [2,3,5] with one even and two odds numbers such that 2*3+5=11 (prime); 2*5+3=13 (prime); 3*5+2=17 (prime) ? Never heard about this topic.
    Seems quite interesting excluding symmetries. Another example could be [3,7,10] ... and so on and so forth...

    • @drpeyam
      @drpeyam  Год назад +6

      I’m not a number theorist

  • @AnhNguyen-ul4hl
    @AnhNguyen-ul4hl Год назад +11

    (1/x)-¹ = x

    • @curtiswfranks
      @curtiswfranks Год назад +18

      But not if there is a floor in the middle.

  • @conanedojawa4538
    @conanedojawa4538 Год назад +3

    on 0:29 you start with the lower bound of the first integration with 1/2 not 0 why?!

    • @shivanshnigam4015
      @shivanshnigam4015 4 месяца назад

      Because for x being 0 to 1/2 (floor(1/x))^-1 will be zero

    • @averageboulderer
      @averageboulderer 4 месяца назад +1

      Because if x belongs to (1/2, 1], floor(1/x) = 1. The next interval that results in the same operator being 2 is (1/3, 1/2] and so on until (countable or discrete) infinity. Hope that gives you clarity.

    • @naveen.v4734
      @naveen.v4734 3 месяца назад +1

      actually he goes till that , its just that he has started with 1/2 to 1 then 1/3 to 1/2 soo eventually it will reach 0 and be included (which we will take care of in the summation)

  • @felixbrandt6419
    @felixbrandt6419 Год назад +11

    I don't understand this at all. I thought the answer would just be 1/2??

    • @sanjayg1728
      @sanjayg1728 Год назад +5

      The answer 1/2 is true if the expression in the brackets was just 1/x. But it isn't. Look carefully, 1/x isn't surrounded by square brackets (although it looks like one). It is actually a floor function applied on 1/x. Just google the symbol for floor function and you'll understand.

    • @felixbrandt6419
      @felixbrandt6419 Год назад +1

      @@sanjayg1728 Thanks, man.

    • @NKY5223
      @NKY5223 Год назад +9

      ​@@sanjayg1728it's square brackets in the thumbnail lmao

    • @sanjayg1728
      @sanjayg1728 Год назад +1

      @@NKY5223 Yeah, that's right.

    • @raonimesquitadossantos7175
      @raonimesquitadossantos7175 Год назад

      ​@@sanjayg1728No, it is brackets because it's the round not the floor function.

  • @kendeorosz4811
    @kendeorosz4811 Год назад +2

    Hello! What is the convolution of two cauchy distribution?

  • @rupeshmishra-vnc
    @rupeshmishra-vnc Год назад

    I'm from India ❤ I like your video

  • @darshbir
    @darshbir Год назад +6

    Never seen someone so excited to see pi^2/6 as an answer. P.S. where could i find the solution to getting pi^2/6

  • @soumyaghosh8823
    @soumyaghosh8823 Год назад

    great

  • @saarthakjoe2154
    @saarthakjoe2154 Год назад +2

    i initially got confused with the floor functions, but then i realised it is actually the least integer function (thats what we call it in india)
    and your ceiling function would be Greatest Integer Function

    • @vask5500
      @vask5500 4 месяца назад

      It's the other way around. Floor is the greatest integer function

  • @NurHadi-qf9kl
    @NurHadi-qf9kl Год назад +4

    1/2

  • @mokouf3
    @mokouf3 Год назад

    When you talk about π²/6, you showed a picture of π/6!
    Maybe...that was actually π²/6? Please tell me!

  • @mihaleben6051
    @mihaleben6051 Год назад +3

    What.

  • @mwesigwadaudi5718
    @mwesigwadaudi5718 8 месяцев назад +2

    Can't that be a beta function😅😂

  • @armanavagyan1876
    @armanavagyan1876 Год назад

    PROF why do U write the N capital ? Thanks)

  • @pandurangaraonimmagadda9966
    @pandurangaraonimmagadda9966 Год назад +4

    Answer:1/2

    • @drpeyam
      @drpeyam  Год назад +8

      No

    • @thegrandmuftiofwakanda
      @thegrandmuftiofwakanda Год назад +1

      @@drpeyam Well per the problem presented on the thumbnail, yes. On the whiteboard however, you're right, no.

    • @wakeupthewublins69
      @wakeupthewublins69 7 месяцев назад

      @@thegrandmuftiofwakandathe thumbnail is dependent on the country

    • @thegrandmuftiofwakanda
      @thegrandmuftiofwakanda 7 месяцев назад

      @@wakeupthewublins69 I can only comment on what I can see, and what I can see is ambiguity.

  • @mokshamahey
    @mokshamahey Год назад +5

    Isn’t the answer 1/2

    • @minecraftxd4996
      @minecraftxd4996 Год назад

      No because this is the floor(1/x)^(-1) not (1/x)^(-1)

    • @mokshamahey
      @mokshamahey Год назад

      @@minecraftxd4996 you just said the same function

    • @minecraftxd4996
      @minecraftxd4996 Год назад +2

      @@mokshamahey how is floor(1/x)^(-1) equivalent to (1/x)^(-1)?

    • @newwaveinfantry8362
      @newwaveinfantry8362 Год назад

      @@mokshamahey Keyword: floor.

  • @danieldanieldadada
    @danieldanieldadada Год назад

    I see

  • @shahidpervaiz5216
    @shahidpervaiz5216 Год назад +1

    If we substitute p = 1/x
    ==> dx = - p^-2 dp
    Also
    If x = 0, then p range = infinity
    and x = 1 then p range = 1
    Now we integrate (- p^-3) dp within the p range infinity and 1
    Is it workable ?
    and once evaluated I get the result
    1/2 + C !

    • @drpeyam
      @drpeyam  Год назад +7

      No that doesn’t work

    • @manny4148
      @manny4148 Год назад +3

      @@drpeyamtrue may that be, simply stating the falsehood of a solution without providing correction or guidance is both disheartening to someone who was excited about a problem you posed, as well as being unhelpful in any potential aspiration for improvement.

    • @kappascopezz5122
      @kappascopezz5122 Год назад +1

      Okay but why do a substitution like that? If you interpret the task like you just did, you can just use the power rule (x^-1)^-1 = x^(-1 * -1) = x, and then the integral becomes int_0^1 x dx which is 1/2 x² from the bounds 0 to 1, so 1/2.
      But all of this isn't reading the problem correctly: There is a floor function around the 1/x, which doesn't let you do any operations like this. (floor 1/x is not the same as 1/floor x)

    • @drpeyam
      @drpeyam  Год назад +3

      @manny4148 Ok

    • @martinrosol7719
      @martinrosol7719 Год назад

      ​@@drpeyam why does your head look like a strawberry?

  • @AlphaNumeric123
    @AlphaNumeric123 Год назад +3

    Fun video!

  • @dienosorpo
    @dienosorpo Год назад +3

    Isn't it 0.5 bro?

  • @hsinghal1
    @hsinghal1 Год назад +2

    Its just x^2/2 and integral of that is 1/2

  • @mfelix3511
    @mfelix3511 Год назад

    cool

  • @jhg8464
    @jhg8464 Год назад +10

    aint no way bro used an integral to find a triangle

    • @drpeyam
      @drpeyam  Год назад +4

      It’s not x

    • @jameeztherandomguy5418
      @jameeztherandomguy5418 Год назад

      @@drpeyam
      bro got the supreme clickbait. Are you trying to get pepole to say its 1/2 because you didnt show the floor function on your thumbnail???

    • @drpeyam
      @drpeyam  Год назад +7

      I showed the floor function in the thumbnail

    • @jameeztherandomguy5418
      @jameeztherandomguy5418 Год назад +1

      @@drpeyam
      brackets can mean anything. That is not commonly accepted notation -- especially since you showed it correctly in the video
      sems like clickbait

    • @jhg8464
      @jhg8464 Год назад +1

      @@drpeyam brackets are not floor, floor notation misses the top part of bracktes

  • @niklasnowak9010
    @niklasnowak9010 Год назад +1

    Why isnt (x^-1)^-1 just x?

    • @andreyfom-zv3gp
      @andreyfom-zv3gp Год назад +5

      Because this square brackets means floor function. The Floor function returns the smallest integer not greater than the argument. This aspect makes the question harder and, of course, more interesting.

  • @pradyumnanayak9844
    @pradyumnanayak9844 Год назад

    🙏🌺🙏

  • @engineer4906
    @engineer4906 Год назад

    i! ???

  • @jameskeffer2972
    @jameskeffer2972 Год назад +11

    As a first year calc student, (1/x)^-1 is literally just x. What are you even doing? 😂

    • @minecraftxd4996
      @minecraftxd4996 Год назад +20

      This isn't (1/x)^-1, this is floor(1/x)^(-1). They are two completely different functions.

    • @deepaparakkal4241
      @deepaparakkal4241 Год назад

      @@minecraftxd4996 Woah, I didn't even realise that's the floor function. Damn.

  • @tomasbeltran04050
    @tomasbeltran04050 Год назад +5

    Thumbnail is wrong

    • @drpeyam
      @drpeyam  Год назад +4

      ?

    • @tomasbeltran04050
      @tomasbeltran04050 Год назад +12

      @@drpeyam The thumbnail doesn't show a floor function, just normal square brackets

    • @drpeyam
      @drpeyam  Год назад +14

      That is the notation for floor…

    • @Kalumbatsch
      @Kalumbatsch Год назад +13

      @@tomasbeltran04050 The square brackets are another common notation for the floor function, introduced by Gauss.

    • @budhya_
      @budhya_ Год назад +1

      ​@@tomasbeltran04050 this notation is widely used in asian Countries and it's also called Gif (Greatest Integer Function).

  • @essedrako5143
    @essedrako5143 Год назад

    🫣👻

  • @parsecgilly1495
    @parsecgilly1495 Год назад +4

    no way, no hope, pi always pops up!!! :))))))

  • @sharifchannel6587
    @sharifchannel6587 Год назад +1

    1/2

  • @kaushikbasu9707
    @kaushikbasu9707 Год назад +4

    1/2

    • @drpeyam
      @drpeyam  Год назад

      No?

    • @omererenylmaz413
      @omererenylmaz413 Год назад +1

      @@drpeyam I suppose that they misinterpreted the floor function [1/x] as parantheses (1/x). Great video!