Transformation of axes by rotation











up vote
0
down vote

favorite












How can I intutively understand the formula for getting new coordinate of point P after rotation of axes which was P(x,y) with respect to the old axes?










share|cite|improve this question




















  • 1




    Rotating the axes by $theta$ has a similar effect to rotating points by $-theta$
    – Henry
    Jul 5 '15 at 12:47










  • @Henry I was asking about rotation of X and Y axes and on doing so how coordinate of point P would change with respect to new axes?
    – pcforgeek
    Jul 5 '15 at 14:07















up vote
0
down vote

favorite












How can I intutively understand the formula for getting new coordinate of point P after rotation of axes which was P(x,y) with respect to the old axes?










share|cite|improve this question




















  • 1




    Rotating the axes by $theta$ has a similar effect to rotating points by $-theta$
    – Henry
    Jul 5 '15 at 12:47










  • @Henry I was asking about rotation of X and Y axes and on doing so how coordinate of point P would change with respect to new axes?
    – pcforgeek
    Jul 5 '15 at 14:07













up vote
0
down vote

favorite









up vote
0
down vote

favorite











How can I intutively understand the formula for getting new coordinate of point P after rotation of axes which was P(x,y) with respect to the old axes?










share|cite|improve this question















How can I intutively understand the formula for getting new coordinate of point P after rotation of axes which was P(x,y) with respect to the old axes?







geometry






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jul 5 '15 at 14:03

























asked Jul 5 '15 at 12:37









pcforgeek

1089




1089








  • 1




    Rotating the axes by $theta$ has a similar effect to rotating points by $-theta$
    – Henry
    Jul 5 '15 at 12:47










  • @Henry I was asking about rotation of X and Y axes and on doing so how coordinate of point P would change with respect to new axes?
    – pcforgeek
    Jul 5 '15 at 14:07














  • 1




    Rotating the axes by $theta$ has a similar effect to rotating points by $-theta$
    – Henry
    Jul 5 '15 at 12:47










  • @Henry I was asking about rotation of X and Y axes and on doing so how coordinate of point P would change with respect to new axes?
    – pcforgeek
    Jul 5 '15 at 14:07








1




1




Rotating the axes by $theta$ has a similar effect to rotating points by $-theta$
– Henry
Jul 5 '15 at 12:47




Rotating the axes by $theta$ has a similar effect to rotating points by $-theta$
– Henry
Jul 5 '15 at 12:47












@Henry I was asking about rotation of X and Y axes and on doing so how coordinate of point P would change with respect to new axes?
– pcforgeek
Jul 5 '15 at 14:07




@Henry I was asking about rotation of X and Y axes and on doing so how coordinate of point P would change with respect to new axes?
– pcforgeek
Jul 5 '15 at 14:07










4 Answers
4






active

oldest

votes

















up vote
0
down vote













Consider the following figure



enter image description here



Here the red coordinate system is rotated by $alpha$.



We have for the black coordinates $$x=Rcos(beta),y=Rsin(beta)$$,



Also, for the red coordinates we have



$$x'=Rcos(gamma), y'=Rsin(gamma).$$



Notice that $gamma=beta-alpha$ and use the adequate trig formula:



$$x'=Rcos(beta-alpha)=R(cos(alpha)cos(beta)+sin(alpha)sin(beta))=xcos(alpha)+ysin(alpha)$$



and
...






