Generalized rotation matrix in N dimensional space around N-2 unit vector












25












$begingroup$


There is a 2d rotation matrix around point $(0, 0)$ with angle $theta$.



$$
left[ begin{array}{ccc}
cos(theta) & -sin(theta) \
sin(theta) & cos(theta) end{array} right]
$$



Next, there is a 3d rotation matrix around point $(0, 0, 0)$ and unit axis $(u_x, u_y, u_z)$ with angle $theta$ (Rodrigues' Rotation Formula).



begin{bmatrix} cos theta +u_x^2 left(1-cos thetaright) & u_x u_y left(1-cos thetaright) - u_z sin theta & u_x u_z left(1-cos thetaright) + u_y sin theta \ u_y u_x left(1-cos thetaright) + u_z sin theta & cos theta + u_y^2left(1-cos thetaright) & u_y u_z left(1-cos thetaright) - u_x sin theta \ u_z u_x left(1-cos thetaright) - u_y sin theta & u_z u_y left(1-cos thetaright) + u_x sin theta & cos theta + u_z^2left(1-cos thetaright)
end{bmatrix}



How it is possible to generalize rotation matrix on $N$ dimension around zero point and $N-2$ dimensional unit axis with angle $theta$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    @RobertIsrael could you please tell me the reference (name of the formula, article, book, etc.) for your formula above (a matrix that rotates the span of u and v by angle theta)? Thank you in advance.
    $endgroup$
    – user71237
    Apr 6 '13 at 8:13
















25












$begingroup$


There is a 2d rotation matrix around point $(0, 0)$ with angle $theta$.



$$
left[ begin{array}{ccc}
cos(theta) & -sin(theta) \
sin(theta) & cos(theta) end{array} right]
$$



Next, there is a 3d rotation matrix around point $(0, 0, 0)$ and unit axis $(u_x, u_y, u_z)$ with angle $theta$ (Rodrigues' Rotation Formula).



begin{bmatrix} cos theta +u_x^2 left(1-cos thetaright) & u_x u_y left(1-cos thetaright) - u_z sin theta & u_x u_z left(1-cos thetaright) + u_y sin theta \ u_y u_x left(1-cos thetaright) + u_z sin theta & cos theta + u_y^2left(1-cos thetaright) & u_y u_z left(1-cos thetaright) - u_x sin theta \ u_z u_x left(1-cos thetaright) - u_y sin theta & u_z u_y left(1-cos thetaright) + u_x sin theta & cos theta + u_z^2left(1-cos thetaright)
end{bmatrix}



How it is possible to generalize rotation matrix on $N$ dimension around zero point and $N-2$ dimensional unit axis with angle $theta$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    @RobertIsrael could you please tell me the reference (name of the formula, article, book, etc.) for your formula above (a matrix that rotates the span of u and v by angle theta)? Thank you in advance.
    $endgroup$
    – user71237
    Apr 6 '13 at 8:13














25












25








25


16



$begingroup$


There is a 2d rotation matrix around point $(0, 0)$ with angle $theta$.



$$
left[ begin{array}{ccc}
cos(theta) & -sin(theta) \
sin(theta) & cos(theta) end{array} right]
$$



Next, there is a 3d rotation matrix around point $(0, 0, 0)$ and unit axis $(u_x, u_y, u_z)$ with angle $theta$ (Rodrigues' Rotation Formula).



begin{bmatrix} cos theta +u_x^2 left(1-cos thetaright) & u_x u_y left(1-cos thetaright) - u_z sin theta & u_x u_z left(1-cos thetaright) + u_y sin theta \ u_y u_x left(1-cos thetaright) + u_z sin theta & cos theta + u_y^2left(1-cos thetaright) & u_y u_z left(1-cos thetaright) - u_x sin theta \ u_z u_x left(1-cos thetaright) - u_y sin theta & u_z u_y left(1-cos thetaright) + u_x sin theta & cos theta + u_z^2left(1-cos thetaright)
end{bmatrix}



How it is possible to generalize rotation matrix on $N$ dimension around zero point and $N-2$ dimensional unit axis with angle $theta$?










share|cite|improve this question











$endgroup$




There is a 2d rotation matrix around point $(0, 0)$ with angle $theta$.



$$
left[ begin{array}{ccc}
cos(theta) & -sin(theta) \
sin(theta) & cos(theta) end{array} right]
$$



Next, there is a 3d rotation matrix around point $(0, 0, 0)$ and unit axis $(u_x, u_y, u_z)$ with angle $theta$ (Rodrigues' Rotation Formula).



begin{bmatrix} cos theta +u_x^2 left(1-cos thetaright) & u_x u_y left(1-cos thetaright) - u_z sin theta & u_x u_z left(1-cos thetaright) + u_y sin theta \ u_y u_x left(1-cos thetaright) + u_z sin theta & cos theta + u_y^2left(1-cos thetaright) & u_y u_z left(1-cos thetaright) - u_x sin theta \ u_z u_x left(1-cos thetaright) - u_y sin theta & u_z u_y left(1-cos thetaright) + u_x sin theta & cos theta + u_z^2left(1-cos thetaright)
end{bmatrix}



How it is possible to generalize rotation matrix on $N$ dimension around zero point and $N-2$ dimensional unit axis with angle $theta$?







linear-algebra matrices rotations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Sep 17 '12 at 0:13









Sasha

61.1k5110182




61.1k5110182










asked Sep 16 '12 at 23:13









Ivan KochurkinIvan Kochurkin

5791720




5791720












  • $begingroup$
    @RobertIsrael could you please tell me the reference (name of the formula, article, book, etc.) for your formula above (a matrix that rotates the span of u and v by angle theta)? Thank you in advance.
    $endgroup$
    – user71237
    Apr 6 '13 at 8:13


















  • $begingroup$
    @RobertIsrael could you please tell me the reference (name of the formula, article, book, etc.) for your formula above (a matrix that rotates the span of u and v by angle theta)? Thank you in advance.
    $endgroup$
    – user71237
    Apr 6 '13 at 8:13
















$begingroup$
@RobertIsrael could you please tell me the reference (name of the formula, article, book, etc.) for your formula above (a matrix that rotates the span of u and v by angle theta)? Thank you in advance.
$endgroup$
– user71237
Apr 6 '13 at 8:13




$begingroup$
@RobertIsrael could you please tell me the reference (name of the formula, article, book, etc.) for your formula above (a matrix that rotates the span of u and v by angle theta)? Thank you in advance.
$endgroup$
– user71237
Apr 6 '13 at 8:13










1 Answer
1






active

oldest

votes


















16












$begingroup$

The definition is that $Ain M_{n}(mathbb{R})$ is called a rotation
matrix if there exist a unitary matrix $P$ s.t $P^{-1}AP$ is of
the form $$begin{pmatrix}cos(theta) &-sin(theta)\
sin(theta) & cos(theta)\
& & 1\
& & & 1\
& & & & 1\
& & & & & .\
& & & & & & .\
& & & & & & & .\
& & & & & & & & 1
end{pmatrix}$$



If we consider $A:mathbb{R}^{n}tomathbb{R}^{n}$ then the meaning
is that there exist an orthonormal basis where we rotate the $2-$dimensional
space spanned by the first two vectors by angle $theta$ and we fix
the other $n-2$ dimensions






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Lyx tip is appriciated for the matrices
    $endgroup$
    – Belgi
    Sep 16 '12 at 23:23










  • $begingroup$
    Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
    $endgroup$
    – Ivan Kochurkin
    Sep 16 '12 at 23:31






  • 13




    $begingroup$
    If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
    $endgroup$
    – Robert Israel
    Sep 16 '12 at 23:51






  • 1




    $begingroup$
    The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
    $endgroup$
    – Robert Israel
    Sep 20 '12 at 7:44






  • 4




    $begingroup$
    @RobertIsrael can you point to a source of these equations?
    $endgroup$
    – gota
    Oct 9 '17 at 15:54












Your Answer








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%2f197772%2fgeneralized-rotation-matrix-in-n-dimensional-space-around-n-2-unit-vector%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









16












$begingroup$

The definition is that $Ain M_{n}(mathbb{R})$ is called a rotation
matrix if there exist a unitary matrix $P$ s.t $P^{-1}AP$ is of
the form $$begin{pmatrix}cos(theta) &-sin(theta)\
sin(theta) & cos(theta)\
& & 1\
& & & 1\
& & & & 1\
& & & & & .\
& & & & & & .\
& & & & & & & .\
& & & & & & & & 1
end{pmatrix}$$



If we consider $A:mathbb{R}^{n}tomathbb{R}^{n}$ then the meaning
is that there exist an orthonormal basis where we rotate the $2-$dimensional
space spanned by the first two vectors by angle $theta$ and we fix
the other $n-2$ dimensions






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Lyx tip is appriciated for the matrices
    $endgroup$
    – Belgi
    Sep 16 '12 at 23:23










  • $begingroup$
    Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
    $endgroup$
    – Ivan Kochurkin
    Sep 16 '12 at 23:31






  • 13




    $begingroup$
    If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
    $endgroup$
    – Robert Israel
    Sep 16 '12 at 23:51






  • 1




    $begingroup$
    The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
    $endgroup$
    – Robert Israel
    Sep 20 '12 at 7:44






  • 4




    $begingroup$
    @RobertIsrael can you point to a source of these equations?
    $endgroup$
    – gota
    Oct 9 '17 at 15:54
















16












$begingroup$

The definition is that $Ain M_{n}(mathbb{R})$ is called a rotation
matrix if there exist a unitary matrix $P$ s.t $P^{-1}AP$ is of
the form $$begin{pmatrix}cos(theta) &-sin(theta)\
sin(theta) & cos(theta)\
& & 1\
& & & 1\
& & & & 1\
& & & & & .\
& & & & & & .\
& & & & & & & .\
& & & & & & & & 1
end{pmatrix}$$



If we consider $A:mathbb{R}^{n}tomathbb{R}^{n}$ then the meaning
is that there exist an orthonormal basis where we rotate the $2-$dimensional
space spanned by the first two vectors by angle $theta$ and we fix
the other $n-2$ dimensions






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Lyx tip is appriciated for the matrices
    $endgroup$
    – Belgi
    Sep 16 '12 at 23:23










  • $begingroup$
    Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
    $endgroup$
    – Ivan Kochurkin
    Sep 16 '12 at 23:31






  • 13




    $begingroup$
    If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
    $endgroup$
    – Robert Israel
    Sep 16 '12 at 23:51






  • 1




    $begingroup$
    The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
    $endgroup$
    – Robert Israel
    Sep 20 '12 at 7:44






  • 4




    $begingroup$
    @RobertIsrael can you point to a source of these equations?
    $endgroup$
    – gota
    Oct 9 '17 at 15:54














16












16








16





$begingroup$

The definition is that $Ain M_{n}(mathbb{R})$ is called a rotation
matrix if there exist a unitary matrix $P$ s.t $P^{-1}AP$ is of
the form $$begin{pmatrix}cos(theta) &-sin(theta)\
sin(theta) & cos(theta)\
& & 1\
& & & 1\
& & & & 1\
& & & & & .\
& & & & & & .\
& & & & & & & .\
& & & & & & & & 1
end{pmatrix}$$



If we consider $A:mathbb{R}^{n}tomathbb{R}^{n}$ then the meaning
is that there exist an orthonormal basis where we rotate the $2-$dimensional
space spanned by the first two vectors by angle $theta$ and we fix
the other $n-2$ dimensions






share|cite|improve this answer











$endgroup$



The definition is that $Ain M_{n}(mathbb{R})$ is called a rotation
matrix if there exist a unitary matrix $P$ s.t $P^{-1}AP$ is of
the form $$begin{pmatrix}cos(theta) &-sin(theta)\
sin(theta) & cos(theta)\
& & 1\
& & & 1\
& & & & 1\
& & & & & .\
& & & & & & .\
& & & & & & & .\
& & & & & & & & 1
end{pmatrix}$$



If we consider $A:mathbb{R}^{n}tomathbb{R}^{n}$ then the meaning
is that there exist an orthonormal basis where we rotate the $2-$dimensional
space spanned by the first two vectors by angle $theta$ and we fix
the other $n-2$ dimensions







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Mar 28 '16 at 12:45









Mark Amery

1286




1286










answered Sep 16 '12 at 23:23









BelgiBelgi

14.7k1156115




14.7k1156115












  • $begingroup$
    Lyx tip is appriciated for the matrices
    $endgroup$
    – Belgi
    Sep 16 '12 at 23:23










  • $begingroup$
    Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
    $endgroup$
    – Ivan Kochurkin
    Sep 16 '12 at 23:31






  • 13




    $begingroup$
    If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
    $endgroup$
    – Robert Israel
    Sep 16 '12 at 23:51






  • 1




    $begingroup$
    The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
    $endgroup$
    – Robert Israel
    Sep 20 '12 at 7:44






  • 4




    $begingroup$
    @RobertIsrael can you point to a source of these equations?
    $endgroup$
    – gota
    Oct 9 '17 at 15:54


















  • $begingroup$
    Lyx tip is appriciated for the matrices
    $endgroup$
    – Belgi
    Sep 16 '12 at 23:23










  • $begingroup$
    Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
    $endgroup$
    – Ivan Kochurkin
    Sep 16 '12 at 23:31






  • 13




    $begingroup$
    If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
    $endgroup$
    – Robert Israel
    Sep 16 '12 at 23:51






  • 1




    $begingroup$
    The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
    $endgroup$
    – Robert Israel
    Sep 20 '12 at 7:44






  • 4




    $begingroup$
    @RobertIsrael can you point to a source of these equations?
    $endgroup$
    – gota
    Oct 9 '17 at 15:54
















$begingroup$
Lyx tip is appriciated for the matrices
$endgroup$
– Belgi
Sep 16 '12 at 23:23




$begingroup$
Lyx tip is appriciated for the matrices
$endgroup$
– Belgi
Sep 16 '12 at 23:23












$begingroup$
Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
$endgroup$
– Ivan Kochurkin
Sep 16 '12 at 23:31




$begingroup$
Ok, but is there efficient algorithm for finding every matrix item, based on special numbers, permutations or something else, exists?
$endgroup$
– Ivan Kochurkin
Sep 16 '12 at 23:31




13




13




$begingroup$
If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
$endgroup$
– Robert Israel
Sep 16 '12 at 23:51




$begingroup$
If $u$ and $v$ are two orthonormal vectors, a matrix that rotates the span of $u$ and $v$ by angle $theta$ is $A = I + sin(theta) ( v u^T - u v^T) + (cos(theta) - 1)( u u^T + v v^T)$. Thus $A_{ij} = delta_{ij} + sin(theta) (v_i u_j - u_i v_j) + (cos(theta)-1)(u_i u_j + v_i v_j)$.
$endgroup$
– Robert Israel
Sep 16 '12 at 23:51




1




1




$begingroup$
The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
$endgroup$
– Robert Israel
Sep 20 '12 at 7:44




$begingroup$
The $n-2$-dimensional space that is the orthogonal complement of my two vectors is fixed by the rotation, i.e. $Aw = w$ for $w$ in this space.
$endgroup$
– Robert Israel
Sep 20 '12 at 7:44




4




4




$begingroup$
@RobertIsrael can you point to a source of these equations?
$endgroup$
– gota
Oct 9 '17 at 15:54




$begingroup$
@RobertIsrael can you point to a source of these equations?
$endgroup$
– gota
Oct 9 '17 at 15:54


















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%2f197772%2fgeneralized-rotation-matrix-in-n-dimensional-space-around-n-2-unit-vector%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

Bressuire

Cabo Verde

Gyllenstierna