But I AM joking, Mr. Feynman!

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • Welcome to our beautiful integral-extravaganza, where I evaluate an interesting integral using Feynman's technique. Which function will reign supreme? The normal distribution or arctangent? Watch this video and find out! Some very interesting special functions such as the error function will appear as well
    Subscribe to my channel: / drpeyam
    Check out my TikTok channel: / drpeyam
    Follow me on Instagram: / peyamstagram
    Follow me on Twitter: / drpeyam
    Teespring merch: teespring.com/stores/dr-peyam

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

  • @Galileosays
    @Galileosays 3 года назад +113

    So the result is not normal, but nearly perfect (Peerfc(1)).

    • @drpeyam
      @drpeyam  3 года назад +18

      😂😂😂

  • @puerulus
    @puerulus 3 года назад +62

    The differentiation under the integral sign technique is covered in many calculus textbooks from the 1800s and early 1900s. Richard Feynman himself pointed that out. He probably wouldn't have wanted the technique named after him.

    • @euva209
      @euva209 2 года назад +1

      An example of watering down the curriculum? I'm sure it's an isolated case.😁

  • @UnforsakenXII
    @UnforsakenXII 3 года назад +128

    I remember being obessesed with these kind of integrals back in sophomore year of undergrad, needless to say, it paid off tremendously and I wish it was taught more standardly at least in physics curricula.

    • @jacobharris5894
      @jacobharris5894 3 года назад +8

      I’m still obsessed with them now but I learned it pretty recently. Whenever I see a hard looking integral I try to find any excuse I can to use it.

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

      it's a theorem usually covered in Measure theory. Sadly physicians don't often have this course.

  • @thelink9959
    @thelink9959 3 года назад +9

    That french was spot-on and so was the math.

  • @AnkitSharma-ef7md
    @AnkitSharma-ef7md 3 года назад +7

    While others get to read early morning text from their sweet and loved ones, I get a notification from youtube that Dr. Peyam has uploaded another astonishing problem from mathematics.
    So good to see you professor,
    Amazing approach.
    I was puzzled at the step where you nicely adjusted the error function.
    Loved it.
    Seasonal greetings to you.

  • @ChariotduNord
    @ChariotduNord 3 года назад +32

    nothing tickles my fancy more than math with fun jokes in other languages!

  • @6612770
    @6612770 2 года назад +1

    Congratulations, you have pleasantly blown my mind again.
    Thank you! 🙂

  • @mudkip_btw
    @mudkip_btw 3 года назад +7

    Living dangerously pays off, that's why I like it :} Though I feel like it's getting time for me to learn the proper theorems at this point, like dominated convergence as you talked about. I did quite badly in my calculus 1, 2 classes but much better later, once we got to vector calculus etc. since I'm more of a visual learner. Glad to have people like you around to keep me interested in proper maths as a physics student :)

  • @vai_-cn9br
    @vai_-cn9br 3 года назад +1

    That was beautiful. Thanks for sharing this sir :)

  • @77Chester77
    @77Chester77 3 года назад +18

    13:37 😁
    Sie gehen mir NIE auf die Nerven, Dr πm

    • @drpeyam
      @drpeyam  3 года назад +1

      Hahahaha

    • @thomasborgsmidt9801
      @thomasborgsmidt9801 3 года назад +1

      Ich glaube Du hast im Schwarzen getroffen! πm does not need to make the student feel like an idiot - but he points out and lets the student decide for himself, that maybe he has to reevaluate. Math is - like all sciences - not about finding answers, but finding the relevant question.
      It is like Kepler that just asked himself: Does planetary orbits HAVE to be circular? Well, they don't - the concept of circular orbits was made to make calculations simpler - and elipses do not have a rough and ready formula for the length of the circumfence.
      But then again the quest for making a simple circular equations valid led to a religious conviction that was much more complicated as an end result.

  • @spintwohalves
    @spintwohalves 3 года назад +1

    Another wonderful video. Thanks Dr.πm!

  • @noonesperfect
    @noonesperfect 3 года назад +17

    new generation is so lucky to have these videos around. It really helps a lot you cant imagine , thx to prof. :)

  • @hOREP245
    @hOREP245 3 года назад +10

    One of my favourite integrals! This can be easily extended using the Gamma and Incomplete function for any n>0 (where this is the special case n = 2).

  • @integralboi2900
    @integralboi2900 3 года назад +54

    Leibniz: Am I a joke to you?

  • @GRBtutorials
    @GRBtutorials 3 года назад +17

    I was so confused at the beginning... you’re probably the only RUclipsr who says “thanks for watching” at the beginning of the video instead of at the end!

  • @alexdemoura9972
    @alexdemoura9972 3 года назад +32

    In Portuguese:
    "Por que simplificar,
    se se pode complicar?" 😁

    • @TheTKPizza
      @TheTKPizza 3 года назад +10

      Warum einfach, wenn es auch kompliziert geht? - German

    • @morgard211
      @morgard211 3 года назад +5

      Proč dělat něco jednoduše, když to jde složitě? - Czech

    • @agfd5659
      @agfd5659 3 года назад +2

      @@morgard211 přesně jsem to teď chtěl napsat :D

    • @drpeyam
      @drpeyam  3 года назад +8

      I love how we all have the same saying 😂

    • @souhilaoughlis5832
      @souhilaoughlis5832 3 года назад

      ''ⴰⵢⵖⴻⵔ ⴰⴷ ⵜⵏⴻⵔ ⴷ ⵍⵉEⴰ ⵎⴰ ⵏⴻⵣⵎⴻⵔ ⴰⴷ ⵜⵏⴻⵔ ⴷ ⴰⵙⴰⵡⴻⵏ ''In Tamazight

  • @Lupercus-ht1xt
    @Lupercus-ht1xt 10 месяцев назад

    You're an awesome professor. I laughed a lot and the problem was interesting. Thanks

  • @umerfarooq4831
    @umerfarooq4831 3 года назад +1

    The title of the video got me lol the equation was amazing as well

  • @plnmech
    @plnmech 3 года назад +5

    You went way over my head but one thing I learned is that you are afflicted with the same disease that I am, you are left handed.

  • @marinmaths3826
    @marinmaths3826 3 года назад

    Amazing Dr Peyam. I love Feynman’s technique. Very cool

  • @muratkaradag3703
    @muratkaradag3703 3 года назад +4

    11:16 I didnt know that you speak german ;)
    Lots of love From Germany Berlin!.
    THanks for showing your Magic to us

  • @emiliomontes2043
    @emiliomontes2043 3 года назад

    ¡Manos a la obra! , cordiales saludos Dr. U should make videos talking bout' Fourier transform !!! I love your work :)

  • @joaquingutierrez3072
    @joaquingutierrez3072 3 года назад +1

    Nice video!!! Thank you!! Amazing technique

  • @colonelburak2906
    @colonelburak2906 3 года назад +3

    I'm a PhD student in applied maths, and I still learn so much from your videos, Dr. Peyam!
    The French saying we have in Sweden as well:
    Varför göra något enkelt när man kan göra det svårt?

  • @naveensagar2408
    @naveensagar2408 3 года назад +3

    Integration under diff followed by lebini t' z rule feynman technique is very awsome ! being a masters in physics i can tell only 1 thing this technique is very useful in solving the famous dirichlet integrals . & Many problems in physics.

  • @ahmedgaafar5369
    @ahmedgaafar5369 3 года назад

    i agree this was very beautiful integral and astonishing result.

  • @joeremus9039
    @joeremus9039 2 года назад

    Thanks. I really enjoy your videos.

  • @uxueanderealdazabal128
    @uxueanderealdazabal128 2 года назад

    Gracias por sus vídeos... Manos a la obra

  • @channalbert
    @channalbert 3 года назад +10

    By instinct, maybe biased by "Feynman" in the title, I tried to find the most direct way to apply Feynman's trick, and I came up with multiplying outside the integral by e and inside by e^-1. The latter, together with e^(-x^2) in the integrand form e^[-(1+x^2)] and you can now see an easy parametrization to do the trick: e^[-a(1+x^2)] with the limits from 1 to infty.

  • @MrRyanroberson1
    @MrRyanroberson1 3 года назад

    Erf(1) is such an underrated constant and really puts things into perspective when working wuth statistics. Erf(1)*2 many people lie withing just one standard deviation of the average, and so on, as a fundamental definition.

  • @itswakke
    @itswakke 3 года назад +2

    The most trouble I have with these is: how do I decide where the “a” term goes?

    • @drpeyam
      @drpeyam  3 года назад +4

      It’s an art, there’s no reason why the a should be at a specific point

  • @shreyashegde4032
    @shreyashegde4032 2 года назад

    Your voice feels as if my friend is talking to me😄. Love your presentation

  • @Translacja1
    @Translacja1 3 года назад +1

    Awesome! Great video before going to the job. 😂

  • @bernardlemaitre4701
    @bernardlemaitre4701 3 года назад +1

    jolie démonstration !

  • @chriswinchell1570
    @chriswinchell1570 3 года назад +3

    Hi Dr. Peyam, I accept your challenge to make things worse:
    1. Expand 1/(x^2) in a series and integrate against guassian function. You get an infinite sum of alternating even moments. (A sum of gamma functions, I think.)
    2. Expand the guassian and integrate against the Cauchy distribution so you get a sum of moments of Cauchy.
    3. Find the integral of the inverse Fourier transform of the convolution of guass and Fourier transform of Cauchy (It’s something like e^-abs(x)). I wonder if this works out better than it sounds.
    4. Things aren’t always difficult, remember: toujours aimer le vent qui leve les joupons.

  • @alphaglucopyranose6928
    @alphaglucopyranose6928 3 года назад +5

    Or just use residue integral and integrate on a semicircle on the upper half plane. The function has a simple pole at z=i. Plug in z=i into 2πi*e^(-z^2)/(z+i). We get πe.

  • @acac7353
    @acac7353 3 года назад +1

    Manos a la obra!! Jejeje... Saludos desde Andalucía (España)

  • @luna9200
    @luna9200 3 года назад

    Nice application of this that I thought of: If you do the same thing but with sin(x^2)/(1+x^2), you differentiate twice and use the Fresnel Integrals, and you get a second order ODE! A nice answer comes out if you're willing to use the Fresnel S and C functions.

  • @CoffeeTroll
    @CoffeeTroll 3 года назад +4

    1:13 I love this saying ❤️

  • @triton62674
    @triton62674 3 года назад +6

    German, French *and* Spanish?! Surely you're joking Dr. Peyam??

  • @peterchindove7146
    @peterchindove7146 2 года назад

    Brilliant!

  • @alexcaesar5377
    @alexcaesar5377 3 года назад

    What a easy equation! It is a piece of cake.

  • @maxsch.6555
    @maxsch.6555 3 года назад +1

    I tried to solve this integral by myself. I introduced the factor e^(-a(1+x^2)) in the integrand and used feynmans trick. I defined f(a) to be the integral from 0 to inf of e^(-x^2)/(1+x^2) * e^(-a(1+x^2)) dx. Notice that the integral we want is 2f(0). For f'(a) i got -sqrt(pi)/2 * e^(-a)/sqrt(1+a). To get the original function f(a) I integrated from inf to a. I could express f(a) using the incomplete gamma function: f(a) = sqrt(pi)/2 * e * gamma(1/2, 1+a)
    So the original integral is 2f(a) = sqrt(pi)*e*gamma(1/2, 1)
    If we use the relation between the incomplete gamma function and the error function we get the same answer as in the video. :)

  • @adritobiswas1982
    @adritobiswas1982 2 года назад

    That x square + 1 in the denominator was looking sooo delicious.

  • @paulg444
    @paulg444 3 года назад

    The first thing I would do is bound that integral by putting x=0 in the denominator term (1+x^2)=1. .. that way I have a quick relation with the ERF function, proceed then to solve and then I double check that my solution does not exceed the upper bound. Else Ive got so many moving parts that I dont know if Im right at the end or if I made a few teen mistakes !

  • @shanmugasundaram9688
    @shanmugasundaram9688 3 года назад

    Very nice presentation.

  • @jesusalej1
    @jesusalej1 3 года назад +1

    There is always beauty in maths!

  • @vivelesport8197
    @vivelesport8197 3 года назад +4

    Best and fast...
    I remember a long bad proof in university....

  • @mertaliyigit3288
    @mertaliyigit3288 3 года назад +3

    I love how bottom left of the board dances on 720p60

    • @drpeyam
      @drpeyam  3 года назад +2

      I know, it’s so weird it does that 😂

  • @ny6u
    @ny6u 3 года назад +1

    beautiful 👏🏻👏🏻👏🏻

  • @thomasborgsmidt9801
    @thomasborgsmidt9801 3 года назад +4

    Hmmm... the gauss'ian integral is so very close to being just a constant.

  • @PhilesArt
    @PhilesArt 3 года назад +1

    I'm french and I was confused when u started talking french xD

  • @AstroB7
    @AstroB7 3 года назад +1

    As a French Canadian person, I found your accent wonderful !! Did you take any french class ?

    • @drpeyam
      @drpeyam  3 года назад

      I went to a French Lycée :)

    • @AstroB7
      @AstroB7 3 года назад

      @@drpeyam oh that’s fantastic, french is a very hard language ! It’s always nice to see your great content ! Keep up the good work !

  • @peterdecupis8296
    @peterdecupis8296 2 года назад

    This brilliant example paradoxically highlights that the success of Feynman method is critically dependent on a "fortunate" guess of the parametric generalization of the integrand function.

  • @petervinella5545
    @petervinella5545 2 года назад

    Feyman’s idea is very similar to the calculus of variations as discussed in Evan’s PDE textbook

  • @quinktap
    @quinktap 3 года назад

    Is the error function complimentary? What is important here? Understanding Euler's equations or perhaps his thoughts on expressing his understanding?

  • @YWanek-ft2fs
    @YWanek-ft2fs 3 года назад +2

    Es geht mir auf die πERF(en).
    Haha greetings from Germany 🇩🇪

  • @BaoNguyen6742
    @BaoNguyen6742 3 года назад

    If you substitute a as -1 can it still give the same answer like this

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

    The answer almost says "perfect"

  • @bruwayn2158
    @bruwayn2158 2 года назад

    we can also solve the 1st order differential equation : f'(a)-2a f(a) = -2square(Pi)

  • @DynestiGTI
    @DynestiGTI 3 года назад

    Can all integrals be turned into differential equations like this?

  • @psjt9230
    @psjt9230 3 года назад

    What an idea

  • @tgx3529
    @tgx3529 3 года назад

    Dr Peyam, please , what is the result for this integral.We are not able get primitiv function for integral exp-x^2 from -infinity till a.
    I am not sure, mabye I can take origin integral as e* integral from (exp -(1+x^2))/(1+x^2), and then calculate integral f(a) =exp (-a(1+x^2))/(1+x^2), there will be cancel (1+x^2) for f'(a).... , but I am not sure, if this way is OK

  • @guill3978
    @guill3978 3 года назад

    Is that constant, the result of the integral, a transcendental number?

  • @quinktap
    @quinktap 3 года назад +1

    Belief has no function here

  • @arupabinash2263
    @arupabinash2263 3 года назад

    I love this method

  • @MrZeno001
    @MrZeno001 3 года назад

    You are really a nice guy!

  • @h4z4rd28
    @h4z4rd28 3 года назад +3

    In Slovak:
    Prečo to urobiť jednoducho, keď sa to dá urobiť zložito? :)

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

    Thanks amazing integration. I Never really know using this method, when u integrate for da how to put the limits of the integrale and why…

  • @waleedalzamil2228
    @waleedalzamil2228 3 года назад

    Can you please recommend a good reference to study math...?and to understand more please...

  • @LucPatry
    @LucPatry 3 года назад +1

    mathematics done beautifully

  • @guill3978
    @guill3978 3 года назад

    One question, is the number Ei(1) a transcendental number?

  • @g-smith4466
    @g-smith4466 3 года назад +1

    Actually what is the meaning of " why do something simply, when it can be done in a more complicated way?" It hits home somehow, but I am not sure I get it right.

  • @yashagrahari
    @yashagrahari 3 года назад

    Nice integral

  • @mihalymarkocserpak5437
    @mihalymarkocserpak5437 3 года назад

    Hey everyone! Could somebody please explain the step at 3:28? I dont seem to get how dividing by the 1+x^2 term leads to the following equation.

    • @tcoren1
      @tcoren1 3 года назад

      He splits the x^2+1-1 into two terms, x^2+1 and the number -1, and then splits the integral into two integrals, one for each term.
      For the first term the x^2+1 cancels with the 1+x^2 in the denominator, and the second term ends up just being the initial integral that defines f(a) just with a factor multiplying it

  • @the_nuwarrior
    @the_nuwarrior 3 года назад +1

    What criteria should be used to know where to enter the parameter?

    • @drpeyam
      @drpeyam  3 года назад +2

      Pure guess

  • @superkarnal13
    @superkarnal13 3 года назад +1

    Bellísimo

  • @alireza-vq6ul
    @alireza-vq6ul 3 года назад

    It is useful. thanks.

  • @joniiithan
    @joniiithan 2 года назад

    your jokes are hilarious

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

    Nice, took a similar approach but it doesn't go through the differential equation route.
    Let I(a) = integral from -inf to inf of (e^(a(-x^2-1)) / (x^2 + 1))
    Note that e*I(1) is the desired integral.
    Differentiating under the integral now completely destroys the denominator.
    I'(a) = -sqrt(pi)/(e^a * sqrt(a))
    Now, just directly solve for I(a) using that lim as a -> inf I(a) = 0.
    You can do some trickery with integration by parts and a substitution to get the same result you did.

  • @alwysrite
    @alwysrite 3 года назад

    when you did f(a) why did you only put 'a' in numerator and not denominator? Denominator also had an 'x' term?

    • @drpeyam
      @drpeyam  3 года назад

      It would make it more complicated! Putting a once is simple yet already solves our problem

  • @bprpfast
    @bprpfast 3 года назад +1

    Love from SoCal

    • @drpeyam
      @drpeyam  3 года назад

      🏝🏝🏝

  • @alecapin
    @alecapin 3 года назад +1

    Dicho por el Negro Olmedo: “¡Si lo vamo’ a hacer, lo vamo’ a hacer bien!” :D

  • @AndDiracisHisProphet
    @AndDiracisHisProphet 3 года назад +3

    11:10 es geht eher an die Perven, oder? :D

  • @dr.mohamedfawzy963
    @dr.mohamedfawzy963 3 года назад

    Wonderful

  • @meiwinspoi5080
    @meiwinspoi5080 3 года назад

    may post a video on numerical calculation og error function

  • @justjacqueline2004
    @justjacqueline2004 3 года назад

    Ballet in a math tutu.

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

    fantastic integral wish Peyam was my college teacher 🔥😃

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

    Pourquoi faire ça si on peut faire compliqué ? Vamos a la obra ! Delicious Pi ! Es geht mir auf die Nerven! ....Love u doc.❤

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

    Can this be solved using complex analysis? If so can you upload a video on it too

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

      Maybe, you come up with a solution :)

  • @ericpham8205
    @ericpham8205 3 года назад +1

    If use i^2 as -1

  • @irshadsirslectures4446
    @irshadsirslectures4446 3 года назад

    Please make a vedio on design of experiments

  • @davidsweeney111
    @davidsweeney111 3 года назад

    does minus infinity (or infinity for that matter) have any meaning?

    • @Brad-qw1te
      @Brad-qw1te 3 года назад

      Those are the bounds of the integral. If he wanted to he could evaluate the function between those two x values finding the area

    • @alejandroduque772
      @alejandroduque772 3 года назад

      The correct thing is to take a finite upper/lower limit, and then take the limit as those grow to +- infinity respectively.

  • @ilovephysics350
    @ilovephysics350 3 года назад +1

    Set 1 to "t". That would be perfect.

  • @reinerwilhelms-tricarico344
    @reinerwilhelms-tricarico344 3 года назад

    11:20 I think it's actually "Es geht mir auf die Nerven".

  • @alpcanakaydn6986
    @alpcanakaydn6986 3 года назад

    Very good

  • @Idtelos
    @Idtelos 3 года назад

    And don't call me Shirley.

  • @thomasfritz8174
    @thomasfritz8174 2 года назад

    And the function f(a) actually has a name: it is the Faddeeva function w(iz) , well exactly it is f(a) = w(ia). I deal with the Faddeeva fct. very often.

    • @drpeyam
      @drpeyam  2 года назад

      Interesting!

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

    6:13
    you made things complicated. It is a differential equation of order 1 which is very simple to solve.

  • @nournote
    @nournote 3 года назад

    But Erfc(1) is different from Erfc(-1).
    Could we replace a=-1?

    • @joao_pedro_c
      @joao_pedro_c 3 года назад

      He said a is positive

    • @nournote
      @nournote 3 года назад

      @@joao_pedro_c Thanks.
      At what point the fact that a>0 was used?

    • @joao_pedro_c
      @joao_pedro_c 3 года назад +1

      @@nournote i cant rewatch rn but I think he said it when he made the u sub to get the gaussian integral