Reordering of matrix multiplicationProving associativity of matrix multiplicationIsolate yaw-pitch-roll from rotationMultiplication of Rotation Matrices in quaternionWhat exactly does a rotation preserve?Condensing successive matrix rotations into one matrixrotation about $x$ and $y$ axis on the Bloch sphereMatrix Representation of Rotation in $mathbbR^3$Confused about rotation matricesrotate the helix using the rotation (Rz and Rx) equationsGeometric image transforms using matrix multiplicationGet translational component of particular matrix multiplication

How does Peano Postulates construct Natural numbers only?

Origin of Aliens in 'A Quiet Place'?

Do companies have non compete agreements between each other?

Why don't electrical receptacles have more than one ground?

Solving a knapsack problem with a lot of items

Pointlessly recurse down the alphabet

Do lag bolts need to be centered?

Simulate reproduction in a population of oozes

If I hold my action can I then use my reaction for something else?

Who is Gail Gasram?

Why is an array's dimension part of its type?

Rats biting off fuel line ( again and again and again )!

Algorithmic thinking problems

A New Math Operation?

What will happen to a ball kept on a frictionless inclined plane?

Too many pull requests in backlog

Does Airplane Mode allow GPS location to pass through?

Big equation writing in latex

Exactly what color was the text on monochrome terminals with green-on-black and amber-on-black screens?

What does play with feeling mean?

Does Estonia have discount supermarket chains like Aldi and Lidl?

In a world where Magic steam Engines exist what would keep people from making cars

How can medieval knights protects themselves against modern guns?

How to protect decking when it's already winter



Reordering of matrix multiplication


Proving associativity of matrix multiplicationIsolate yaw-pitch-roll from rotationMultiplication of Rotation Matrices in quaternionWhat exactly does a rotation preserve?Condensing successive matrix rotations into one matrixrotation about $x$ and $y$ axis on the Bloch sphereMatrix Representation of Rotation in $mathbbR^3$Confused about rotation matricesrotate the helix using the rotation (Rz and Rx) equationsGeometric image transforms using matrix multiplicationGet translational component of particular matrix multiplication






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;

.everyonelovesstackoverflowposition:absolute;height:1px;width:1px;opacity:0;top:0;left:0;pointer-events:none;








3















$begingroup$


I want to compute the matrix multiplication $ABA$, where $A$ and $B$ are real and orthogonal matrices. In fact, they are specifically $3times3$ rotation matrices. However, it is much easier if I can reverse the order of $BA$ somehow, because I can then perform the multiplication much easier.



I know that matrix multiplication is not commutative, however, I am asking because both $A$ and $B$ are orthogonal matrices, and hopefully, may be there is some trick to utilize their orthogonality to reorder the product.



I tried to solve this, but got stuck here:



$$
ABA = A((BA)^-1)^-1=A(A^-1B^-1)^-1
$$



Is there a way to proceed from here?



Edit:
I also know that matrix multiplication is associative; however, I am not after associativity here. I want to multiply the $A$ matrix by $A$ (or by its inverse/transpose), then multiply the result by $B$.



Edit:
To put this into context, consider the following product of rotation matrices
$$
R_x(theta)R_z(pi)R_x(theta)
$$

where, $R_x(theta)$ is the rotation matrix about the $x$-axis by $theta$, and $R_z(pi)$ is the rotation matrix about the $z$-axis by $pi$.



This product simplifies to $R_z(pi)$. Is it possible to come to this conclusion without carrying out the matrix multiplication of the three rotation matrices? I looks that the $R_x(theta)$ got cancelled somehow.










share|cite|improve this question











