Multi-variable Optimization & the Second Derivative Test

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 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

ความคิดเห็น • 103

  • @DrTrefor
    @DrTrefor  3 ปีที่แล้ว +36

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

  • @randompianonoises767
    @randompianonoises767 3 ปีที่แล้ว +39

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

  • @Mobinahere
    @Mobinahere 3 ปีที่แล้ว +46

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

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +4

      Thank you!!

  • @chyldstudios
    @chyldstudios 4 ปีที่แล้ว +27

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

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 👍💐💐💐💐

    • @OrionConstellationHome
      @OrionConstellationHome 2 ปีที่แล้ว

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

  • @zeeshanmouzam5831
    @zeeshanmouzam5831 3 ปีที่แล้ว +18

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

    • @amansingh-ww2qc
      @amansingh-ww2qc 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      None😂
      Kuch v bhai

    • @adityashingne7808
      @adityashingne7808 3 ปีที่แล้ว +1

      Not quite true… my professor did an excellent job

    • @mohamedirshaathm32123
      @mohamedirshaathm32123 ปีที่แล้ว +3

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

    • @archismandas7760
      @archismandas7760 ปีที่แล้ว +2

      @@mohamedirshaathm32123 the correct mindset 💪

  • @BrytonWA
    @BrytonWA 2 ปีที่แล้ว +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!

  • @riyaverma4724
    @riyaverma4724 2 ปีที่แล้ว +3

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

  • @sazdaz1955
    @sazdaz1955 3 ปีที่แล้ว +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 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 👍💐💐💐💐

  • @user-fr2jr6hd4i
    @user-fr2jr6hd4i 3 ปีที่แล้ว +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 ปีที่แล้ว

    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

  • @hareshwedanayake7427
    @hareshwedanayake7427 ปีที่แล้ว +1

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

  • @joaomattos9271
    @joaomattos9271 ปีที่แล้ว

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

  • @user-xe8lu4zt4f
    @user-xe8lu4zt4f 3 ปีที่แล้ว

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

  • @aashsyed1277
    @aashsyed1277 2 ปีที่แล้ว +1

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

  • @isakwatz11
    @isakwatz11 3 ปีที่แล้ว +6

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

  • @nadaabdelkhalek3844
    @nadaabdelkhalek3844 3 ปีที่แล้ว +1

    Excellent explanation!

  • @skymer5108
    @skymer5108 3 ปีที่แล้ว +1

    Great video! Thanks for the explanation

  • @thinhvucuong4089
    @thinhvucuong4089 4 ปีที่แล้ว +3

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

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 👍💐💐💐💐

  • @AJ-et3vf
    @AJ-et3vf 2 ปีที่แล้ว +1

    Awesome video sir! Thank you!

  • @christianondo9637
    @christianondo9637 3 หลายเดือนก่อน

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

  • @noctua7771
    @noctua7771 3 ปีที่แล้ว +4

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

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 👍💐💐💐💐💐

  • @sergiolucas38
    @sergiolucas38 2 ปีที่แล้ว +1

    nice video, very straightforward, detailed explanation :)

  • @tpsashok
    @tpsashok 3 หลายเดือนก่อน +1

    Very helpful! Thanks 👏👏👏

  • @olehborys1462
    @olehborys1462 ปีที่แล้ว

    Great, thank you very much for this explanation

  • @GoutamDAS-ls1wb
    @GoutamDAS-ls1wb 2 ปีที่แล้ว +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.

  • @shefalichoudhary3082
    @shefalichoudhary3082 ปีที่แล้ว

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

  • @marflem12
    @marflem12 3 ปีที่แล้ว

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

  • @badrmoubile9219
    @badrmoubile9219 ปีที่แล้ว

    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

  • @NumbToons
    @NumbToons ปีที่แล้ว +2

    I nominate you for Nobel Prize.

  • @azbebggddef
    @azbebggddef 2 ปีที่แล้ว +1

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

  • @cesarmoreno987y
    @cesarmoreno987y ปีที่แล้ว

    Great video hope youre having a great day

  • @bhaveshmutkure8150
    @bhaveshmutkure8150 2 ปีที่แล้ว +1

    Sir you are the best really 😇

  • @HermanToMath
    @HermanToMath 3 ปีที่แล้ว +1

    I love your intuitive explanation! :-D

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +1

      Thank you!

  • @user-xh5ct4yw3x
    @user-xh5ct4yw3x 3 หลายเดือนก่อน

    the best as always

  • @dhananjayjoshi3561
    @dhananjayjoshi3561 3 ปีที่แล้ว

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

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 👍💐💐💐💐💐

  • @syabongajele6431
    @syabongajele6431 3 ปีที่แล้ว +1

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

  • @OrionConstellationHome
    @OrionConstellationHome 2 ปีที่แล้ว

    ? 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!

  • @Economics365
    @Economics365 3 ปีที่แล้ว +1

    Thank you sir

  • @samyakmahajan6828
    @samyakmahajan6828 3 ปีที่แล้ว +1

    Thanks!

  • @ycombinator765
    @ycombinator765 3 ปีที่แล้ว +2

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

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +1

      Keep working at it, you'll get there!

    • @ycombinator765
      @ycombinator765 3 ปีที่แล้ว

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

  • @ahmedelsabagh6990
    @ahmedelsabagh6990 3 ปีที่แล้ว +1

    Clear and simple

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 💐👍👍👍

  • @michaelhuntington3545
    @michaelhuntington3545 6 หลายเดือนก่อน

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

  • @siddhanttomar2042
    @siddhanttomar2042 ปีที่แล้ว +1

    nice visualation

  • @rogerhoefel8515
    @rogerhoefel8515 4 ปีที่แล้ว

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

  • @paulwolter3186
    @paulwolter3186 2 ปีที่แล้ว

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

  • @amansingh-ww2qc
    @amansingh-ww2qc 3 ปีที่แล้ว +1

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

  • @qandos-nour
    @qandos-nour 4 ปีที่แล้ว +1

    Thank you 👍🏻

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 💐💐💐💐💐💐

  • @experienceit-knowit
    @experienceit-knowit 3 ปีที่แล้ว

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

  • @rlaajaj
    @rlaajaj 3 หลายเดือนก่อน

    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 ปีที่แล้ว

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

  • @toobanadeem5277
    @toobanadeem5277 3 หลายเดือนก่อน

    What should we do,if we encounter inconclusive condition?

  • @mathveeresh168
    @mathveeresh168 4 ปีที่แล้ว

    Great video ❤️

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 👍💐💐💐💐💐

  • @jayneelshah7609
    @jayneelshah7609 3 ปีที่แล้ว

    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 2 ปีที่แล้ว +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

  • @MultiKB13
    @MultiKB13 3 ปีที่แล้ว +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.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว +1

      Exactly

  • @ton146
    @ton146 3 ปีที่แล้ว

    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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      ​@@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.

  • @tassneamosman6998
    @tassneamosman6998 3 ปีที่แล้ว +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 3 ปีที่แล้ว +1

      nevermind yall i just needed a nap i figured it out

    • @beoptimistic5853
      @beoptimistic5853 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 💐👍👍👍💐

  • @kylevebar3909
    @kylevebar3909 3 ปีที่แล้ว +1

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

  • @josephhajj1570
    @josephhajj1570 4 ปีที่แล้ว +6

    WOW

  • @Niglnws
    @Niglnws 11 หลายเดือนก่อน

    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. 😅

  • @continnum_radhe-radhe
    @continnum_radhe-radhe 2 ปีที่แล้ว +1

    🔥🔥🙏

  • @amansingh-ww2qc
    @amansingh-ww2qc 3 ปีที่แล้ว

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

  • @maxamadomar5454
    @maxamadomar5454 5 หลายเดือนก่อน

    It became complex from saddle and forward

  • @frosty8655
    @frosty8655 3 ปีที่แล้ว +1

    great video but i feel mic needs improvement.

    • @DrTrefor
      @DrTrefor  3 ปีที่แล้ว

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

    • @ricand5498
      @ricand5498 3 ปีที่แล้ว

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

  • @markbell8967
    @markbell8967 3 ปีที่แล้ว +1

    algo fuel

  • @yurailiesesay8317
    @yurailiesesay8317 ปีที่แล้ว

    i want to understand marginal product

  • @ruelmckenzie4616
    @ruelmckenzie4616 2 ปีที่แล้ว +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.

  • @emc2884
    @emc2884 2 ปีที่แล้ว

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

  • @sergiomanzetti1021
    @sergiomanzetti1021 2 ปีที่แล้ว

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

  • @gholamrezasalarkarimi5005
    @gholamrezasalarkarimi5005 3 ปีที่แล้ว

    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 3 ปีที่แล้ว

      th-cam.com/video/XPCgGT9BlrQ/w-d-xo.html 💐💐💐💐👍