3d matrix rotation












2












$begingroup$


I've been reading up on rotation transformation and following this PowerPoint.



The assignment I'm working on is asking to perform a rotation and find the image $Q$ of the point P = (1, 2, -1) after a $45$ degree $y$-roll. I was under the impression that a roll was on the $z$-axis; which is where I'm confused.



I'm trying to set up the problem like such (from WikiPedia):





But I'm lost as to translate the 3 points into a matrix. Is this correct? The way I'm trying to visualize it as below without the translation.












share|cite|improve this question











$endgroup$












  • $begingroup$
    I think you are reading too much meaning into the word 'roll'. The $y$ coordinate remains unchanged, the $x,z$ coordinates are rotated in the $x,z$ plane by $frac{pi}{4}$.
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:16










  • $begingroup$
    @copper.hat Would this be an accurate representation?
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:19










  • $begingroup$
    Looks good... ${}{}{}$
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:23










  • $begingroup$
    I'm with copper.hat about the interpretation of "roll". It seems like it is just referring to "twisting" around a specified axis, and it doesn't prefer any special axis.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:23






  • 1




    $begingroup$
    Not sure what you are talking about when you mean "three points into a matrix". We've got one point and one transformation matrix. The image of the point under the transformation is again a single point: the image of $P$ under the rotation.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:32
















2












$begingroup$


I've been reading up on rotation transformation and following this PowerPoint.



The assignment I'm working on is asking to perform a rotation and find the image $Q$ of the point P = (1, 2, -1) after a $45$ degree $y$-roll. I was under the impression that a roll was on the $z$-axis; which is where I'm confused.



I'm trying to set up the problem like such (from WikiPedia):





But I'm lost as to translate the 3 points into a matrix. Is this correct? The way I'm trying to visualize it as below without the translation.












share|cite|improve this question











$endgroup$












  • $begingroup$
    I think you are reading too much meaning into the word 'roll'. The $y$ coordinate remains unchanged, the $x,z$ coordinates are rotated in the $x,z$ plane by $frac{pi}{4}$.
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:16










  • $begingroup$
    @copper.hat Would this be an accurate representation?
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:19










  • $begingroup$
    Looks good... ${}{}{}$
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:23










  • $begingroup$
    I'm with copper.hat about the interpretation of "roll". It seems like it is just referring to "twisting" around a specified axis, and it doesn't prefer any special axis.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:23






  • 1




    $begingroup$
    Not sure what you are talking about when you mean "three points into a matrix". We've got one point and one transformation matrix. The image of the point under the transformation is again a single point: the image of $P$ under the rotation.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:32














2












2








2





$begingroup$


I've been reading up on rotation transformation and following this PowerPoint.



The assignment I'm working on is asking to perform a rotation and find the image $Q$ of the point P = (1, 2, -1) after a $45$ degree $y$-roll. I was under the impression that a roll was on the $z$-axis; which is where I'm confused.



I'm trying to set up the problem like such (from WikiPedia):





But I'm lost as to translate the 3 points into a matrix. Is this correct? The way I'm trying to visualize it as below without the translation.












share|cite|improve this question











$endgroup$




I've been reading up on rotation transformation and following this PowerPoint.



The assignment I'm working on is asking to perform a rotation and find the image $Q$ of the point P = (1, 2, -1) after a $45$ degree $y$-roll. I was under the impression that a roll was on the $z$-axis; which is where I'm confused.



I'm trying to set up the problem like such (from WikiPedia):





But I'm lost as to translate the 3 points into a matrix. Is this correct? The way I'm trying to visualize it as below without the translation.









matrices rotations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 13 at 10:09









Glorfindel

3,41981830




3,41981830










asked Apr 4 '13 at 20:04









KermitKermit

140116




140116












  • $begingroup$
    I think you are reading too much meaning into the word 'roll'. The $y$ coordinate remains unchanged, the $x,z$ coordinates are rotated in the $x,z$ plane by $frac{pi}{4}$.
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:16










  • $begingroup$
    @copper.hat Would this be an accurate representation?
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:19










  • $begingroup$
    Looks good... ${}{}{}$
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:23










  • $begingroup$
    I'm with copper.hat about the interpretation of "roll". It seems like it is just referring to "twisting" around a specified axis, and it doesn't prefer any special axis.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:23






  • 1




    $begingroup$
    Not sure what you are talking about when you mean "three points into a matrix". We've got one point and one transformation matrix. The image of the point under the transformation is again a single point: the image of $P$ under the rotation.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:32


















  • $begingroup$
    I think you are reading too much meaning into the word 'roll'. The $y$ coordinate remains unchanged, the $x,z$ coordinates are rotated in the $x,z$ plane by $frac{pi}{4}$.
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:16










  • $begingroup$
    @copper.hat Would this be an accurate representation?
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:19










  • $begingroup$
    Looks good... ${}{}{}$
    $endgroup$
    – copper.hat
    Apr 4 '13 at 20:23










  • $begingroup$
    I'm with copper.hat about the interpretation of "roll". It seems like it is just referring to "twisting" around a specified axis, and it doesn't prefer any special axis.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:23






  • 1




    $begingroup$
    Not sure what you are talking about when you mean "three points into a matrix". We've got one point and one transformation matrix. The image of the point under the transformation is again a single point: the image of $P$ under the rotation.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:32
















$begingroup$
I think you are reading too much meaning into the word 'roll'. The $y$ coordinate remains unchanged, the $x,z$ coordinates are rotated in the $x,z$ plane by $frac{pi}{4}$.
$endgroup$
– copper.hat
Apr 4 '13 at 20:16




