Transformation matrix for rotation about arbitrary axis












0












$begingroup$


Specifically, I don't know what approach to take in answering Griffiths' question 1.9 in his introduction to electrodynamics:




Find the transformation matrix R that describes a rotation by 120
degrees about an axis from the origin through the point $(1,1,1)$. The
rotation is clockwise as you look down the axis towards the origin.




From Glen Murray's page on rotations, the supposed approach to take is successively rotate space so that the rotation axis sits along the z axis $T$, :



$$T =
begin{pmatrix} 1&0&0 \ 0& cos{alpha} & -sin{alpha} \ 0&sin{alpha} & cos{alpha}
end{pmatrix} cdot begin{pmatrix} cos{beta} & 0 & sin{beta} \ 0 &1&0 \ -sin{beta} &0 & cos{beta} end{pmatrix}
$$



perform the rotation $theta$,:



begin{pmatrix} cos{theta} & -sin{theta} &0 \ sin{theta} & cos{theta}&0 \ 0&0&1
end{pmatrix}



and rotate space back to its original orientation $T^{-1}$.



$T$ first rotates space such that the rotation axis sits in the xz plane. Secondly, it rotates space such that the rotation axis lies along the z axis.



This approach seems overly tedious, as this is an introductory question in an introductory chapter. Am I missing something here?



Where I to proceed in this approach, for the arbitrary axis from the origin through the point $(a,b,c)$, then I would need to derive the angles $alpha$ and $beta$ as follows.



alpha



$alpha = arctan{frac{b}{a}}$



beta



