Finding new position of a point in $Bbb R^2$ after rotating it about a vector in $Bbb R^2$.












0












$begingroup$




Suppose $(x,y) in Bbb R^2$. Suppose we rotate this point about a vector $(a,b) in Bbb R^2$ through an angle $theta$. Find the coordinate of the new point.





What I have done is as follows $:$



I first translate the vector $(a,b)$ suitably so that it becomes the origin in the new coordinate system. Let $(x',y')$ be the new coordinate of $(x,y)$. Then $x'=x-a$ and $y'=y-b$. Now in order to find out the coordinate of the point $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$ we need to rotate $(x',y')$ about the origin in the new coordinate system through the same angle $theta$. After rotating let the coordinate of $(x',y')$ be changed to $(x'',y'')$ in the new coordinate system. Then $x'' = x' cos theta - y' sin theta$ and $y'' = x' sin theta + y' cos theta$. Replacing $x'$ and $y'$ by $x-a$ and $y-b$ respectively we get the coordinate of $(x'',y'')$ in the old coordinate system which is the required coordinate of $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$. So



$$x'' = (x-a) cos theta -(y-b) sin theta.$$



$$y'' = (x-a) sin theta + (y-b) cos theta.$$



is the required coordinate of the new point. But the answer given in my book is not matching with the above one. It is given as



$$x'' = (x-a) cos theta - (y-b) sin theta + a.$$
$$y'' = (x-a) sin theta + (y-b) cos theta + b.$$



Where have I done mistake? Please help me in this regard.