$endgroup$










  • 1




    $begingroup$
    How can the product $AB$ be easier then $BA$ ??? In any case, whatever the computation procedure, the result is $ABA$ in all cases !
    $endgroup$
    – Yves Daoust
    Sep 14 at 12:53











  • $begingroup$
    I did not say this, @Yves Daoust. Sorry for the misunderstanding. I said if I can reorder the $BA$, then the final product of the three matrices will be easier to compute.
    $endgroup$
    – user8396743
    Sep 14 at 12:57










  • $begingroup$
    How can it be if the result is the same ? There is no free lunch.
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:06











  • $begingroup$
    @Yves Daoust please read the context example I put at the end. It may give you some insight of what I am looking for. Also, read David K 's answer to have more insight about the example.
    $endgroup$
    – user8396743
    Sep 14 at 13:10










  • $begingroup$
    The product of three axial rotations is easy, as those matrices have a majority of zeroes/one. And it perfectly illustrates my comment: the final result is the same, whatever the computation procedure. mathworld.wolfram.com/EulerAngles.html
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:15


















3















$begingroup$


I want to compute the matrix multiplication $ABA$, where $A$ and $B$ are real and orthogonal matrices. In fact, they are specifically $3times3$ rotation matrices. However, it is much easier if I can reverse the order of $BA$ somehow, because I can then perform the multiplication much easier.



I know that matrix multiplication is not commutative, however, I am asking because both $A$ and $B$ are orthogonal matrices, and hopefully, may be there is some trick to utilize their orthogonality to reorder the product.



I tried to solve this, but got stuck here:



$$
ABA = A((BA)^-1)^-1=A(A^-1B^-1)^-1
$$



Is there a way to proceed from here?



Edit:
I also know that matrix multiplication is associative; however, I am not after associativity here. I want to multiply the $A$ matrix by $A$ (or by its inverse/transpose), then multiply the result by $B$.



Edit:
To put this into context, consider the following product of rotation matrices
$$
R_x(theta)R_z(pi)R_x(theta)
$$

where, $R_x(theta)$ is the rotation matrix about the $x$-axis by $theta$, and $R_z(pi)$ is the rotation matrix about the $z$-axis by $pi$.



This product simplifies to $R_z(pi)$. Is it possible to come to this conclusion without carrying out the matrix multiplication of the three rotation matrices? I looks that the $R_x(theta)$ got cancelled somehow.










share|cite|improve this question











$endgroup$










  • 1




    $begingroup$
    How can the product $AB$ be easier then $BA$ ??? In any case, whatever the computation procedure, the result is $ABA$ in all cases !
    $endgroup$
    – Yves Daoust
    Sep 14 at 12:53











  • $begingroup$
    I did not say this, @Yves Daoust. Sorry for the misunderstanding. I said if I can reorder the $BA$, then the final product of the three matrices will be easier to compute.
    $endgroup$
    – user8396743
    Sep 14 at 12:57










  • $begingroup$
    How can it be if the result is the same ? There is no free lunch.
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:06











  • $begingroup$
    @Yves Daoust please read the context example I put at the end. It may give you some insight of what I am looking for. Also, read David K 's answer to have more insight about the example.
    $endgroup$
    – user8396743
    Sep 14 at 13:10










  • $begingroup$
    The product of three axial rotations is easy, as those matrices have a majority of zeroes/one. And it perfectly illustrates my comment: the final result is the same, whatever the computation procedure. mathworld.wolfram.com/EulerAngles.html
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:15














3













3









3





$begingroup$


I want to compute the matrix multiplication $ABA$, where $A$ and $B$ are real and orthogonal matrices. In fact, they are specifically $3times3$ rotation matrices. However, it is much easier if I can reverse the order of $BA$ somehow, because I can then perform the multiplication much easier.



I know that matrix multiplication is not commutative, however, I am asking because both $A$ and $B$ are orthogonal matrices, and hopefully, may be there is some trick to utilize their orthogonality to reorder the product.



I tried to solve this, but got stuck here:



$$
ABA = A((BA)^-1)^-1=A(A^-1B^-1)^-1
$$



Is there a way to proceed from here?



Edit:
I also know that matrix multiplication is associative; however, I am not after associativity here. I want to multiply the $A$ matrix by $A$ (or by its inverse/transpose), then multiply the result by $B$.



Edit:
To put this into context, consider the following product of rotation matrices
$$
R_x(theta)R_z(pi)R_x(theta)
$$

