Expectation of $A^TXA$ for random $A$ and $X$












1












$begingroup$


Suppose there are two random matrices (distribution unknown), denoted as $A$ and $X$, both in the $mathbb{R}^{n times n}$ space. It is known that $|A| leq 1$ (for any $p$-norm) and $E[X]geq0$. I hope to evaluate the following expectation
$$E[A^TXA]$$
to be in terms of $E[X]$. My first instinct is to break it down into element-wise expression but it is quite messy and difficult to reconstruct the matrix form. Is there any smarter way to do this?



Thanks a lot!










share|cite|improve this question











$endgroup$












  • $begingroup$
    Curious, what book do you use for random matrices?
    $endgroup$
    – Hermit with Adjoint
    Jan 11 at 2:22












  • $begingroup$
    $A$ and $X$ are independent of each other?
    $endgroup$
    – Lee
    Jan 11 at 2:44










  • $begingroup$
    @Lee May I ask how did you get this conclusion?
    $endgroup$
    – Penthrite
    Jan 11 at 2:50










  • $begingroup$
    @Penthrite I think it was wrong
    $endgroup$
    – Lee
    Jan 11 at 2:53










  • $begingroup$
    oh yes, maybe this one: $E[A^TXA]=trE[XAA^T]=tr{E[X]E[AA^T]}$
    $endgroup$
    – Lee
    Jan 11 at 2:56
















1












$begingroup$


Suppose there are two random matrices (distribution unknown), denoted as $A$ and $X$, both in the $mathbb{R}^{n times n}$ space. It is known that $|A| leq 1$ (for any $p$-norm) and $E[X]geq0$. I hope to evaluate the following expectation
$$E[A^TXA]$$
to be in terms of $E[X]$. My first instinct is to break it down into element-wise expression but it is quite messy and difficult to reconstruct the matrix form. Is there any smarter way to do this?



Thanks a lot!










share|cite|improve this question











$endgroup$












  • $begingroup$
    Curious, what book do you use for random matrices?
    $endgroup$
    – Hermit with Adjoint
    Jan 11 at 2:22












  • $begingroup$
    $A$ and $X$ are independent of each other?
    $endgroup$
    – Lee
    Jan 11 at 2:44










  • $begingroup$
    @Lee May I ask how did you get this conclusion?
    $endgroup$
    – Penthrite
    Jan 11 at 2:50










  • $begingroup$
    @Penthrite I think it was wrong
    $endgroup$
    – Lee
    Jan 11 at 2:53










  • $begingroup$
    oh yes, maybe this one: $E[A^TXA]=trE[XAA^T]=tr{E[X]E[AA^T]}$
    $endgroup$
    – Lee
    Jan 11 at 2:56














1












1








1





$begingroup$


Suppose there are two random matrices (distribution unknown), denoted as $A$ and $X$, both in the $mathbb{R}^{n times n}$ space. It is known that $|A| leq 1$ (for any $p$-norm) and $E[X]geq0$. I hope to evaluate the following expectation
$$E[A^TXA]$$
to be in terms of $E[X]$. My first instinct is to break it down into element-wise expression but it is quite messy and difficult to reconstruct the matrix form. Is there any smarter way to do this?



Thanks a lot!










share|cite|improve this question











$endgroup$




Suppose there are two random matrices (distribution unknown), denoted as $A$ and $X$, both in the $mathbb{R}^{n times n}$ space. It is known that $|A| leq 1$ (for any $p$-norm) and $E[X]geq0$. I hope to evaluate the following expectation
$$E[A^TXA]$$
to be in terms of $E[X]$. My first instinct is to break it down into element-wise expression but it is quite messy and difficult to reconstruct the matrix form. Is there any smarter way to do this?



Thanks a lot!







expected-value random-matrices






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 11 at 4:13







Penthrite

















asked Jan 11 at 2:10









PenthritePenthrite

377




