Rotation Matrix

Поділитися
Вставка
  • Опубліковано 12 лют 2019
  • Derivation of the rotation matrix, the matrix that rotates points in the plane by theta radians counterclockwise. Example of finding the matrix of a linear transformation
    Check out my Linear Equations playlist: • Linear Equations
    Subscribe to my channel: / @drpeyam

КОМЕНТАРІ • 152

  • @blackpenredpen
    @blackpenredpen 5 років тому +176

    A pic is worth 1000 words, just like the thumbnail!

  • @1973jdmc
    @1973jdmc 3 роки тому +34

    You are a Maths Angel that has come to earth to teach us poor Maths disciples...Love your lectures- A massive heartfelt THANK YOU

  • @officiallyjk420
    @officiallyjk420 3 роки тому +1

    You my good sir saved me so much trouble. I was writing a raycasting algorithm and was struggling at rotating the vectors. This video provided a crystal clear explanation on rotation matrices. Thanks so much!

  • @bikeman3425
    @bikeman3425 2 роки тому +11

    You sir are a lifesaver and have deserved a subscription! I'm currently in Linear Algebra and Matrix Theory, and have been struggling with this concept. Your video was just the information I needed and you seemed very enthusiastic to present it. Keep up the great work 👍

  • @SquishySwishy
    @SquishySwishy 3 роки тому +4

    Such a simple concept, couldn't find a legit explanation anywhere! thank you!

  • @atalantaquattrocchi4952
    @atalantaquattrocchi4952 11 місяців тому +2

    Thank you so much for this simple and clear explanation. Please, never stop what you are doing, your videos are life changing.

  • @ProletarianNuklearWarrior
    @ProletarianNuklearWarrior 3 роки тому +1

    I looked through so many videos and this is a godsend! THANKS A LOT!!

  • @alpmuslu3954
    @alpmuslu3954 5 місяців тому +2

    i cant put in words how much this has helped me, thank you

    • @drpeyam
      @drpeyam  5 місяців тому

      Happy to hear that!

  • @Invalid571
    @Invalid571 5 років тому +7

    Hey, thanks for doing the rotation matrices.
    Also that thumbnail --> pure gold 😁

  • @notoppland
    @notoppland 2 роки тому +2

    Fantastic video! I finally understood it now after circling through other videos for some time

  • @AbdulMoiz-uj3wg
    @AbdulMoiz-uj3wg 5 років тому +4

    Thank you Dr peyam,I really needed this.

  • @-anonim-3008
    @-anonim-3008 2 місяці тому +1

    Thanks a lot! I'm fronted developer and your information helped me!)

  • @mitchkovacs1396
    @mitchkovacs1396 5 років тому +20

    Another great application of this is in proving the angle sum identities. For angles alpha and beta with respective rotation matrices A(alpha) and A(beta), we know that multiplication by A(alpha)*A(beta) must be identical to multiplication by A(alpha+beta). So after multiplying out A(alpha)*A(beta), the angle sum identities for both sine and cosine just fall right out.

    • @drpeyam
      @drpeyam  5 років тому +2

      Beautiful!

    • @gunakarnayak1220
      @gunakarnayak1220 4 роки тому

      Loved your video ... thank you very much for the visualisation

  • @thestovietunion790
    @thestovietunion790 4 роки тому +2

    Thank you, I thought I knew matrix multiplication (turns out I forgot) and was frustrated by how the 3 dimensional rotation ones just don't add up for me, now I understood that something was wrong with it and looked it up, now they make more sense to me (as I got matrices of 3 x 3 as coordinates of a point living in a 3 dimensional space, and those coordinates definitely aren't a 3 x 3 matrix).

  • @GamaSennin82
    @GamaSennin82 3 роки тому +6

    The rotation matrix is so cool! I like how you can apply it to itself to get _another_ rotation of θ, which is just a total rotation of 2θ, and the matrix multiplication will lead automatically to cos 2θ = cos^2 (θ) - sin^2 θ and sin 2θ = 2sinθcosθ. Also, I don't remember ever learning that differentiation and determinant rule to check the columns; that was awesome!

    • @drpeyam
      @drpeyam  3 роки тому +1

      Oh wow that’s neat!

  • @igorjasenovski4313
    @igorjasenovski4313 Місяць тому

    beautiful job! congrats!

  • @neoblackcyptron
    @neoblackcyptron Рік тому +1

    Super awesome explanation. Thank God for UA-cam preserving live knowledge for posterity. This is a living library the university of the universal swarm mind.

  • @gunakarnayak1220
    @gunakarnayak1220 4 роки тому

    Thank you very much..loved the visualisation.

  • @andreaLA222
    @andreaLA222 3 роки тому

    Great explanation!! Thank you!

  • @jamesa4220
    @jamesa4220 3 роки тому

    This was very helpful, thank you!

  • @eitanshirman9072
    @eitanshirman9072 2 роки тому

    Thank you so much for the explanation!

  • @xidretinlegende7016
    @xidretinlegende7016 3 роки тому

    best explanation video ever. thanks a lot.

  • @denys3211
    @denys3211 4 роки тому

    this is gold. excelent video

  • @postnubilaphoebus96
    @postnubilaphoebus96 2 роки тому +2

    Just wanted to let you know that you are an awesome teacher. Whenever I want to clear up a mathematical topic I encounter during my studies, I watch your videos.

    • @drpeyam
      @drpeyam  2 роки тому +1

      Thanks so much!!!

  • @geetaazad7028
    @geetaazad7028 2 роки тому

    Finally I understand this concept 🙂... Thankuu so much sir 🙏💕

  • @gadegroof
    @gadegroof 4 роки тому

    I needed to fresh up, but this video is perfect. The explanation is crystal clear. I subscribe to your channel and added also alike. Keep up the good work and thanks for the video!!

  • @MrRyanroberson1
    @MrRyanroberson1 5 років тому +1

    i like the fact that there are two different ways of inverting the rotation matrix: first by the "pepper grinder", a matrix (a,b,c,d) has the inverse (d,-b,-c,a)/(ac-bd), and ac-bd in this case = 1, and the result just negates all sin(θ). the other solution is the "geometric" truth that you can just plug in the opposite value, since applying rotations is additive to the input, but sin(-θ) = -sin(θ)

  • @msalim5377
    @msalim5377 10 місяців тому +1

    شكرا وبارك الله فيك

  • @leihan2670
    @leihan2670 Рік тому

    Best explaination for rotation

  • @souraneelchattoraj1293
    @souraneelchattoraj1293 5 років тому

    Dude you are a legend
    Thank you

  • @ehgusrnjs3623
    @ehgusrnjs3623 5 місяців тому

    yea this does it for my question .perfection.

  • @FC-BS
    @FC-BS 8 місяців тому +1

    Thanks, this helped me to study for my test

  • @alegian7934
    @alegian7934 5 років тому

    I actually came up with the differentiation trick as I was watching the video (but before you mentioned it)!! That was so creepy for me when you mentioned it, as if you heard my question xD

  • @juanmanuelcarrillo5769
    @juanmanuelcarrillo5769 3 роки тому

    Thanks a lot! Great video

  • @wiloux
    @wiloux 5 років тому +3

    I literally studied it today and this matrix was already given but what we did was to inverse it. We see that A(x) = A^-1(-x) with x positive. This relation is another way to see how is this matrix related to rotation

  • @Rajeshkr001
    @Rajeshkr001 Рік тому

    Well explained.

  • @nplusw5812
    @nplusw5812 3 роки тому

    appreciate this so much!

  • @user-fm3zf1bb4s
    @user-fm3zf1bb4s 4 роки тому

    thanks Dr peyam

  • @user-dh6ul4yv5x
    @user-dh6ul4yv5x 5 років тому

    We memorized this matrix so.
    Since the order of studying trigonometric functions is sine, cosine, etc., the second line contains the “absolute order”, i.e. "Plus sine plus cosine". Accordingly, in the first line - “absolute disorder”: “plus cosine minus sine”.

  • @jayxu6057
    @jayxu6057 5 років тому

    Really helpful

  • @geogeo14000
    @geogeo14000 4 роки тому

    great video thx

  • @user-bp7xc9ho1i
    @user-bp7xc9ho1i Рік тому

    Thank you so much! 고마워요! 왜 -sin𝜽 인지 몰랐는데 이해했어요!

  • @Flanders562
    @Flanders562 5 років тому

    I did this today. Nice to see that I was right.
    Now I am trying to do reflection; funny how everything is related.

  • @000998poi
    @000998poi 11 місяців тому

    These other math benches could never explain it like you ❤

  • @jyotiranijyotirani5604
    @jyotiranijyotirani5604 Рік тому

    He'll I am india I watch your video first time and it is very helpful for me

  • @luke9771
    @luke9771 4 роки тому

    This is 🔥

  • @plaustrarius
    @plaustrarius 5 років тому +1

    Quality material always, I love this channel!!!
    Would like to see this rotation in 3d space about different coordinate axes.
    If this 2x2 rotation matrix rotates about the z axes i'm sure it would an easy matrix to cook up.
    But now i thinking rotations in 3d need to rotate about some 4-d axis perpendicular to the other three?!
    Maybe thats why quaternions are the natural system to do 3-d rotations.

    • @drpeyam
      @drpeyam  5 років тому +1

      Yeah! I think there’s a neat 3b1b video on that!

  • @sergiolucas38
    @sergiolucas38 2 роки тому

    just great, thank you :)

  • @jeevagasundaram
    @jeevagasundaram 2 роки тому

    Excellent 👌

  • @lightrao
    @lightrao 4 місяці тому

    thank you.

  • @harwardw3237
    @harwardw3237 3 роки тому +1

    Hello Dr. Peyam, may I ask a question about the rotation matrix in 3 dimensions? Q: if I want to rotate a vector along the X-axis, and the rotation angle is 180 degrees (2 pi), the 3D rotation matrix I got is :[1,0,0;0,1,0;0,0,1] which is a basic matrix.....Could you please tell me how to represent the rotation matrix when rotating 180 degrees along only an axis? Thank you! really appreciate your help.

  • @prester64
    @prester64 28 днів тому

    Hello. I have a question. If I put the equation with x and y in Desmos I get the ellipse rotated 45 degrees clockwise. I expected to get the ellipse rotated counterclockwise. What Is wrong? Thank you and congratulations for amazing videos

  • @ProGaming-kb9io
    @ProGaming-kb9io 3 роки тому

    Hey
    Dr. Peyam, it is correct to say that what you are rotating is the coordinate plane where the point lives?
    Because it seems like you are rotating the local coordinate arrows, or I'm wrong?

  • @mohammadyahya78
    @mohammadyahya78 Рік тому

    Thank you. Can you upload a video in the 3D case?

  • @thiagolima4054
    @thiagolima4054 5 років тому +3

    I loved this thumbnail

  • @rewtru8273
    @rewtru8273 3 роки тому

    AWESOME

  • @MrRyanroberson1
    @MrRyanroberson1 5 років тому

    is C^2 ever useful? (complex values in matrices instead of real)

  • @shukhratdad9891
    @shukhratdad9891 4 роки тому +1

    Thanks. Easy understandably. Do you have about 3d rotation metrics? Can you give a link?

    • @drpeyam
      @drpeyam  4 роки тому +1

      Haven’t really done a video on it, but it’s the same idea. The matrix will be of the same form, except with the fixed axis having zeros and ones

  • @ozzyfromspace
    @ozzyfromspace 4 роки тому +2

    Here’s a fun application I just came across: A Lorentz transformation can be viewed as a rotation in Minkowski space 😊. That’s actually why I came here: I wanted to see where the rotation matrix comes from, because they’re one and the same thing 😊. Thank you for your pictures. They really were worth a thousand words 🙏🏽🎊🙌🏽🤓
    Edit: in special relativity, technically the frame of reference is rotated, not the point. But it’s all relative motion, so your thinking still works with theta -> -1*theta ☺️

  • @yaaryany
    @yaaryany 5 років тому +2

    Hey peyam!
    I'm an Indian student aging sixteen and was looking at your proof of euler's reflection formula in which you use some uncanny complex analysis of which I'm incognizant of.
    So could you suggest some book for complex analysis covering the proof of the aforementioned?
    Btw I love your videos and how joyously and charismatically you present yourself and the problem. Always keep making them sir. I'm totally indebted to you.
    Thank you and love you sir!

    • @drpeyam
      @drpeyam  5 років тому +2

      Brown and Churchill Complex Variables and Applications

    • @yaaryany
      @yaaryany 5 років тому

      @@drpeyam Thank you!!!😊😊

  • @prashantupadhyay5110
    @prashantupadhyay5110 Рік тому

    Very basic but Wonderful

  • @candykiss024
    @candykiss024 4 роки тому

    THANK UUU

  • @phyarth8082
    @phyarth8082 5 років тому +5

    in our eyes view comes upside down so 180 degree flip brains do by matrix rotation, or maybe by using imaginary number :)

  • @junaidhussain4781
    @junaidhussain4781 Рік тому

    What value is good for robotic matrix

  • @cw9249
    @cw9249 4 місяці тому

    im still confused. why did we concatenate [ cos(theta) sin(theta )] with [-sin(theta) cos(theta) ]? i understood how to get from both starting vectors, [1,0] and [0, 1] to their own rotated vectors, but what is the connection between those two?

  • @jadepangwaiho
    @jadepangwaiho 5 років тому

    Nice video!!! I like the thumbnail haha! Can you make a video about Steinitz exchange lemma? ✌🏼

    • @drpeyam
      @drpeyam  5 років тому

      What’s that?

    • @jadepangwaiho
      @jadepangwaiho 5 років тому

      Steinitz Replacement Theorem in Linear Algebra en.wikipedia.org/wiki/Steinitz_exchange_lemma
      ☝🏻

  • @DanielVazquez
    @DanielVazquez 2 роки тому

    As someone who enjoys computer graphics I always come back to keep basic concepts fresh.

  • @xbz24
    @xbz24 Рік тому

    loooooooooooool love you dr peyam

  • @horaciosanchez2051
    @horaciosanchez2051 Рік тому +2

    Very good video but when I check on Geogebra or Desmos, they both plot exactly the opposite of what is expected, a rotation in the other direction. Do you have an explanation?

    • @drpeyam
      @drpeyam  Рік тому

      Believe in the math not in geogebra

    • @user-pv5hd1vu1t
      @user-pv5hd1vu1t 10 місяців тому +1

      You are not hallucinating, the plots of 'clockwise' are correct. In short, think of how shifting 'b units up from y' gives a new y-coord of y + b
      But shifting y = f(x) up by b units requires 'y - b' or y - b = f(x)
      Essentially the question you should be asking is 'how can i return back to my normal (x,y) coordinates or x,y, axes from my new (X',Y') which requires an 'inverse operation'
      inverse of anti-clockwise is clockwise.
      -------------------------------------------------------------------------------------------------------
      Longer explanation:
      If you think about the fixed coordinate of (X', Y') compared to (x, y) then using the rotation matrix would work
      But substituting these values back into an equation, say that equation of the ellipse will not give you the anti-clockwise rotation of said graph.
      To explain the reason for that, I will go back to basics with transformations relating to just horizontal translations.
      If we take an arbitrary point (x,y) and move it to the right a units to the point (X', Y'), this new point will be (x + a, y)
      But does this mean the graph f(x) shifted to the right 8 units is f(x + a) = (x+a)^2.
      The answer to that is no, because essentially our point of view has changed, we want to input X' = x+a to map back to x
      Rearranging X' = x + a gets you x = X' - a
      so we should actually be considering f(X' - a) or using x as the variable again f(x - a) when shifting to the right a units,.
      We can consider a similar argument for horizontal translations to the left, vertical translations both up and down, dilations in both directions or a combination of any of these sorts of transformations. We always have to think of the 'opposite' operation when thinking about transforming graphs (or equations).
      So if we come back to rotations
      = A where A is the rotation matrix
      Similar to the translations example, we actually want to go back to
      Rearranging gets you A^-1 =
      = A^-1 where A^-1 is a clockwise rotation [this can be verified by actually taking the inverse]
      ^This shows why when plotting on geogebra (without the extra manipulation of taking inverses), it rotates it clockwise.

  • @justinernest2363
    @justinernest2363 Місяць тому

    what if by some chance a person started with the (0,1) coordinate and just swap the order you did in the video to get (-sin cos cos sin)?

  • @vanessakitty8867
    @vanessakitty8867 5 років тому +6

    How about rotations in 3 dimensions leading to 4 dimensional rotations ultimately describing the quaternions and "The Hypercube of Monkeys"? The later being made by Drs' Vi Hart and Henry Segerman et al. The rotation matrixes leading one to the Quaternions of which 3B1B has created the best several videos on I have come across. Rotations and symmetry and the group of order 8! Awesome work Dr. Peyam.

  • @uduakubokudom6076
    @uduakubokudom6076 8 місяців тому +1

    Cool

  • @raoufouiassa5581
    @raoufouiassa5581 Рік тому

    thnx

  • @dianeweiss4562
    @dianeweiss4562 5 років тому

    Chief Sohcahtoa lives when Dr Peyam mentions his name.

  • @patmull1
    @patmull1 Рік тому

    Why the hell nobody actually explains this? Every time it goes like this: here is the rotation matrix. Sinus, cosine simple. Next slide. And I was always confused. Sin what!? Why even cosine in the first place? Why there is a minus sin? Why the heck (I would like to use more explicit language) can't somebody explain it like this guy above. Thank sgod for this man!

  • @Rey-zb8el
    @Rey-zb8el 11 місяців тому

    What if my starting point is not (1,0) for x ? Is the starting point fixed to be 1,0 ?

  • @DavidMartinMoya
    @DavidMartinMoya 5 років тому +3

    it's possible to apply the transformation on a matrix?

    • @drpeyam
      @drpeyam  5 років тому +7

      Sure! It’s then just the matrix followed by a rotation!

    • @MrRyanroberson1
      @MrRyanroberson1 5 років тому

      you can apply any matrix to another matrix, since a matrix is just a list of its columns (or a list of rows, both views are necessary), so you apply each column of the right matrix to the left matrix to produce new columns in the result

  • @amadeus23333
    @amadeus23333 3 роки тому

    watch my school prof's video and get totally lost but get super clear after watching this!

  • @astaghfirullahalzimastaghf3648

    i want to ask question..
    why is that if i have coordinate x=60, y=30
    why is that the formula does not work?
    it seems this formula is only valid if x=1 and y=0 (the initial position)
    i need to use pythogoras theorem to solve it using
    nextX=radius*cos(theta)+circle.center.x //radius=10 so center(50,30)
    nextY=radius*sin(theta)+circle.center.y //radius=10 so center(50,30)
    why does ....
    nextX=(60*cos(theta))-(30*sin(theta))
    nextY=(60*sin(theta))+(30*cos(theta))
    does not work?
    nobody had ever explain this on the internet please help :(

  • @ilredeldeserto
    @ilredeldeserto Рік тому

    so if I understand, here we want rotate a vector counterclockwise keeping the reference system fixed and so I have to use matrix in the video. But if I want keeping the vector fixed and rotate the reference system I have to use the inverse matrix of the matrix showed at the end because it's like to take the vector rotated in the new system and rotate it back clockwise. Is for this reason that there is confusion about where to put the - sign in the sen() of the matrix, it depends on what I want to rotate: the reference system or the vector. Am I right?

    • @user-pv5hd1vu1t
      @user-pv5hd1vu1t 10 місяців тому

      yes. It depends on whether you just want to find the new coordinates (X', Y') or whether you want to find the equation of said rotation. The latter requires 'rotating back clockwise'
      I will copy and paste an explanation I provided to another comment
      If you think about the fixed coordinate of (X', Y') compared to (x, y) then using the rotation matrix would work
      But substituting these values back into an equation, say that equation of the ellipse will not give you the anti-clockwise rotation of said graph.
      To explain the reason for that, I will go back to basics with transformations relating to just horizontal translations.
      If we take an arbitrary point (x,y) and move it to the right a units to the point (X', Y'), this new point will be (x + a, y)
      But does this mean the graph f(x) shifted to the right 8 units is f(x + a) = (x+a)^2.
      The answer to that is no, because essentially our point of view has changed, we want to input X' = x+a to map back to x
      Rearranging X' = x + a gets you x = X' - a
      so we should actually be considering f(X' - a) or using x as the variable again f(x - a) when shifting to the right a units,.
      We can consider a similar argument for horizontal translations to the left, vertical translations both up and down, dilations in both directions or a combination of any of these sorts of transformations. We always have to think of the 'opposite' operation when thinking about transforming graphs (or equations).
      So if we come back to rotations
      = A where A is the rotation matrix
      Similar to the translations example, we actually want to go back to
      Rearranging gets you A^-1 =
      = A^-1 where A^-1 is a clockwise rotation
      ^This shows why when plotting on geogebra, it rotates it clockwise.

  • @tokihossoin7861
    @tokihossoin7861 7 місяців тому

    Question: Would rotation matrix help me lock in an object axis, regardless of object orientation. If so how? What maths do I do?
    For context: I am trying to lock in my x,y,z axis of phone regardless of wether my phone orientation is portrait (vertical) or landscape (horizontal). If I shake my phone vertically. I want y axis to spike regardless of phone orientation. Currently, y axis spikes when my phone is in vertical orientation. In horizontal orientation the x axis spikes, and this is because my phone axis moves with phone orientation. Therefore, I was wondering if rotation matrix would help me lock in axis. FYI, I am using gyroscope sensor to measure angular rotation of my phone.

    • @drpeyam
      @drpeyam  7 місяців тому

      Isn’t that obtained by solving Ax = x since the axis doesn’t change when rotated?

    • @tokihossoin7861
      @tokihossoin7861 7 місяців тому

      @@drpeyam sorry for the dumb question but what is Ax?
      For more context I'm not a Mathematician or Physicist. I just need help with this problem to complete a personal project. The gyroscope sensor axis x and y axis swaps every time my phone orientation rotates from portrait mode and I'm trying my best to lock them in.

  • @mohamedibrahim1023
    @mohamedibrahim1023 Рік тому +1

    Hi Dr peyam i tried this rotational matrix to many curves in desmos and it rotates it clockwise not counter clockwise and i tried a different approach to rotate a point in a graph and it give me the same result, can you please give me an explanation

    • @drpeyam
      @drpeyam  Рік тому +1

      Desmos must be incorrect

    • @user-pv5hd1vu1t
      @user-pv5hd1vu1t 10 місяців тому +1

      actually, you're not wrong.
      If we consider that same ellipse in the video
      (x^2)/2 + y^2 = 1
      And we consider the transformation
      = {{cos(pi/4), - sin(pi/4)}, {sin(pi/4), cos(pi/4)}}
      The new point (X', Y') does indeed simplify to
      But if we just substitute this into x = X' and y = Y'
      We get that same equation:
      (((x-y)/sqrt(2))^2)/2 + ((x+y)/sqrt(2))^2 = 1
      However, if we think about this equation for a second, an arbitrary point in this equation is (x,y), not (X', Y')
      So in other words, we have to now think of the transformation going from (X', Y') back to (x,y) instead, which is clockwise.
      That is why subbing it straight in actually gives you a clockwise rotation of the graph.
      This is basically analogous to how
      f(x+a) is shifting to the left a units, not left.
      = +
      The new point to the right a units of (x,y) is (x+a, y)
      but this does not mean f(x+a) is a shift to the right, because we need to think about 'how we can return back to f(x), or our original (x,y))
      so = - =
      or f(X' - a)
      changing the dummy variable back to x
      f(x-a)

  • @shenglanliu4197
    @shenglanliu4197 4 роки тому

    What about the 3d space ?

  • @musabbirahmed4591
    @musabbirahmed4591 7 місяців тому

    best

  • @GhostyOcean
    @GhostyOcean 4 роки тому +1

    It's easy to see why T([1,0]) is [cos(t),sin(t)]. Could you also think of rotating [0,1] as rotating [1,0] by 90° and then t°? So it would look like
    T([0,1])= [cos(90+t), sin(90+t)]
    =[cos(90-(-t)), sin(90-(-t))]
    =[sin(-t), cos(-t)]
    =[-sin(t), cos(t)].

  • @gardenmenuuu
    @gardenmenuuu 3 роки тому

    Sir this formula works for theta being nevative as well right?that formula on thumbnail,isnt it we just plug in negative value into that for clockwise right?

    • @drpeyam
      @drpeyam  3 роки тому

      Yes haha, you’re overthinking the thumbnail. Also the thumbnail is counterclockwise rotation

    • @gardenmenuuu
      @gardenmenuuu 3 роки тому

      @@drpeyam haha Yes I see today I was taught about this .I had watched 3blb essence of linear algebra series and tried to relate everything but messed up with this formula for counterclockwise...I found I had done some mistkes in calculations while trying to make sense lol now its ok..

    • @gardenmenuuu
      @gardenmenuuu 3 роки тому

      @@drpeyam and thank you so much ..the one and only math youtuber who replies to the viewers taking their questions seriously...I will be asking you more and thanks for your videos I will definately share them with my friends, they are really intuitive😊

  • @Leben210
    @Leben210 5 років тому

    Sehr gut

  • @LuisRodriguezPalomo_
    @LuisRodriguezPalomo_ 5 років тому +1

    wow

  • @mandeepubhi4744
    @mandeepubhi4744 5 років тому +3

    Real Analysis, Please 😊.

  • @patrickdaniel2363
    @patrickdaniel2363 2 роки тому

    I did try to plot in Desmos and GeoGebra the sample (ellipse x^2/2+y^2=1 with a rotation of PI/4) but it seems to be a clockwise rotation instead of a counterclockwise, same occurs with other things that I have tried like the parabola y = x^2 with a theta of PI/2. Am I misunderstanding something?

    • @drpeyam
      @drpeyam  2 роки тому

      Should be counterclockwise

    • @patrickdaniel2363
      @patrickdaniel2363 2 роки тому

      @@drpeyam I used the same equation that is in the video but the software is showing a clockwise rotation. Can you try it and see what I'm saying?

    • @mohamedibrahim1023
      @mohamedibrahim1023 Рік тому

      Same here i dont know why it is clockwise not counter clockwise

    • @user-pv5hd1vu1t
      @user-pv5hd1vu1t 10 місяців тому

      @@patrickdaniel2363
      You are correct. It actually rotates it clockwise.
      If you think about the fixed coordinate of (X', Y') compared to (x, y) then using the rotation matrix would work
      But substituting these values back into an equation, say that equation of the ellipse will not give you the anti-clockwise rotation of said graph.
      To explain the reason for that, I will go back to basics with transformations relating to just horizontal translations.
      If we take an arbitrary point (x,y) and move it to the right a units to the point (X', Y'), this new point will be (x + a, y)
      But does this mean the graph f(x) shifted to the right 8 units is f(x + a) = (x+a)^2.
      The answer to that is no, because essentially our point of view has changed, we want to input X' = x+a to map back to x
      Rearranging X' = x + a gets you x = X' - a
      so we should actually be considering f(X' - a) or using x as the variable again f(x - a) when shifting to the right a units,.
      We can consider a similar argument for horizontal translations to the left, vertical translations both up and down, dilations in both directions or a combination of any of these sorts of transformations. We always have to think of the 'opposite' operation when thinking about transforming graphs (or equations).
      So if we come back to rotations
      = A where A is the rotation matrix
      Similar to the translations example, we actually want to go back to
      Rearranging gets you A^-1 =
      = A^-1 where A^-1 is a clockwise rotation
      ^This shows why when plotting on geogebra, it rotates it clockwise (if no extra manipulation is done, because we never found out how to 'go back to the original axes/point).
      Just subbing in = A straight off directly in your equations is equivalent to saying
      The 'new' point = A^-1 where (X', Y') is the old point
      But this is clockwise.... which is why your new points are going clockwise

  • @sammyapsel1443
    @sammyapsel1443 3 роки тому +1

    Why is it, that when you find a transformation matrix , you check what happens with (1,0) and (0,1) and just plug them into the matrix?

    • @drpeyam
      @drpeyam  3 роки тому

      That’s literally the definition of the matrix of a linear transformation, it’s how it’s defined

    • @sammyapsel1443
      @sammyapsel1443 3 роки тому

      @@drpeyam Thx !

  • @mvelisinogaga1669
    @mvelisinogaga1669 3 роки тому

    can you do it with out using formula please

  • @shiina_mahiru_9067
    @shiina_mahiru_9067 5 років тому +1

    The next one must be the reflection matrix about y=mx

  • @cbep9
    @cbep9 3 роки тому

    Is that Kyle Forgeard? 9:50

  • @ahmadtasal3487
    @ahmadtasal3487 Рік тому

    nicr

  • @stevejobs2087
    @stevejobs2087 2 роки тому

    From 🇧🇩

  • @mr.chindo8570
    @mr.chindo8570 11 місяців тому

    cant understand the elipse part

  • @BarkanUgurlu
    @BarkanUgurlu 2 роки тому

    Points cannot rotate. A position vector described by 2 points (here, the point in question + the origin) can rotate.

    • @drpeyam
      @drpeyam  2 роки тому

      Check out linear algebra, you’d be surprised 😉

  • @akivas2034
    @akivas2034 5 років тому

    Why is it -sin(θ)? The triangles are congruent, so length should be preserved

    • @user-dh6ul4yv5x
      @user-dh6ul4yv5x 5 років тому +3

      Not length, but coordinate

    • @akivas2034
      @akivas2034 5 років тому

      Михаил Ужов the y coordinate is still positive

    • @HilbertXVI
      @HilbertXVI 5 років тому

      @@akivas2034 Yes but the x coordinate isn't. You're literally going backwards from the origin, and by definition that results in a negative coordinate.
      Remember, rotations preserve only the lengths, not the coordinates themselves.

    • @akivas2034
      @akivas2034 5 років тому

      Hilbert Black now I get it, thank you!

  • @mr.rachetphilanthrophist601
    @mr.rachetphilanthrophist601 5 років тому

    rotation matrix is orthogonal matrix it means it's inverse is same as it's transpose ...............Engineers use this matrix for converting cartesian to polar cordinates for R^2 and cartesian to cylindrical cordinates in R^3.. comment .. me how it is importent in complex numbers .......