Projection of matrix in a vector direction











up vote
0
down vote

favorite












I have a question on matrix projection.



For any matrix : $S$



$$S = sum_i lambda_i v_i v_i^T$$



So to have a component of this matrix in arbitrary $u_r$ and $u_o$ directions. Here ${u_r, u_o}$ are arbitrary orthonormal basis.



I can write the projection into one direction as,



$$lambda_r = u_r^T S u_r = sum_i lambda_i langle v_i cdot u_r rangle^2 $$



but, I can also write the orthonormal decomposition of eigenvectors of $S$ in basis ${u_r, u_o}$, which would give me,



$$lambda_r = sum_i langle lambda_i v_i cdot u_r rangle = sum_i lambda_i langle v_i cdot u_r rangle $$



Why is there this discrepancy in the two definition for what I think is the same quantity?










share|cite|improve this question






















  • I dont understand, you are projecting a matrix in the direction of a vector?
    – Javi
    Nov 15 at 3:44















up vote
0
down vote

favorite












I have a question on matrix projection.



For any matrix : $S$



$$S = sum_i lambda_i v_i v_i^T$$



So to have a component of this matrix in arbitrary $u_r$ and $u_o$ directions. Here ${u_r, u_o}$ are arbitrary orthonormal basis.



I can write the projection into one direction as,



$$lambda_r = u_r^T S u_r = sum_i lambda_i langle v_i cdot u_r rangle^2 $$



but, I can also write the orthonormal decomposition of eigenvectors of $S$ in basis ${u_r, u_o}$, which would give me,



$$lambda_r = sum_i langle lambda_i v_i cdot u_r rangle = sum_i lambda_i langle v_i cdot u_r rangle $$



Why is there this discrepancy in the two definition for what I think is the same quantity?










share|cite|improve this question






















  • I dont understand, you are projecting a matrix in the direction of a vector?
    – Javi
    Nov 15 at 3:44













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have a question on matrix projection.



For any matrix : $S$



$$S = sum_i lambda_i v_i v_i^T$$



So to have a component of this matrix in arbitrary $u_r$ and $u_o$ directions. Here ${u_r, u_o}$ are arbitrary orthonormal basis.



I can write the projection into one direction as,



$$lambda_r = u_r^T S u_r = sum_i lambda_i langle v_i cdot u_r rangle^2 $$



but, I can also write the orthonormal decomposition of eigenvectors of $S$ in basis ${u_r, u_o}$, which would give me,



$$lambda_r = sum_i langle lambda_i v_i cdot u_r rangle = sum_i lambda_i langle v_i cdot u_r rangle $$



Why is there this discrepancy in the two definition for what I think is the same quantity?










share|cite|improve this question













I have a question on matrix projection.



For any matrix : $S$



$$S = sum_i lambda_i v_i v_i^T$$



So to have a component of this matrix in arbitrary $u_r$ and $u_o$ directions. Here ${u_r, u_o}$ are arbitrary orthonormal basis.



I can write the projection into one direction as,



$$lambda_r = u_r^T S u_r = sum_i lambda_i langle v_i cdot u_r rangle^2 $$



but, I can also write the orthonormal decomposition of eigenvectors of $S$ in basis ${u_r, u_o}$, which would give me,



$$lambda_r = sum_i langle lambda_i v_i cdot u_r rangle = sum_i lambda_i langle v_i cdot u_r rangle $$



Why is there this discrepancy in the two definition for what I think is the same quantity?







linear-algebra projection






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 13 at 10:07









hadi k

1263




1263












  • I dont understand, you are projecting a matrix in the direction of a vector?
    – Javi
    Nov 15 at 3:44


















  • I dont understand, you are projecting a matrix in the direction of a vector?
    – Javi
    Nov 15 at 3:44
















I dont understand, you are projecting a matrix in the direction of a vector?
– Javi
Nov 15 at 3:44




I dont understand, you are projecting a matrix in the direction of a vector?
– Javi
Nov 15 at 3:44















active

oldest

votes











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%2f2996560%2fprojection-of-matrix-in-a-vector-direction%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2996560%2fprojection-of-matrix-in-a-vector-direction%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

How do I know what Microsoft account the skydrive app is syncing to?

When does type information flow backwards in C++?

Grease: Live!