Thank you very much.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$




    Suppose $(x,y) in Bbb R^2$. Suppose we rotate this point about a vector $(a,b) in Bbb R^2$ through an angle $theta$. Find the coordinate of the new point.





    What I have done is as follows $:$



    I first translate the vector $(a,b)$ suitably so that it becomes the origin in the new coordinate system. Let $(x',y')$ be the new coordinate of $(x,y)$. Then $x'=x-a$ and $y'=y-b$. Now in order to find out the coordinate of the point $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$ we need to rotate $(x',y')$ about the origin in the new coordinate system through the same angle $theta$. After rotating let the coordinate of $(x',y')$ be changed to $(x'',y'')$ in the new coordinate system. Then $x'' = x' cos theta - y' sin theta$ and $y'' = x' sin theta + y' cos theta$. Replacing $x'$ and $y'$ by $x-a$ and $y-b$ respectively we get the coordinate of $(x'',y'')$ in the old coordinate system which is the required coordinate of $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$. So



    $$x'' = (x-a) cos theta -(y-b) sin theta.$$



    $$y'' = (x-a) sin theta + (y-b) cos theta.$$



    is the required coordinate of the new point. But the answer given in my book is not matching with the above one. It is given as



    $$x'' = (x-a) cos theta - (y-b) sin theta + a.$$
    $$y'' = (x-a) sin theta + (y-b) cos theta + b.$$



    Where have I done mistake? Please help me in this regard.



    Thank you very much.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$




      Suppose $(x,y) in Bbb R^2$. Suppose we rotate this point about a vector $(a,b) in Bbb R^2$ through an angle $theta$. Find the coordinate of the new point.





      What I have done is as follows $:$



      I first translate the vector $(a,b)$ suitably so that it becomes the origin in the new coordinate system. Let $(x',y')$ be the new coordinate of $(x,y)$. Then $x'=x-a$ and $y'=y-b$. Now in order to find out the coordinate of the point $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$ we need to rotate $(x',y')$ about the origin in the new coordinate system through the same angle $theta$. After rotating let the coordinate of $(x',y')$ be changed to $(x'',y'')$ in the new coordinate system. Then $x'' = x' cos theta - y' sin theta$ and $y'' = x' sin theta + y' cos theta$. Replacing $x'$ and $y'$ by $x-a$ and $y-b$ respectively we get the coordinate of $(x'',y'')$ in the old coordinate system which is the required coordinate of $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$. So



      $$x'' = (x-a) cos theta -(y-b) sin theta.$$



      $$y'' = (x-a) sin theta + (y-b) cos theta.$$



      is the required coordinate of the new point. But the answer given in my book is not matching with the above one. It is given as



      $$x'' = (x-a) cos theta - (y-b) sin theta + a.$$
      $$y'' = (x-a) sin theta + (y-b) cos theta + b.$$



      Where have I done mistake? Please help me in this regard.



      Thank you very much.










      share|cite|improve this question









      $endgroup$






      Suppose $(x,y) in Bbb R^2$. Suppose we rotate this point about a vector $(a,b) in Bbb R^2$ through an angle $theta$. Find the coordinate of the new point.





      What I have done is as follows $:$



      I first translate the vector $(a,b)$ suitably so that it becomes the origin in the new coordinate system. Let $(x',y')$ be the new coordinate of $(x,y)$. Then $x'=x-a$ and $y'=y-b$. Now in order to find out the coordinate of the point $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$ we need to rotate $(x',y')$ about the origin in the new coordinate system through the same angle $theta$. After rotating let the coordinate of $(x',y')$ be changed to $(x'',y'')$ in the new coordinate system. Then $x'' = x' cos theta - y' sin theta$ and $y'' = x' sin theta + y' cos theta$. Replacing $x'$ and $y'$ by $x-a$ and $y-b$ respectively we get the coordinate of $(x'',y'')$ in the old coordinate system which is the required coordinate of $(x,y)$ after rotating it about the vector $(a,b)$ through an angle $theta$. So



      $$x'' = (x-a) cos theta -(y-b) sin theta.$$



      $$y'' = (x-a) sin theta + (y-b) cos theta.$$



      is the required coordinate of the new point. But the answer given in my book is not matching with the above one. It is given as



      $$x'' = (x-a) cos theta - (y-b) sin theta + a.$$
      $$y'' = (x-a) sin theta + (y-b) cos theta + b.$$



      Where have I done mistake? Please help me in this regard.



      Thank you very much.







      analytic-geometry rotations






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 22 '18 at 7:50









      Dbchatto67Dbchatto67

      963118




      963118






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          Carefully note that $(x'',y'')$ are co-ordinates of the required point with respect to the translated axis, the new co-ordinate system $(x',y')$. To get the co-ordinates of the point $(p,q)$ in the original co-ordinate system, we have $x''=p-aimplies p=x''+a;y''=q-bimplies q=y''+b$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:07












          • $begingroup$
            I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:15










          • $begingroup$
            While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:19












          • $begingroup$
            Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:21












          • $begingroup$
            Yes, I'm an Indian undergraduate in Applied Mathematics.
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:27











          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%2f3049203%2ffinding-new-position-of-a-point-in-bbb-r2-after-rotating-it-about-a-vector-i%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1












          $begingroup$

          Carefully note that $(x'',y'')$ are co-ordinates of the required point with respect to the translated axis, the new co-ordinate system $(x',y')$. To get the co-ordinates of the point $(p,q)$ in the original co-ordinate system, we have $x''=p-aimplies p=x''+a;y''=q-bimplies q=y''+b$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:07












          • $begingroup$
            I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:15










          • $begingroup$
            While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:19












          • $begingroup$
            Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:21












          • $begingroup$
            Yes, I'm an Indian undergraduate in Applied Mathematics.
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:27
















          1












          $begingroup$

          Carefully note that $(x'',y'')$ are co-ordinates of the required point with respect to the translated axis, the new co-ordinate system $(x',y')$. To get the co-ordinates of the point $(p,q)$ in the original co-ordinate system, we have $x''=p-aimplies p=x''+a;y''=q-bimplies q=y''+b$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:07












          • $begingroup$
            I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:15










          • $begingroup$
            While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:19












          • $begingroup$
            Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:21












          • $begingroup$
            Yes, I'm an Indian undergraduate in Applied Mathematics.
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:27














          1












          1








          1





          $begingroup$

          Carefully note that $(x'',y'')$ are co-ordinates of the required point with respect to the translated axis, the new co-ordinate system $(x',y')$. To get the co-ordinates of the point $(p,q)$ in the original co-ordinate system, we have $x''=p-aimplies p=x''+a;y''=q-bimplies q=y''+b$.






          share|cite|improve this answer









          $endgroup$



          Carefully note that $(x'',y'')$ are co-ordinates of the required point with respect to the translated axis, the new co-ordinate system $(x',y')$. To get the co-ordinates of the point $(p,q)$ in the original co-ordinate system, we have $x''=p-aimplies p=x''+a;y''=q-bimplies q=y''+b$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 22 '18 at 8:00









          Shubham JohriShubham Johri

          5,177717




          5,177717












          • $begingroup$
            Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:07












          • $begingroup$
            I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:15










          • $begingroup$
            While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:19












          • $begingroup$
            Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:21












          • $begingroup$
            Yes, I'm an Indian undergraduate in Applied Mathematics.
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:27


















          • $begingroup$
            Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:07












          • $begingroup$
            I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:15










          • $begingroup$
            While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:19












          • $begingroup$
            Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
            $endgroup$
            – Dbchatto67
            Dec 22 '18 at 8:21












          • $begingroup$
            Yes, I'm an Indian undergraduate in Applied Mathematics.
            $endgroup$
            – Shubham Johri
            Dec 22 '18 at 8:27
















          $begingroup$
          Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
          $endgroup$
          – Dbchatto67
          Dec 22 '18 at 8:07






          $begingroup$
          Yeah you are right @Shubham Johri. I messed up with all those primes. Thanks for pointing this out.
          $endgroup$
          – Dbchatto67
          Dec 22 '18 at 8:07














          $begingroup$
          I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
          $endgroup$
          – Dbchatto67
          Dec 22 '18 at 8:15




          $begingroup$
          I observe another thing from here that rotations and translation do not commute with each other. What I have done here is translation followed by rotation. If I do the same thing in the reverse direction i.e. first rotation and then translation I would have ended up with the coordinate $(x cos theta - y sin theta + a, x sin theta + y cos theta + b)$. Isn't it so? Which actually proves in the group theoritic context that the group $G$ of rigid motoins in a plane is not commutative. In particular the subgroup $H subset G$ of all orientation preserving rigid motoins is not commutative.
          $endgroup$
          – Dbchatto67
          Dec 22 '18 at 8:15












          $begingroup$
          While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
          $endgroup$
          – Shubham Johri
          Dec 22 '18 at 8:19






          $begingroup$
          While I'm not really sure about Group Theory, you are correct about the former. Although, here, the question meant specifically for the rotation to happen about $(a,b)$, and it wouldn't make much sense to rotate about $(0,0)$
          $endgroup$
          – Shubham Johri
          Dec 22 '18 at 8:19














          $begingroup$
          Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
          $endgroup$
          – Dbchatto67
          Dec 22 '18 at 8:21






          $begingroup$
          Ok. It's fine. What is your background @Shubham Johri? Your name suggests that you are an Indian national like me.
          $endgroup$
          – Dbchatto67
          Dec 22 '18 at 8:21














          $begingroup$
          Yes, I'm an Indian undergraduate in Applied Mathematics.
          $endgroup$
          – Shubham Johri
          Dec 22 '18 at 8:27




          $begingroup$
          Yes, I'm an Indian undergraduate in Applied Mathematics.
          $endgroup$
          – Shubham Johri
          Dec 22 '18 at 8:27


















          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%2f3049203%2ffinding-new-position-of-a-point-in-bbb-r2-after-rotating-it-about-a-vector-i%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

          Ellipse (mathématiques)

          Quarter-circle Tiles

          Mont Emei