where, $R_x(theta)$ is the rotation matrix about the $x$-axis by $theta$, and $R_z(pi)$ is the rotation matrix about the $z$-axis by $pi$.



This product simplifies to $R_z(pi)$. Is it possible to come to this conclusion without carrying out the matrix multiplication of the three rotation matrices? I looks that the $R_x(theta)$ got cancelled somehow.










share|cite|improve this question











$endgroup$




I want to compute the matrix multiplication $ABA$, where $A$ and $B$ are real and orthogonal matrices. In fact, they are specifically $3times3$ rotation matrices. However, it is much easier if I can reverse the order of $BA$ somehow, because I can then perform the multiplication much easier.



I know that matrix multiplication is not commutative, however, I am asking because both $A$ and $B$ are orthogonal matrices, and hopefully, may be there is some trick to utilize their orthogonality to reorder the product.



I tried to solve this, but got stuck here:



$$
ABA = A((BA)^-1)^-1=A(A^-1B^-1)^-1
$$



Is there a way to proceed from here?



Edit:
I also know that matrix multiplication is associative; however, I am not after associativity here. I want to multiply the $A$ matrix by $A$ (or by its inverse/transpose), then multiply the result by $B$.



Edit:
To put this into context, consider the following product of rotation matrices
$$
R_x(theta)R_z(pi)R_x(theta)
$$

where, $R_x(theta)$ is the rotation matrix about the $x$-axis by $theta$, and $R_z(pi)$ is the rotation matrix about the $z$-axis by $pi$.



This product simplifies to $R_z(pi)$. Is it possible to come to this conclusion without carrying out the matrix multiplication of the three rotation matrices? I looks that the $R_x(theta)$ got cancelled somehow.







linear-algebra matrices orthogonal-matrices






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Sep 14 at 12:47







user8396743

















asked Sep 14 at 12:19









user8396743user8396743

635 bronze badges




635 bronze badges










  • 1




    $begingroup$
    How can the product $AB$ be easier then $BA$ ??? In any case, whatever the computation procedure, the result is $ABA$ in all cases !
    $endgroup$
    – Yves Daoust
    Sep 14 at 12:53











  • $begingroup$
    I did not say this, @Yves Daoust. Sorry for the misunderstanding. I said if I can reorder the $BA$, then the final product of the three matrices will be easier to compute.
    $endgroup$
    – user8396743
    Sep 14 at 12:57










  • $begingroup$
    How can it be if the result is the same ? There is no free lunch.
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:06











  • $begingroup$
    @Yves Daoust please read the context example I put at the end. It may give you some insight of what I am looking for. Also, read David K 's answer to have more insight about the example.
    $endgroup$
    – user8396743
    Sep 14 at 13:10










  • $begingroup$
    The product of three axial rotations is easy, as those matrices have a majority of zeroes/one. And it perfectly illustrates my comment: the final result is the same, whatever the computation procedure. mathworld.wolfram.com/EulerAngles.html
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:15













  • 1




    $begingroup$
    How can the product $AB$ be easier then $BA$ ??? In any case, whatever the computation procedure, the result is $ABA$ in all cases !
    $endgroup$
    – Yves Daoust
    Sep 14 at 12:53











  • $begingroup$
    I did not say this, @Yves Daoust. Sorry for the misunderstanding. I said if I can reorder the $BA$, then the final product of the three matrices will be easier to compute.
    $endgroup$
    – user8396743
    Sep 14 at 12:57










  • $begingroup$
    How can it be if the result is the same ? There is no free lunch.
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:06











  • $begingroup$
    @Yves Daoust please read the context example I put at the end. It may give you some insight of what I am looking for. Also, read David K 's answer to have more insight about the example.
    $endgroup$
    – user8396743
    Sep 14 at 13:10










  • $begingroup$
    The product of three axial rotations is easy, as those matrices have a majority of zeroes/one. And it perfectly illustrates my comment: the final result is the same, whatever the computation procedure. mathworld.wolfram.com/EulerAngles.html
    $endgroup$
    – Yves Daoust
    Sep 14 at 13:15








