Full Example: Diagonalizing a Matrix

  Рет қаралды 530,328

Dr. Trefor Bazett

Dr. Trefor Bazett

Күн бұрын

Check out my MATH MERCH line in collaboration with Beautiful Equations
►www.beautifulequation.com/pag...
Let's compute a full example of Diagonalizing a matrix via eigenvectors and eigenvalues. The steps:
1) Compute the eigenvalues. Take the determinant of A-lambda I and set it equal to zero. The solutions are the eigenvalues
2) Compute the eigenvectors. For each eigenvalue solve (A-lambda I)x=0, which is a homogeneous system
3) Form the P and D matrix. The D matrix is just the eigenvalues down the main diagonal. The P matrix is the corresponding linearly independent eigenvectors for each eigenvalue as columns, in the same order as their eigenvalues were put into D.
4) Finally, we can test that A=PDP^-1 is true by multiplying out the right hand side.
How to VISUALIZE the diagonalization process: • Visualizing Diagonaliz...
How to COMPUTE the diagonalization proces: • How the Diagonalizatio...
Learning Objective: Starting with a matrix, compute the eigenvalues and eigenvectors and then finally diagonalize the matrix.
Course Playlists:
►Linear Algebra: • Linear Algebra (Full C...
►Calculus I: • Calculus I (Limits, De...
►Calculus II: • Older Calculus II (New...
►Discrete Math: • Discrete Math (Full Co...
*****************************************************
►Follow me on Twitter: / treforbazett
*****************************************************
This video is part of a Linear Algebra course created by Dr. Trefor Bazett

Пікірлер: 205
@TheRagingSun
@TheRagingSun 4 жыл бұрын
Hey Trefor. I've been watching your videos for quite some time now and I JUST realized that you're a professor at my University. Anyway great work. I hope be in your class for calc 3/4.
@simenl1289
@simenl1289 4 жыл бұрын
Great video! Btw just a tip for people: When you have found P and D you can check if AP = PD instead of figuring out P inverse. If AP = PD then you've found the correct values.
@MinthZe
@MinthZe 4 жыл бұрын
Makes since, right multiply both sides by P
@fr0styy202
@fr0styy202 5 жыл бұрын
1:34 *******dab*******
@SURYAKOURAVVIENS
@SURYAKOURAVVIENS 3 жыл бұрын
kzbin.info/www/bejne/emW7YqiagqmGnNk
@tonystank1309
@tonystank1309 3 жыл бұрын
Always here on the day before the exam! And I'm never disappointed!! Last semester; for Differential Equations... Now for Linear Algebra!! Thanks Doc!! Respectful!
@DrTrefor
@DrTrefor 3 жыл бұрын
Good luck!!
@topchrischang471
@topchrischang471 6 жыл бұрын
love this video!! explain things so simple that is easy for me to understand!
@lebalen
@lebalen 2 жыл бұрын
Hey! Could you do a video for identifying conic sections? Like using a diagonalized matrix to the simplify an equation, changing coordinates to then see if its a parabola, ellipse, etc..
@audreakimsley9991
@audreakimsley9991 4 жыл бұрын
Hi I have a question, does in diagonalization, one or two of the x has to be zero so that we can put arbitrary values? Thank You
@Trisevic
@Trisevic 5 жыл бұрын
Great explanation of the concepts. Really simple and so easy to follow. Thanks!
@pranavmahapatra
@pranavmahapatra 27 күн бұрын
3:20 Those of you confused about the free variables: The first column has a leading 1 that corresponds to x1, so it's not a free variable. Neither of second or the third column have a leading 1 "at the last row", that correspond to x2 and x3 respectively, so they are both free variables. So, x2 = s, x3 = t Now, first row: x1 + x2 + x3 = 0 + 0 + 0; Second row: x1 + x3 = x1 + t = 0, we get x1 = -t; Yeet the third row straight away. x1 = -t, x2 = s, x3 = t This general solution can be expressed in a vector form: ( x1 ) ( -t ) ( x2 ) = ( s ) ( x3 ) ( t ) You can decompose this as a linear combination like this (as shown in the video): ( x1 ) ( 0 ) ( -1 ) ( x2 ) = ( s ) ( 1 ) + t ( 0 ) ( x3 ) ( 0 ) ( 1 ) If you sum it up, you get the one I showed above.
@RazorIance
@RazorIance 4 жыл бұрын
Hi, I'd like to ask for clarification regarding finding the eigenvectors, with respect to the values t and s. In the second row of the matrix with the eigenvalues subbed in, which is 1, 0, 1, setting x3 = t means that x1 = -x3 = -t. But does that not imply that x2 = 0? So why would the column vector of s be (0, 1, 0)? I'm getting a bit confused there.
@abhimanyutimbadia8467
@abhimanyutimbadia8467 4 жыл бұрын
Yeah I think so too
@abhimanyutimbadia8467
@abhimanyutimbadia8467 4 жыл бұрын
However, since all the corresponding multipliers for x2 in the matrix are 0 and hance it really doesn’t matter what value x2 takes up. Hence it takes up the span (0,1,0) value
@JPKB36
@JPKB36 2 жыл бұрын
With that S an T, just ignore what he does there, That's gibberish. JUST work out your eigen vectors in descending order, then put them in the modal matrix
@peienshao3936
@peienshao3936 5 жыл бұрын
Finally, a video neither skip x calculation nor keep mention how to calc with known P : ) Thank you sir
@lowisl289
@lowisl289 5 жыл бұрын
may i know why the free variables are x2 and x3?
@panyasilesiba4848
@panyasilesiba4848 2 жыл бұрын
hi Trefor, quick ask. what conditions constitute choosing a free variable like you did for x2 and x3?
@ethanclutter880
@ethanclutter880 3 ай бұрын
What constitutes a column being a free variable is if it has a pivot position, x2 and x3 do not have a pivot position so they are labeled as free variables while x1 has a pivot position making it a basic variables, hope this helps! (Also OneLife in Hagerstown is hiring(Thought you might want to know))
@stephlovesmusic3167
@stephlovesmusic3167 3 жыл бұрын
Thank you! This is very helpful and included a lot of points in one vid and was all to the point!
@alkendimacale8047
@alkendimacale8047 5 жыл бұрын
Can someone explain the eigenvector part of this? Like after the row reduction. thanksss
@umgubularslashkilter9272
@umgubularslashkilter9272 5 жыл бұрын
Thank you for being so clear and engaging. You have interesting/challenging points, you don't shy away from repeating the things you have already covered again and you are making really clear what is the convention and what is something the textbooks do to save some space. I think you just saved me hours of work searching for information!
@ricki7389
@ricki7389 2 жыл бұрын
I don't really understand in which order I put the eigenvalues in D. Is it always ascending order or what's the trick? Also does finding the eigenvectors have any relevance to finding the diagonal matrix D, since you only need the eigenvalues right?
@umairfarooq5862
@umairfarooq5862 3 жыл бұрын
Sir i have a question how you assigned values to x1,x2 and x3 . I did not got that.
@BrutalOddball
@BrutalOddball 6 жыл бұрын
I didn't quite get where you got v1, v2, v3. Anybody have any insight?
@MostafaAbdelrehim
@MostafaAbdelrehim 7 ай бұрын
Great video Dr Trefor. I am curious to know the software setup/tools you are using so that you combine your notes with your own self video in front. Thanks in advance for your cooperation.
@jliu7221
@jliu7221 2 жыл бұрын
Can I do row operations to make the matrix be a triangular matrix and then calculate the eigenvalues?
@Brantendo64
@Brantendo64 3 жыл бұрын
I saw many videos. MANY. This one made SO MUCH SENSE to me. Thank you.
@DrTrefor
@DrTrefor 3 жыл бұрын
Glad it finally clicked!
@user-hf1yv3nx6d
@user-hf1yv3nx6d 5 жыл бұрын
Wonderful sir, the best one that I have watched ever.
@anup_narvekar
@anup_narvekar 5 жыл бұрын
Very well explained, thank you.
@gabrielpereiramendes3463
@gabrielpereiramendes3463 5 жыл бұрын
Thanks a lot from Brazil. I need to learn this subject because next week I'll have a linear algebra exam. Excelent explanation.
@clementchan8544
@clementchan8544 6 жыл бұрын
How do you know which lamda value will be 1/2/3 or v matrix be 1/2/3? For example if i use your lamda3 to find the v matrix first, the P obtained will be quite different from the results that you obtained
@spi.ritu.ality007
@spi.ritu.ality007 6 жыл бұрын
Trefor Bazett Thanks
@brycematthews4303
@brycematthews4303 5 жыл бұрын
Thank you, you're a legend.
@josevela9018
@josevela9018 5 жыл бұрын
I Really don't understand at 3:12 to determine the free variables and then showing what column to use
@achalcharantimath5603
@achalcharantimath5603 4 жыл бұрын
how was x2,x3,x1 found ? and how was v3 found ? Thank you
@mohammednaved1973
@mohammednaved1973 2 жыл бұрын
Instead of taking (v1 v2 v3), can i take (v3 v2 v1) etc. I do know this will change the diagonalized matrix but does the order of eigen vectors in the mattix really matters?
@pashimp
@pashimp 5 жыл бұрын
Thanks! Helped a lot! :)
@priyankasapali5736
@priyankasapali5736 5 жыл бұрын
Why you took the X3 is the negative value. I.e x3=-t while finding the eigen vector for for eigen value 2.i am little bit confused in that step.. If possible clearly explain...
@wattyven
@wattyven 6 жыл бұрын
You were the best math lecturer I ever had at U of T - I'm still using your videos to help my brother through school now!
@nianbing5528
@nianbing5528 6 жыл бұрын
Pretty good explanation honestly.
@DiyaeDiyae-hi7cn
@DiyaeDiyae-hi7cn 3 жыл бұрын
Oh wow, first of all thank you for making this video because without you professor I would have put the pen down whenever I came across this question. Second of all, I don't study maths in English but in French and the video is just self-explanatory. Thank you for your time and have a nice day !
@kirtipandya4618
@kirtipandya4618 4 жыл бұрын
I have multiplied but I can not see A = PDP(-1). has anyone tried to compute A? I have taken A, P and D from given example.
@quanttube
@quanttube 3 жыл бұрын
Well explained Dr. Bazett.
@ryanabel9871
@ryanabel9871 3 жыл бұрын
Normally, for a matrix to be diagonalisable, it should have distinct eigenvalues but in that case we have two eigenvalues with the same number and another condition to be respected is that the eigenvalues should be lineraly independent as well as the eigenvector. I would be grateful if u could help me
@serkalemadugna4675
@serkalemadugna4675 6 жыл бұрын
what condition is diagonal matrix invertible
@prestonduffield5393
@prestonduffield5393 4 жыл бұрын
Crystal clear presentation, thanks
@mathiasstrand1254
@mathiasstrand1254 5 жыл бұрын
But is A really diagonalizable when you have a (λ-2)^2? Shouldn't the eigenvalues be distinct or have I missed something?
@HenrikMonsen
@HenrikMonsen 2 жыл бұрын
Late reply, but maybe others are wondering about the same thing. Since it's a 3x3 you need 3 linearly independent eigenvectors. You get one from one of the eigenvalues, and two from the other. If the basis for the eigenspace for the eigenvalue with multiplicity of 2 only produced one, you'd only have 2 vectors which means the 2nd eigenspace collapses one dimension.
@cinnamonshake45
@cinnamonshake45 2 ай бұрын
can we just use elementary row and column transformations to achieve the same result?
@meatychunkz8875
@meatychunkz8875 2 жыл бұрын
So is the diagonalised matrix D, that which has the same information as A but in a different basis (the eigenbasis?)
@krittaprottangkittikun7740
@krittaprottangkittikun7740 3 жыл бұрын
This is super helpful, thank you so much!
@tosinadekunle646
@tosinadekunle646 2 жыл бұрын
Thank you Sir. Ii just do not understand the theories of diagonalization yet to be able to explain some things but I see that it could also be a PCA dimensionality reduction technique.
@TwistedGamersHQ
@TwistedGamersHQ 4 жыл бұрын
When calculationg values. Why not (2-lambda)^2*(1-lambda) - (2-lambda)?
@georgesadler7830
@georgesadler7830 Жыл бұрын
DR. Bazett thank you for the video on Diagonalization of a Matrix.
@elfabri666
@elfabri666 3 жыл бұрын
so clear, ty ♥
@sweetyranii
@sweetyranii 3 жыл бұрын
Crystal clear 👌 Well explained 🤗
@MrBagga-md4mj
@MrBagga-md4mj 5 жыл бұрын
thank you. It really helped.
@aminaalsindi56
@aminaalsindi56 5 жыл бұрын
Thank you so much, well explained
@alimohmed2578
@alimohmed2578 5 жыл бұрын
"Because I lie a lot" lmao
@nathanschwedock6338
@nathanschwedock6338 5 жыл бұрын
I was taught that the determinant is (lamda I - A). Is this wrong or does it not matter?
@daxtonbryce2712
@daxtonbryce2712 2 жыл бұрын
Awesome videos. Very clear!
@AnotherCasualViewer
@AnotherCasualViewer 2 жыл бұрын
This was a very informative video, Thanks!
@nathanellul5787
@nathanellul5787 4 жыл бұрын
Helped a lot! Thank you
@therattleinthebook397
@therattleinthebook397 3 ай бұрын
Sorry if this is obvious, but why did you do the P calculation at all? If you already knew that the diagonalized matrix had the diagonal equal to the eigenvalues, and you found the eigenvalues super early on, why did you need the eigenvectors?
@vaggelismanousakis6147
@vaggelismanousakis6147 5 жыл бұрын
Is it possible in an exercise to find 2 eigenvectors for each eigenvalue so we end up with 6 eigenvectors given a 3x3 Matrix? Please help! Thanks:)
@vaggelismanousakis6147
@vaggelismanousakis6147 5 жыл бұрын
@@DrTrefor Thanks a lot! Have a nice day :)
@habibnurmagovedov9260
@habibnurmagovedov9260 4 жыл бұрын
greeting from France you are helping students at the international level !
@kirtipandya4618
@kirtipandya4618 4 жыл бұрын
I have done matrix multiplication. PDP-1 is not equal to A. anyone has tried to do that?
@subhanonbera4921
@subhanonbera4921 4 жыл бұрын
Sir Your presentation is very unique and very good It help me lot
@chenzhuo4043
@chenzhuo4043 5 жыл бұрын
Thank you very much!!!!!! Helped a lot.
@therandomactivist1124
@therandomactivist1124 3 ай бұрын
Still confused about the free variables
@azhua123
@azhua123 Жыл бұрын
@2:34 what is going on here? how'd you get that matrix?
@TheOneMusketeer
@TheOneMusketeer Жыл бұрын
Not sure if you still need help but he's basically just subtracting the eigenvalues from the A matrix.
@MaxWell-ch4jf
@MaxWell-ch4jf 4 жыл бұрын
Thank you Finally Get this
@syremusic_
@syremusic_ 4 жыл бұрын
I am so.... tired. Finals week. Thank you for your help Trefor🙏🏻
@celine80357
@celine80357 5 жыл бұрын
can anyone explain how he goes from the system to the notation with s and t? Around 3:20
@celine80357
@celine80357 5 жыл бұрын
@@DrTrefor Thanks for your quick response! I watched the video and I totally followed it, however in this example I don't see why you would state that x2 = s, because it seems to me that x2 = 0. In my computation I stated x1 = s and x3 = t, which obviously doesn't lead to the right answer.
@fatimaguerra6615
@fatimaguerra6615 5 жыл бұрын
@@celine80357 im having the same questions, since x2 is all zeros column and x1 and x3 have 1's in the middle of the column
@user-rb4bv8st5q
@user-rb4bv8st5q 6 жыл бұрын
thank you so much
@sicaw4259
@sicaw4259 5 жыл бұрын
it doesnt matter that i take lambda1 =1, lambda2 =2 right?
@ruwanishiromala
@ruwanishiromala 4 жыл бұрын
Thank you.Helped me lot.
@maureensikora9012
@maureensikora9012 4 жыл бұрын
Thank you! This is so much more clear than my professor.
@sam17ado87
@sam17ado87 3 ай бұрын
hi why is x3 a free variable in 3:26
@gokcenafsin5366
@gokcenafsin5366 6 жыл бұрын
beautiful
@nakulgupta182
@nakulgupta182 3 жыл бұрын
Amazing Explanation
@informationisallabout8976
@informationisallabout8976 4 жыл бұрын
Find the matrix P that diagonalizes A. Where A= 100120-352 . Are the eigen vectors linearly independent?
@sumairafarht6809
@sumairafarht6809 9 ай бұрын
Just love it 😍
@grantdrexler1210
@grantdrexler1210 7 ай бұрын
Thank you, that was incredibly helpful!
@kahtanalobaidi1550
@kahtanalobaidi1550 Жыл бұрын
I am gonna have this problem on my final. this is a great help
@wildlife6612
@wildlife6612 5 жыл бұрын
you are definitely better than my teacher... ♥♥♥♥♥♥
@Emilie_in_june
@Emilie_in_june 7 ай бұрын
Omg my final is tomorrow and this literally saved me
@vinayanpa126
@vinayanpa126 3 жыл бұрын
3:15 whats that. I didn't get it
@sushmitha2537
@sushmitha2537 6 жыл бұрын
Hi, How did you get the x1, x2, x3 values? I did not quite get that.
@sushmitha2537
@sushmitha2537 6 жыл бұрын
Trefor Bazett thank you so much. I’ll refer to your other videos too. :)
@luckyleaf227
@luckyleaf227 6 жыл бұрын
How is x2 and x3 a free variable then? 3:32
@luckyleaf227
@luckyleaf227 6 жыл бұрын
Trefor Bazett thanks! I thought it was leading 1s in each row. This clears things up
@rajukotambari6197
@rajukotambari6197 3 жыл бұрын
Nice video Prof. Please tell me technology you are using to make such videos
@DrTrefor
@DrTrefor 3 жыл бұрын
Just writing on my tablet with a greenscreen behind me
@rajukotambari6197
@rajukotambari6197 3 жыл бұрын
@@DrTrefor very nice.
@rajukotambari6197
@rajukotambari6197 3 жыл бұрын
What is the way to mask the background green screen.
@sackofpotatoes1345
@sackofpotatoes1345 3 жыл бұрын
My exam is in 2h. Wish me luck.
@DrTrefor
@DrTrefor 3 жыл бұрын
Haha didn’t get this until 3 hours latter but...uh....good luck!
@sirjee3638
@sirjee3638 3 жыл бұрын
Excellent teaching.... Thanks a lot Sir ji 👍
@DrTrefor
@DrTrefor 3 жыл бұрын
Most welcome
@andrewson658
@andrewson658 3 жыл бұрын
can u explain more. like ?
@yanzuo9740
@yanzuo9740 6 жыл бұрын
still can't understand the relationship between D and eigenvalues
@STKeTcH
@STKeTcH 3 жыл бұрын
why is x2 's'? Why is it not zero?
@brianpeng3359
@brianpeng3359 Жыл бұрын
Thank you teacher
@themvlek
@themvlek Жыл бұрын
Thnaks
@ariturindamoses4707
@ariturindamoses4707 Жыл бұрын
It's very interesting 🙏
@kavya2807
@kavya2807 3 жыл бұрын
Thank u sir😎
@RaggyTosh
@RaggyTosh 6 жыл бұрын
Edexcel FP3 2018 today in 8 hours
@mhadiprabowo3430
@mhadiprabowo3430 3 жыл бұрын
thanks you sir ,your explanation inspiration for me
@DrTrefor
@DrTrefor 3 жыл бұрын
So nice of you!
@mahmoudal-ali5384
@mahmoudal-ali5384 6 жыл бұрын
Nice
@LowieDM
@LowieDM 4 жыл бұрын
Give this man a Victoria Cross
@mli3793
@mli3793 5 жыл бұрын
You computed the eigenvalues wrong right? It is supposed to be det(λI - A) not det(A - λI)
@yazanzoabi3268
@yazanzoabi3268 5 жыл бұрын
nice!
@superchargedAMG
@superchargedAMG 5 жыл бұрын
don't you have to normalize your eigenvectors?
Diagonalization
8:43
Professor Dave Explains
Рет қаралды 495 М.
ChatGPT is destroying my math exams
11:43
Dr. Trefor Bazett
Рет қаралды 53 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 38 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 17 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 74 МЛН
One moment can change your life ✨🔄
00:32
A4
Рет қаралды 33 МЛН
What is Jacobian? | The right way of thinking derivatives and integrals
27:14
Diagonalizing 3x3 Matrix - Full Process [Passing Linear Algebra]
11:57
Diagonalization and power of a matrix
11:32
Prime Newtons
Рет қаралды 27 М.
COMPLEX Eigenvalues, Eigenvectors & Diagonalization **full example**
14:10
Diagonalizing a Matrix
11:37
MIT OpenCourseWare
Рет қаралды 178 М.
The reason you should shuffle 7 times
19:27
Dr. Trefor Bazett
Рет қаралды 82 М.
🔷15 - Eigenvalues and Eigenvectors of a 3x3 Matrix
31:10
SkanCity Academy
Рет қаралды 432 М.
Visualizing Diagonalization & Eigenbases
9:46
Dr. Trefor Bazett
Рет қаралды 70 М.
Why hyperbolic functions are actually really nice
16:03
Dr. Trefor Bazett
Рет қаралды 125 М.
How the Diagonalization Process Works
7:30
Dr. Trefor Bazett
Рет қаралды 26 М.
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 38 МЛН