Cos of matrix

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 108

  • @gonzalezm244
    @gonzalezm244 6 лет назад +62

    Why are your videos always the ones the break my notion of what math can be? I love it

  • @PhilFogle
    @PhilFogle 6 лет назад +38

    I did a math degree, and didn't see this in either linear algebra or ODE courses. Great presentation.

    • @zekken8250
      @zekken8250 2 года назад

      hmm I'm doing a math degree and we're reading about this in the course "advanced linear algebra". The course is not compulsory but definitely of interest nonetheless!

  • @PackSciences
    @PackSciences 6 лет назад +76

    Can also do the exponentiation e^iA, then take the real part.
    Congrats on 15k.

    • @drpeyam
      @drpeyam  6 лет назад +13

      Thank you!!!

    • @ethertyper
      @ethertyper 5 лет назад +1

      Would it be the real part, or the Hermitian part?

    • @stevenwilson5556
      @stevenwilson5556 4 года назад +1

      Almost 70k now ~1 year later.

  • @stephensheehy339
    @stephensheehy339 6 лет назад +12

    I’m so happy I found this channel, me as a student studying maths, I love doing calculus and power series, keep up the good work,

  • @antimatter2376
    @antimatter2376 6 лет назад +61

    Next thing you know we are going to be doing the laplace transform of a matrix with respect to the golden ratio

    • @drpeyam
      @drpeyam  6 лет назад +11

      Hahaha, great idea!!!

    • @antimatter2376
      @antimatter2376 6 лет назад +18

      @@drpeyam You are welcome. Just give me credit when you're solving the riemann hypothesis

    • @gregoriousmaths266
      @gregoriousmaths266 4 года назад

      Lmaooooooooo

  • @rakhimondal5949
    @rakhimondal5949 6 лет назад

    This is the most underrated channel...
    I loved it

  • @TheMazyProduction
    @TheMazyProduction 6 лет назад +35

    You should mention that A^n= P*D^n*P^-1 is especially useful when computers are finding the matrix exponential.

  • @Invalid571
    @Invalid571 6 лет назад +14

    "It's not me being crazy, its has some really cool applications."
    Loled that you had to clarify this. 😁

    • @rainbowbloom575
      @rainbowbloom575 5 лет назад

      Even if it didn't have applications, it could have applications in the future

  • @cosmonautduck
    @cosmonautduck 6 лет назад

    I've been looking to learn something about matrix exponentials and before you know it, one of my favourite math channels uploads a video on that very topic. It doesn't get any better than that

  • @ffggddss
    @ffggddss 6 лет назад +5

    I recall this sort of thing from some of my physics coursework decades ago.
    Before watching this, I'm 99% sure he's gonna use the Taylor series to define these - that gives you sums of integer powers of the (square) matrix, which are all perfectly easily defined. The only concern then, is convergence; and if that's good, actually finding the limit.
    What we were shown in graduate mechanics, was that rotations in Euclidean 3-space (or any n-space, n ≥ 2) can be written as the exponential function of certain generating matrices (which we labeled J, each with two, unequal subscripts), which in turn, are antisymmetric. I seem to recall that this led to finding the properties of the Lie algebra of the generators, but I'd have to go back and review all that - I've forgotten how it goes.
    Anyway, replacing the exponential function with any other function whose Taylor series is well-behaved enough, and replacing those antisymmetric generators with more a general square matrix, should be possible. The trick in carrying it out, is in finding an expression for the general n'th power of the chosen matrix...
    I see from the description that Dr. Peyam is going to use this to solve certain ODEs; apparently on vectors. Should be an interesting ride!
    Let's see what he does...
    NB: What he does to diagonalize A, is called a "similarity transformation." It is a quite powerful technique.
    Fred

  • @MrCigarro50
    @MrCigarro50 5 лет назад

    This video is very useful for statisticians (like me). For us, the big advantage is that we consider most often we apply all these operations to symmetric matrices. Needless to say the beautiful things that happen when that kind of matrices is considered.

  • @رشاداليامي
    @رشاداليامي 4 года назад

    you’re interested because u show a news ideas for mathematics 🌹I enjoy your videos

  • @dgrandlapinblanc
    @dgrandlapinblanc 6 лет назад

    Thank-you very much. A source of motivation the saturday morning. Good week-end.

  • @ritujithmanoj2133
    @ritujithmanoj2133 6 лет назад

    I don't know what you're doing, but I love it.

  • @dectorey7233
    @dectorey7233 6 лет назад

    Excellent video, one of my favorite topics explored in Linear Algebra

  • @gunjansharma2952
    @gunjansharma2952 4 года назад

    Thankyou so much sir!!! Beautifully explained.

  • @volodymyrsamborskyi7531
    @volodymyrsamborskyi7531 2 года назад

    Thank you very much for explaining such an important concept!!!😀

  • @tszhanglau5747
    @tszhanglau5747 6 лет назад

    Congrats on 15k subs!

  • @arjunbanerji
    @arjunbanerji 6 лет назад +20

    We knew about cos(pi) and today learned about cos(matrix) or cos(m) in short. Now, what about cos(PI M)??

    • @MoodyG
      @MoodyG 6 лет назад +10

      Pun intended :D

  • @sugarfrosted2005
    @sugarfrosted2005 6 лет назад +7

    Octonion power series next (they actually work because of power associativity!)

  • @mrborisak
    @mrborisak 6 лет назад +16

    Hair is looking wild like he just wrangled this math in from the number jungle

  • @tavrion
    @tavrion 3 года назад

    Super clear and informative, thank you

  • @polaris_babylon
    @polaris_babylon 6 лет назад +2

    Amazing linear algebra aplication

  • @DeNorali
    @DeNorali 6 лет назад

    You are amazing. Thank you. Taught me a lot here. Cool stuff.

  • @_DD_15
    @_DD_15 5 лет назад

    Beautiful video

  • @koenth2359
    @koenth2359 6 лет назад +1

    Congrats with 15000. Next milestone is e^π², please let us know when you pass it!

  • @Anna-vb1mn
    @Anna-vb1mn 4 года назад

    Soo helpful! Thank you so much 🥰

  • @Fightclub1995
    @Fightclub1995 5 лет назад

    Have you ever seen Floquet theory? It's about where you solve the case when A=A(t), so the system x' = A(t)x. The matrix A(t) does have to be periodic.

  • @NamaSaya-wg9gn
    @NamaSaya-wg9gn 6 лет назад

    Mindblowing thanks

  • @evanev7
    @evanev7 6 лет назад +9

    But what about a matrix to the power of a matrix?

    • @PeterBarnes2
      @PeterBarnes2 6 лет назад +7

      Thus begins the cycle: regular algebra but the variables are matrices, calculus but the variables are matrices, and linear algebra but the variables are matrices. Not mere vectors, but entire matrices as the objects of interest.

  • @wompastompa3692
    @wompastompa3692 6 лет назад +1

    Customer: Can I have a Coca-Cola?
    Waiter: Is PeDpI okay?

  • @mpcc2022
    @mpcc2022 6 лет назад

    Dr. Peyman I love you.

  • @abolfazlnazifi512
    @abolfazlnazifi512 4 года назад

    Love you Doc!

  • @wolframalpha8634
    @wolframalpha8634 6 лет назад +1

    Let's get Dr.Peyam to 100k subs this year 😃

  • @tylershepard4269
    @tylershepard4269 6 лет назад

    For LTI systems with multiple inputs and multiple outputs (MIMO), the exponential of a matrix is extremely useful.

    • @veenasv954
      @veenasv954 4 года назад

      State transition matrix 😊🤗

  • @apoorvvyas52
    @apoorvvyas52 6 лет назад

    Great video Dr. Peyam. Can you please also teach SVD and its applications?

  • @رشاداليامي
    @رشاداليامي 4 года назад

    ‏But I have a question about your videos related to matrices and the application of e or trigonometric identities.
    ‏Notice that you take a special example of a second-degree square matrix on which these relationships are conducted.
    ‏ ? Is this correct

  • @Newtonissac6
    @Newtonissac6 6 лет назад

    Fantastic video as always. I have one question though. What if A is not diagonizable?

    • @drpeyam
      @drpeyam  6 лет назад +1

      You use the definition of exp or cos as a power series, and the Jordan form

  • @tapxforkan6287
    @tapxforkan6287 6 лет назад +3

    At 8:05 shouldnt it be cos1 cos0=1
    Cos0=1 cos4
    Instead of the 2 zeroes?

    • @PackSciences
      @PackSciences 6 лет назад

      e^(diag(u_n)) = diag(e^(u_n))

    • @_kopcsi_
      @_kopcsi_ 6 лет назад +3

      Ioannis Karakoulias no. because when you calculate the exp(D) or cos(D) matrices, you actually calculate the infinity sums (Taylor series). e.g. the N-th term of exp(D) is D^N/N!, which stays diagonal if D was diagonal too (since the multiplication of diagonal matrices always results in a diagonal matrix). and if you sum up diagonal matrices (even if there are infinite of them), you also end up with a diagonal matrix. so exp(D)=[exp(D_11) 0 0 exp(D_22)], and not [exp(D_11) exp(0) exp(0) exp(D_22)]. hope it helped you.

  • @sadface7457
    @sadface7457 6 лет назад +1

    We actually didn't something similar in control theory where differential equations are essential in the modelling of various systems.

  • @kunalbatra4166
    @kunalbatra4166 6 лет назад

    loved it!!

  • @caldersheagren
    @caldersheagren 6 лет назад +1

    Can you use the complex definition of cosine here, plugging in iM to the matrix exponential?

  • @meh7272
    @meh7272 6 лет назад +4

    Wow, If this isn't beautiful then I don't know what is...

  • @brunoberganholidias5790
    @brunoberganholidias5790 6 лет назад +7

    Would the trigonometric identities such as sin(A+B), sin(2A), sin^2 + cos^2 = 1 and so on still hold in this trigonometric matrix realm?

    • @georgesmith4768
      @georgesmith4768 6 лет назад +5

      Many of them are, but not all, for example sin(A+B) does not always hold(it needs multiplication to commute)
      Working through them is a kind of fun exersise in the properties of rings!

    • @drpeyam
      @drpeyam  6 лет назад +6

      ^ What he said! Even exp(A+B) = exp(A)exp(B) isn’t always true!

  • @WildAnimalChannel
    @WildAnimalChannel 6 лет назад

    Won't you need the square root of a matrix for the second part? How do you do this?

  • @scott5146
    @scott5146 3 года назад

    At 7:48, isn't the cosine of zero equal to one, not zero?

  • @willyou2199
    @willyou2199 6 лет назад

    Is it a convention that the free parameter C is placed to the right than left as they are for normal numbers? or is it a strict thing that it must be on the right.

    • @drpeyam
      @drpeyam  6 лет назад +1

      It’s a necessity because the parameter is a vector not a number

  • @GhostyOcean
    @GhostyOcean 4 года назад

    We can do a function of a matrix if it can be represented with a power series. We know that certain power series have a radius of convergence. You used the Maclaurin series in the video, but I assume that this can be generalized to Taylor series evaluated at an arbitrary point in the function's domain.
    Is there a simple test to see if a matrix is "inside" the radius of convergence of the Maclaurin series without diagonalizing it?
    If an eigenvalue is outside the radius of convergence for the Maclaurin series, can we use a Taylor series evaluated at a nearby point and get the function of that matrix? (E.g. suppose matrix A has a diagonal matrix of {{1,0},{0,3}}, and the Maclaurin series for arctan(x) has a radius of convergence of 1, so arctan(A) can't be found using the Maclaurin series.)

  • @purim_sakamoto
    @purim_sakamoto 3 года назад

    行列がわからんから何やってるかわかんぬ!
    でもあまり難しそうじゃないのでまた見に来るよ

  • @crazye7132
    @crazye7132 6 лет назад +1

    My question is, could you take the logarithm of a matrix and if, would the radius of convergence be a problem ?

    • @drpeyam
      @drpeyam  6 лет назад

      Yeah! Basically to get around this you’d require your eigenvalues to be less than 1 in absolute value

    • @PackSciences
      @PackSciences 6 лет назад

      @@drpeyam Wait, I thought the radius of ln(1+x) was 1, so ln(x) would converge if an only if (x-Id) is bounded by 1 and -1 in absolute value an not (x) itself.
      Do you have a source for "eigenvalues need to be less than 1 in absolute value" criteria?

    • @crazye7132
      @crazye7132 6 лет назад

      @@drpeyam Aaaah I finelly think to understand it. So the spectral radius of the matrix should be less than or equal the radius of convergence?

    • @drpeyam
      @drpeyam  6 лет назад

      PackSciences I was meaning ln(x+1)

  • @ankurmazumder5590
    @ankurmazumder5590 5 лет назад

    Sir can a series dedicated to pure probability and statistics be expected? Would be of great help.

  • @michaelklemen9410
    @michaelklemen9410 5 лет назад

    How does order in a matrix play out? For instance [a b , c d] versus [d a , b c]? Just wondering. Thanks!

    • @drpeyam
      @drpeyam  5 лет назад

      It would give a different result since the eigenvalues and eigenvectors aren’t the same

    • @michaelklemen9410
      @michaelklemen9410 5 лет назад

      Dr Peyam I mean in general mathematics not just this problem

  • @kamehamehaDdragon
    @kamehamehaDdragon 6 лет назад

    cool video

  • @_kopcsi_
    @_kopcsi_ 6 лет назад +1

    nice video. when I studied electrical engineering during my first degree, I met couple of times such problems, where systems of differential equations emerged naturally. it was not so easy to comprehend, since we learnt linear algebra only after that course:D anyway I can imagine that this sort of problem occurs at several areas of our natural and artifical world, since multivariable dinamical systems are quite common in our physical world (especially when we deal with state-space representations).
    but could somebody tell me, what to do when the matrix cannot be diagonaized? how can we calculate e.g. the exponential of that matrix? do we have to calculate and go through those long chain of matrix multiplications and additions?

    • @drpeyam
      @drpeyam  6 лет назад +1

      Yeah, you then do it using the definition, but the Jordan form is useful in those cases

    • @_kopcsi_
      @_kopcsi_ 6 лет назад +1

      ​@@drpeyam in that sense the diagonalizable case is a special case of this Jordan form? so when a matrix is not perfectly diagonalizable, then we try to diagonalize it as much as we can? :D I guess with this method we can significantly decrease the computational needs (depending on the structure of the actual matrix, of course).

  • @hazza6915
    @hazza6915 6 лет назад +4

    Can you teach Galois theory?

    • @drpeyam
      @drpeyam  6 лет назад +2

      Don’t know any, sorry

    • @hazza6915
      @hazza6915 6 лет назад +1

      Dr. Peyam's Show no worries doctor, I’m assuming you teach the analysis side of things right? It would be great if you could make a video on meromorphic functions? Or maybe prove the cauchy integral formula! That would be great

    • @drpeyam
      @drpeyam  6 лет назад

      Hazza There will be a video on Cauchy’s Integral formula :)

    • @hazza6915
      @hazza6915 6 лет назад

      Dr. Peyam's Show thank you Dr Payem

  • @danielmilyutin9914
    @danielmilyutin9914 6 лет назад

    BTW. (d/dt)^2(x) + a^2*x = 0 can be transformed to
    dx/dt = v
    dv/dt = -a^2*x
    An there you can apply exp. Result will be he same. However :)

  • @DiamondSane
    @DiamondSane 6 лет назад +1

    i was missing it in my ODE course

  • @brianlamptey4823
    @brianlamptey4823 5 лет назад

    So how do you diagonalize a matrix?

    • @drpeyam
      @drpeyam  5 лет назад

      There’s a playlist on that (Eigenvalues and Eigenvectors)

    • @brianlamptey4823
      @brianlamptey4823 5 лет назад

      @@drpeyam Thank you.

  • @thisismycoolnickname
    @thisismycoolnickname 5 лет назад +1

    What if we got x' = Ax but the matrix A is a variable of t? I ran into an integral of a matrix lol

    • @drpeyam
      @drpeyam  5 лет назад

      That’s ok, I think an integral of a matrix is just the integral of every component

  • @穿第
    @穿第 6 лет назад

    But what is the geometry meaning of it

  • @Zonnymaka
    @Zonnymaka 6 лет назад

    We know you're crazy...despite the cool applications

  • @Flanlaina
    @Flanlaina 4 года назад

    Sin(i)

  • @TheMazyProduction
    @TheMazyProduction 6 лет назад +2

    f

  • @mauricegyer3430
    @mauricegyer3430 6 лет назад

    Matrix P is incorrect. P = P = [sqrt(0.5), sqrt(0.2); sqrt(0.5), sqrt(0.8)].
    Basic idea is to express cosine as cos(A) = (exp(Ai) + exp(-Ai))/2 where i = sqrt(-1).

  • @VaibhavRajputmoksh
    @VaibhavRajputmoksh 4 года назад

    What about svd that's what really is going places

  • @NoHair-pk3xg
    @NoHair-pk3xg Год назад

    Great presentation. Too bad you stood in FRONT of the camera.

  • @cubicardi8011
    @cubicardi8011 5 лет назад

    Matrix to a Matrix?

    • @drpeyam
      @drpeyam  5 лет назад

      Great idea, will look into it!

  • @kingfrozen4257
    @kingfrozen4257 3 года назад

    Kheili duset darim

  • @brucemitchell7980
    @brucemitchell7980 6 лет назад

    Not impressive. Going to all the trouble of preparing a RUclips video but needs a piece of paper to remind himself of the steps. Presents the whole thing on a whiteboard with such limited space that he needs to be erasing previous steps. The mathematics is good but the presentation is not.