How to show $|x-y|_2^2 leq |x|_2^2+2|x^Ty|$?












1














Let $x,y in mathbb{R}^n$.



How can I show the following
$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



The above has been used by the authors of the following paper on page 8, in first line
Online Principal Component Analysis.



Also, I think using the above for $M , N in mathbb{R}^{d times k}$ the following is true.
$$|M-N|_F^2 leq |M|_F^2+2|text{tr}(M^TN)|$$
where $|cdot|_F$ is Frobenius norm.










share|cite|improve this question
























  • that doesn't seem to be true. take x, y such that $x^{T}y=0$
    – zimbra314
    yesterday










  • @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    – Saeed
    yesterday










  • Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    – zimbra314
    yesterday
















1














Let $x,y in mathbb{R}^n$.



How can I show the following
$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



The above has been used by the authors of the following paper on page 8, in first line
Online Principal Component Analysis.



Also, I think using the above for $M , N in mathbb{R}^{d times k}$ the following is true.
$$|M-N|_F^2 leq |M|_F^2+2|text{tr}(M^TN)|$$
where $|cdot|_F$ is Frobenius norm.










share|cite|improve this question
























  • that doesn't seem to be true. take x, y such that $x^{T}y=0$
    – zimbra314
    yesterday










  • @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    – Saeed
    yesterday










  • Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    – zimbra314
    yesterday














1












1








1







Let $x,y in mathbb{R}^n$.



How can I show the following
$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



The above has been used by the authors of the following paper on page 8, in first line
Online Principal Component Analysis.



Also, I think using the above for $M , N in mathbb{R}^{d times k}$ the following is true.
$$|M-N|_F^2 leq |M|_F^2+2|text{tr}(M^TN)|$$
where $|cdot|_F$ is Frobenius norm.










share|cite|improve this question















Let $x,y in mathbb{R}^n$.



How can I show the following
$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



The above has been used by the authors of the following paper on page 8, in first line
Online Principal Component Analysis.



Also, I think using the above for $M , N in mathbb{R}^{d times k}$ the following is true.
$$|M-N|_F^2 leq |M|_F^2+2|text{tr}(M^TN)|$$
where $|cdot|_F$ is Frobenius norm.







linear-algebra inequality trace cauchy-schwarz-inequality






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited yesterday

























asked yesterday









Saeed

698310




698310












  • that doesn't seem to be true. take x, y such that $x^{T}y=0$
    – zimbra314
    yesterday










  • @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    – Saeed
    yesterday










  • Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    – zimbra314
    yesterday


















  • that doesn't seem to be true. take x, y such that $x^{T}y=0$
    – zimbra314
    yesterday










  • @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    – Saeed
    yesterday










  • Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    – zimbra314
    yesterday
















that doesn't seem to be true. take x, y such that $x^{T}y=0$
– zimbra314
yesterday




that doesn't seem to be true. take x, y such that $x^{T}y=0$
– zimbra314
yesterday












@ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
– Saeed
yesterday




@ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
– Saeed
yesterday












Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
– zimbra314
yesterday




Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
– zimbra314
yesterday










1 Answer
1






active

oldest

votes


















1














You'll have hard time to prove:



$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



Take $x = 0$ and $y neq 0$, you get:



$$|y|_2^2 le 0$$



which is unlikely.






share|cite|improve this answer





















  • But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
    – Saeed
    yesterday










  • There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
    – mathcounterexamples.net
    yesterday










  • But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    – Saeed
    yesterday










  • Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
    – mathcounterexamples.net
    yesterday













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%2f3060598%2fhow-to-show-x-y-22-leq-x-222xty%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














You'll have hard time to prove:



$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



Take $x = 0$ and $y neq 0$, you get:



$$|y|_2^2 le 0$$



which is unlikely.






share|cite|improve this answer





















  • But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
    – Saeed
    yesterday










  • There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
    – mathcounterexamples.net
    yesterday










  • But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    – Saeed
    yesterday










  • Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
    – mathcounterexamples.net
    yesterday


















1














You'll have hard time to prove:



$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



Take $x = 0$ and $y neq 0$, you get:



$$|y|_2^2 le 0$$



which is unlikely.






share|cite|improve this answer





















  • But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
    – Saeed
    yesterday










  • There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
    – mathcounterexamples.net
    yesterday










  • But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    – Saeed
    yesterday










  • Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
    – mathcounterexamples.net
    yesterday
















1












1








1






You'll have hard time to prove:



$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



Take $x = 0$ and $y neq 0$, you get:



$$|y|_2^2 le 0$$



which is unlikely.






share|cite|improve this answer












You'll have hard time to prove:



$$|x-y|_2^2 leq |x|_2^2+2|x^Ty|$$



Take $x = 0$ and $y neq 0$, you get:



$$|y|_2^2 le 0$$



which is unlikely.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered yesterday









mathcounterexamples.net

25k21853




25k21853












  • But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
    – Saeed
    yesterday










  • There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
    – mathcounterexamples.net
    yesterday










  • But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    – Saeed
    yesterday










  • Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
    – mathcounterexamples.net
    yesterday




















  • But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
    – Saeed
    yesterday










  • There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
    – mathcounterexamples.net
    yesterday










  • But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    – Saeed
    yesterday










  • Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
    – mathcounterexamples.net
    yesterday


















But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
– Saeed
yesterday




But in the following paper which is a well-known paper on page 8, in first line, the author claims this cs-www.cs.yale.edu/homes/el327/papers/opca.pdf. Maybe, for $x=0$ $y$ has to be zero.
– Saeed
yesterday












There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
– mathcounterexamples.net
yesterday




There is probably a typo in the paper. Take $n = 2$, $x=(0.1,0.0)$ and $y=(0,1)$. The inequality clearly doesn't hold.
– mathcounterexamples.net
yesterday












But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
– Saeed
yesterday




But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
– Saeed
yesterday












Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
– mathcounterexamples.net
yesterday






Sorry. I won't spend time on it. The inequality is clearly wrong. Just have a look at the counterexample I provided in the comment above. And make the computation ==> $0.1^2 + 1^2 nleq 0.1^2$.
– mathcounterexamples.net
yesterday




















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%2f3060598%2fhow-to-show-x-y-22-leq-x-222xty%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

1300-talet

1300-talet

Display a custom attribute below product name in the front-end Magento 1.9.3.8