1




1




$begingroup$
How can the product $AB$ be easier then $BA$ ??? In any case, whatever the computation procedure, the result is $ABA$ in all cases !
$endgroup$
– Yves Daoust
Sep 14 at 12:53





$begingroup$
How can the product $AB$ be easier then $BA$ ??? In any case, whatever the computation procedure, the result is $ABA$ in all cases !
$endgroup$
– Yves Daoust
Sep 14 at 12:53













$begingroup$
I did not say this, @Yves Daoust. Sorry for the misunderstanding. I said if I can reorder the $BA$, then the final product of the three matrices will be easier to compute.
$endgroup$
– user8396743
Sep 14 at 12:57




$begingroup$
I did not say this, @Yves Daoust. Sorry for the misunderstanding. I said if I can reorder the $BA$, then the final product of the three matrices will be easier to compute.
$endgroup$
– user8396743
Sep 14 at 12:57












$begingroup$
How can it be if the result is the same ? There is no free lunch.
$endgroup$
– Yves Daoust
Sep 14 at 13:06





$begingroup$
How can it be if the result is the same ? There is no free lunch.
$endgroup$
– Yves Daoust
Sep 14 at 13:06













$begingroup$
@Yves Daoust please read the context example I put at the end. It may give you some insight of what I am looking for. Also, read David K 's answer to have more insight about the example.
$endgroup$
– user8396743
Sep 14 at 13:10




$begingroup$
@Yves Daoust please read the context example I put at the end. It may give you some insight of what I am looking for. Also, read David K 's answer to have more insight about the example.
$endgroup$
– user8396743
Sep 14 at 13:10












$begingroup$
The product of three axial rotations is easy, as those matrices have a majority of zeroes/one. And it perfectly illustrates my comment: the final result is the same, whatever the computation procedure. mathworld.wolfram.com/EulerAngles.html
$endgroup$
– Yves Daoust
Sep 14 at 13:15





$begingroup$
The product of three axial rotations is easy, as those matrices have a majority of zeroes/one. And it perfectly illustrates my comment: the final result is the same, whatever the computation procedure. mathworld.wolfram.com/EulerAngles.html
$endgroup$
– Yves Daoust
Sep 14 at 13:15











3 Answers
3






active

oldest

votes


















5

















$begingroup$

Sadly, no. As @TobyMak points out, the associativity
$$
A(BA) = (AB)A
$$

means you can choose to evaluate either $AB$ or $BA$ but there's no trick that will allow you to work with $A^2$.



You can probably show that with an example in which $A^2 = I$.






share|cite|improve this answer










