Confusion about the tensor product and matrix multiplication
$begingroup$
This is a question I came across looking at special relativity and tensor products.
For example, we have the metric tensor and its corresponding matrix representation
$$ g_{munu} = g^{munu} =begin{bmatrix}
1 & 0 & 0 & 0 \
0 & -1 & 0 & 0 \
0 & 0 & -1 & 0 \
0 & 0 & 0 & -1 \
end{bmatrix}$$
which looks the same in co- and contravariant form. Another example would be the Lorentz transformation along the $x$-axis given by:
$$ {Lambda^mu}_{nu} =begin{bmatrix}
gamma & -gammabeta & 0 & 0 \
-gammabeta & gamma & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1 \
end{bmatrix}$$
and the electromagnetic field:
$$ F^{munu} = begin{bmatrix}
0 & E_x & E_y & E_z \
E_x & 0 & -B_z & B_y \
E_y & B_z & 0 & -B_x \
E_z & -B_y & B_x & 0
end{bmatrix} $$
If we want to calculate the form of $F^{munu}$ in a moving coordinate frame we have to transform the elelectromagnetic field tensor:
$$F'^{munu} = {Lambda^mu}_{alpha} {Lambda^nu}_{beta} F^{alphabeta}$$
This is sometimes calculated as a matrix product
$$ F' = Lambda F Lambda $$
My question is now whether there is a simple way to see this product from the above notation using the indices. I think the right matrix $Lambda$ should actually be a transpose (it does not matter for the given example). Is there a generalization for this?
matrices notation tensor-products
$endgroup$
add a comment |
$begingroup$
This is a question I came across looking at special relativity and tensor products.
For example, we have the metric tensor and its corresponding matrix representation
$$ g_{munu} = g^{munu} =begin{bmatrix}
1 & 0 & 0 & 0 \
0 & -1 & 0 & 0 \
0 & 0 & -1 & 0 \
0 & 0 & 0 & -1 \
end{bmatrix}$$
which looks the same in co- and contravariant form. Another example would be the Lorentz transformation along the $x$-axis given by:
$$ {Lambda^mu}_{nu} =begin{bmatrix}
gamma & -gammabeta & 0 & 0 \
-gammabeta & gamma & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1 \
end{bmatrix}$$
and the electromagnetic field:
$$ F^{munu} = begin{bmatrix}
0 & E_x & E_y & E_z \
E_x & 0 & -B_z & B_y \
E_y & B_z & 0 & -B_x \
E_z & -B_y & B_x & 0
end{bmatrix} $$
If we want to calculate the form of $F^{munu}$ in a moving coordinate frame we have to transform the elelectromagnetic field tensor:
$$F'^{munu} = {Lambda^mu}_{alpha} {Lambda^nu}_{beta} F^{alphabeta}$$
This is sometimes calculated as a matrix product
$$ F' = Lambda F Lambda $$
My question is now whether there is a simple way to see this product from the above notation using the indices. I think the right matrix $Lambda$ should actually be a transpose (it does not matter for the given example). Is there a generalization for this?
matrices notation tensor-products
$endgroup$
2
$begingroup$
Have you tried writing out the implicit sums in that expression explicitly?
$endgroup$
– amd
Jan 12 at 23:44
add a comment |
$begingroup$
This is a question I came across looking at special relativity and tensor products.
For example, we have the metric tensor and its corresponding matrix representation
$$ g_{munu} = g^{munu} =begin{bmatrix}
1 & 0 & 0 & 0 \
0 & -1 & 0 & 0 \
0 & 0 & -1 & 0 \
0 & 0 & 0 & -1 \
end{bmatrix}$$
which looks the same in co- and contravariant form. Another example would be the Lorentz transformation along the $x$-axis given by:
$$ {Lambda^mu}_{nu} =begin{bmatrix}
gamma & -gammabeta & 0 & 0 \
-gammabeta & gamma & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1 \
end{bmatrix}$$
and the electromagnetic field:
$$ F^{munu} = begin{bmatrix}
0 & E_x & E_y & E_z \
E_x & 0 & -B_z & B_y \
E_y & B_z & 0 & -B_x \
E_z & -B_y & B_x & 0
end{bmatrix} $$
If we want to calculate the form of $F^{munu}$ in a moving coordinate frame we have to transform the elelectromagnetic field tensor:
$$F'^{munu} = {Lambda^mu}_{alpha} {Lambda^nu}_{beta} F^{alphabeta}$$
This is sometimes calculated as a matrix product
$$ F' = Lambda F Lambda $$
My question is now whether there is a simple way to see this product from the above notation using the indices. I think the right matrix $Lambda$ should actually be a transpose (it does not matter for the given example). Is there a generalization for this?
matrices notation tensor-products
$endgroup$
This is a question I came across looking at special relativity and tensor products.
For example, we have the metric tensor and its corresponding matrix representation
$$ g_{munu} = g^{munu} =begin{bmatrix}
1 & 0 & 0 & 0 \
0 & -1 & 0 & 0 \
0 & 0 & -1 & 0 \
0 & 0 & 0 & -1 \
end{bmatrix}$$
which looks the same in co- and contravariant form. Another example would be the Lorentz transformation along the $x$-axis given by:
$$ {Lambda^mu}_{nu} =begin{bmatrix}
gamma & -gammabeta & 0 & 0 \
-gammabeta & gamma & 0 & 0 \
0 & 0 & 1 & 0 \
0 & 0 & 0 & 1 \
end{bmatrix}$$
and the electromagnetic field:
$$ F^{munu} = begin{bmatrix}
0 & E_x & E_y & E_z \
E_x & 0 & -B_z & B_y \
E_y & B_z & 0 & -B_x \
E_z & -B_y & B_x & 0
end{bmatrix} $$
If we want to calculate the form of $F^{munu}$ in a moving coordinate frame we have to transform the elelectromagnetic field tensor:
$$F'^{munu} = {Lambda^mu}_{alpha} {Lambda^nu}_{beta} F^{alphabeta}$$
This is sometimes calculated as a matrix product
$$ F' = Lambda F Lambda $$
My question is now whether there is a simple way to see this product from the above notation using the indices. I think the right matrix $Lambda$ should actually be a transpose (it does not matter for the given example). Is there a generalization for this?
matrices notation tensor-products
matrices notation tensor-products
asked Jan 12 at 23:00
HerpDerpingtonHerpDerpington
1155
1155
2
$begingroup$
Have you tried writing out the implicit sums in that expression explicitly?
$endgroup$
– amd
Jan 12 at 23:44
add a comment |
2
$begingroup$
Have you tried writing out the implicit sums in that expression explicitly?
$endgroup$
– amd
Jan 12 at 23:44
2
2
$begingroup$
Have you tried writing out the implicit sums in that expression explicitly?
$endgroup$
– amd
Jan 12 at 23:44
$begingroup$
Have you tried writing out the implicit sums in that expression explicitly?
$endgroup$
– amd
Jan 12 at 23:44
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
In index notation, matrix multiplication takes the following form:
$$
(AB)_{i}^j=A_{i}^kB_{k}^j,
$$
which for three matrices (relevant to the case at hand) looks like this:
$$
(ABC)_{i}^j=A_{i}^kB_{k}^lC_l^j.
$$
Thus, we may write
$$
(Lambda FLambda)_{mu}^{nu}=Lambda_mu^alpha F_alpha^betaLambda_beta^nu.
$$
We can rewrite this as
$$
Lambda_mu^alpha Lambda_beta^nu F_alpha^beta.
$$
Finally, note that $Lambda_mu^alpha F_alpha^beta = Lambda^mu_alpha F^{alphabeta}$ (since $Lambda$ is a symmetric matrix), giving the expression
$$
Lambda_alpha^mu Lambda_beta^nu F^{alphabeta}.
$$
$endgroup$
1
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3071491%2fconfusion-about-the-tensor-product-and-matrix-multiplication%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
$begingroup$
In index notation, matrix multiplication takes the following form:
$$
(AB)_{i}^j=A_{i}^kB_{k}^j,
$$
which for three matrices (relevant to the case at hand) looks like this:
$$
(ABC)_{i}^j=A_{i}^kB_{k}^lC_l^j.
$$
Thus, we may write
$$
(Lambda FLambda)_{mu}^{nu}=Lambda_mu^alpha F_alpha^betaLambda_beta^nu.
$$
We can rewrite this as
$$
Lambda_mu^alpha Lambda_beta^nu F_alpha^beta.
$$
Finally, note that $Lambda_mu^alpha F_alpha^beta = Lambda^mu_alpha F^{alphabeta}$ (since $Lambda$ is a symmetric matrix), giving the expression
$$
Lambda_alpha^mu Lambda_beta^nu F^{alphabeta}.
$$
$endgroup$
1
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
add a comment |
$begingroup$
In index notation, matrix multiplication takes the following form:
$$
(AB)_{i}^j=A_{i}^kB_{k}^j,
$$
which for three matrices (relevant to the case at hand) looks like this:
$$
(ABC)_{i}^j=A_{i}^kB_{k}^lC_l^j.
$$
Thus, we may write
$$
(Lambda FLambda)_{mu}^{nu}=Lambda_mu^alpha F_alpha^betaLambda_beta^nu.
$$
We can rewrite this as
$$
Lambda_mu^alpha Lambda_beta^nu F_alpha^beta.
$$
Finally, note that $Lambda_mu^alpha F_alpha^beta = Lambda^mu_alpha F^{alphabeta}$ (since $Lambda$ is a symmetric matrix), giving the expression
$$
Lambda_alpha^mu Lambda_beta^nu F^{alphabeta}.
$$
$endgroup$
1
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
add a comment |
$begingroup$
In index notation, matrix multiplication takes the following form:
$$
(AB)_{i}^j=A_{i}^kB_{k}^j,
$$
which for three matrices (relevant to the case at hand) looks like this:
$$
(ABC)_{i}^j=A_{i}^kB_{k}^lC_l^j.
$$
Thus, we may write
$$
(Lambda FLambda)_{mu}^{nu}=Lambda_mu^alpha F_alpha^betaLambda_beta^nu.
$$
We can rewrite this as
$$
Lambda_mu^alpha Lambda_beta^nu F_alpha^beta.
$$
Finally, note that $Lambda_mu^alpha F_alpha^beta = Lambda^mu_alpha F^{alphabeta}$ (since $Lambda$ is a symmetric matrix), giving the expression
$$
Lambda_alpha^mu Lambda_beta^nu F^{alphabeta}.
$$
$endgroup$
In index notation, matrix multiplication takes the following form:
$$
(AB)_{i}^j=A_{i}^kB_{k}^j,
$$
which for three matrices (relevant to the case at hand) looks like this:
$$
(ABC)_{i}^j=A_{i}^kB_{k}^lC_l^j.
$$
Thus, we may write
$$
(Lambda FLambda)_{mu}^{nu}=Lambda_mu^alpha F_alpha^betaLambda_beta^nu.
$$
We can rewrite this as
$$
Lambda_mu^alpha Lambda_beta^nu F_alpha^beta.
$$
Finally, note that $Lambda_mu^alpha F_alpha^beta = Lambda^mu_alpha F^{alphabeta}$ (since $Lambda$ is a symmetric matrix), giving the expression
$$
Lambda_alpha^mu Lambda_beta^nu F^{alphabeta}.
$$
answered Jan 13 at 3:14
pre-kidneypre-kidney
12.9k1748
12.9k1748
1
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
add a comment |
1
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
1
1
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
$begingroup$
This takes nicely care of the numeric values, but I can't help thinking there ought to be some notation to handle how the left index of $F$ is apparently being raised and lowered using $I=Delta(1,1,1,1)$ instead of $g=Delta(1,-1,-1,-1)$. Perhaps it would be clearer to stagger the indices?
$endgroup$
– Henning Makholm
Jan 13 at 3:35
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3071491%2fconfusion-about-the-tensor-product-and-matrix-multiplication%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
2
$begingroup$
Have you tried writing out the implicit sums in that expression explicitly?
$endgroup$
– amd
Jan 12 at 23:44