$beta = arctan{frac{acos{alpha} +bsin{alpha}}{c}}$










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    Specifically, I don't know what approach to take in answering Griffiths' question 1.9 in his introduction to electrodynamics:




    Find the transformation matrix R that describes a rotation by 120
    degrees about an axis from the origin through the point $(1,1,1)$. The
    rotation is clockwise as you look down the axis towards the origin.




    From Glen Murray's page on rotations, the supposed approach to take is successively rotate space so that the rotation axis sits along the z axis $T$, :



    $$T =
    begin{pmatrix} 1&0&0 \ 0& cos{alpha} & -sin{alpha} \ 0&sin{alpha} & cos{alpha}
    end{pmatrix} cdot begin{pmatrix} cos{beta} & 0 & sin{beta} \ 0 &1&0 \ -sin{beta} &0 & cos{beta} end{pmatrix}
    $$



    perform the rotation $theta$,:



    begin{pmatrix} cos{theta} & -sin{theta} &0 \ sin{theta} & cos{theta}&0 \ 0&0&1
    end{pmatrix}



    and rotate space back to its original orientation $T^{-1}$.



    $T$ first rotates space such that the rotation axis sits in the xz plane. Secondly, it rotates space such that the rotation axis lies along the z axis.



    This approach seems overly tedious, as this is an introductory question in an introductory chapter. Am I missing something here?



    Where I to proceed in this approach, for the arbitrary axis from the origin through the point $(a,b,c)$, then I would need to derive the angles $alpha$ and $beta$ as follows.



    alpha



    $alpha = arctan{frac{b}{a}}$



    beta



    $beta = arctan{frac{acos{alpha} +bsin{alpha}}{c}}$










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      Specifically, I don't know what approach to take in answering Griffiths' question 1.9 in his introduction to electrodynamics:




      Find the transformation matrix R that describes a rotation by 120
      degrees about an axis from the origin through the point $(1,1,1)$. The
      rotation is clockwise as you look down the axis towards the origin.




      From Glen Murray's page on rotations, the supposed approach to take is successively rotate space so that the rotation axis sits along the z axis $T$, :



      $$T =
      begin{pmatrix} 1&0&0 \ 0& cos{alpha} & -sin{alpha} \ 0&sin{alpha} & cos{alpha}
      end{pmatrix} cdot begin{pmatrix} cos{beta} & 0 & sin{beta} \ 0 &1&0 \ -sin{beta} &0 & cos{beta} end{pmatrix}
      $$



      perform the rotation $theta$,:



      begin{pmatrix} cos{theta} & -sin{theta} &0 \ sin{theta} & cos{theta}&0 \ 0&0&1
      end{pmatrix}



      and rotate space back to its original orientation $T^{-1}$.



      $T$ first rotates space such that the rotation axis sits in the xz plane. Secondly, it rotates space such that the rotation axis lies along the z axis.



      This approach seems overly tedious, as this is an introductory question in an introductory chapter. Am I missing something here?



      Where I to proceed in this approach, for the arbitrary axis from the origin through the point $(a,b,c)$, then I would need to derive the angles $alpha$ and $beta$ as follows.



      alpha



      $alpha = arctan{frac{b}{a}}$



      beta



      $beta = arctan{frac{acos{alpha} +bsin{alpha}}{c}}$










      share|cite|improve this question









      $endgroup$




      Specifically, I don't know what approach to take in answering Griffiths' question 1.9 in his introduction to electrodynamics:




      Find the transformation matrix R that describes a rotation by 120
      degrees about an axis from the origin through the point $(1,1,1)$. The
      rotation is clockwise as you look down the axis towards the origin.




      From Glen Murray's page on rotations, the supposed approach to take is successively rotate space so that the rotation axis sits along the z axis $T$, :



      $$T =
      begin{pmatrix} 1&0&0 \ 0& cos{alpha} & -sin{alpha} \ 0&sin{alpha} & cos{alpha}
      end{pmatrix} cdot begin{pmatrix} cos{beta} & 0 & sin{beta} \ 0 &1&0 \ -sin{beta} &0 & cos{beta} end{pmatrix}
      $$



      perform the rotation $theta$,:



      begin{pmatrix} cos{theta} & -sin{theta} &0 \ sin{theta} & cos{theta}&0 \ 0&0&1
      end{pmatrix}



      and rotate space back to its original orientation $T^{-1}$.



      $T$ first rotates space such that the rotation axis sits in the xz plane. Secondly, it rotates space such that the rotation axis lies along the z axis.



      This approach seems overly tedious, as this is an introductory question in an introductory chapter. Am I missing something here?



      Where I to proceed in this approach, for the arbitrary axis from the origin through the point $(a,b,c)$, then I would need to derive the angles $alpha$ and $beta$ as follows.



      alpha



      $alpha = arctan{frac{b}{a}}$



      beta



      $beta = arctan{frac{acos{alpha} +bsin{alpha}}{c}}$







      linear-algebra linear-transformations rotations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 28 at 9:16









      Mussé RediMussé Redi

      735826




      735826






















          2 Answers
          2






          active

          oldest

          votes


















          0












          $begingroup$

          Hint:



          Looking down the axis toward the origin, you see the three axis forming angles of $120°$. This rotation is just a circular permutation of the axis.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:28












          • $begingroup$
            @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
            $endgroup$
            – Yves Daoust
            Jan 28 at 9:38












          • $begingroup$
            How do you do that?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:41










          • $begingroup$
            How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:50



















          0












          $begingroup$

          You could also just form an orthogonal (change of basis) matrix, $R$, with $frac1{sqrt{a^2+b^2+c^2}}(a,b,c)$ as the last row, to take the $z$-axis to $(a,b,c)$.
          Then if $S$ is the rotation about the $z$-axis, our $T$ would be $T=R^tSR$.



          See this example.






          share|cite|improve this answer











          $endgroup$













            Your Answer





            StackExchange.ifUsing("editor", function () {
            return StackExchange.using("mathjaxEditing", function () {
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            });
            });
            }, "mathjax-editing");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "69"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3090644%2ftransformation-matrix-for-rotation-about-arbitrary-axis%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            Hint:



            Looking down the axis toward the origin, you see the three axis forming angles of $120°$. This rotation is just a circular permutation of the axis.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:28












            • $begingroup$
              @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
              $endgroup$
              – Yves Daoust
              Jan 28 at 9:38












            • $begingroup$
              How do you do that?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:41










            • $begingroup$
              How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:50
















            0












            $begingroup$

            Hint:



            Looking down the axis toward the origin, you see the three axis forming angles of $120°$. This rotation is just a circular permutation of the axis.






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:28












            • $begingroup$
              @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
              $endgroup$
              – Yves Daoust
              Jan 28 at 9:38












            • $begingroup$
              How do you do that?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:41










            • $begingroup$
              How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:50














            0












            0








            0





            $begingroup$

            Hint:



            Looking down the axis toward the origin, you see the three axis forming angles of $120°$. This rotation is just a circular permutation of the axis.






            share|cite|improve this answer









            $endgroup$



            Hint:



            Looking down the axis toward the origin, you see the three axis forming angles of $120°$. This rotation is just a circular permutation of the axis.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 28 at 9:23









            Yves DaoustYves Daoust

            131k676229




            131k676229












            • $begingroup$
              Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:28












            • $begingroup$
              @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
              $endgroup$
              – Yves Daoust
              Jan 28 at 9:38












            • $begingroup$
              How do you do that?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:41










            • $begingroup$
              How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:50


















            • $begingroup$
              Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:28












            • $begingroup$
              @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
              $endgroup$
              – Yves Daoust
              Jan 28 at 9:38












            • $begingroup$
              How do you do that?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:41










            • $begingroup$
              How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
              $endgroup$
              – Mussé Redi
              Jan 28 at 9:50
















            $begingroup$
            Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:28






            $begingroup$
            Could you elaborate? I see that you mean the x,y and z axes forming the angles, only how to derive this algebraically?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:28














            $begingroup$
            @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
            $endgroup$
            – Yves Daoust
            Jan 28 at 9:38






            $begingroup$
            @MusséRedi: form an orthogonal frame with $z'$ in the direction $(1,1,1)$ and find the matrix of the change of basis. Then project the axis on the plane $x'y'$.
            $endgroup$
            – Yves Daoust
            Jan 28 at 9:38














            $begingroup$
            How do you do that?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:41




            $begingroup$
            How do you do that?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:41












            $begingroup$
            How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:50




            $begingroup$
            How do you see the three axes forming angles of $120^circ$, looking down the axis toward the origin?
            $endgroup$
            – Mussé Redi
            Jan 28 at 9:50











            0












            $begingroup$

            You could also just form an orthogonal (change of basis) matrix, $R$, with $frac1{sqrt{a^2+b^2+c^2}}(a,b,c)$ as the last row, to take the $z$-axis to $(a,b,c)$.
            Then if $S$ is the rotation about the $z$-axis, our $T$ would be $T=R^tSR$.



            See this example.






            share|cite|improve this answer











            $endgroup$


















              0












              $begingroup$

              You could also just form an orthogonal (change of basis) matrix, $R$, with $frac1{sqrt{a^2+b^2+c^2}}(a,b,c)$ as the last row, to take the $z$-axis to $(a,b,c)$.
              Then if $S$ is the rotation about the $z$-axis, our $T$ would be $T=R^tSR$.



              See this example.






              share|cite|improve this answer











              $endgroup$
















                0












                0








                0





                $begingroup$

                You could also just form an orthogonal (change of basis) matrix, $R$, with $frac1{sqrt{a^2+b^2+c^2}}(a,b,c)$ as the last row, to take the $z$-axis to $(a,b,c)$.
                Then if $S$ is the rotation about the $z$-axis, our $T$ would be $T=R^tSR$.



                See this example.






                share|cite|improve this answer











                $endgroup$



                You could also just form an orthogonal (change of basis) matrix, $R$, with $frac1{sqrt{a^2+b^2+c^2}}(a,b,c)$ as the last row, to take the $z$-axis to $(a,b,c)$.
                Then if $S$ is the rotation about the $z$-axis, our $T$ would be $T=R^tSR$.



                See this example.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Jan 28 at 11:07

























                answered Jan 28 at 10:55









                Chris CusterChris Custer

                14.2k3827




                14.2k3827






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3090644%2ftransformation-matrix-for-rotation-about-arbitrary-axis%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    MongoDB - Not Authorized To Execute Command

                    Npm cannot find a required file even through it is in the searched directory

                    in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith