Derivative of Lambert W function

Sdílet
Vložit
  • čas přidán 19. 12. 2023
  • In this video, I showed the relevance and behavior of the Lambert W function and how to compute its derivative

Komentáře • 88

  • @ambikachhikara2154
    @ambikachhikara2154 Před 6 měsíci +70

    Hi Mr. Ok! I had you as my Algebra 1 teacher back in middle school and remembered you had a CZcams channel, and now I am in AP Calculus BC and your videos come in handy. It’s great to see that your channel has grown so much!

    • @blackovich
      @blackovich Před 6 měsíci +14

      I remember you, Ambika! Good to hear from you! He also taught me Coding. Amazing teacher!

    • @PrimeNewtons
      @PrimeNewtons  Před 6 měsíci +24

      Ambika, that is good to know. Please reach out if you need help. I am proud of your commitment to learning. Never stop learning!!!!!!

    • @PrimeNewtons
      @PrimeNewtons  Před 6 měsíci +19

      You too?!! I am blessed.

    • @DragonX999
      @DragonX999 Před 5 měsíci +2

      ​@@PrimeNewtonsyou are a goat teacher man

  • @weo9473
    @weo9473 Před 6 měsíci +143

    Next - integration of Lambert w function

    • @indescribablecardinal6571
      @indescribablecardinal6571 Před 6 měsíci +16

      There is a cool equation of an integral of any function given by the integral of its inverse. And the integral of xe^x is trivial 🎉

    • @rolling_metalmatica
      @rolling_metalmatica Před 6 měsíci +6

      Taylor Series Expansion for the Lambert W Function would be cool

    • @NZ59952
      @NZ59952 Před 6 měsíci +6

      I think the indefinite integral is =
      x (W(x) + 1/W(x) - 1) + c

    • @T1Pack
      @T1Pack Před 6 měsíci

      0⅘

    • @Anmol_Sinha
      @Anmol_Sinha Před 6 měsíci

      ​​@@indescribablecardinal6571do you mean that integral of f(x) wrt x = integral of f-1(x) wrt y? The comment asked for the integral of f-1(x) wrt x.
      To find the integral we can take the last step in prime newton's video, cross multiply for W(x) and integrate. We will get the answer already mentioned in this comment chain

  • @octs609
    @octs609 Před 5 měsíci +4

    I do not know anything of calculus, and man I hated math, but for some odd reason, I can not help, but be so intrigued. I blame my educators for me being so bad at math, but also so uninspired and uninterested, after all I was a child, but I commend you for revitalizing my love for math. Your a godsend mate.

  • @rivalhunters4666
    @rivalhunters4666 Před 6 měsíci +5

    aah, u forgot the bracket at the end MY OCD IS TRIGGERED. A very good video :)

  • @Misteribel
    @Misteribel Před 6 měsíci +15

    The trick you apply by taking the derivative on both sides (9:10), then using the product rule, and get back a component that's itself containing the derivative (W'(x)) really caught me off guard. So simple and so useful! It allows you to find the derivative of the productlog function by inference, using basic high school differentiation rules and never really differentiating the function itself directly.

    • @PrimeNewtons
      @PrimeNewtons  Před 6 měsíci +4

      Great tip!

    • @looney1023
      @looney1023 Před 4 měsíci +2

      Implicit differentiation is really powerful. You can use it to find the derivative of the inverse of any function working solely with the function itself.

  • @deathracoffee
    @deathracoffee Před 6 měsíci +3

    I just wanted to say, I really like your voice. Keep on being awesome

  • @johnsellers5818
    @johnsellers5818 Před 6 měsíci +1

    I've taken many math courses up through graduate school and you are the best teacher I've encountered.

  • @laman8914
    @laman8914 Před 6 měsíci +8

    We love how this dude is lecturing Math. Step-by-step. I have watched a number of Lambert W-function clips and they all start right away. But here, you are introduced to the fundamentals first and then how they apply to the actual problem. So, even if you have never heard of it, you can still follow the explanation. We wonder if he has this all hidden in his hat.

  • @remopellegrino8961
    @remopellegrino8961 Před 6 měsíci

    CZcams needs more Math people like you and Michael Penn

  • @1sene_daha_bekle_beni_odtu

    goated teacher man, great explanation

  • @kusuosaiki367
    @kusuosaiki367 Před 6 měsíci

    I have watched few of your videos. As a Math student, I really find these interesting. Keep it up good sir.

  • @ferretcatcher2377
    @ferretcatcher2377 Před měsícem

    This is elegant mathematics. ❤ the use of the chalkboard. Reminds me of my salad days at university.

  • @koenth2359
    @koenth2359 Před 5 měsíci

    Your teaching skills are beyond normal!

  • @johannaselbrun
    @johannaselbrun Před 5 měsíci

    Gracias por apoyarme y me gusta tu trabajo mucho

  • @Ron_DeForest
    @Ron_DeForest Před 6 měsíci

    I have to say that’s an amazingly fast turnaround. Request a video one day, get it the next. Wasn’t quite what I was hoping though. Was really hoping for a deep dive into how it actually works. There’s more to it besides being very convenient. If you use the function on a calculator it comes up with an answer.

  • @EvilSandwich
    @EvilSandwich Před 6 měsíci +5

    Thank you. So many people covered this before but they tend to just glaze over a lot of the simplification. Which usually would be fine, but for a function like this, it just feels like their skipping steps and I'm grateful you took your time and explained every step.
    Any plans to explain how to integrate W(x) in a future video too?

  • @biswambarpanda4468
    @biswambarpanda4468 Před 6 měsíci +1

    You are superb sir

  • @richardbraakman7469
    @richardbraakman7469 Před 6 měsíci +9

    You could also instead of factoring out the e^W(x), replace the W(x)e^W(x) with just x. Then you get 1 / (e^W(x) + x)

    • @TheLukeLsd
      @TheLukeLsd Před 6 měsíci

      eu faço deste jeito também. é mais fácil.

  • @shshshshsh7612
    @shshshshsh7612 Před 6 měsíci +5

    for the third version, we see W'(x)(e^W(x) + W(x)e^W(x)) = 1
    but W(x)e^W(x) = x by definition, so W'(x)(e^W(x) + x) = 1. so W'(x) = 1/(e^W(x) + x)

  • @user-xw6ky8ob4l
    @user-xw6ky8ob4l Před 6 měsíci +2

    Admire your love for Mathematics. This runs through your veins. This in turn is a reflection of your love for every learner under your wings. Here we could revisit Kuert Goedel to probe his incompleteness theorem which classifies three possibilities for solutions given Lambert W Function. No solution exists, and new tools are to be discovered. Lambert W Function only offers an endless loop of no empirical value. Stay Blessed.

  • @jadenredd
    @jadenredd Před 6 měsíci +1

    good video today unc 👍🏾

  • @CalculusIsFun1
    @CalculusIsFun1 Před 6 měsíci +2

    Alternatively you could have used the formula for inverse functions derivative based on the regular function.
    If y = f^-1(x) then f(y) = x
    1 = f’(y) * dy/dx
    Dy/dx = 1/f’(y)
    y = f^-1(x)
    Therefore the derivative of any inverse function can be represented using its none inverse counterpart as dy/dx = 1/f’(f^-1(x))
    Let apply this to lambert.
    The derivative of xe^x = e^x(1 + x)
    so d/dx(w(x)) = 1/f’(w(x)) where f’ is e^x(1 + x)
    So derivative of the lambert function is 1/(e^w(x) * (1 + w(x))

  • @ikhsanmnoor8589
    @ikhsanmnoor8589 Před 6 měsíci

    Then I meet this really good explanation

  • @user-yd4ky5vb3w
    @user-yd4ky5vb3w Před 5 měsíci

    از شما وبزنا شما متشکرم

  • @donsena2013
    @donsena2013 Před měsícem

    Quite an analysis !

  • @Ferraco05
    @Ferraco05 Před 5 měsíci

    The "third" version really just gives you back the first version.
    On another note, you could write a "fourth" version:
    d/dx [ln(W(x))] = 1/[x(1+W(x))]

  • @inceden_Matematik
    @inceden_Matematik Před 6 měsíci

    Soo good :)))

  • @user-yd4ky5vb3w
    @user-yd4ky5vb3w Před 5 měsíci

    Thanks for an other video...master

  • @priyansharma1512
    @priyansharma1512 Před 6 měsíci +1

    Great vid as always but that bracket missing from the second solution has me so annoyed 😭😭

  • @VincentGPT-lol
    @VincentGPT-lol Před 6 měsíci

    Interesting lesson today 🤓✍️

  • @giorgiobarchiesi5003
    @giorgiobarchiesi5003 Před 4 měsíci +1

    Tank you for the video! But I wonder if it would make sense using the rule of the derivative of the inverse of a function. If I remember correctly, it should be the reciprocal of the derivative of the function. For a monotone function like this, it should work just fine.

  • @davefried
    @davefried Před 6 měsíci

    how would you write the answer in terms of the original equation that the lambert function is based upon?

  • @anglaismoyen
    @anglaismoyen Před 6 měsíci +1

    You forgot to close the bracket at the end. Faith in this channel destroyed. Nah, just kidding. Beautiful derivative.

  • @overlordprincekhan
    @overlordprincekhan Před 5 měsíci

    TBH, Another elegant solution would be to use taylor series of e^x and multiplying it with x would give you lambert w function. Then differentiating the series should yield the derivative of Lambert W function

  • @jonathanv.hoffmann3089
    @jonathanv.hoffmann3089 Před 6 měsíci +1

    🎉🎉🎉

  • @brian554xx
    @brian554xx Před 6 měsíci

    )
    I felt compelled to indicate that.

  • @NekoChan_TV
    @NekoChan_TV Před 4 měsíci

    derivative of W(x) is aesy, it's W'(x) !
    Apart of that little joke, thanks for sharing us your knowledge !

  • @aguyontheinternet8436
    @aguyontheinternet8436 Před 6 měsíci +1

    12:47 if you did that and cancelled out the W(x) on the top and bottom, you'd end up with the first equation.

  • @chengkaigoh5101
    @chengkaigoh5101 Před 6 měsíci +5

    Is this possible by first principle?

    • @nanamacapagal8342
      @nanamacapagal8342 Před 6 měsíci +3

      You can use this definition:
      lim_a->x (W(a) - W(x))/(a-x)
      Then substitute a = be^b
      x = ye^y
      On one specific branch at a time this substitution is okay
      Then it's lim_b->y (b - y)/(be^b - ye^y)
      = 1 / lim_b->y (be^b - ye^y)/(b - y)
      = 1/ (d/dy (ye^y))
      So if you can get the derivative of xe^x by first principles then you're all clear
      This actually generalizes:
      d/dx f¯¹(x) = 1/f'(f¯1(x))

    • @wafflesaucey
      @wafflesaucey Před 12 dny

      @@nanamacapagal8342would using this formula cover both of the real branches of the W function?

  • @suyunbek1399
    @suyunbek1399 Před 6 měsíci

    how do you use the derivative of the inverse function formula here?
    derivative of x*e^x is
    (x+1)*e^x
    then what?

    • @anotherelvis
      @anotherelvis Před 6 měsíci

      If f(x) is the inverse of W(x), then the formula for the derivative of the inverse gives us
      W'(x)=1/f'(W(x))
      Now insert f'(x) = (1+x)*e^x to get
      W'(x)=1/((1+W(x))*e^W(x))

  • @vnms-
    @vnms- Před 5 měsíci

    I just did: W(x) = y -> x = ye^y then derived, so: 1 = dy/dx • e^y + ye^y •dy/dx -> 1 = dy/dx(e^y + ye^y -> dy/dx = 1\(e^y(1+y)
    Since y = W(x) and dy/dx = W’(x) that means: W’(x) = 1/(e^W(x)(1+W(x))

  • @mazabayidolazi
    @mazabayidolazi Před 6 měsíci

    Good

  • @RileyGallagher-ce4rq
    @RileyGallagher-ce4rq Před 3 měsíci

    You can also do this:
    (I'm letting y = W(x) for the sake of not writing W(x) 7 times)
    dy/dx = (dx/dy)⁻¹ = [d(yeʸ)/dy]⁻¹ = 1/eʸ(y+1)

  • @empathy800
    @empathy800 Před 5 měsíci

    Instead of writing the solution in terms of Lambert function, could you simply calculate the inverse of the function that is the Lambert part?

  • @DroughtBee
    @DroughtBee Před 6 měsíci +1

    I really don’t like how you didn’t close your parentheses at the end on the denominator. Otherwise great video!

  • @v8torque932
    @v8torque932 Před 6 měsíci +1

    I don’t watch it for the math. I watch to see a black dude smile and pause it it brings me joy

  • @donwald3436
    @donwald3436 Před 6 měsíci

    Are you related to Omar Epps you could be his brother lol.

  • @usernameisamyth
    @usernameisamyth Před 5 měsíci

  • @salvatorecharney8180
    @salvatorecharney8180 Před 5 měsíci

    Because [W(x)]e^[W(x)] is just x, can you write the final answer:
    1/(e^[W(x)] + [W(x)]e^[W(x)])
    As this:
    1/(e^[W(x)] + x)

  • @dhiaguerfi2602
    @dhiaguerfi2602 Před 5 měsíci

    6:44 f must be bijective

  • @alexandruandercou9851
    @alexandruandercou9851 Před 6 měsíci

    W function , it just gives you back your ex 😂

  • @lazaredurand6675
    @lazaredurand6675 Před 18 dny

    "Never stop learning..." is actualy a wrong slogan because IA can actualy learn non-stop and they will never be living being. The good one would be "Never stop to search/try/be curious". IA will never be curious, curiosity is the proof that you are living.

  • @ParasocialCatgirl
    @ParasocialCatgirl Před 6 měsíci

    Now, where's the L function 🙃