Second partial derivative test intuition

  Рет қаралды 90,838

Khan Academy

Khan Academy

Күн бұрын

Пікірлер: 78
@yasseralg3928
@yasseralg3928 5 жыл бұрын
This guy is a gift to humanity
@rajinish0
@rajinish0 3 жыл бұрын
It's also sort of helpful to plot a vector field of the gradient function. If d^2f/dx^2 and d^2f/dy^2 are both positive, we'd have divergence around the center that'd make the point a minimum, however, if you plot some vector fields you can see that for saddle points the vectors sort of fly off in top right and bottom left corners leaving the diagonal as a saddle point(if you plot the example in the previous video). That measure of how much they fly off is df/dydx; you could imagine moving in x direction and looking at the change in y component of the vectors, or move along y axis it doesn't really matter. So there's a certain threshold *(d^2f/dx^2)*(d^2f/dy^2) = the mixed partial derivative^2* after which we get a saddle point.
@justinward3679
@justinward3679 8 жыл бұрын
It should be illegal to make calculus this simple.
@harisahan2126
@harisahan2126 7 жыл бұрын
Justin Ward absolutely right
@paul_tee
@paul_tee 6 жыл бұрын
good visuals for intuition and lack of proofs go a long way
@zes7215
@zes7215 6 жыл бұрын
Hari Sahan not, and no such thing as simple or not simple, any can be ok
@mihaililiev5932
@mihaililiev5932 5 жыл бұрын
Quite amazing, innit?
@pasqualegiusto8306
@pasqualegiusto8306 4 жыл бұрын
hnnn
@savonprice9821
@savonprice9821 5 жыл бұрын
Dude??? Why is Khan Academy so freaking amazing!!!!!!
@Jonisrock00
@Jonisrock00 3 жыл бұрын
I'll never look at pringles in the same way again..
@pierre7770
@pierre7770 2 жыл бұрын
Genius 😂
@ankiteleciitd
@ankiteleciitd 6 жыл бұрын
Another way to think about the Second partial derivative test is using Linear Algebra: Consider a 2x2 Matrix H with elements as [[fxx, fxy], [fxy, fyy]], with derivatives evaluated at (x0,y0) Now, think about how the point (x0, y0) will move once it is exposed to the matrix H. This is a Linear transformation case. If the linear transformation stretches the area onto the same plane, then that point (x0,y0) represents either a maxima or minima. On the other hand, if the linear transformation flips the plane ==> (x0,y0) is a saddle point. Mathematically, if det(H) > 0 ==> maxima/ minima det(H) saddle point det(H) = 0 ==> cant decide.
@valerianmp
@valerianmp 5 жыл бұрын
Ankit Gupta never notices that, thanks!
@nikhilwat
@nikhilwat 5 жыл бұрын
The Hessian matrix :)
@robmarks6800
@robmarks6800 4 жыл бұрын
Cool, but I do not understand how the flipping of space is equivalent to a saddle point
@lordcasper3357
@lordcasper3357 2 жыл бұрын
@@robmarks6800 he's just talking because the formula looks like determinant of a 2x2 matrice, nothing related between these 2 topics
@poiuwnwang7109
@poiuwnwang7109 Жыл бұрын
@@robmarks6800 same question here
@sercantor1
@sercantor1 6 жыл бұрын
how can you be this good?
@thelastcipher9135
@thelastcipher9135 4 жыл бұрын
This should be called the Pringle Test.
@Masteridea101
@Masteridea101 5 жыл бұрын
i owe my whole tuition fee for your videos man... U guys are rocking.. God bless you
@fahadashrafofficial
@fahadashrafofficial 6 жыл бұрын
I wish my teachers were more like you :)
@00rq34
@00rq34 5 жыл бұрын
Can you please provide a link to your paper?
@TheHuggableEmpire
@TheHuggableEmpire 6 жыл бұрын
I thought I was too dumb for any form of teaching and got my mind ready for not understanding anything. But your video headshotted all of my doubts to my pleasant surprise. Layman term yet fundamentally solid explanations like yours are what I need
@huan320
@huan320 2 жыл бұрын
omg!! the series of multivariable function is incredibly clear!!! OH my god!! YOU are a talented teacher when doing a job like this!
@NicolasSchmidMusic
@NicolasSchmidMusic 3 жыл бұрын
Where can we find that article you are talking about? It would be nice to put it in the description
@هيلة-ع8م
@هيلة-ع8م 2 жыл бұрын
where can i fine the article that he mentioned?
@Nerdwithoutglasses
@Nerdwithoutglasses Жыл бұрын
As Grant said, there is a more rigorous way to show why the test has that form. From the formula of total derivative df, we can construct a formula for d^2(f) which is a quadratic form of dx and dy. Then, we can classify the critical point based on the sign of d^2(f) (it is a saddle point if d^2(f) can be positive or negative; it is a maximum or a minimum if d^2(f) is always positive or always negative). And, determining the sign posibilities of d^2(f) by the discriminant of the quadratic form- the minus H.
@sarthakmaheshwari3888
@sarthakmaheshwari3888 4 жыл бұрын
Hats off to your teaching skills
@poiuwnwang7109
@poiuwnwang7109 Жыл бұрын
@8:10, the height alone x axis is a constant, which corresponds to df/dx=0, not d2f/dx2=0, like the tutor said. Anyboday any comments?
@mridulk81
@mridulk81 10 ай бұрын
df/dx = 0 also implies that d²f/dx² is also 0
@ralphhebgen7067
@ralphhebgen7067 Жыл бұрын
Very cool. Actually, if there is disagreement between fxx and fyy, that is sufficient to conclude it is a saddle point. Only if there is disagreement do we need to deduct fxy to see whether the gradients that are not strictly along the x- or y-axis identify the point as a saddle.
@anilphiyak9862
@anilphiyak9862 6 жыл бұрын
Can u tell me the app u use fro graph in 3d
@berkeunal5773
@berkeunal5773 5 жыл бұрын
Why do we only consider xy term? There are several terms (such as xy^2) which have non-zero mixed partial derivatve. Why this theorem holds for them too?
@mridulk81
@mridulk81 10 ай бұрын
anybody got the link to the article mentioned at 9:42?
@BD-dh9fw
@BD-dh9fw Жыл бұрын
Also worth pointing out that H is just the determinant of the Hessian matrix, which is, I'm assuming, why he labeled that variable as H. Kind of surprised he didn't identify that explicitly in the video, because it makes it easier to remember the test, knowing that we're just looking at the sign of the determinant of the Hessian. It also enforces the parallel with the single-variable case, where we're looking at the sign of the second derivative, because we can imagine the Hessian as analogous to a multivariable second derivative.
@khalilmohammed2297
@khalilmohammed2297 2 жыл бұрын
could you tell us please where is the Article you have mentioned .
@MagnificentCreature
@MagnificentCreature Жыл бұрын
Amazing video that clarifies a big ? I had when learning this
@yadinandyanay
@yadinandyanay 4 жыл бұрын
Can u just say it’s the determinant of the hessian for future reference? Wish I had known sooner
@tototoday7609
@tototoday7609 Жыл бұрын
xy 성분이 커질수록, 대각선 방향에서 포물선을 만드는 경향이 커진다는 건가..?
@blink1747
@blink1747 7 жыл бұрын
Yes, critical points exist even if they are not any of extrema both in 2D & 3D.
@swarajyalaxmi8692
@swarajyalaxmi8692 3 жыл бұрын
where can i find the article
@charmendro
@charmendro 3 жыл бұрын
Bruh i wish i saw these while i took multivariabel calc
@alvarol.martinez5230
@alvarol.martinez5230 8 жыл бұрын
Where are the articles you mention?
@luffyorama
@luffyorama 8 жыл бұрын
I think the articles are in Khan Academy site.
@alvarol.martinez5230
@alvarol.martinez5230 8 жыл бұрын
Oh thanks!
@anonxnor
@anonxnor 7 жыл бұрын
I think it's this www.khanacademy.org/math/multivariable-calculus/applications-of-multivariable-derivatives/optimizing-multivariable-functions/a/second-partial-derivative-test
@rodrigo_t9
@rodrigo_t9 7 жыл бұрын
Here's directly the actual full reasoning article, which is linked on that one: www.khanacademy.org/math/multivariable-calculus/applications-of-multivariable-derivatives/optimizing-multivariable-functions/a/reasoning-behind-the-second-partial-derivative-test
@barnikroy9413
@barnikroy9413 2 жыл бұрын
@@rodrigo_t9 thanks a lot...!
@lordcasper3357
@lordcasper3357 2 жыл бұрын
can't find the related link about the formula, is it removed?
@kavitakohli5632
@kavitakohli5632 5 жыл бұрын
Why we always check the sign of partial double derivative of x only and not y to determine max or min when that h is positive
@shayanmoosavi9139
@shayanmoosavi9139 4 жыл бұрын
Because we know that if H is positive it's either a max or a min. The (fxy)^2 term is always positive so we're always subtracting a positive number (adding a negative number if you like) and the only way for H to be positive in this condition is if the first term is positive so either both of them (fxx and fyy) are positive or both of them are negative therefore if we know the sign for either of them it'll be enough. Hope that helped.
@liffidmonky1216
@liffidmonky1216 2 жыл бұрын
Where is the article??? :( i want it xd
@mridulk81
@mridulk81 10 ай бұрын
did you find it?
@harry_page
@harry_page Жыл бұрын
I'm surprised Grant didn't say something like "the mixed second partial derivative is a kind of diagonal saddlification of the surface" :D
@Rockyzach88
@Rockyzach88 7 жыл бұрын
What if your 2nd partial derivatives equal 0? Not H, but fxx. How can you absolutely have a max/min but not have concavity? What does that mean? Or did I just make a mistake?
@GonzieGr01
@GonzieGr01 7 жыл бұрын
Rockyzach88 if fxx and/or fyy are equal to cero, then the first term of H is going to be cero, making H less than cero (assuming fxy exists) and, therefore, indicating that you are in a saddle point
@carultch
@carultch Жыл бұрын
You can only conclude you have a saddle point if H < 0. If H=0, the 2nd derivative test is inconclusive. If both direct 2nd partial derivatives equal zero, then this means you simply don't have curvature in the x and y directions, and all your curvature is on a direction that is rotated from them. The mixed derivative would tell you the information about the function's curvature. If both fxx and fyy are equal to zero, but fxy and fyx are not, then you have a saddle point, where your most-positive and most-negative curvatures will occur in rotated axes from the x and y directions. You can construct an equivalent of Mohr's circle, to find those directions, and find the principal second partial derivatives where curvature is maximum. If the entire 2nd derivative matrix has a determinant of zero, then this means you have a situation where the 2nd partial derivatives aren't good enough to tell you the nature of the stationary point. You could have an inflection point, or you could have the nature of the stationary point buried in a higher order derivative, like it is in the single variable case of y=x^4.
@eamonnsiocain6454
@eamonnsiocain6454 2 жыл бұрын
Grant Sanderson of 3Blue1Brown
@karthiksukumaran85
@karthiksukumaran85 4 жыл бұрын
You are just amazing man!
@gemacabero6482
@gemacabero6482 3 жыл бұрын
Why is the 2nd partial derivative with respect to x twice the one that determines if it is a maximum or a minimum ?
@SamiDoustdar
@SamiDoustdar 3 жыл бұрын
It’s not, doing it with y would work too. It’s just if one is positive so would the other be because this is in the scenario where the point is either a minima or a maxima meaning both the x and y planes have the same concavity so only testing one is enough
@tantarudragos
@tantarudragos 5 жыл бұрын
is this the 3blue1brown guy(cant remember his name)? their voices sound sooo similar
@aidansgarlato9347
@aidansgarlato9347 5 жыл бұрын
Yes there the same person
@SohamChakraborty42069
@SohamChakraborty42069 4 жыл бұрын
Yes, and his name is Grant Sanderson.
@rameezwaniii
@rameezwaniii 2 жыл бұрын
but why double?
@sefalipanda3448
@sefalipanda3448 6 жыл бұрын
Which playlist is this in???? @khanacademy
@ziadyoussef9157
@ziadyoussef9157 6 жыл бұрын
i think multivariable calculus
@learningsuper6785
@learningsuper6785 7 жыл бұрын
Why are you assuming fxy at x0, y0 is the same as fyx at x0, y0? Isn't that something that requires explanation because it is not obvious.
@gonk9336
@gonk9336 7 жыл бұрын
Look up Clairaut's theorem on mixed partials
@wongbob4813
@wongbob4813 6 жыл бұрын
take a look at video 18 in the series: kzbin.info/www/bejne/gGGbXn9ol9qcna8
@marcustrevor1883
@marcustrevor1883 3 жыл бұрын
He talks about mixed partials in another video
@eswyatt
@eswyatt 3 жыл бұрын
Makes absolutely no mention that the second derivative test is the determinant of the Hessian matrix, which he introduced 7 videos ago in talking about the much less important quadratic approximation!
@anthonyymm511
@anthonyymm511 3 жыл бұрын
Yea this stuff makes a lot more sense if you know that the determinant of a matrix is the product of eigenvalues and the trace is the sum of eigenvalues.
@pierre7770
@pierre7770 2 жыл бұрын
Bro i love you
@lkc9599
@lkc9599 3 жыл бұрын
Why fxy not fyx
@isakwatz11
@isakwatz11 3 жыл бұрын
they are the same so long as the second partial derivative is continuous
@bite027_ketansharma6
@bite027_ketansharma6 3 жыл бұрын
i LOVE you.
@lauragrandas4036
@lauragrandas4036 4 жыл бұрын
I love you.
Second partial derivative test example, part 1
6:11
Khan Academy
Рет қаралды 52 М.
Max and Min and Second Derivative
38:31
MIT OpenCourseWare
Рет қаралды 262 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
The Lagrangian
12:28
Khan Academy
Рет қаралды 494 М.
Inflection Points and Concavity Intuition
13:43
Khan Academy
Рет қаралды 394 М.
Warm up to the second partial derivative test
11:37
Khan Academy
Рет қаралды 77 М.
Second partial derivative test
11:52
Khan Academy
Рет қаралды 95 М.
Partial derivatives | Multivariable Calculus | Khan Academy
11:11
Khan Academy
Рет қаралды 654 М.
What the Second Derivative Tells Us
9:02
No Frills Publishing
Рет қаралды 70 М.
How to STUDY so FAST it feels like CHEATING
8:03
The Angry Explainer
Рет қаралды 2,2 МЛН
What does the second derivative actually do in math and physics?
15:19
Multi-variable Optimization & the Second Derivative Test
13:36
Dr. Trefor Bazett
Рет қаралды 102 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН