Are similarity transformations unique?











up vote
2
down vote

favorite












So, long ago in a linear systems class I was taught that you can take a matrix A and decompose it into a matrix $T^{-1}Lambda T$, where $Lambda$ is a diagonal matrix of eigenvalues, and $T$ is a matrix composed of the corresponding eigenvectors.



A problem just presented itself to me where I want to take a known set of eigenvalues and generate a random-looking matrix $A$ from that.



I'd like to generate a $T$ matrix from a random-number generator, but I'm faced with two issues: first, I want $T$ to not only be non-singular, but I'd like it to be at least reasonably well-conditioned. Second, if I figure out how to generate such a $T$, do I know that it's the one and only $T$ matrix that will generate my $A$ matrix from a given $Lambda$?



It seems like there's too many free parameters in T for that to be the case, but perhaps the requirement that it be non-singular puts enough restrictions on it that it's unique.



Someone enlighten me, please.










share|cite|improve this question


























    up vote
    2
    down vote

    favorite












    So, long ago in a linear systems class I was taught that you can take a matrix A and decompose it into a matrix $T^{-1}Lambda T$, where $Lambda$ is a diagonal matrix of eigenvalues, and $T$ is a matrix composed of the corresponding eigenvectors.



    A problem just presented itself to me where I want to take a known set of eigenvalues and generate a random-looking matrix $A$ from that.



    I'd like to generate a $T$ matrix from a random-number generator, but I'm faced with two issues: first, I want $T$ to not only be non-singular, but I'd like it to be at least reasonably well-conditioned. Second, if I figure out how to generate such a $T$, do I know that it's the one and only $T$ matrix that will generate my $A$ matrix from a given $Lambda$?



    It seems like there's too many free parameters in T for that to be the case, but perhaps the requirement that it be non-singular puts enough restrictions on it that it's unique.



    Someone enlighten me, please.










    share|cite|improve this question
























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      So, long ago in a linear systems class I was taught that you can take a matrix A and decompose it into a matrix $T^{-1}Lambda T$, where $Lambda$ is a diagonal matrix of eigenvalues, and $T$ is a matrix composed of the corresponding eigenvectors.



      A problem just presented itself to me where I want to take a known set of eigenvalues and generate a random-looking matrix $A$ from that.



      I'd like to generate a $T$ matrix from a random-number generator, but I'm faced with two issues: first, I want $T$ to not only be non-singular, but I'd like it to be at least reasonably well-conditioned. Second, if I figure out how to generate such a $T$, do I know that it's the one and only $T$ matrix that will generate my $A$ matrix from a given $Lambda$?



      It seems like there's too many free parameters in T for that to be the case, but perhaps the requirement that it be non-singular puts enough restrictions on it that it's unique.



      Someone enlighten me, please.










      share|cite|improve this question













      So, long ago in a linear systems class I was taught that you can take a matrix A and decompose it into a matrix $T^{-1}Lambda T$, where $Lambda$ is a diagonal matrix of eigenvalues, and $T$ is a matrix composed of the corresponding eigenvectors.



      A problem just presented itself to me where I want to take a known set of eigenvalues and generate a random-looking matrix $A$ from that.



      I'd like to generate a $T$ matrix from a random-number generator, but I'm faced with two issues: first, I want $T$ to not only be non-singular, but I'd like it to be at least reasonably well-conditioned. Second, if I figure out how to generate such a $T$, do I know that it's the one and only $T$ matrix that will generate my $A$ matrix from a given $Lambda$?



      It seems like there's too many free parameters in T for that to be the case, but perhaps the requirement that it be non-singular puts enough restrictions on it that it's unique.



      Someone enlighten me, please.







      linear-algebra






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 14 at 18:44









      TimWescott

      1113




      1113






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          It is never unique. You can always multiply $T$ by a nonzero scalar and get another $T$.
          More generally, if $S$ is an invertible diagonal matrix, then
          $T^{-1} Lambda T = (ST)^{-1} Lambda (ST)$.






          share|cite|improve this answer






























            up vote
            1
            down vote













            It is not true, in general, that every $ntimes n$ matrix (over, say, the complex numbers) is diagonalizable. For instance, the matrix $left(begin{smallmatrix}0&1\0&0end{smallmatrix}right)$ is not diagonalizable.



            On the other hand, if you obtain a $ntimes n$ matrix from a random number generator, you can be almost $100%$ sure that $T$ will be non-singular. So, generate your matrix, test to see whether it is singular and, in the unlikely case in which it is, change slightly one of its entries. You will quickly get a non-singular matrix.



            But there will not be a unique such matrix. If you replace $T$ with $lambda T$, for some $lambdaneq0$, $(lambda T)^{-1}Lambda(lambda T)=T^{-1}Lambda T$.






            share|cite|improve this answer



















            • 1




              I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
              – Robert Israel
              Nov 14 at 18:53










            • @RobertIsrael I've edited my answer. Thank you.
              – José Carlos Santos
              Nov 14 at 19:05










            • I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
              – TimWescott
              Nov 14 at 20:07











            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',
            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%2f2998663%2fare-similarity-transformations-unique%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            It is never unique. You can always multiply $T$ by a nonzero scalar and get another $T$.
            More generally, if $S$ is an invertible diagonal matrix, then
            $T^{-1} Lambda T = (ST)^{-1} Lambda (ST)$.






            share|cite|improve this answer



























              up vote
              1
              down vote













              It is never unique. You can always multiply $T$ by a nonzero scalar and get another $T$.
              More generally, if $S$ is an invertible diagonal matrix, then
              $T^{-1} Lambda T = (ST)^{-1} Lambda (ST)$.






              share|cite|improve this answer

























                up vote
                1
                down vote










                up vote
                1
                down vote









                It is never unique. You can always multiply $T$ by a nonzero scalar and get another $T$.
                More generally, if $S$ is an invertible diagonal matrix, then
                $T^{-1} Lambda T = (ST)^{-1} Lambda (ST)$.






                share|cite|improve this answer














                It is never unique. You can always multiply $T$ by a nonzero scalar and get another $T$.
                More generally, if $S$ is an invertible diagonal matrix, then
                $T^{-1} Lambda T = (ST)^{-1} Lambda (ST)$.







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Nov 14 at 18:55

























                answered Nov 14 at 18:50









                Robert Israel

                314k23206453




                314k23206453






















                    up vote
                    1
                    down vote













                    It is not true, in general, that every $ntimes n$ matrix (over, say, the complex numbers) is diagonalizable. For instance, the matrix $left(begin{smallmatrix}0&1\0&0end{smallmatrix}right)$ is not diagonalizable.



                    On the other hand, if you obtain a $ntimes n$ matrix from a random number generator, you can be almost $100%$ sure that $T$ will be non-singular. So, generate your matrix, test to see whether it is singular and, in the unlikely case in which it is, change slightly one of its entries. You will quickly get a non-singular matrix.



                    But there will not be a unique such matrix. If you replace $T$ with $lambda T$, for some $lambdaneq0$, $(lambda T)^{-1}Lambda(lambda T)=T^{-1}Lambda T$.






                    share|cite|improve this answer



















                    • 1




                      I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
                      – Robert Israel
                      Nov 14 at 18:53










                    • @RobertIsrael I've edited my answer. Thank you.
                      – José Carlos Santos
                      Nov 14 at 19:05










                    • I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
                      – TimWescott
                      Nov 14 at 20:07















                    up vote
                    1
                    down vote













                    It is not true, in general, that every $ntimes n$ matrix (over, say, the complex numbers) is diagonalizable. For instance, the matrix $left(begin{smallmatrix}0&1\0&0end{smallmatrix}right)$ is not diagonalizable.



                    On the other hand, if you obtain a $ntimes n$ matrix from a random number generator, you can be almost $100%$ sure that $T$ will be non-singular. So, generate your matrix, test to see whether it is singular and, in the unlikely case in which it is, change slightly one of its entries. You will quickly get a non-singular matrix.



                    But there will not be a unique such matrix. If you replace $T$ with $lambda T$, for some $lambdaneq0$, $(lambda T)^{-1}Lambda(lambda T)=T^{-1}Lambda T$.






                    share|cite|improve this answer



















                    • 1




                      I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
                      – Robert Israel
                      Nov 14 at 18:53










                    • @RobertIsrael I've edited my answer. Thank you.
                      – José Carlos Santos
                      Nov 14 at 19:05










                    • I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
                      – TimWescott
                      Nov 14 at 20:07













                    up vote
                    1
                    down vote










                    up vote
                    1
                    down vote









                    It is not true, in general, that every $ntimes n$ matrix (over, say, the complex numbers) is diagonalizable. For instance, the matrix $left(begin{smallmatrix}0&1\0&0end{smallmatrix}right)$ is not diagonalizable.



                    On the other hand, if you obtain a $ntimes n$ matrix from a random number generator, you can be almost $100%$ sure that $T$ will be non-singular. So, generate your matrix, test to see whether it is singular and, in the unlikely case in which it is, change slightly one of its entries. You will quickly get a non-singular matrix.



                    But there will not be a unique such matrix. If you replace $T$ with $lambda T$, for some $lambdaneq0$, $(lambda T)^{-1}Lambda(lambda T)=T^{-1}Lambda T$.






                    share|cite|improve this answer














                    It is not true, in general, that every $ntimes n$ matrix (over, say, the complex numbers) is diagonalizable. For instance, the matrix $left(begin{smallmatrix}0&1\0&0end{smallmatrix}right)$ is not diagonalizable.



                    On the other hand, if you obtain a $ntimes n$ matrix from a random number generator, you can be almost $100%$ sure that $T$ will be non-singular. So, generate your matrix, test to see whether it is singular and, in the unlikely case in which it is, change slightly one of its entries. You will quickly get a non-singular matrix.



                    But there will not be a unique such matrix. If you replace $T$ with $lambda T$, for some $lambdaneq0$, $(lambda T)^{-1}Lambda(lambda T)=T^{-1}Lambda T$.







                    share|cite|improve this answer














                    share|cite|improve this answer



                    share|cite|improve this answer








                    edited Nov 14 at 19:05

























                    answered Nov 14 at 18:52









                    José Carlos Santos

                    141k19111207




                    141k19111207








                    • 1




                      I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
                      – Robert Israel
                      Nov 14 at 18:53










                    • @RobertIsrael I've edited my answer. Thank you.
                      – José Carlos Santos
                      Nov 14 at 19:05










                    • I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
                      – TimWescott
                      Nov 14 at 20:07














                    • 1




                      I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
                      – Robert Israel
                      Nov 14 at 18:53










                    • @RobertIsrael I've edited my answer. Thank you.
                      – José Carlos Santos
                      Nov 14 at 19:05










                    • I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
                      – TimWescott
                      Nov 14 at 20:07








                    1




                    1




                    I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
                    – Robert Israel
                    Nov 14 at 18:53




                    I think you mean $pmatrix{0 & 1cr 0 & 0cr}$.
                    – Robert Israel
                    Nov 14 at 18:53












                    @RobertIsrael I've edited my answer. Thank you.
                    – José Carlos Santos
                    Nov 14 at 19:05




                    @RobertIsrael I've edited my answer. Thank you.
                    – José Carlos Santos
                    Nov 14 at 19:05












                    I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
                    – TimWescott
                    Nov 14 at 20:07




                    I knew that! Not well enough to remember without prompting, but now that you mention it the name "Jordan form" floats up from the murky depths of my memory. Thanks.
                    – TimWescott
                    Nov 14 at 20:07


















                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2998663%2fare-similarity-transformations-unique%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

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents