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












1












$begingroup$


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











$endgroup$












  • $begingroup$
    that doesn't seem to be true. take x, y such that $x^{T}y=0$
    $endgroup$
    – zimbra314
    Jan 3 at 15:13










  • $begingroup$
    @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    $endgroup$
    – Saeed
    Jan 3 at 15:23










  • $begingroup$
    Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    $endgroup$
    – zimbra314
    Jan 3 at 15:55
















1












$begingroup$


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











$endgroup$












  • $begingroup$
    that doesn't seem to be true. take x, y such that $x^{T}y=0$
    $endgroup$
    – zimbra314
    Jan 3 at 15:13










  • $begingroup$
    @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    $endgroup$
    – Saeed
    Jan 3 at 15:23










  • $begingroup$
    Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    $endgroup$
    – zimbra314
    Jan 3 at 15:55














1












1








1





$begingroup$


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











$endgroup$




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 Jan 3 at 15:15







Saeed

















asked Jan 3 at 14:25









SaeedSaeed

913310




913310












  • $begingroup$
    that doesn't seem to be true. take x, y such that $x^{T}y=0$
    $endgroup$
    – zimbra314
    Jan 3 at 15:13










  • $begingroup$
    @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    $endgroup$
    – Saeed
    Jan 3 at 15:23










  • $begingroup$
    Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    $endgroup$
    – zimbra314
    Jan 3 at 15:55


















  • $begingroup$
    that doesn't seem to be true. take x, y such that $x^{T}y=0$
    $endgroup$
    – zimbra314
    Jan 3 at 15:13










  • $begingroup$
    @ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
    $endgroup$
    – Saeed
    Jan 3 at 15:23










  • $begingroup$
    Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
    $endgroup$
    – zimbra314
    Jan 3 at 15:55
















$begingroup$
that doesn't seem to be true. take x, y such that $x^{T}y=0$
$endgroup$
– zimbra314
Jan 3 at 15:13




$begingroup$
that doesn't seem to be true. take x, y such that $x^{T}y=0$
$endgroup$
– zimbra314
Jan 3 at 15:13












$begingroup$
@ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
$endgroup$
– Saeed
Jan 3 at 15:23




$begingroup$
@ zimbra314: Could you take a look at the paper that I have cited. It is a well-known paper.
$endgroup$
– Saeed
Jan 3 at 15:23












$begingroup$
Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
$endgroup$
– zimbra314
Jan 3 at 15:55




$begingroup$
Evenif the inequality was true (which it is not), equation 8 on page 7 will change its inequality sign so equation 8 is wrong.
$endgroup$
– zimbra314
Jan 3 at 15:55










1 Answer
1






active

oldest

votes


















1












$begingroup$

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









$endgroup$













  • $begingroup$
    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.
    $endgroup$
    – Saeed
    Jan 3 at 15:12










  • $begingroup$
    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.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:24










  • $begingroup$
    But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    $endgroup$
    – Saeed
    Jan 3 at 15:28










  • $begingroup$
    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$.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:32













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












$begingroup$

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









$endgroup$













  • $begingroup$
    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.
    $endgroup$
    – Saeed
    Jan 3 at 15:12










  • $begingroup$
    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.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:24










  • $begingroup$
    But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    $endgroup$
    – Saeed
    Jan 3 at 15:28










  • $begingroup$
    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$.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:32


















1












$begingroup$

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









$endgroup$













  • $begingroup$
    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.
    $endgroup$
    – Saeed
    Jan 3 at 15:12










  • $begingroup$
    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.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:24










  • $begingroup$
    But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    $endgroup$
    – Saeed
    Jan 3 at 15:28










  • $begingroup$
    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$.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:32
















1












1








1





$begingroup$

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









$endgroup$



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 Jan 3 at 15:04









mathcounterexamples.netmathcounterexamples.net

25.8k21954




25.8k21954












  • $begingroup$
    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.
    $endgroup$
    – Saeed
    Jan 3 at 15:12










  • $begingroup$
    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.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:24










  • $begingroup$
    But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    $endgroup$
    – Saeed
    Jan 3 at 15:28










  • $begingroup$
    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$.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:32




















  • $begingroup$
    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.
    $endgroup$
    – Saeed
    Jan 3 at 15:12










  • $begingroup$
    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.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:24










  • $begingroup$
    But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
    $endgroup$
    – Saeed
    Jan 3 at 15:28










  • $begingroup$
    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$.
    $endgroup$
    – mathcounterexamples.net
    Jan 3 at 15:32


















$begingroup$
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.
$endgroup$
– Saeed
Jan 3 at 15:12




$begingroup$
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.
$endgroup$
– Saeed
Jan 3 at 15:12












$begingroup$
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.
$endgroup$
– mathcounterexamples.net
Jan 3 at 15:24




$begingroup$
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.
$endgroup$
– mathcounterexamples.net
Jan 3 at 15:24












$begingroup$
But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
$endgroup$
– Saeed
Jan 3 at 15:28




$begingroup$
But it uses at equation (8), could you take a look, I have spent a day on that to figure it out.
$endgroup$
– Saeed
Jan 3 at 15:28












$begingroup$
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$.
$endgroup$
– mathcounterexamples.net
Jan 3 at 15:32






$begingroup$
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$.
$endgroup$
– mathcounterexamples.net
Jan 3 at 15:32




















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%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

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

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