$begingroup$
I think you are reading too much meaning into the word 'roll'. The $y$ coordinate remains unchanged, the $x,z$ coordinates are rotated in the $x,z$ plane by $frac{pi}{4}$.
$endgroup$
– copper.hat
Apr 4 '13 at 20:16












$begingroup$
@copper.hat Would this be an accurate representation?
$endgroup$
– Kermit
Apr 4 '13 at 20:19




$begingroup$
@copper.hat Would this be an accurate representation?
$endgroup$
– Kermit
Apr 4 '13 at 20:19












$begingroup$
Looks good... ${}{}{}$
$endgroup$
– copper.hat
Apr 4 '13 at 20:23




$begingroup$
Looks good... ${}{}{}$
$endgroup$
– copper.hat
Apr 4 '13 at 20:23












$begingroup$
I'm with copper.hat about the interpretation of "roll". It seems like it is just referring to "twisting" around a specified axis, and it doesn't prefer any special axis.
$endgroup$
– rschwieb
Apr 4 '13 at 20:23




$begingroup$
I'm with copper.hat about the interpretation of "roll". It seems like it is just referring to "twisting" around a specified axis, and it doesn't prefer any special axis.
$endgroup$
– rschwieb
Apr 4 '13 at 20:23




1




1




$begingroup$
Not sure what you are talking about when you mean "three points into a matrix". We've got one point and one transformation matrix. The image of the point under the transformation is again a single point: the image of $P$ under the rotation.
$endgroup$
– rschwieb
Apr 4 '13 at 20:32




$begingroup$
Not sure what you are talking about when you mean "three points into a matrix". We've got one point and one transformation matrix. The image of the point under the transformation is again a single point: the image of $P$ under the rotation.
$endgroup$
– rschwieb
Apr 4 '13 at 20:32










1 Answer
1






active

oldest

votes


















2












$begingroup$

To roll $theta=pi/4$ around the $y$ axis, the matrix becomes:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}$$



Applying this to the point:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}begin{bmatrix}1\2\-1end{bmatrix}=begin{bmatrix}0\2\-sqrt{2}end{bmatrix}$$



So, $Q=(0,2,-sqrt{2})$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    What I meant in my comment was just what you did in the "applying this point."
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:35






  • 1




    $begingroup$
    @FreshPrinceOfSO OK :) Like the name, btw.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:39











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%2f351472%2f3d-matrix-rotation%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









2












$begingroup$

To roll $theta=pi/4$ around the $y$ axis, the matrix becomes:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}$$



Applying this to the point:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}begin{bmatrix}1\2\-1end{bmatrix}=begin{bmatrix}0\2\-sqrt{2}end{bmatrix}$$



So, $Q=(0,2,-sqrt{2})$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    What I meant in my comment was just what you did in the "applying this point."
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:35






  • 1




    $begingroup$
    @FreshPrinceOfSO OK :) Like the name, btw.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:39
















2












$begingroup$

To roll $theta=pi/4$ around the $y$ axis, the matrix becomes:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}$$



Applying this to the point:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}begin{bmatrix}1\2\-1end{bmatrix}=begin{bmatrix}0\2\-sqrt{2}end{bmatrix}$$



So, $Q=(0,2,-sqrt{2})$






share|cite|improve this answer









$endgroup$













  • $begingroup$
    What I meant in my comment was just what you did in the "applying this point."
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:35






  • 1




    $begingroup$
    @FreshPrinceOfSO OK :) Like the name, btw.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:39














2












2








2





$begingroup$

To roll $theta=pi/4$ around the $y$ axis, the matrix becomes:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}$$



Applying this to the point:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}begin{bmatrix}1\2\-1end{bmatrix}=begin{bmatrix}0\2\-sqrt{2}end{bmatrix}$$



So, $Q=(0,2,-sqrt{2})$






share|cite|improve this answer









$endgroup$



To roll $theta=pi/4$ around the $y$ axis, the matrix becomes:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}$$



Applying this to the point:



$$begin{bmatrix}sqrt{2}/2&0&sqrt{2}/2\0&1&0\-sqrt{2}/2&0&sqrt{2}/2end{bmatrix}begin{bmatrix}1\2\-1end{bmatrix}=begin{bmatrix}0\2\-sqrt{2}end{bmatrix}$$



So, $Q=(0,2,-sqrt{2})$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Apr 4 '13 at 20:31









rschwiebrschwieb

106k12102250




106k12102250












  • $begingroup$
    What I meant in my comment was just what you did in the "applying this point."
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:35






  • 1




    $begingroup$
    @FreshPrinceOfSO OK :) Like the name, btw.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:39


















  • $begingroup$
    What I meant in my comment was just what you did in the "applying this point."
    $endgroup$
    – Kermit
    Apr 4 '13 at 20:35






  • 1




    $begingroup$
    @FreshPrinceOfSO OK :) Like the name, btw.
    $endgroup$
    – rschwieb
    Apr 4 '13 at 20:39
















$begingroup$
What I meant in my comment was just what you did in the "applying this point."
$endgroup$
– Kermit
Apr 4 '13 at 20:35




$begingroup$
What I meant in my comment was just what you did in the "applying this point."
$endgroup$
– Kermit
Apr 4 '13 at 20:35




1




1




$begingroup$
@FreshPrinceOfSO OK :) Like the name, btw.
$endgroup$
– rschwieb
Apr 4 '13 at 20:39




$begingroup$
@FreshPrinceOfSO OK :) Like the name, btw.
$endgroup$
– rschwieb
Apr 4 '13 at 20:39


















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%2f351472%2f3d-matrix-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

MongoDB - Not Authorized To Execute Command

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

How to fix TextFormField cause rebuild widget in Flutter