377












  • $begingroup$
    Curious, what book do you use for random matrices?
    $endgroup$
    – Hermit with Adjoint
    Jan 11 at 2:22












  • $begingroup$
    $A$ and $X$ are independent of each other?
    $endgroup$
    – Lee
    Jan 11 at 2:44










  • $begingroup$
    @Lee May I ask how did you get this conclusion?
    $endgroup$
    – Penthrite
    Jan 11 at 2:50










  • $begingroup$
    @Penthrite I think it was wrong
    $endgroup$
    – Lee
    Jan 11 at 2:53










  • $begingroup$
    oh yes, maybe this one: $E[A^TXA]=trE[XAA^T]=tr{E[X]E[AA^T]}$
    $endgroup$
    – Lee
    Jan 11 at 2:56


















  • $begingroup$
    Curious, what book do you use for random matrices?
    $endgroup$
    – Hermit with Adjoint
    Jan 11 at 2:22












  • $begingroup$
    $A$ and $X$ are independent of each other?
    $endgroup$
    – Lee
    Jan 11 at 2:44










  • $begingroup$
    @Lee May I ask how did you get this conclusion?
    $endgroup$
    – Penthrite
    Jan 11 at 2:50










  • $begingroup$
    @Penthrite I think it was wrong
    $endgroup$
    – Lee
    Jan 11 at 2:53










  • $begingroup$
    oh yes, maybe this one: $E[A^TXA]=trE[XAA^T]=tr{E[X]E[AA^T]}$
    $endgroup$
    – Lee
    Jan 11 at 2:56
















$begingroup$
Curious, what book do you use for random matrices?
$endgroup$
– Hermit with Adjoint
Jan 11 at 2:22






$begingroup$
Curious, what book do you use for random matrices?
$endgroup$
– Hermit with Adjoint
Jan 11 at 2:22














$begingroup$
$A$ and $X$ are independent of each other?
$endgroup$
– Lee
Jan 11 at 2:44




$begingroup$
$A$ and $X$ are independent of each other?
$endgroup$
– Lee
Jan 11 at 2:44












$begingroup$
@Lee May I ask how did you get this conclusion?
$endgroup$
– Penthrite
Jan 11 at 2:50




$begingroup$
@Lee May I ask how did you get this conclusion?
$endgroup$
– Penthrite
Jan 11 at 2:50












$begingroup$
@Penthrite I think it was wrong
$endgroup$
– Lee
Jan 11 at 2:53




$begingroup$
@Penthrite I think it was wrong
$endgroup$
– Lee
Jan 11 at 2:53












$begingroup$
oh yes, maybe this one: $E[A^TXA]=trE[XAA^T]=tr{E[X]E[AA^T]}$
$endgroup$
– Lee
Jan 11 at 2:56




$begingroup$
oh yes, maybe this one: $E[A^TXA]=trE[XAA^T]=tr{E[X]E[AA^T]}$
$endgroup$
– Lee
Jan 11 at 2:56










1 Answer
1






active

oldest

votes


















0












$begingroup$

Let $X = [x_1,x_2,cdots, x_n].$ Then $AX = [sum_{k=1}^{n}a_{1k}x_{k},sum_{k=1}^{n}a_{2k}x_{k},cdots, sum_{k=1}^{n}a_{nk}x_{k}]$
and so $$X^{t}AX= sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}$$
and so $$E[X^tAX] = Eleft[sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}right] = sum_{i=1}^{n}sum_{k=1}^{n}Eleft[a_{ik}x_{i}x_{k}right].$$
Since
$$E(XYZ) = E(XY)bar{Z} + Cov(XY, Z)$$
for any three $X,Y,Z$ random variables we have that,
$$E[x_{i}x_{k}a_{ik}] = E[x_{i}x_{k}]E[a_{ik}]+Cov(x_ix_k,a_{ik})$$
$$=E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}),$$
where $C$ is the covariance matrix of $X.$
So we have that



$$E[X^tAX] =sum_{i=1}^{n}sum_{k=1}^{n}E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}) $$
$$ = text{Trace}(E[A]C)+text{Trace}(K)$$
where $K$ is the covariance matrix of with each entry as $text{Cov}(a_{ij},c_{mn}).$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    From the question, $X$ is an $ntimes n$ matrix, not a vector
    $endgroup$
    – nemo
    Jan 11 at 10:03










  • $begingroup$
    I think I got the notation wrong. $X$ stands for $A$
    $endgroup$
    – Hello_World
    Jan 11 at 10:06










  • $begingroup$
    Both $A$ and $X$ are matrices according to the OP
    $endgroup$
    – nemo
    Jan 11 at 14:55











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%2f3069417%2fexpectation-of-atxa-for-random-a-and-x%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









