Quadratic Forms
In this video, I use linear algebra to find the conic section 2x^2 + 10xy + 2y^2 = 1. The advantage of this approach is that it requires no memorization and that it works for higher dimensions as well.
In this video, I use linear algebra to find the conic section 2x^2 + 10xy + 2y^2 = 1. The advantage of this approach is that it requires no memorization and that it works for higher dimensions as well.
Пікірлер: 113
You helped me understand a very important topic in Matrices, and I can't thank you enough Dr. Peyam!
Not only did you help me understand this topic, but by coincidence, this exact question with this exact quadratic equation was on my linear algebra final! Thank you sir!
@drpeyam
Жыл бұрын
Wow what a coincidence!!
YES! My fave subject! Linear algebra is all about to make our life easier by rotating and stretching everything until we find the best axis reference. Now it's time for the UV decomposition + a good explanation of why statisticians ( :) ) can't live without it (principal component analysis + minimax...even now google is using it with our data :( ). But first my all fave decomposition...which is like discovering the fire again 'cause every students starting to learn linear algebra can "guess" IT MUST BE LIKE THAT. I'm talking about the A=QS decomposition which, in the end, states that each and every single transformation matrix A (m x n) can be expressed as the unique product of an orthogonal matrix and a simmetric matrix! In other words, every linear transformation is just the composition of a rotation/reflection and some stretching! I found it amazing!
@_DD_15
4 жыл бұрын
Clap clap clap. Wonderful comment
@guyguy1811
3 жыл бұрын
Do you know of any videos that explain this? I do pure maths at university but we don't really get taught the geometric interpretation of linear algebra, at least not yet.
There are just so many interesting paths to wander down beyond the typical curriculum. Thanks for sharing your enthusiasm and wisdom! Your channel is super fun, Dr Peyam!
Really liked your explanation! Please keep up the good work!
I wish I knew this back when I was doing multivariable calculus in UNI :) Excellent video buddy! keep going!
I love your tune, it makes the lesson even more fun!
Thank you sir i actually used to solve this type of question in5-6 mins, after watching this video i am solving it in 10-20 secs.
Love the way you're teaching. Thank you very much
This video is perfectly related to my statistics. For us in statistics quadratic forms are very important.
@darksidegaming9682
3 жыл бұрын
Same
I think a similar technique is used to uncouple a system of coupled ODEs, which makes solving them much easier.
Thanx a lot sir You really saved me in my semester exams.... Much thànkful tó you
This guy sure loves science lol
I found the video. While i see what you mean, i was wondering if there existed some matrix A (independant of x and y) which could apply to [(x),(y)] and contain some term like xy, or x^2, or if anything of the sort exists. does this matrix behave in a way that mimics such a thing?
nice! a great way to simplify a quadratic.
Hi! I'm Jaime, a particle physicist. I love your videos! Thanks for posting. Just a comment: in this case, the hyperbola should cross the y_1 axis.
Sir after see your video with your confidential smile ...... Felling well for solve the problems of linear algebra Thanks 😊😊
Love the way you teach... you are a great man
Liked the video. Respect the excellent work!
Judging from the eqn in terms of y1 and y2, the graph should be a hyperbola aligns with the new axes y1 and y2
@drpeyam
5 жыл бұрын
Yeah
Can this method tell us something about the foci of the conic?
amazing professor!
Thank you Peyam, but I have a question. The original equation corresponds to iperbola that has y=x as major axis. And this should be correct, beacuse rotating the x-y axis counterwise by 45 degrees I get the canonical form of equation with new coordinates
Thanks for helping me a lot !
The formula you were talking about, Dr Peyam, is simply the determinant of the quadratic form. Could you explain how that is, or what that is? If I remember my conic sections right, if the determinant0 then ellipse
@drpeyam
5 жыл бұрын
That’s not quite true, the point is that you can tell the nature of your quadratic form by the sign of the eigenvalues. The condition you’re thinking of also involves the sign of the first term of the matrix, and is weaker than the condition I’m writing
Great content, as usual
Really really cool. :-). Thanks !
Could you use some similar technique to apply to cubic forms? But would you need some sort of 3 dimensional matrix then? Edit: And higher degree polynomials
@drpeyam
4 жыл бұрын
Tensors maybe? But I don’t know how to diagonalize them
subscribed. Very clear explanation.
At the end you checked what happens when x = 0. But the same happens for y = 0. The curve crosses y axis in 2 points as well. The graph you drew is rotated when compared to a graph Wolfram Alpha draws. Did you mix the axes on the final picture?
@drpeyam
Жыл бұрын
Maybe
Can u give an explanation about higer dimension case?
I learnt how to do this with curves and surfaces, even thought I eventually forgot it since I never got around to use it
Great video!!
Nice, but, generally speaking, how about the general 2D case Ax^2+Bxy+Cy^2+Dx+Ey+F=0 where the matrix X^T AAX is not enough to describe?
@drpeyam
5 жыл бұрын
It reduces to my case up to a translation
@CamiloAM20
2 жыл бұрын
you work with the first three terms, find the transformation, then change variables of the fourth and firth terms to the new variables and finally complete squares
you're the king! awesome
@alexhansson3129
4 жыл бұрын
bro, what's your instagram ? i need you in my life
This guy is awesome! New subscriber.
@drpeyam
2 жыл бұрын
Thanks so much!!
Hello. How could i find an orthonormal basis from quadratic form?
@bjornfeuerbacher5514
Жыл бұрын
As he explained in the video: write down the matrix A for the quadratic form, calculate the eigenvectors of A and orthonormalize these eigenvectors.
how do u get P???
You've drawn it as rectangular w.r.t. the new axes? Is that right?
@bjornfeuerbacher5514
Жыл бұрын
No, that was wrong.
Hello sir, How did you draw the new coordinator system of y1,y2
@bjornfeuerbacher5514
Жыл бұрын
The eigenvectors (the columns of matrix P) give the directions of the new axes.
As a software engineer, computing the value of 'y' does not save any work. But mathematically, it is cool.
@JBaker452
5 жыл бұрын
So, if I had an application were I could compute one value of 'y' and then use it over and over again, that would be even more cool.
Shouldn't the graph be symmetric in y=x?
@ThAlEdison
5 жыл бұрын
I think he needed to plug y_2=0 into the new formula to see that the hyperbola branches away from y_1=+/-sqrt(7) in the new coordinate system +/-(sqrt(7)/sqrt(2),sqrt(7)/sqrt(2)) in the old coordinate system, so it should be opening towards the top-right and bottom-left.
@philp4684
5 жыл бұрын
Here's what the graph really looks like: www.desmos.com/calculator/awx5u4ea4u
@juliankulshammer9637
5 жыл бұрын
@Patrick Salhany The only problem is that he drew the hyperbola in the x-coordinate system in the end. Correct would have been in the y-coordinate system.
@jeongheonlee4556
5 жыл бұрын
@@philp4684 now it makes sense. the graph Peyam drew was too simple for something with xy term.
@ssdd9911
5 жыл бұрын
no wonder i thought something was wrong
This guy is so happy 😄
Why are P and D those matrices?
@bjornfeuerbacher5514
Жыл бұрын
Look up how one diagonalizes a matrix.
And if you plug y = 0, you get x = +/- 1/sqrt(2), because the equation is symetric for x and y. So the graph is symetric about x = y eheh
@MrBoubource
5 жыл бұрын
@Patrick Salhany Well indeed it is also symmetrical about y = -x but it is not needed to graph the solutions of the equation. For the focal axis, I don't see what difference there is between the two since we also have a symmetry about x = 0 (or y = 0) wich transforms one into the other. The only thing that differs between the two could be a left handed / right handed version of the same object if you see what I mean. Chirality to precise.
@MrBoubource
5 жыл бұрын
@Patrick Salhany Oh I see, I guess on the picture he drew the focal axis was x = 0, but since the equation we have is not really a hyperbola eqution, either it has no focal axis, either we need another definition of the focal axis, am I right?
11:30 magic
You are a godsend.
please do video about hermitian forms!
thanks
Nice video, but I did not get how you got the D-matrix suddenly.
@drpeyam
4 жыл бұрын
Check my video on Diagonalize 2x2 matrix
very easy 2 follow TY
Wonderful as always :)
Merci beaucoup !
@drpeyam
5 жыл бұрын
De rien! :)
It cuts x1 and x2
Merci beaucoup! bonne journée
@drpeyam
4 жыл бұрын
De rien 😄
Thanks for the video, but you drew the hyperbola as if is y1y2 = 1, rather than y1^2 - y2^2 = 1.
@gregorsamsa9762
3 жыл бұрын
yes i thought so too...
i did it this way: 2x1^2+10x1x2+2x2^2=x1(2x1+5x2)+x2(5x1+2x2)=[x1 x2][2x1+5x2;5x1+2x2]=[x1 x2][2 5;5 2][x1; x2]
how can i like a video more than one time
i like that the square root of a parabola is an hiperbola or half an hiperbola
You made it seems so easy you are the best. Thank you very much
@12:41 "even in higher dimensions or anything..." and my face breaks XD so then, with a 3x3 matrix we should be able to classify cubics rights? Finding the appropriate eigenvalues and eigenvectors in three space, Diagonalizing and Normalizing the new basis, This is what allowed you to list off the defining features of the curve, and like you said it would handler whatever translations to the axes were necessary for whatever case. Immediately I want to go to things like to folium of descartes, and factoring cubics in general. I'm sure cardano's formula for solving a cubic in x just falls out of the matrix multiplication somehow!?!? Does it relate in someway to Galois Theory or more simply why a quintic function wouldn't have a general formula to find the solutions?!?! Likely this would be an approach to proving things like " x^3 - xy + y^3 = 0 has no rational points other than the trivial ones" I really should have studied polynomial bases more in lin. alg. this is so fascinating! is this a topic in differential geometry? Always love your work Dr. Peyam Thank you for the upload!!!!
@drpeyam
5 жыл бұрын
Oh, what I meant with the higher dimensional case is stuff like x^2 + y^2 + z^2 - 3xy + 2yz = 1 or something like that, which is easily generalized, but it doesn’t work with cubic terms
@plaustrarius
5 жыл бұрын
@@drpeyam ahh okay thank you! I should have realized, it must be a conic or at most two degrees in whatever variable (x^2 + y^2 + z^2 + etc. = 1) Thanks for the reply!
I really like this! But... it took 13 min without the diagonalization process just to discover it was a hyperbola. Maybe memorizing is not that bad...
@drpeyam
5 жыл бұрын
To discover it’s a hyperbola, actually all that’s needed is the matrix (easy to construct) and the sign of the eigenvalues! Since the eigenvalues are positive and negative, it’s a hyperbola!
@Cloud88Skywalker
5 жыл бұрын
@@drpeyam That would do for a great video too! Thank you Dr. Peyam!
@joshuaronisjr
5 жыл бұрын
@@drpeyam Couldn't we just look at the upper left determinants of the original matrix? Well, I guess its the same thing, but that way you don't need the eigenvalues themselves?
Something doesn't add up: the equation is symmetric (you can swap x and y and the equation is still the same) but the graph isn't
@bjornfeuerbacher5514
Жыл бұрын
Yes, his graph was simply wrong. The hyperbola is symmetric to the axis y1, not to the axis x2.
I have drawn the hiperbola at Mathematica and it is different from your drawing.
@bjornfeuerbacher5514
Жыл бұрын
Yes, his graph is wrong.
What was the horrible math text on Conic Sections?
@drpeyam
2 жыл бұрын
All of them! But I think Stewart in particular haha
Peyam got HELLA tan, cuz. He wasn't that tan before!
@drpeyam
5 жыл бұрын
I got that tan from being stuck in LA traffic actually 😂😂😂
A is a matrix b is a real number How A can equal to b?
@drpeyam
5 жыл бұрын
x^T A x is a real number
@wassefkh
5 жыл бұрын
@@drpeyam it is 1×1 matrix.
@drpeyam
5 жыл бұрын
Yep, which is the same as a number
graph is wrong in the last