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.

Пікірлер: 113

  • @srinivaspavan3494
    @srinivaspavan34945 жыл бұрын

    You helped me understand a very important topic in Matrices, and I can't thank you enough Dr. Peyam!

  • @nirmalkarthik5892
    @nirmalkarthik5892 Жыл бұрын

    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

    @drpeyam

    Жыл бұрын

    Wow what a coincidence!!

  • @Zonnymaka
    @Zonnymaka5 жыл бұрын

    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

    @_DD_15

    4 жыл бұрын

    Clap clap clap. Wonderful comment

  • @guyguy1811

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

  • @notjohn9
    @notjohn94 жыл бұрын

    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!

  • @suryodaybasak4686
    @suryodaybasak46865 жыл бұрын

    Really liked your explanation! Please keep up the good work!

  • @_DD_15
    @_DD_154 жыл бұрын

    I wish I knew this back when I was doing multivariable calculus in UNI :) Excellent video buddy! keep going!

  • @kohimson3030
    @kohimson30305 жыл бұрын

    I love your tune, it makes the lesson even more fun!

  • @nikshayyadav9472
    @nikshayyadav94726 ай бұрын

    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.

  • @ugurburan133
    @ugurburan1333 жыл бұрын

    Love the way you're teaching. Thank you very much

  • @MrCigarro50
    @MrCigarro505 жыл бұрын

    This video is perfectly related to my statistics. For us in statistics quadratic forms are very important.

  • @darksidegaming9682

    @darksidegaming9682

    3 жыл бұрын

    Same

  • @MushookieMan
    @MushookieMan2 жыл бұрын

    I think a similar technique is used to uncouple a system of coupled ODEs, which makes solving them much easier.

  • @nandapeela1080
    @nandapeela10805 жыл бұрын

    Thanx a lot sir You really saved me in my semester exams.... Much thànkful tó you

  • @canart1999
    @canart19994 жыл бұрын

    This guy sure loves science lol

  • @MrRyanroberson1
    @MrRyanroberson15 жыл бұрын

    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?

  • @dhunt6618
    @dhunt66185 жыл бұрын

    nice! a great way to simplify a quadratic.

  • @jhoefkensj
    @jhoefkensj4 жыл бұрын

    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.

  • @shwetathakra1280
    @shwetathakra12805 жыл бұрын

    Sir after see your video with your confidential smile ...... Felling well for solve the problems of linear algebra Thanks 😊😊

  • @hamayoonshah1990
    @hamayoonshah1990 Жыл бұрын

    Love the way you teach... you are a great man

  • @scientificbeliever7051
    @scientificbeliever70512 жыл бұрын

    Liked the video. Respect the excellent work!

  • @ethancheung1676
    @ethancheung16765 жыл бұрын

    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

    @drpeyam

    5 жыл бұрын

    Yeah

  • @leoitshere
    @leoitshere5 жыл бұрын

    Can this method tell us something about the foci of the conic?

  • @PenguinMaths
    @PenguinMaths3 жыл бұрын

    amazing professor!

  • @prester64
    @prester642 ай бұрын

    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

  • @user-yv3qo4kv4y
    @user-yv3qo4kv4y Жыл бұрын

    Thanks for helping me a lot !

  • @madhuragrawal5685
    @madhuragrawal56855 жыл бұрын

    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

    @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

  • @geraltofrivia9424
    @geraltofrivia9424 Жыл бұрын

    Great content, as usual

  • @dgrandlapinblanc
    @dgrandlapinblanc4 жыл бұрын

    Really really cool. :-). Thanks !

  • @IronLotus15
    @IronLotus154 жыл бұрын

    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

    @drpeyam

    4 жыл бұрын

    Tensors maybe? But I don’t know how to diagonalize them

  • @asdfasdffdcd
    @asdfasdffdcd3 жыл бұрын

    subscribed. Very clear explanation.

  • @kipu44
    @kipu44 Жыл бұрын

    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

    @drpeyam

    Жыл бұрын

    Maybe

  • @siddharthsambamoorthy4479
    @siddharthsambamoorthy44795 жыл бұрын

    Can u give an explanation about higer dimension case?

  • @Koisheep
    @Koisheep5 жыл бұрын

    I learnt how to do this with curves and surfaces, even thought I eventually forgot it since I never got around to use it

  • @francescomariscotti3529
    @francescomariscotti35293 жыл бұрын

    Great video!!

  • @shiina_mahiru_9067
    @shiina_mahiru_90675 жыл бұрын

    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

    @drpeyam

    5 жыл бұрын

    It reduces to my case up to a translation

  • @CamiloAM20

    @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

  • @alexhansson3129
    @alexhansson31294 жыл бұрын

    you're the king! awesome

  • @alexhansson3129

    @alexhansson3129

    4 жыл бұрын

    bro, what's your instagram ? i need you in my life

  • @spazthree1403
    @spazthree14032 жыл бұрын

    This guy is awesome! New subscriber.

  • @drpeyam

    @drpeyam

    2 жыл бұрын

    Thanks so much!!

  • @ahmedmghabat7982
    @ahmedmghabat79823 жыл бұрын

    Hello. How could i find an orthonormal basis from quadratic form?

  • @bjornfeuerbacher5514

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

  • @Chsojdksd
    @Chsojdksd Жыл бұрын

    how do u get P???

  • @Gold161803
    @Gold1618035 жыл бұрын

    You've drawn it as rectangular w.r.t. the new axes? Is that right?

  • @bjornfeuerbacher5514

    @bjornfeuerbacher5514

    Жыл бұрын

    No, that was wrong.

  • @manishadeshpande5446
    @manishadeshpande54462 жыл бұрын

    Hello sir, How did you draw the new coordinator system of y1,y2

  • @bjornfeuerbacher5514

    @bjornfeuerbacher5514

    Жыл бұрын

    The eigenvectors (the columns of matrix P) give the directions of the new axes.

  • @JBaker452
    @JBaker4525 жыл бұрын

    As a software engineer, computing the value of 'y' does not save any work. But mathematically, it is cool.

  • @JBaker452

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

  • @jamesa8533
    @jamesa85335 жыл бұрын

    Shouldn't the graph be symmetric in y=x?

  • @ThAlEdison

    @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

    @philp4684

    5 жыл бұрын

    Here's what the graph really looks like: www.desmos.com/calculator/awx5u4ea4u

  • @juliankulshammer9637

    @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

    @jeongheonlee4556

    5 жыл бұрын

    @@philp4684 now it makes sense. the graph Peyam drew was too simple for something with xy term.

  • @ssdd9911

    @ssdd9911

    5 жыл бұрын

    no wonder i thought something was wrong

  • @queenstrategy904
    @queenstrategy9043 жыл бұрын

    This guy is so happy 😄

  • @NoNTr1v1aL
    @NoNTr1v1aL5 жыл бұрын

    Why are P and D those matrices?

  • @bjornfeuerbacher5514

    @bjornfeuerbacher5514

    Жыл бұрын

    Look up how one diagonalizes a matrix.

  • @MrBoubource
    @MrBoubource5 жыл бұрын

    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

    @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

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

  • @ssdd9911
    @ssdd99115 жыл бұрын

    11:30 magic

  • @jpsluckhaus
    @jpsluckhaus5 жыл бұрын

    You are a godsend.

  • @danwe6297
    @danwe62975 жыл бұрын

    please do video about hermitian forms!

  • @user-rb8oi5gj6c
    @user-rb8oi5gj6c2 жыл бұрын

    thanks

  • @hassanalihusseini1717
    @hassanalihusseini17174 жыл бұрын

    Nice video, but I did not get how you got the D-matrix suddenly.

  • @drpeyam

    @drpeyam

    4 жыл бұрын

    Check my video on Diagonalize 2x2 matrix

  • @ronnyeriksson7416
    @ronnyeriksson74163 жыл бұрын

    very easy 2 follow TY

  • @colaurier2594
    @colaurier25945 жыл бұрын

    Wonderful as always :)

  • @dgrandlapinblanc
    @dgrandlapinblanc5 жыл бұрын

    Merci beaucoup !

  • @drpeyam

    @drpeyam

    5 жыл бұрын

    De rien! :)

  • @tajpa100
    @tajpa1005 жыл бұрын

    It cuts x1 and x2

  • @user-oy5yj7ic5h
    @user-oy5yj7ic5h4 жыл бұрын

    Merci beaucoup! bonne journée

  • @drpeyam

    @drpeyam

    4 жыл бұрын

    De rien 😄

  • @wafiklotfallah9951
    @wafiklotfallah99514 жыл бұрын

    Thanks for the video, but you drew the hyperbola as if is y1y2 = 1, rather than y1^2 - y2^2 = 1.

  • @gregorsamsa9762

    @gregorsamsa9762

    3 жыл бұрын

    yes i thought so too...

  • @The_Professor123
    @The_Professor1235 жыл бұрын

    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]

  • @judesharp6472
    @judesharp64723 жыл бұрын

    how can i like a video more than one time

  • @JorgetePanete
    @JorgetePanete5 жыл бұрын

    i like that the square root of a parabola is an hiperbola or half an hiperbola

  • @sardaou3944
    @sardaou39442 жыл бұрын

    You made it seems so easy you are the best. Thank you very much

  • @plaustrarius
    @plaustrarius5 жыл бұрын

    @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

    @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

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

  • @Cloud88Skywalker
    @Cloud88Skywalker5 жыл бұрын

    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

    @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

    @Cloud88Skywalker

    5 жыл бұрын

    @@drpeyam That would do for a great video too! Thank you Dr. Peyam!

  • @joshuaronisjr

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

  • @felineboy
    @felineboy3 жыл бұрын

    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

    @bjornfeuerbacher5514

    Жыл бұрын

    Yes, his graph was simply wrong. The hyperbola is symmetric to the axis y1, not to the axis x2.

  • @tajpa100
    @tajpa1005 жыл бұрын

    I have drawn the hiperbola at Mathematica and it is different from your drawing.

  • @bjornfeuerbacher5514

    @bjornfeuerbacher5514

    Жыл бұрын

    Yes, his graph is wrong.

  • @dougr.2398
    @dougr.23982 жыл бұрын

    What was the horrible math text on Conic Sections?

  • @drpeyam

    @drpeyam

    2 жыл бұрын

    All of them! But I think Stewart in particular haha

  • @Mike-dr1hz
    @Mike-dr1hz5 жыл бұрын

    Peyam got HELLA tan, cuz. He wasn't that tan before!

  • @drpeyam

    @drpeyam

    5 жыл бұрын

    I got that tan from being stuck in LA traffic actually 😂😂😂

  • @wassefkh
    @wassefkh5 жыл бұрын

    A is a matrix b is a real number How A can equal to b?

  • @drpeyam

    @drpeyam

    5 жыл бұрын

    x^T A x is a real number

  • @wassefkh

    @wassefkh

    5 жыл бұрын

    @@drpeyam it is 1×1 matrix.

  • @drpeyam

    @drpeyam

    5 жыл бұрын

    Yep, which is the same as a number

  • @97lovechina
    @97lovechina2 жыл бұрын

    graph is wrong in the last