0












$begingroup$

Let $X = [x_1,x_2,cdots, x_n].$ Then $AX = [sum_{k=1}^{n}a_{1k}x_{k},sum_{k=1}^{n}a_{2k}x_{k},cdots, sum_{k=1}^{n}a_{nk}x_{k}]$
and so $$X^{t}AX= sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}$$
and so $$E[X^tAX] = Eleft[sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}right] = sum_{i=1}^{n}sum_{k=1}^{n}Eleft[a_{ik}x_{i}x_{k}right].$$
Since
$$E(XYZ) = E(XY)bar{Z} + Cov(XY, Z)$$
for any three $X,Y,Z$ random variables we have that,
$$E[x_{i}x_{k}a_{ik}] = E[x_{i}x_{k}]E[a_{ik}]+Cov(x_ix_k,a_{ik})$$
$$=E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}),$$
where $C$ is the covariance matrix of $X.$
So we have that



$$E[X^tAX] =sum_{i=1}^{n}sum_{k=1}^{n}E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}) $$
$$ = text{Trace}(E[A]C)+text{Trace}(K)$$
where $K$ is the covariance matrix of with each entry as $text{Cov}(a_{ij},c_{mn}).$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    From the question, $X$ is an $ntimes n$ matrix, not a vector
    $endgroup$
    – nemo
    Jan 11 at 10:03










  • $begingroup$
    I think I got the notation wrong. $X$ stands for $A$
    $endgroup$
    – Hello_World
    Jan 11 at 10:06










  • $begingroup$
    Both $A$ and $X$ are matrices according to the OP
    $endgroup$
    – nemo
    Jan 11 at 14:55
















0












$begingroup$

Let $X = [x_1,x_2,cdots, x_n].$ Then $AX = [sum_{k=1}^{n}a_{1k}x_{k},sum_{k=1}^{n}a_{2k}x_{k},cdots, sum_{k=1}^{n}a_{nk}x_{k}]$
and so $$X^{t}AX= sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}$$
and so $$E[X^tAX] = Eleft[sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}right] = sum_{i=1}^{n}sum_{k=1}^{n}Eleft[a_{ik}x_{i}x_{k}right].$$
Since
$$E(XYZ) = E(XY)bar{Z} + Cov(XY, Z)$$
for any three $X,Y,Z$ random variables we have that,
$$E[x_{i}x_{k}a_{ik}] = E[x_{i}x_{k}]E[a_{ik}]+Cov(x_ix_k,a_{ik})$$
$$=E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}),$$
where $C$ is the covariance matrix of $X.$
So we have that



$$E[X^tAX] =sum_{i=1}^{n}sum_{k=1}^{n}E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}) $$
$$ = text{Trace}(E[A]C)+text{Trace}(K)$$
where $K$ is the covariance matrix of with each entry as $text{Cov}(a_{ij},c_{mn}).$






share|cite|improve this answer











$endgroup$













  • $begingroup$
    From the question, $X$ is an $ntimes n$ matrix, not a vector
    $endgroup$
    – nemo
    Jan 11 at 10:03










  • $begingroup$
    I think I got the notation wrong. $X$ stands for $A$
    $endgroup$
    – Hello_World
    Jan 11 at 10:06










  • $begingroup$
    Both $A$ and $X$ are matrices according to the OP
    $endgroup$
    – nemo
    Jan 11 at 14:55














0












0








0





$begingroup$

Let $X = [x_1,x_2,cdots, x_n].$ Then $AX = [sum_{k=1}^{n}a_{1k}x_{k},sum_{k=1}^{n}a_{2k}x_{k},cdots, sum_{k=1}^{n}a_{nk}x_{k}]$
and so $$X^{t}AX= sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}$$
and so $$E[X^tAX] = Eleft[sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}right] = sum_{i=1}^{n}sum_{k=1}^{n}Eleft[a_{ik}x_{i}x_{k}right].$$
Since
$$E(XYZ) = E(XY)bar{Z} + Cov(XY, Z)$$
for any three $X,Y,Z$ random variables we have that,
$$E[x_{i}x_{k}a_{ik}] = E[x_{i}x_{k}]E[a_{ik}]+Cov(x_ix_k,a_{ik})$$
$$=E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}),$$
where $C$ is the covariance matrix of $X.$
So we have that