share|cite|improve this answer






























    up vote
    0
    down vote













    enter image description here



    Consider initially that the vectors are written in the canonical base, so rotating this vector is equivalent to rotating the canonical base and then seeing the coordinates of that vector in this new base, looking at the figure that rotates the base the vectors of the canonical base in a theta angle, we can see that



    $$e'_1=(cos(theta),sen(theta))$$ and $$e'_2=(-sen(theta),cos(theta))$$



    then the transformation is the matrix



    $$ M= left[
    begin{array}{cc}
    cos(theta) & sen(theta)\
    -sen(theta) & cos(theta)\
    end{array}
    right]$$



    so after rotating the vector $$(x,y)$$ we will have



    $$(xcos(theta)+ysen(theta),-xsen(theta)+ycos(theta))$$






    share|cite|improve this answer






























      up vote
      0
      down vote













      Let old point be at $1$ and new point be at $2$ both in first quadrant. Let the rotation angle be a small $theta$ counter-clockwise.



      $$x_{new} =x_{old} , cos ,theta -y_{old} ,sin ,theta tag1 $$



      $$y_{new} = x_{old} ,sintheta + y _{old}costheta tag2 $$



      It is noticed that



      as far as new $x$ is concered there is a minus sign at right hand side and its x-coordinate got reduced.



      as far as new $y$ is concered there is a plus sign at right hand side and its y-coordinate got increased.



      enter image description here






      share|cite|improve this answer






























        up vote
        0
        down vote













        Assume the ray to the point (x,y) from the origin makes an angle of $alpha$ anti-clockwise with +ve x-axis.



        Then (x,y) = (r cos$alpha$,r sin$alpha$) where $r = sqrt{x^2+y^2}$.



        If the point is rotated by an angle of $theta$ anti-clockwise around the origin, then the point makes an angle of $alpha+theta$ with the +ve x-axis. Since the distance of the point from the origin doesn't change due to the rotation around it, the new co-ordinates will be (X,Y) = (r cos$(alpha+theta)$,r sin$(alpha+theta)$).



        Using basic trigonometric identities,



        (X,Y)=$(r cos(alpha+theta),r sin(alpha+theta)bigr)$
        =$(r cosalpha*costheta-r sinalpha*sintheta, r cosalpha*sintheta-r sinalpha*costheta)$ = $(x costheta-y sintheta,x sintheta+y costheta)$



        P.S: Can a kind soul format my answer better (Not familiar with MathJax). Thanks.






        share|cite|improve this answer





















          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',
          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%2f1350137%2ftransformation-of-axes-by-rotation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          4 Answers
          4






          active

          oldest

          votes








          4 Answers
          4






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          Consider the following figure



          enter image description here



          Here the red coordinate system is rotated by $alpha$.



          We have for the black coordinates $$x=Rcos(beta),y=Rsin(beta)$$,



          Also, for the red coordinates we have



          $$x'=Rcos(gamma), y'=Rsin(gamma).$$



          Notice that $gamma=beta-alpha$ and use the adequate trig formula:



          $$x'=Rcos(beta-alpha)=R(cos(alpha)cos(beta)+sin(alpha)sin(beta))=xcos(alpha)+ysin(alpha)$$



          and
          ...






          share|cite|improve this answer



























            up vote
            0
            down vote













            Consider the following figure



            enter image description here



            Here the red coordinate system is rotated by $alpha$.



            We have for the black coordinates $$x=Rcos(beta),y=Rsin(beta)$$,



            Also, for the red coordinates we have



            $$x'=Rcos(gamma), y'=Rsin(gamma).$$



            Notice that $gamma=beta-alpha$ and use the adequate trig formula:



            $$x'=Rcos(beta-alpha)=R(cos(alpha)cos(beta)+sin(alpha)sin(beta))=xcos(alpha)+ysin(alpha)$$



            and
            ...






            share|cite|improve this answer

























              up vote
              0
              down vote










              up vote
              0
              down vote









              Consider the following figure



              enter image description here



              Here the red coordinate system is rotated by $alpha$.



              We have for the black coordinates $$x=Rcos(beta),y=Rsin(beta)$$,



              Also, for the red coordinates we have



              $$x'=Rcos(gamma), y'=Rsin(gamma).$$



              Notice that $gamma=beta-alpha$ and use the adequate trig formula:



              $$x'=Rcos(beta-alpha)=R(cos(alpha)cos(beta)+sin(alpha)sin(beta))=xcos(alpha)+ysin(alpha)$$



              and
              ...






              share|cite|improve this answer














              Consider the following figure



              enter image description here



              Here the red coordinate system is rotated by $alpha$.



              We have for the black coordinates $$x=Rcos(beta),y=Rsin(beta)$$,



              Also, for the red coordinates we have



              $$x'=Rcos(gamma), y'=Rsin(gamma).$$



              Notice that $gamma=beta-alpha$ and use the adequate trig formula:



              $$x'=Rcos(beta-alpha)=R(cos(alpha)cos(beta)+sin(alpha)sin(beta))=xcos(alpha)+ysin(alpha)$$



              and
              ...







              share|cite|improve this answer














              share|cite|improve this answer



              share|cite|improve this answer








              edited Jul 5 '15 at 15:50

























              answered Jul 5 '15 at 14:34









              zoli

              16.4k41643




              16.4k41643






















                  up vote
                  0
                  down vote













                  enter image description here



                  Consider initially that the vectors are written in the canonical base, so rotating this vector is equivalent to rotating the canonical base and then seeing the coordinates of that vector in this new base, looking at the figure that rotates the base the vectors of the canonical base in a theta angle, we can see that



                  $$e'_1=(cos(theta),sen(theta))$$ and $$e'_2=(-sen(theta),cos(theta))$$



                  then the transformation is the matrix



                  $$ M= left[
                  begin{array}{cc}
                  cos(theta) & sen(theta)\
                  -sen(theta) & cos(theta)\
                  end{array}
                  right]$$



                  so after rotating the vector $$(x,y)$$ we will have



                  $$(xcos(theta)+ysen(theta),-xsen(theta)+ycos(theta))$$






                  share|cite|improve this answer



























                    up vote
                    0
                    down vote













                    enter image description here



                    Consider initially that the vectors are written in the canonical base, so rotating this vector is equivalent to rotating the canonical base and then seeing the coordinates of that vector in this new base, looking at the figure that rotates the base the vectors of the canonical base in a theta angle, we can see that



                    $$e'_1=(cos(theta),sen(theta))$$ and $$e'_2=(-sen(theta),cos(theta))$$



                    then the transformation is the matrix



                    $$ M= left[
                    begin{array}{cc}
                    cos(theta) & sen(theta)\
                    -sen(theta) & cos(theta)\
                    end{array}
                    right]$$



                    so after rotating the vector $$(x,y)$$ we will have



                    $$(xcos(theta)+ysen(theta),-xsen(theta)+ycos(theta))$$






                    share|cite|improve this answer

























                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      enter image description here



                      Consider initially that the vectors are written in the canonical base, so rotating this vector is equivalent to rotating the canonical base and then seeing the coordinates of that vector in this new base, looking at the figure that rotates the base the vectors of the canonical base in a theta angle, we can see that



                      $$e'_1=(cos(theta),sen(theta))$$ and $$e'_2=(-sen(theta),cos(theta))$$



                      then the transformation is the matrix



                      $$ M= left[
                      begin{array}{cc}
                      cos(theta) & sen(theta)\
                      -sen(theta) & cos(theta)\
                      end{array}
                      right]$$



                      so after rotating the vector $$(x,y)$$ we will have



                      $$(xcos(theta)+ysen(theta),-xsen(theta)+ycos(theta))$$






                      share|cite|improve this answer














                      enter image description here



                      Consider initially that the vectors are written in the canonical base, so rotating this vector is equivalent to rotating the canonical base and then seeing the coordinates of that vector in this new base, looking at the figure that rotates the base the vectors of the canonical base in a theta angle, we can see that



                      $$e'_1=(cos(theta),sen(theta))$$ and $$e'_2=(-sen(theta),cos(theta))$$



                      then the transformation is the matrix



                      $$ M= left[
                      begin{array}{cc}
                      cos(theta) & sen(theta)\
                      -sen(theta) & cos(theta)\
                      end{array}
                      right]$$



                      so after rotating the vector $$(x,y)$$ we will have



                      $$(xcos(theta)+ysen(theta),-xsen(theta)+ycos(theta))$$







                      share|cite|improve this answer














                      share|cite|improve this answer



                      share|cite|improve this answer








                      edited May 15 at 2:52

























                      answered May 15 at 2:43









                      Olecram

                      1365




                      1365






















                          up vote
                          0
                          down vote













                          Let old point be at $1$ and new point be at $2$ both in first quadrant. Let the rotation angle be a small $theta$ counter-clockwise.



                          $$x_{new} =x_{old} , cos ,theta -y_{old} ,sin ,theta tag1 $$



                          $$y_{new} = x_{old} ,sintheta + y _{old}costheta tag2 $$



                          It is noticed that



                          as far as new $x$ is concered there is a minus sign at right hand side and its x-coordinate got reduced.



                          as far as new $y$ is concered there is a plus sign at right hand side and its y-coordinate got increased.



                          enter image description here






                          share|cite|improve this answer



























                            up vote
                            0
                            down vote













                            Let old point be at $1$ and new point be at $2$ both in first quadrant. Let the rotation angle be a small $theta$ counter-clockwise.



                            $$x_{new} =x_{old} , cos ,theta -y_{old} ,sin ,theta tag1 $$



                            $$y_{new} = x_{old} ,sintheta + y _{old}costheta tag2 $$



                            It is noticed that



                            as far as new $x$ is concered there is a minus sign at right hand side and its x-coordinate got reduced.



                            as far as new $y$ is concered there is a plus sign at right hand side and its y-coordinate got increased.



                            enter image description here






                            share|cite|improve this answer

























                              up vote
                              0
                              down vote










                              up vote
                              0
                              down vote









                              Let old point be at $1$ and new point be at $2$ both in first quadrant. Let the rotation angle be a small $theta$ counter-clockwise.



                              $$x_{new} =x_{old} , cos ,theta -y_{old} ,sin ,theta tag1 $$



                              $$y_{new} = x_{old} ,sintheta + y _{old}costheta tag2 $$



                              It is noticed that



                              as far as new $x$ is concered there is a minus sign at right hand side and its x-coordinate got reduced.



                              as far as new $y$ is concered there is a plus sign at right hand side and its y-coordinate got increased.



                              enter image description here






                              share|cite|improve this answer














                              Let old point be at $1$ and new point be at $2$ both in first quadrant. Let the rotation angle be a small $theta$ counter-clockwise.



                              $$x_{new} =x_{old} , cos ,theta -y_{old} ,sin ,theta tag1 $$



                              $$y_{new} = x_{old} ,sintheta + y _{old}costheta tag2 $$



                              It is noticed that



                              as far as new $x$ is concered there is a minus sign at right hand side and its x-coordinate got reduced.



                              as far as new $y$ is concered there is a plus sign at right hand side and its y-coordinate got increased.



                              enter image description here







                              share|cite|improve this answer














                              share|cite|improve this answer



                              share|cite|improve this answer








                              edited May 15 at 3:52

























                              answered May 15 at 3:41









                              Narasimham

                              20.4k52158




                              20.4k52158






















                                  up vote
                                  0
                                  down vote













                                  Assume the ray to the point (x,y) from the origin makes an angle of $alpha$ anti-clockwise with +ve x-axis.



                                  Then (x,y) = (r cos$alpha$,r sin$alpha$) where $r = sqrt{x^2+y^2}$.



                                  If the point is rotated by an angle of $theta$ anti-clockwise around the origin, then the point makes an angle of $alpha+theta$ with the +ve x-axis. Since the distance of the point from the origin doesn't change due to the rotation around it, the new co-ordinates will be (X,Y) = (r cos$(alpha+theta)$,r sin$(alpha+theta)$).



                                  Using basic trigonometric identities,



                                  (X,Y)=$(r cos(alpha+theta),r sin(alpha+theta)bigr)$
                                  =$(r cosalpha*costheta-r sinalpha*sintheta, r cosalpha*sintheta-r sinalpha*costheta)$ = $(x costheta-y sintheta,x sintheta+y costheta)$



                                  P.S: Can a kind soul format my answer better (Not familiar with MathJax). Thanks.






                                  share|cite|improve this answer

























                                    up vote
                                    0
                                    down vote













                                    Assume the ray to the point (x,y) from the origin makes an angle of $alpha$ anti-clockwise with +ve x-axis.



                                    Then (x,y) = (r cos$alpha$,r sin$alpha$) where $r = sqrt{x^2+y^2}$.



                                    If the point is rotated by an angle of $theta$ anti-clockwise around the origin, then the point makes an angle of $alpha+theta$ with the +ve x-axis. Since the distance of the point from the origin doesn't change due to the rotation around it, the new co-ordinates will be (X,Y) = (r cos$(alpha+theta)$,r sin$(alpha+theta)$).



                                    Using basic trigonometric identities,



                                    (X,Y)=$(r cos(alpha+theta),r sin(alpha+theta)bigr)$
                                    =$(r cosalpha*costheta-r sinalpha*sintheta, r cosalpha*sintheta-r sinalpha*costheta)$ = $(x costheta-y sintheta,x sintheta+y costheta)$



                                    P.S: Can a kind soul format my answer better (Not familiar with MathJax). Thanks.






                                    share|cite|improve this answer























                                      up vote
                                      0
                                      down vote










                                      up vote
                                      0
                                      down vote









                                      Assume the ray to the point (x,y) from the origin makes an angle of $alpha$ anti-clockwise with +ve x-axis.



                                      Then (x,y) = (r cos$alpha$,r sin$alpha$) where $r = sqrt{x^2+y^2}$.



                                      If the point is rotated by an angle of $theta$ anti-clockwise around the origin, then the point makes an angle of $alpha+theta$ with the +ve x-axis. Since the distance of the point from the origin doesn't change due to the rotation around it, the new co-ordinates will be (X,Y) = (r cos$(alpha+theta)$,r sin$(alpha+theta)$).



                                      Using basic trigonometric identities,



                                      (X,Y)=$(r cos(alpha+theta),r sin(alpha+theta)bigr)$
                                      =$(r cosalpha*costheta-r sinalpha*sintheta, r cosalpha*sintheta-r sinalpha*costheta)$ = $(x costheta-y sintheta,x sintheta+y costheta)$



                                      P.S: Can a kind soul format my answer better (Not familiar with MathJax). Thanks.






                                      share|cite|improve this answer












                                      Assume the ray to the point (x,y) from the origin makes an angle of $alpha$ anti-clockwise with +ve x-axis.



                                      Then (x,y) = (r cos$alpha$,r sin$alpha$) where $r = sqrt{x^2+y^2}$.



                                      If the point is rotated by an angle of $theta$ anti-clockwise around the origin, then the point makes an angle of $alpha+theta$ with the +ve x-axis. Since the distance of the point from the origin doesn't change due to the rotation around it, the new co-ordinates will be (X,Y) = (r cos$(alpha+theta)$,r sin$(alpha+theta)$).



                                      Using basic trigonometric identities,



                                      (X,Y)=$(r cos(alpha+theta),r sin(alpha+theta)bigr)$
                                      =$(r cosalpha*costheta-r sinalpha*sintheta, r cosalpha*sintheta-r sinalpha*costheta)$ = $(x costheta-y sintheta,x sintheta+y costheta)$



                                      P.S: Can a kind soul format my answer better (Not familiar with MathJax). Thanks.







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Sep 25 at 0:35









                                      Bhargav Chereddy

                                      12




                                      12






























                                          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.





                                          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                          Please pay close attention to the following guidance:


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


                                          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%2f1350137%2ftransformation-of-axes-by-rotation%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

                                          Sphinx de Gizeh

                                          Dijon

                                          Guerrita