$endgroup$






















    4

















    $begingroup$

    I take it that what you're trying to get at is that you have some matrix $A$ that you will use several times with several different other matrices in the place of $B.$
    You would like some way to precompute a matrix $M_A$ by doing some operations on $A$
    so that for any matrix $B$ you have $ABA = M_A B.$



    First of all, if this is true in general it is true when $B=I,$ and therefore
    $AIA = M_AI$ implies $M_A = A^2.$



    But then for the formula to work in general you need $ABA = A^2 B$,
    which implies $BA = AB,$ that is, the matrices have to commute.




    In your particular example, the rotation $R_z(pi)$ maps the axis of $R_x(theta)$ onto itself, but reversed. Hence the initial rotation by $theta$ becomes a rotation by $-theta$. You will not get such a nice result for any $B$ that is not a rotation by a multiple of $pi$, and even when $B = R_z(pi)$ you will not get such a nice result for any non-trivial rotation around an axis that is not either the $z$ axis or an axis in the $x,y$ plane.






    share|cite|improve this answer












    $endgroup$














    • $begingroup$
      I might add that rotations in $mathbb R^3$ that have a common axis do commute.
      $endgroup$
      – amd
      Sep 14 at 19:15


















    1

















    $begingroup$

    $$ABA = (AB)A$$



    since matrix multiplication is associative. One proof of this is on this other post on Math SE.






    share|cite|improve this answer










    $endgroup$














    • $begingroup$
      Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
      $endgroup$
      – user8396743
      Sep 14 at 12:26






    • 1




      $begingroup$
      That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
      $endgroup$
      – Toby Mak
      Sep 14 at 12:29










    • $begingroup$
      Sure, I'm on it.
      $endgroup$
      – user8396743
      Sep 14 at 12:33












    Your Answer








    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/4.0/"u003ecc by-sa 4.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%2f3356142%2freordering-of-matrix-multiplication%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown


























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5

















    $begingroup$

    Sadly, no. As @TobyMak points out, the associativity
    $$
    A(BA) = (AB)A
    $$

    means you can choose to evaluate either $AB$ or $BA$ but there's no trick that will allow you to work with $A^2$.



    You can probably show that with an example in which $A^2 = I$.






    share|cite|improve this answer










    $endgroup$



















      5

















      $begingroup$

      Sadly, no. As @TobyMak points out, the associativity
      $$
      A(BA) = (AB)A
      $$

      means you can choose to evaluate either $AB$ or $BA$ but there's no trick that will allow you to work with $A^2$.



      You can probably show that with an example in which $A^2 = I$.






      share|cite|improve this answer










      $endgroup$

















        5















        5











        5







        $begingroup$

        Sadly, no. As @TobyMak points out, the associativity
        $$
        A(BA) = (AB)A
        $$

        means you can choose to evaluate either $AB$ or $BA$ but there's no trick that will allow you to work with $A^2$.



        You can probably show that with an example in which $A^2 = I$.






        share|cite|improve this answer










        $endgroup$



        Sadly, no. As @TobyMak points out, the associativity
        $$
        A(BA) = (AB)A
        $$

        means you can choose to evaluate either $AB$ or $BA$ but there's no trick that will allow you to work with $A^2$.



        You can probably show that with an example in which $A^2 = I$.







        share|cite|improve this answer













        share|cite|improve this answer




        share|cite|improve this answer










        answered Sep 14 at 12:30









        Ethan BolkerEthan Bolker

        59.9k5 gold badges67 silver badges143 bronze badges




        59.9k5 gold badges67 silver badges143 bronze badges


























            4

















            $begingroup$

            I take it that what you're trying to get at is that you have some matrix $A$ that you will use several times with several different other matrices in the place of $B.$
            You would like some way to precompute a matrix $M_A$ by doing some operations on $A$
            so that for any matrix $B$ you have $ABA = M_A B.$



            First of all, if this is true in general it is true when $B=I,$ and therefore
            $AIA = M_AI$ implies $M_A = A^2.$



            But then for the formula to work in general you need $ABA = A^2 B$,
            which implies $BA = AB,$ that is, the matrices have to commute.




            In your particular example, the rotation $R_z(pi)$ maps the axis of $R_x(theta)$ onto itself, but reversed. Hence the initial rotation by $theta$ becomes a rotation by $-theta$. You will not get such a nice result for any $B$ that is not a rotation by a multiple of $pi$, and even when $B = R_z(pi)$ you will not get such a nice result for any non-trivial rotation around an axis that is not either the $z$ axis or an axis in the $x,y$ plane.






            share|cite|improve this answer












            $endgroup$














            • $begingroup$
              I might add that rotations in $mathbb R^3$ that have a common axis do commute.
              $endgroup$
              – amd
              Sep 14 at 19:15















            4

















            $begingroup$

            I take it that what you're trying to get at is that you have some matrix $A$ that you will use several times with several different other matrices in the place of $B.$
            You would like some way to precompute a matrix $M_A$ by doing some operations on $A$
            so that for any matrix $B$ you have $ABA = M_A B.$



            First of all, if this is true in general it is true when $B=I,$ and therefore
            $AIA = M_AI$ implies $M_A = A^2.$



            But then for the formula to work in general you need $ABA = A^2 B$,
            which implies $BA = AB,$ that is, the matrices have to commute.




            In your particular example, the rotation $R_z(pi)$ maps the axis of $R_x(theta)$ onto itself, but reversed. Hence the initial rotation by $theta$ becomes a rotation by $-theta$. You will not get such a nice result for any $B$ that is not a rotation by a multiple of $pi$, and even when $B = R_z(pi)$ you will not get such a nice result for any non-trivial rotation around an axis that is not either the $z$ axis or an axis in the $x,y$ plane.






            share|cite|improve this answer












            $endgroup$














            • $begingroup$
              I might add that rotations in $mathbb R^3$ that have a common axis do commute.
              $endgroup$
              – amd
              Sep 14 at 19:15













            4















            4











            4







            $begingroup$

            I take it that what you're trying to get at is that you have some matrix $A$ that you will use several times with several different other matrices in the place of $B.$
            You would like some way to precompute a matrix $M_A$ by doing some operations on $A$
            so that for any matrix $B$ you have $ABA = M_A B.$



            First of all, if this is true in general it is true when $B=I,$ and therefore
            $AIA = M_AI$ implies $M_A = A^2.$



            But then for the formula to work in general you need $ABA = A^2 B$,
            which implies $BA = AB,$ that is, the matrices have to commute.




            In your particular example, the rotation $R_z(pi)$ maps the axis of $R_x(theta)$ onto itself, but reversed. Hence the initial rotation by $theta$ becomes a rotation by $-theta$. You will not get such a nice result for any $B$ that is not a rotation by a multiple of $pi$, and even when $B = R_z(pi)$ you will not get such a nice result for any non-trivial rotation around an axis that is not either the $z$ axis or an axis in the $x,y$ plane.






            share|cite|improve this answer












            $endgroup$



            I take it that what you're trying to get at is that you have some matrix $A$ that you will use several times with several different other matrices in the place of $B.$
            You would like some way to precompute a matrix $M_A$ by doing some operations on $A$
            so that for any matrix $B$ you have $ABA = M_A B.$



            First of all, if this is true in general it is true when $B=I,$ and therefore
            $AIA = M_AI$ implies $M_A = A^2.$



            But then for the formula to work in general you need $ABA = A^2 B$,
            which implies $BA = AB,$ that is, the matrices have to commute.




            In your particular example, the rotation $R_z(pi)$ maps the axis of $R_x(theta)$ onto itself, but reversed. Hence the initial rotation by $theta$ becomes a rotation by $-theta$. You will not get such a nice result for any $B$ that is not a rotation by a multiple of $pi$, and even when $B = R_z(pi)$ you will not get such a nice result for any non-trivial rotation around an axis that is not either the $z$ axis or an axis in the $x,y$ plane.







            share|cite|improve this answer















            share|cite|improve this answer




            share|cite|improve this answer








            edited Sep 14 at 19:23

























            answered Sep 14 at 12:59









            David KDavid K

            62.1k4 gold badges49 silver badges141 bronze badges




            62.1k4 gold badges49 silver badges141 bronze badges














            • $begingroup$
              I might add that rotations in $mathbb R^3$ that have a common axis do commute.
              $endgroup$
              – amd
              Sep 14 at 19:15
















            • $begingroup$
              I might add that rotations in $mathbb R^3$ that have a common axis do commute.
              $endgroup$
              – amd
              Sep 14 at 19:15















            $begingroup$
            I might add that rotations in $mathbb R^3$ that have a common axis do commute.
            $endgroup$
            – amd
            Sep 14 at 19:15




            $begingroup$
            I might add that rotations in $mathbb R^3$ that have a common axis do commute.
            $endgroup$
            – amd
            Sep 14 at 19:15











            1

















            $begingroup$

            $$ABA = (AB)A$$



            since matrix multiplication is associative. One proof of this is on this other post on Math SE.






            share|cite|improve this answer










            $endgroup$














            • $begingroup$
              Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
              $endgroup$
              – user8396743
              Sep 14 at 12:26






            • 1




              $begingroup$
              That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
              $endgroup$
              – Toby Mak
              Sep 14 at 12:29










            • $begingroup$
              Sure, I'm on it.
              $endgroup$
              – user8396743
              Sep 14 at 12:33















            1

















            $begingroup$

            $$ABA = (AB)A$$



            since matrix multiplication is associative. One proof of this is on this other post on Math SE.






            share|cite|improve this answer










            $endgroup$














            • $begingroup$
              Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
              $endgroup$
              – user8396743
              Sep 14 at 12:26






            • 1




              $begingroup$
              That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
              $endgroup$
              – Toby Mak
              Sep 14 at 12:29










            • $begingroup$
              Sure, I'm on it.
              $endgroup$
              – user8396743
              Sep 14 at 12:33













            1















            1











            1







            $begingroup$

            $$ABA = (AB)A$$



            since matrix multiplication is associative. One proof of this is on this other post on Math SE.






            share|cite|improve this answer










            $endgroup$



            $$ABA = (AB)A$$



            since matrix multiplication is associative. One proof of this is on this other post on Math SE.







            share|cite|improve this answer













            share|cite|improve this answer




            share|cite|improve this answer










            answered Sep 14 at 12:22









            Toby MakToby Mak

            6,3412 gold badges15 silver badges30 bronze badges




            6,3412 gold badges15 silver badges30 bronze badges














            • $begingroup$
              Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
              $endgroup$
              – user8396743
              Sep 14 at 12:26






            • 1




              $begingroup$
              That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
              $endgroup$
              – Toby Mak
              Sep 14 at 12:29










            • $begingroup$
              Sure, I'm on it.
              $endgroup$
              – user8396743
              Sep 14 at 12:33
















            • $begingroup$
              Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
              $endgroup$
              – user8396743
              Sep 14 at 12:26






            • 1




              $begingroup$
              That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
              $endgroup$
              – Toby Mak
              Sep 14 at 12:29










            • $begingroup$
              Sure, I'm on it.
              $endgroup$
              – user8396743
              Sep 14 at 12:33















            $begingroup$
            Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
            $endgroup$
            – user8396743
            Sep 14 at 12:26




            $begingroup$
            Thanks for the answer, but this is actually not what I am after. By reordering I meant changing the order from $ABA$ to something like $AAB$ or $AA^-1B$ or something similar. Let me edit my question to reflect this fact.
            $endgroup$
            – user8396743
            Sep 14 at 12:26




            1




            1




            $begingroup$
            That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
            $endgroup$
            – Toby Mak
            Sep 14 at 12:29




            $begingroup$
            That's fine. Could you include more context about the orthogonal matrices? I still find it hard to understand which particular forms you would like.
            $endgroup$
            – Toby Mak
            Sep 14 at 12:29












            $begingroup$
            Sure, I'm on it.
            $endgroup$
            – user8396743
            Sep 14 at 12:33




            $begingroup$
            Sure, I'm on it.
            $endgroup$
            – user8396743
            Sep 14 at 12:33


















            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%2f3356142%2freordering-of-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

            Distance measures on a map of a game The 2019 Stack Overflow Developer Survey Results Are Inmin distance in a graphShortest distance path on contour plotHow to plot a tilted map?Finding points outside of a diskDelaunay link distanceAnnulus from GeoDisks: drawing a ring on a mapNegative Correlation DistanceFind distance along a path (GPS coordinates)Finding position at given distance in a GeoPathMathematics behind distance estimation using camera

            How to get a smooth, uniform ParametricPlot of a 2D Region?How to plot a complicated Region?How to exclude a region from ParametricPlotHow discretize a region placing vertices on a specific non-uniform gridHow to transform a Plot or a ParametricPlot into a RegionHow can I get a smooth plot of a bounded region?Smooth ParametricPlot3D with RegionFunction?Smooth border of a region ParametricPlotSmooth region boundarySmooth region plot from list of pointsGet minimum y of a certain x in a region

            Genealogie vun de Merowenger Vum Merowech bis zum Chilperich I. | Navigatiounsmenü