$$E[X^tAX] =sum_{i=1}^{n}sum_{k=1}^{n}E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}) $$
$$ = text{Trace}(E[A]C)+text{Trace}(K)$$
where $K$ is the covariance matrix of with each entry as $text{Cov}(a_{ij},c_{mn}).$






share|cite|improve this answer











$endgroup$



Let $X = [x_1,x_2,cdots, x_n].$ Then $AX = [sum_{k=1}^{n}a_{1k}x_{k},sum_{k=1}^{n}a_{2k}x_{k},cdots, sum_{k=1}^{n}a_{nk}x_{k}]$
and so $$X^{t}AX= sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}$$
and so $$E[X^tAX] = Eleft[sum_{i=1}^{n}sum_{k=1}^{n}a_{ik}x_{i}x_{k}right] = sum_{i=1}^{n}sum_{k=1}^{n}Eleft[a_{ik}x_{i}x_{k}right].$$
Since
$$E(XYZ) = E(XY)bar{Z} + Cov(XY, Z)$$
for any three $X,Y,Z$ random variables we have that,
$$E[x_{i}x_{k}a_{ik}] = E[x_{i}x_{k}]E[a_{ik}]+Cov(x_ix_k,a_{ik})$$
$$=E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}),$$
where $C$ is the covariance matrix of $X.$
So we have that



$$E[X^tAX] =sum_{i=1}^{n}sum_{k=1}^{n}E[a_{ik}]c_{ki}+Cov(a_{ik},c_{ki}) $$
$$ = text{Trace}(E[A]C)+text{Trace}(K)$$
where $K$ is the covariance matrix of with each entry as $text{Cov}(a_{ij},c_{mn}).$







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Jan 11 at 4:50

























answered Jan 11 at 4:32









Hello_WorldHello_World

4,12621731




4,12621731












  • $begingroup$
    From the question, $X$ is an $ntimes n$ matrix, not a vector
    $endgroup$
    – nemo
    Jan 11 at 10:03










  • $begingroup$
    I think I got the notation wrong. $X$ stands for $A$
    $endgroup$
    – Hello_World
    Jan 11 at 10:06










  • $begingroup$
    Both $A$ and $X$ are matrices according to the OP
    $endgroup$
    – nemo
    Jan 11 at 14:55


















  • $begingroup$
    From the question, $X$ is an $ntimes n$ matrix, not a vector
    $endgroup$
    – nemo
    Jan 11 at 10:03










  • $begingroup$
    I think I got the notation wrong. $X$ stands for $A$
    $endgroup$
    – Hello_World
    Jan 11 at 10:06










  • $begingroup$
    Both $A$ and $X$ are matrices according to the OP
    $endgroup$
    – nemo
    Jan 11 at 14:55
















$begingroup$
From the question, $X$ is an $ntimes n$ matrix, not a vector
$endgroup$
– nemo
Jan 11 at 10:03




$begingroup$
From the question, $X$ is an $ntimes n$ matrix, not a vector
$endgroup$
– nemo
Jan 11 at 10:03












$begingroup$
I think I got the notation wrong. $X$ stands for $A$
$endgroup$
– Hello_World
Jan 11 at 10:06




$begingroup$
I think I got the notation wrong. $X$ stands for $A$
$endgroup$
– Hello_World
Jan 11 at 10:06












$begingroup$
Both $A$ and $X$ are matrices according to the OP
$endgroup$
– nemo
Jan 11 at 14:55




$begingroup$
Both $A$ and $X$ are matrices according to the OP
$endgroup$
– nemo
Jan 11 at 14:55


















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%2f3069417%2fexpectation-of-atxa-for-random-a-and-x%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

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

SQL update select statement

WPF add header to Image with URL pettitions [duplicate]