Confusion about the tensor product and matrix multiplication












1












$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?










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Have you tried writing out the implicit sums in that expression explicitly?
    $endgroup$
    – amd
    Jan 12 at 23:44
















1












$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?










share|cite|improve this question









$endgroup$








  • 2




    $begingroup$
    Have you tried writing out the implicit sums in that expression explicitly?
    $endgroup$
    – amd
    Jan 12 at 23:44














1












1








1





$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?










share|cite|improve this question









$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






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










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














  • 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










1 Answer
1






active

oldest

votes


















2












$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}.
$$






share|cite|improve this answer









$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











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









2












$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}.
$$






share|cite|improve this answer









$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
















2












$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}.
$$






share|cite|improve this answer









$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














2












2








2





$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}.
$$






share|cite|improve this answer









$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}.
$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










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














  • 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


















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%2f3071491%2fconfusion-about-the-tensor-product-and-matrix-multiplication%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