Multi-variable Optimization & the Second Derivative Test

Sdílet
Vložit
  • čas přidán 4. 08. 2024
  • Finding Maximums and Minimums of multi-variable functions works pretty similar to single variable functions. First,find candidates for maximums/minimums by finding critical points. Critical Points are where the partial derivatives with respect to x and y are both zero. Then we classify each critical point using the second derivative test. In the multivariable case, there is a new option beyond max/min/neither, there is also the case of the saddle point. The second derivative test involves computing the Hessian, the determinant of a matrix that helps decide whether points are maximums/minimums/saddle or inconclusive. We sketch the geometric intuition behind the Hessian.
    ****************************************************
    YOUR TURN! Learning math requires more than just watching videos, so make sure you reflect, ask questions, and do lots of practice problems!
    ****************************************************
    ►Full Multivariable Calculus Playlist: • Calculus III: Multivar...
    ****************************************************
    Other Course Playlists:
    ►CALCULUS I: • Calculus I (Limits, De...
    ► CALCULUS II: • Calculus II (Integrati...
    ►DISCRETE MATH: • Discrete Math (Full Co...
    ►LINEAR ALGEBRA: • Linear Algebra (Full C...
    ***************************************************
    ► Want to learn math effectively? Check out my "Learning Math" Series:
    • 5 Tips To Make Math Pr...
    ►Want some cool math? Check out my "Cool Math" Series:
    • Cool Math Series
    ****************************************************
    ►Follow me on Twitter: / treforbazett
    *****************************************************
    This video was created by Dr. Trefor Bazett. I'm an Assistant Teaching Professor at the University of Victoria.
    BECOME A MEMBER:
    ►Join: / @drtrefor
    MATH BOOKS & MERCH I LOVE:
    ► My Amazon Affiliate Shop: www.amazon.com/shop/treforbazett

Komentáře • 106

  • @DrTrefor
    @DrTrefor  Před 3 lety +36

    Note that the conditions of the 2nd derivative test should also demand the 2nd partials are CONTINUOUS.

  • @ossahmadrezaazimikohnabi5108
    @ossahmadrezaazimikohnabi5108 Před měsícem +1

    I love that I live in an era where when I get confused studying my text book I can just come yo CZcams and have someone explain the same thing to me in 3D.
    Thank Dr, great lecture.

  • @randompianonoises767
    @randompianonoises767 Před 3 lety +40

    SO THAT'S WHAT THE MIXED PARTIALS ARE FOR THANK YOU SIR

  • @Mobinahere
    @Mobinahere Před 3 lety +46

    This playlist is, without a doubt, FASCINATING! Thank you!

  • @zeeshanmouzam5831
    @zeeshanmouzam5831 Před 3 lety +18

    THE BEST explanation.....I bet none of my teachers (in India) can even think of this...

    • @amansingh-ww2qc
      @amansingh-ww2qc Před 3 lety

      Yes bhaai isilie India m koi maths m accha nhi karta bas rat Lete h underlying cheej koi nhi samjhaata ratwaa dete h

    • @Ck-ej6dy
      @Ck-ej6dy Před 3 lety

      None😂
      Kuch v bhai

    • @adityashingne7808
      @adityashingne7808 Před 3 lety +1

      Not quite true… my professor did an excellent job

    • @mohamedirshaathm32123
      @mohamedirshaathm32123 Před rokem +3

      U are from India and I am from India lets change it brother atleast in next generation....🔥🔥🔥

    • @archismandas7760
      @archismandas7760 Před rokem +2

      @@mohamedirshaathm32123 the correct mindset 💪

  • @BrytonWA
    @BrytonWA Před 2 lety +5

    Thank you for the intuitive explanation of the mixed second partial derivative and what it is representing. I took some time sitting and contemplating on my own before I came to a similar conclusion. It's nice to hear some confirmation of that!

  • @chyldstudios
    @chyldstudios Před 4 lety +27

    Clear explanation of mixed partial derivatives. More videos on the Hessian matrix and its applications.

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 👍💐💐💐💐

    • @OrionConstellationHome
      @OrionConstellationHome Před 2 lety

      Where is the video "Hessian matrix and its applications"? Please give a link to it. Thanks.

  • @riyaverma4724
    @riyaverma4724 Před 3 lety +3

    Thank you so much! Your videos are helping me survive multivariable calculus :)

  • @sazdaz1955
    @sazdaz1955 Před 3 lety +4

    Exceptionally good and easy to follow explanation! I was having trouble understanding how to interpret the calculation for the 2nd derivative test and this definitely helped a lot.

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 👍💐💐💐💐

  • @hareshwedanayake7427
    @hareshwedanayake7427 Před rokem +1

    Thank you so much! You are such a great teacher. This simplified this topic so much for me

  • @joaomattos9271
    @joaomattos9271 Před rokem

    Fantastic way of teaching!!! I recommend the classes here in Brazil!

  • @user-fr2jr6hd4i
    @user-fr2jr6hd4i Před 3 lety +8

    The mixed partial derivative fxy=fyx is the concavity on the line x=y, explained in 10:30, is great.
    Thank you.

  • @jonpritzker9709
    @jonpritzker9709 Před rokem

    Dang, I posted two comments here, first one I thought I was so clever because your diagram and explanations were so clear I got the idea before you said the words ....... but then you said exactly the words ...... and the second comment was a question ....... and then you explained that question. You are an excellent teacher

  • @user-xe8lu4zt4f
    @user-xe8lu4zt4f Před 3 lety

    This Video is awesome that I can clearly understand this concept.
    I truly love the calculus!!!

  • @aashsyed1277
    @aashsyed1277 Před 3 lety +1

    so that is what it has application! thanks! you explain like 100x better my teacher.

  • @nadaabdelkhalek3844
    @nadaabdelkhalek3844 Před 3 lety +1

    Excellent explanation!

  • @skymer5108
    @skymer5108 Před 3 lety +1

    Great video! Thanks for the explanation

  • @dilekpusat8248
    @dilekpusat8248 Před 17 dny

    Thank you for clear and engaging teaching. It was wonderful.

  • @noctua7771
    @noctua7771 Před 3 lety +4

    This is the best explanation I've ever seen. Thank you my man!

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 👍💐💐💐💐💐

  • @thinhvucuong4089
    @thinhvucuong4089 Před 4 lety +3

    Great video!! I really looking forward to your new video in this topic. Thank you!

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 👍💐💐💐💐

  • @sergiolucas38
    @sergiolucas38 Před 2 lety +1

    nice video, very straightforward, detailed explanation :)

  • @isakwatz11
    @isakwatz11 Před 3 lety +6

    thanks man! never knew what mixed partials are supposed to mean but you made it crystal clear! :D

  • @AJ-et3vf
    @AJ-et3vf Před 2 lety +1

    Awesome video sir! Thank you!

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

    Very helpful! Thanks 👏👏👏

  • @dvir-ross
    @dvir-ross Před 16 dny

    Great explanation! Thanks

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

    great explanation. having visuals in 3D is sooo important to understanding multivariable calc

  • @GoutamDAS-ls1wb
    @GoutamDAS-ls1wb Před 2 lety +2

    Thanks so much Professor Bazett for this excellent, lively presentation! You convey your enthusiasm to your audience. They are helping me so much as I review multivariable calculus being offered on edX. I am very, very grateful.

  • @olehborys1462
    @olehborys1462 Před rokem

    Great, thank you very much for this explanation

  • @shefalichoudhary3082
    @shefalichoudhary3082 Před rokem

    Thank you So much... Very Easy and Perfect Explanation.. Really Helpful video

  • @marflem12
    @marflem12 Před 3 lety

    Thanks for that. always struggled to find an intuitive understanding for the mixed 2nd pd. and its' significance. Think you nailed it. Thank you.

  • @HermanToMath
    @HermanToMath Před 3 lety +1

    I love your intuitive explanation! :-D

  • @user-xh5ct4yw3x
    @user-xh5ct4yw3x Před 4 měsíci

    the best as always

  • @bhaveshmutkure8150
    @bhaveshmutkure8150 Před 2 lety +1

    Sir you are the best really 😇

  • @dhananjayjoshi3561
    @dhananjayjoshi3561 Před 3 lety

    Really nice explanation... Waiting for more videos in this manner

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 👍💐💐💐💐💐

  • @syabongajele6431
    @syabongajele6431 Před 3 lety +1

    wow very informative and very clear wow !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @cesarmoreno987y
    @cesarmoreno987y Před rokem

    Great video hope youre having a great day

  • @experienceit-knowit
    @experienceit-knowit Před 3 lety

    Hi
    Will this work for 3 and 4 variable functions also? How to do in that case?

  • @azbebggddef
    @azbebggddef Před 2 lety +1

    im korean college student and thank you for your hing class lecture.

  • @samyakmahajan6828
    @samyakmahajan6828 Před 3 lety +1

    Thanks!

  • @Economics365
    @Economics365 Před 3 lety +1

    Thank you sir

  • @ahmedelsabagh6990
    @ahmedelsabagh6990 Před 3 lety +1

    Clear and simple

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 💐👍👍👍

  • @qandos-nour
    @qandos-nour Před 4 lety +1

    Thank you 👍🏻

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 💐💐💐💐💐💐

  • @OrionConstellationHome

    ? from one of the comments below: Where is the video "Hessian matrix and its applications"? Please give a link to it. Thank You! Great job!

  • @ycombinator765
    @ycombinator765 Před 3 lety +2

    You are just awesome!!!
    I want to be this good in Maths... :)

    • @DrTrefor
      @DrTrefor  Před 3 lety +1

      Keep working at it, you'll get there!

    • @ycombinator765
      @ycombinator765 Před 3 lety

      @@DrTrefor thank you!
      I am trying my level best.

  • @NumbToons
    @NumbToons Před rokem +2

    I nominate you for Nobel Prize.

  • @mathveeresh168
    @mathveeresh168 Před 4 lety

    Great video ❤️

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 👍💐💐💐💐💐

  • @paulwolter3186
    @paulwolter3186 Před 2 lety

    What do the second derivative tests look like when the function has 3 or more independent variables?

  • @rogerhoefel8515
    @rogerhoefel8515 Před 4 lety

    Great video, but I suggest to use convex/concave instead of down concave ....

  • @michaelhuntington3545
    @michaelhuntington3545 Před 8 měsíci

    What is the connection for the formula to the derivative of the mixed partial matrix?

  • @siddhanttomar2042
    @siddhanttomar2042 Před rokem +1

    nice visualation

  • @amansingh-ww2qc
    @amansingh-ww2qc Před 3 lety +1

    Sir kasam s English m likh k feeling nhi aayega , mzaa AAA gyaa kasam s

  • @jayneelshah7609
    @jayneelshah7609 Před 3 lety

    Great Explanation!
    I have a doubt though.. say my function is sinx+siny+sin(x+y) partial derivative w.r.t. x and y will be cosx+cos(x+y)=0 and cosy+cos(x+y)=0 respectively, now to find the critical points do I equate both the eqations and thus eliminate cos(x+y) or do I go by the general rule and expand the functions by addition formula? According to me, we should go by the second method as it is generalized but the first way also gives the correct answer...why is it so? Please Reply whenever you can.
    Thank You :)

    • @madghostek3026
      @madghostek3026 Před 2 lety +1

      I think the first way is more of an trick, but totally works, both partial derivatives should be equal to 0 at some x,y, so in fact they will also be equal to each other. So you get cosx=cosy

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

    What should we do,if we encounter inconclusive condition?

  • @MultiKB13
    @MultiKB13 Před 3 lety +2

    Points where the partial derivatives don't exist also should be candidate points for the 1st derivative test right? For example, the point on a cone.

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

    I love how well you explain the intuition, you have an extremely pedagogical way of teaching maths!
    I had one doubt that I couldn't solve and confused me:
    Assume the function x^2 + y^2 + 3 xy
    It gives me fxx=2, fyy=2 and fxy=3 Hence fxx.fyy - fxy^2 = 4-9 = -5

  • @aidenstonehouse9651
    @aidenstonehouse9651 Před rokem

    Please can you make a video just on mixed partials - graphically what is going on. I still do not understand.

  • @tassneamosman6998
    @tassneamosman6998 Před 3 lety +1

    wait can someone explain how at min 10:05 he gets the line x=y, f(x,x)=-x^2? Like idk if my brain is just fried but i do not see where that's coming from and now suddenly my mouse is hovering over the "withdraw from MATH 1320" option in my enrollment portal.

    • @tassneamosman6998
      @tassneamosman6998 Před 3 lety +1

      nevermind yall i just needed a nap i figured it out

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 💐👍👍👍💐

  • @ton146
    @ton146 Před 3 lety

    I was reading another book on CAD/CAM where it is stated that the gradient vector gives the normal to a tangent plane at a point. I can provide the details of the book if required. I do not believe this to be true and so I am trying to resolve this apparent clash. Can you confirm whether or not the book statement is true or not to try and save me some time. Is there a special case where this might be true?
    Thanks
    Tony

    • @muthukumarr5217
      @muthukumarr5217 Před 3 lety

      Yes, it is true. Gradient vector always gives the normal to the plane which is why you use to find the tangent plane at any point. Why did you believe it is not true?

    • @isakwatz11
      @isakwatz11 Před 3 lety

      ​@@muthukumarr5217
      I'm not Tony Aimer but I found it counter intuitive at first. I would have thought the gradient pointed in the direction of speepest ascent / descent but later learned about the whole "normal" thing.

  • @badrmoubile9219
    @badrmoubile9219 Před rokem

    For the people who don't understand the pink part, it is just the result of the Hessian 2x2 matrix. that you solve by doing, a.d-b.c

  • @josephhajj1570
    @josephhajj1570 Před 4 lety +6

    WOW

  • @kylevebar3909
    @kylevebar3909 Před 3 lety +1

    Had to come back to this video lol, copied second derivative rule wrong with the equalities and it was a hard problem

  • @continnum_radhe-radhe
    @continnum_radhe-radhe Před 2 lety +1

    🔥🔥🙏

  • @amansingh-ww2qc
    @amansingh-ww2qc Před 3 lety

    Love u sir ❤️❤️❤️❤️❤️ MAA kasam pyaar ho gya sir aapse

  • @Niglnws
    @Niglnws Před rokem

    I tried to figure out what fxy means so,
    We think of first derivative as difference in function as in the limit formula for derivatives.
    Think of the second derivative as difference IN DERIVATIVE.
    For local minimum the derivative was negative then the derivative was positive and positive minus negative is positive so when fxx is positive it is a local minimum.
    Now for fxy think of it as ok get the derivative with respect to x. Now we have a function fx (first derivative) so when we go in y direction, how the derivative of with respect to x changes.
    More clearly as in the example in the video, the derivative at x=0 is 0 as z does not change. But if we go some small distance in y you will find that when you subsitute in the fx (first derivative) with new values of y and SAME X, you will find that z has decreased !!! So it wasnt local minimum as fx said and it is clear in the visualization that the slope IS DOWNWARDS. SO WE HAVE SLOPE = 0 THEN SLOPE = NEGATIVE. AND NEGATIVE - 0 = NEGATIVE as we found mathematically that fxy is negative.
    It is like ok i am local minimum along x but am i higher in other directions? Like i am at the bottom of a house on a mountain, i can move only up my house or stay at the bottom but i cant move forward as i will fall (i am not at bottom at this point, there is a point more bottom than me).
    But i really dont get the meaning of fxx times fyy, what does their result say. But i think it does not tell something special other than that it is compared with fxy to see which is larger. Also i dont get why someone larger meaning suddenly something. 😅

  • @frosty8655
    @frosty8655 Před 3 lety +1

    great video but i feel mic needs improvement.

    • @DrTrefor
      @DrTrefor  Před 3 lety

      oh man, the office I was in for filming this was SO BAD for sound. Much better set up these days.

    • @ricand5498
      @ricand5498 Před 3 lety

      Agreed, the volume goes back and forth between too low and too loud

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

    It became complex from saddle and forward

  • @markbell8967
    @markbell8967 Před 3 lety +1

    algo fuel

  • @yurailiesesay8317
    @yurailiesesay8317 Před rokem

    i want to understand marginal product

  • @emc2884
    @emc2884 Před 2 lety

    Thank you very much sir keep growing up (◍•ᴗ•◍)❤♥╣[-_-]╠♥

  • @ruelmckenzie4616
    @ruelmckenzie4616 Před 2 lety +1

    The content is good but the form of the presentation is destracting. Focusing back and forth on the presenter and the diagram and listening to a forceful voice is quite challenging for me.

  • @sergiomanzetti1021
    @sergiomanzetti1021 Před 3 lety

    Nice tutorial, but the acoustics is strange, it sounds like you are teaching from a bathroom or a cave.

  • @gholamrezasalarkarimi5005

    Dear sir you are speaking too fast, it is difficult to understand your standpoint of your statements for we foreigners. Please speak more slowly, why are you in hurry!

    • @beoptimistic5853
      @beoptimistic5853 Před 3 lety

      czcams.com/video/XPCgGT9BlrQ/video.html 💐💐💐💐👍