Derivative of The Factorial Function

Поділитися
Вставка
  • Опубліковано 21 кві 2024
  • In this video, I showed how to differentiate the factorial function obtained from the shifted Gamma function, the pi function.

КОМЕНТАРІ • 94

  • @toastdog214
    @toastdog214 Місяць тому +109

    I love how you always find an intersting topic and go down a deep rabbit hole of making maybe 10 videos about that topic. Truly shows your passion for mathematics and the true desire to learn more. Never stop learning

  • @darickmendes969
    @darickmendes969 Місяць тому +60

    I honestly enjoy seeing your enthusiasm for mathematics , you have way more passion and better teacher then all the math profs I had in my university haha

  • @roberthowes6614
    @roberthowes6614 27 днів тому +6

    You, Sir, are the epitome of what teaching with passion is all about.

  • @darrynreid4500
    @darrynreid4500 29 днів тому +6

    It's a great choice of a problem for students to build an understanding of what's going on. I can see how you put a lot of thought into example selection, and your subsequent delivery for an audience is something to be admired.

  • @devcoolkol
    @devcoolkol Місяць тому +12

    I was just wondering about this a few days ago, can't stop living!

  • @jethrobo3581
    @jethrobo3581 26 днів тому

    Wow! You're one of the most fantastic instructors I have ever seen! Great video!

  • @kianushmaleki
    @kianushmaleki Місяць тому +6

    I like it when you smile. Love the videos ❤️

  • @WhiteGandalfs
    @WhiteGandalfs 28 днів тому +6

    Well, it's useful to have a sufficiently appropriate "coarse feeling" of the value. The integral at the end is not straightaway self-explanatory, so lets make sense of it!
    Maybe for the "coarse feeling" of the derivative, we don't need to take the exact value of the gamma function. By taking the difference over a full 1 in x, then taking the "appropriate" average...
    difference one up: (x+1)! - x! == x!*(x+1) - x! == x! * ((x+1)-1) == x! * x
    difference one down: x! - (x-1)! = (x-1)! * (x-1)
    Since the series is growing by multiplication (by a rather constant factor, since the difference between x and x+1 for the growths is the smaller the bigger x becomes), it is appropriate to take the geometric average from the difference up und down to get a pretty good fitting approximation of the value for the difference at spot x:
    average (one up, one down) = sqrt( x! * x * (x-1)! * (x-1) ) == sqrt( x!^2 * (x-1) ) == x! * sqrt(x-1)
    The "-1" in the sqrt we can qietly ignore since the whole thing goes about a "coarse feeling" anyways, thus we land at:
    derivative (x!) ≈ x! * sqrt(x)
    That's a very easy to remember (but very coarse) approximation for practical usage.
    Check with Wolfram Alpha yields that this is actually better approximated by:
    derivative ((x-1)!) ≈ x! / (sqrt(x) * ln(sqrt(x)))
    The "-1" on the LHS because the Gamma function is one of against the factorial function.
    To rectify that for easier use:
    derivative (x!) ≈ x! * sqrt(x) / ln(sqrt(x))
    That is sufficiently easy to remember and to calculate and in the range of a few percentage off the exact value. And it gives a good "feeling" for the look of that derivative function.

    • @xenmaifirebringer552
      @xenmaifirebringer552 28 днів тому

      Thanks for the extra insight and explanation!
      I think for a coarse approximation you could also differentiate Stirling's factorial formula. I'm curious if that'd look anything similar to the approximation you explained.

  • @anthonydevellis6708
    @anthonydevellis6708 20 днів тому

    these are the most wholesome advanced calculus videos ive ever seen in my life. i say advanced calculus only because my high school calculus teacher was a devoutly religious, elderly vietnamese woman who stood 4'11"

  • @journeymantraveller3338
    @journeymantraveller3338 28 днів тому

    Great delivery and informative.

  • @rav3nx33
    @rav3nx33 24 дні тому +1

    They are some clean as hell blackboards you got there. 😜 You do good work man, love the pace and energy

  • @jeanagulay3479
    @jeanagulay3479 20 днів тому +1

    Sir your videos helps me a lot..
    From Iloilo Philippines ❤❤❤

  • @douglasstrother6584
    @douglasstrother6584 13 днів тому +1

    You, Michael Penn & Papa Flammy all make me miss *real* chalkboards.

  • @KaushikAdhikari
    @KaushikAdhikari Місяць тому +9

    6:42 John 1:4? Amen
    Thanks for the tutorial ❤

  •  29 днів тому +6

    Good job.
    You can actually represent the derivative of the gamma function using the definition of the digamma function and its series representation. Keep up the good work!

  • @josephwellinghoff1259
    @josephwellinghoff1259 Місяць тому +3

    Very clearly explained...thanks

  • @Supercatzs
    @Supercatzs 17 днів тому

    Great videos! Love the scripture at the end.

  • @AaryanK-wp6vi
    @AaryanK-wp6vi 14 днів тому

    I think you are very very ... passionate about mathematics. The 10s of videos you make about the same topic in different ways show this. And I like your way of explanation that is different from other YT people. I hope you do more videos like this

  • @pk2712
    @pk2712 24 дні тому +1

    There is another maybe shorter way to show that the partial derivative with respect to x of t^x is ln(x)t^x . We know that t is considered as a constant . The derivative with respect to x of y=e^(ax) is ae^(ax) . Start with t = e^(lnt) ( where t and also lnt are constants ) and substitute this into t^x = (e^(lnt))^x = e^[(lnt)x}] . Now the derivative with respect to x of this last expression is lnxe^[(lnt)x} . But , in this last equation we know that e^[(lnt)x} = t^x ; therefore , the partial derivative with respect to x of t^x is (lnt)t^x .

  • @kragiharp
    @kragiharp Місяць тому

    Thank you, Sir!
    ❤️🙏

  • @Morty-hg2gh
    @Morty-hg2gh 3 дні тому

    Good job bro❤

  • @ttaylor3rd
    @ttaylor3rd Місяць тому

    nicely done!

  • @iithomepatnamanojsir
    @iithomepatnamanojsir 29 днів тому

    Very nice lecture

  • @ingiford175
    @ingiford175 Місяць тому +2

    Saw an interesting definition of the gamma function:
    lim (n goes to infinity) n! * u^n / Product (other Pi function) ( v as v goes from 0 to n) of (u+v)
    u > 0
    In an old 1960's Finite Differences textbook.

  • @andy_lamax
    @andy_lamax 9 днів тому

    you are so close to discovering the di-gamma function

  • @rajesh29rangan
    @rajesh29rangan Місяць тому

    Thank you.

  • @7yamkr
    @7yamkr 25 днів тому +4

    Now it's time for integral x factorial

  • @MrMusicM67
    @MrMusicM67 День тому +1

    Love the shirt! Where did you get it?

  • @DEYGAMEDU
    @DEYGAMEDU Місяць тому

    I was waiting for this

  • @kotylka90
    @kotylka90 16 днів тому

    Mister I think leibniz rule hold for proper integrals. How would you justify using it for the improper integral here?

  • @lornacy
    @lornacy Місяць тому

    All I could think of is that the derivative would be huge, quickly. Factorials grow fast 😅
    I am going to have to rewatch this to really get my head around it.

  • @Harrykesh630
    @Harrykesh630 Місяць тому

    I would like to enroll in your class this year!!

  • @polzinger
    @polzinger 26 днів тому +2

    Very nice writing.

  • @cbbohn8107
    @cbbohn8107 Місяць тому

    He is awesome

  • @Misteribel
    @Misteribel 7 днів тому

    You can simplify using the digamma function, though (if you can really call that a simplification).

  • @raghuvanshiedit
    @raghuvanshiedit 2 дні тому

    Hey sir, a doubt is can't we write ln(t) t^x as ln(t)^(t^x) which would give x?

  • @alejandropulidorodriguez9723
    @alejandropulidorodriguez9723 27 днів тому

    splendid

  • @nyksik001
    @nyksik001 2 дні тому

    Is this channel for postgraduates?

  • @user-ky5dy5hl4d
    @user-ky5dy5hl4d 2 дні тому

    I did not understand much of it without delving into it more. But the beginning is interesting by making the x factorial as pi of x. I think you can do that with any irrational number, so why not chose square root of 2? Or another irrational number.

  • @beapaul4453
    @beapaul4453 Місяць тому +2

    Can you upload videos about complex geometrical problems(drawing graphs), like polygons? That would be great to see.

    • @PrimeNewtons
      @PrimeNewtons  Місяць тому +7

      Sounds like something I don't know yet

    • @paraskumar9850
      @paraskumar9850 Місяць тому +6

      @@PrimeNewtons never stop learning, those who stop learning ! stops living

    • @lornacy
      @lornacy Місяць тому +1

      ​@@paraskumar9850 He never said he wasn't willing to figure it out ... Looks to me like a way for him to sustain life!

    • @miguelmarcoscatalina3872
      @miguelmarcoscatalina3872 6 днів тому

      Hace mucho que no practico matemáticas, pero me parece, solo me parece, que hay un grave error en cambiar una función que solo es continua en puntos concretos y aislados en una función continua en todo el intervalo. Lo considero un error, aunque puedo estar equivocado

  • @herlandarmantotampubolon8135
    @herlandarmantotampubolon8135 23 дні тому

    Sir, it seems to me that you could use Lambert Function to continue the last result.

  • @rknowling
    @rknowling Місяць тому

    Thankyou for a fun and useful result! 😄
    In the early pages of Bleistein & Handelsman "Asymptotic Expansions of Integrals", they talk about:
    \limits_{N \to \infty } \left[ {{{\left( { - 1}
    ight)}^N}N!x{e^x}\int\limits_x^\infty {\frac{{{e^{ - t}}}}{{{t^{N + 1}}}}dt} }
    I have been wrestling with this for some time; thanks to your videos combining the Leibnitz rule, l'Hopital, second FTC etc with limits, I am (slowly! haha) gaining some traction. Much appreciated!

  • @kianushmaleki
    @kianushmaleki Місяць тому

    ❤️❤️

  • @mickodillon1480
    @mickodillon1480 Місяць тому

    Interesting one there. Good video.

  • @szymonharpula1217
    @szymonharpula1217 13 днів тому

    Wouldnt it be easier to use stirlings aproximation

  • @mrngochoi89
    @mrngochoi89 Місяць тому +1

    But i dont know the define of x! if x in R

  • @lemon.linguist
    @lemon.linguist Місяць тому

    i love your videos!
    i have a question that's unrelated to the video but still mathematical
    i can put it in the replies of this question if you'd like

    • @PrimeNewtons
      @PrimeNewtons  Місяць тому

      An email with be better. Primenewtons@gmail.com

  • @sammtanX
    @sammtanX Місяць тому +1

    sir, for the power of t, shouldn't it be x-1? Because the y = x!, not y = (x-1)! hence it should be gamma of x, so t's power has to be (x-1)

  • @jacobgoldman5780
    @jacobgoldman5780 Місяць тому

    the bounds are in terms of t or x?

  • @makramaarid6598
    @makramaarid6598 4 дні тому +1

    This is the gamma function

  • @awrRoman25
    @awrRoman25 Місяць тому +1

    You could just differentiate Stirling formula.

  • @MathSync
    @MathSync 29 днів тому

    i ❤ Mathematics

  • @Ahmad-yi6d
    @Ahmad-yi6d Місяць тому +4

    Oops derivative of a factorial function 🥶

  • @MATHS_FOR_FUN
    @MATHS_FOR_FUN 25 днів тому

    Dy/Dx = X! [ Sum from {i = 0 to x-1} (1/(X-i))]
    Isn't it ?

  • @petr_duduck
    @petr_duduck 11 днів тому

    Учитывая, что Гамма функция- это интеграл, найти от неё производную не так уж сложно

  • @hydraim9833
    @hydraim9833 Місяць тому +1

    Hi! I am curious, why is there no way? At the end of the video you had the intention to replace t^x e^-t with x! ? You didnt do it because it would be abusive notation or im missing the smth?

    • @awrRoman25
      @awrRoman25 Місяць тому

      You can not replace t**x*exp(-t) with x! because integral(t**x*exp(-t)) from 0 to inf equals x!, not function inside.

  • @allozovsky
    @allozovsky Місяць тому

    I guess the next derivative would square the logarithm.

  • @salahouldaya4958
    @salahouldaya4958 3 дні тому

    This fuction is not continu how could it be derivable ???

  • @salahouldaya4958
    @salahouldaya4958 3 дні тому

    why don t you ask if this fuction is derivable before anything

  • @user-ld7cm5jj6h
    @user-ld7cm5jj6h Місяць тому +1

    Please try to solve this equation
    (X+1/x)^x=2

    • @user-ld7cm5jj6h
      @user-ld7cm5jj6h Місяць тому

      Please

    • @user-ld7cm5jj6h
      @user-ld7cm5jj6h Місяць тому

      Please

    • @bridgeon7502
      @bridgeon7502 Місяць тому +3

      x = 1 (I just guessed)

    • @allozovsky
      @allozovsky Місяць тому

      x = 1 is a trivial solution

    • @IoT_
      @IoT_ Місяць тому

      Since the function on the left always increasing , there can be maximum one solution. One may guess that it's x=1 , but I am afraid , you have to use numerical ways to solve it, like Newton's method.

  • @danielaromero8474
    @danielaromero8474 16 днів тому

    Γ(x) = (x-1)! → x! = Γ(x+1) (Gamma function)
    Γ'(x) = Γ(x)(ψ(x)) → Γ'(x+1) = Γ(x+1)(ψ(x+1))
    d(x!)/dx = x!(ψ(x+1)) → ψ(x+1) = ψ(x) + 1/x (Digamma function)
    ψ(x) = Hₓ₋₁ - γ (Harmonic number & Euler's constant)
    d(x!)/dx = x!(Hₓ₋₁ - γ + 1/x)

  • @eliaskhanmeh7399
    @eliaskhanmeh7399 2 дні тому

    Not zero x/ y if y=0 that mean not knowing

  • @harris5140
    @harris5140 Місяць тому

    Factorial is part of N, not R.

    • @allozovsky
      @allozovsky Місяць тому +1

      Abuse of notation is pretty common in math (as long as it is clear from the context what a given notation mean). After all, there are not so many math symbols to denote the variety of similar concepts.

    • @fabiopilnik827
      @fabiopilnik827 27 днів тому +1

      Well in that case the derivative of x! is (x+1)! - x! = x!(x+1 - 1) = x!x. But technically that’s a difference not a derivative.

  • @anigami01
    @anigami01 8 днів тому

    anyone from India ( JEE aspirant) here

  • @cparks1000000
    @cparks1000000 27 днів тому

    Taking the derivative under an integral requires some justification.

  • @eliaskhanmeh7399
    @eliaskhanmeh7399 2 дні тому

    Thé chaîne de zéro is unknowing

  • @Berin.Jervin
    @Berin.Jervin 4 дні тому

    X! is not continuous, so has no derivative.

    • @thedudethatneveruploads2617
      @thedudethatneveruploads2617 4 дні тому

      Correct; however, he differentiated the Pi function, which is a popular extension of the factorial function to all reals except negative integers, essentially making a continuous factorial function

  • @eliaskhanmeh7399
    @eliaskhanmeh7399 2 дні тому

    X Munier multiply by zero the result zero

  • @himadrikhanra7463
    @himadrikhanra7463 23 дні тому

    ( x-1)!...?

  • @porcospino289
    @porcospino289 11 днів тому

    Ugh.

  • @v8torque932
    @v8torque932 Місяць тому

    Derivatives an anti derivative

  • @tonyscott1658
    @tonyscott1658 15 днів тому

    You can go further. That derivative you speak can be obtained in terms of what is called the digamma function (Psi) . en.wikipedia.org/wiki/Digamma_function i.e. Int(t^x*ln(t)*exp(-t), t = 0 .. infinity) = Psi(x+1)*GAMMA(x+1)

  • @RottenWoodInPower
    @RottenWoodInPower 10 днів тому +1

    Me totally forgot gamma function