Find a matrix $P$ that diagonalizes the matrix $A$, and determine $P^{-1}AP$












2












$begingroup$


$A =begin{bmatrix} -14 & 12 \ -20 & 17 \ end{bmatrix} $



I did this by first calculating the eigenvalues which turn out to be $λ = 2$ and $λ = 1$



Then I calculated the eigenvectors by first substituting $λ = 2$ and then $λ = 1$ in the $(Iλ - A)$ matrix and reducing both matrices before calculating the eigenvectors.



E.g for $λ = 2$



$begin{bmatrix} 1 & frac{-3}{4} \ 0 & 0 \ end{bmatrix}begin{bmatrix} x_1 \ x_2end{bmatrix} =begin{bmatrix} 0 \ 0end{bmatrix} $



In both cases I made $x_2 = t$



which resulted in the first eigenvector being $t begin{bmatrix} frac{3}{4} \ 1end{bmatrix}$ and the second one $t begin{bmatrix} frac{4}{5} \ 1end{bmatrix}$



So I made $t = 4$ in the first one and $t = 5$ in the second one to get $ begin{bmatrix} 3 \ 4end{bmatrix}$ and $begin{bmatrix} 4 \ 5end{bmatrix}$ which represent the $P_1$ and $P_2$ columns of the matrix $P = begin{bmatrix} 3 & 4 \ 4 & 5 \ end{bmatrix}$ which gives: $$P^{-1} AP = begin{bmatrix} 2 & 0 \ 0 & 1 \ end{bmatrix}$$



In my textbook solution they made $x_1 = t$ for both cases, instead of $x_2$ like I did. Which makes $P_1 = begin{bmatrix} 4 \ 5end{bmatrix}$ and $P_2 = begin{bmatrix} 3 \ 4end{bmatrix}$, so same $P$ but in different order $P = begin{bmatrix} 4 & 5 \ 3 & 4 \ end{bmatrix}$. When doing $P^{-1} AP$ with this new matrix $P$ the diagonal matrix turns out to be: $$P^{-1} AP = begin{bmatrix} 1 & 0 \ 0 & 2 \ end{bmatrix}$$



Would this be the same transformation just that in a different basis (represented by the eigenvectors in different order) and is equally valid as a diagonalized matrix $A$?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    It is formally not the same transformation due to the permutation of the basic vectors, but it is equally valid as diagonalization of $A$.
    $endgroup$
    – A.Γ.
    Jan 2 at 14:27










  • $begingroup$
    Just to be specific, you mean it's not even the same transformation represented in different bases? So which one is the valid one equal to A in a different basis (applied to vectors in the same different basis)?
    $endgroup$
    – Mango164
    Jan 2 at 15:06






  • 1




    $begingroup$
    Ok, by transformation I meant the change of basis $P$. If you mean the transformation to be the linear mapping defined by $A$ then yes, it is the same transformation in different bases.
    $endgroup$
    – A.Γ.
    Jan 2 at 15:09












  • $begingroup$
    Yeah that's what I meant, thanks for clarifying.
    $endgroup$
    – Mango164
    Jan 2 at 15:13
















2












$begingroup$


$A =begin{bmatrix} -14 & 12 \ -20 & 17 \ end{bmatrix} $



I did this by first calculating the eigenvalues which turn out to be $λ = 2$ and $λ = 1$



Then I calculated the eigenvectors by first substituting $λ = 2$ and then $λ = 1$ in the $(Iλ - A)$ matrix and reducing both matrices before calculating the eigenvectors.



E.g for $λ = 2$



$begin{bmatrix} 1 & frac{-3}{4} \ 0 & 0 \ end{bmatrix}begin{bmatrix} x_1 \ x_2end{bmatrix} =begin{bmatrix} 0 \ 0end{bmatrix} $



In both cases I made $x_2 = t$



which resulted in the first eigenvector being $t begin{bmatrix} frac{3}{4} \ 1end{bmatrix}$ and the second one $t begin{bmatrix} frac{4}{5} \ 1end{bmatrix}$



So I made $t = 4$ in the first one and $t = 5$ in the second one to get $ begin{bmatrix} 3 \ 4end{bmatrix}$ and $begin{bmatrix} 4 \ 5end{bmatrix}$ which represent the $P_1$ and $P_2$ columns of the matrix $P = begin{bmatrix} 3 & 4 \ 4 & 5 \ end{bmatrix}$ which gives: $$P^{-1} AP = begin{bmatrix} 2 & 0 \ 0 & 1 \ end{bmatrix}$$



In my textbook solution they made $x_1 = t$ for both cases, instead of $x_2$ like I did. Which makes $P_1 = begin{bmatrix} 4 \ 5end{bmatrix}$ and $P_2 = begin{bmatrix} 3 \ 4end{bmatrix}$, so same $P$ but in different order $P = begin{bmatrix} 4 & 5 \ 3 & 4 \ end{bmatrix}$. When doing $P^{-1} AP$ with this new matrix $P$ the diagonal matrix turns out to be: $$P^{-1} AP = begin{bmatrix} 1 & 0 \ 0 & 2 \ end{bmatrix}$$



Would this be the same transformation just that in a different basis (represented by the eigenvectors in different order) and is equally valid as a diagonalized matrix $A$?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    It is formally not the same transformation due to the permutation of the basic vectors, but it is equally valid as diagonalization of $A$.
    $endgroup$
    – A.Γ.
    Jan 2 at 14:27










  • $begingroup$
    Just to be specific, you mean it's not even the same transformation represented in different bases? So which one is the valid one equal to A in a different basis (applied to vectors in the same different basis)?
    $endgroup$
    – Mango164
    Jan 2 at 15:06






  • 1




    $begingroup$
    Ok, by transformation I meant the change of basis $P$. If you mean the transformation to be the linear mapping defined by $A$ then yes, it is the same transformation in different bases.
    $endgroup$
    – A.Γ.
    Jan 2 at 15:09












  • $begingroup$
    Yeah that's what I meant, thanks for clarifying.
    $endgroup$
    – Mango164
    Jan 2 at 15:13














2












2








2





$begingroup$


$A =begin{bmatrix} -14 & 12 \ -20 & 17 \ end{bmatrix} $



I did this by first calculating the eigenvalues which turn out to be $λ = 2$ and $λ = 1$



Then I calculated the eigenvectors by first substituting $λ = 2$ and then $λ = 1$ in the $(Iλ - A)$ matrix and reducing both matrices before calculating the eigenvectors.



E.g for $λ = 2$



$begin{bmatrix} 1 & frac{-3}{4} \ 0 & 0 \ end{bmatrix}begin{bmatrix} x_1 \ x_2end{bmatrix} =begin{bmatrix} 0 \ 0end{bmatrix} $



In both cases I made $x_2 = t$



which resulted in the first eigenvector being $t begin{bmatrix} frac{3}{4} \ 1end{bmatrix}$ and the second one $t begin{bmatrix} frac{4}{5} \ 1end{bmatrix}$



So I made $t = 4$ in the first one and $t = 5$ in the second one to get $ begin{bmatrix} 3 \ 4end{bmatrix}$ and $begin{bmatrix} 4 \ 5end{bmatrix}$ which represent the $P_1$ and $P_2$ columns of the matrix $P = begin{bmatrix} 3 & 4 \ 4 & 5 \ end{bmatrix}$ which gives: $$P^{-1} AP = begin{bmatrix} 2 & 0 \ 0 & 1 \ end{bmatrix}$$



In my textbook solution they made $x_1 = t$ for both cases, instead of $x_2$ like I did. Which makes $P_1 = begin{bmatrix} 4 \ 5end{bmatrix}$ and $P_2 = begin{bmatrix} 3 \ 4end{bmatrix}$, so same $P$ but in different order $P = begin{bmatrix} 4 & 5 \ 3 & 4 \ end{bmatrix}$. When doing $P^{-1} AP$ with this new matrix $P$ the diagonal matrix turns out to be: $$P^{-1} AP = begin{bmatrix} 1 & 0 \ 0 & 2 \ end{bmatrix}$$



Would this be the same transformation just that in a different basis (represented by the eigenvectors in different order) and is equally valid as a diagonalized matrix $A$?










share|cite|improve this question











$endgroup$




$A =begin{bmatrix} -14 & 12 \ -20 & 17 \ end{bmatrix} $



I did this by first calculating the eigenvalues which turn out to be $λ = 2$ and $λ = 1$



Then I calculated the eigenvectors by first substituting $λ = 2$ and then $λ = 1$ in the $(Iλ - A)$ matrix and reducing both matrices before calculating the eigenvectors.



E.g for $λ = 2$



$begin{bmatrix} 1 & frac{-3}{4} \ 0 & 0 \ end{bmatrix}begin{bmatrix} x_1 \ x_2end{bmatrix} =begin{bmatrix} 0 \ 0end{bmatrix} $



In both cases I made $x_2 = t$



which resulted in the first eigenvector being $t begin{bmatrix} frac{3}{4} \ 1end{bmatrix}$ and the second one $t begin{bmatrix} frac{4}{5} \ 1end{bmatrix}$



So I made $t = 4$ in the first one and $t = 5$ in the second one to get $ begin{bmatrix} 3 \ 4end{bmatrix}$ and $begin{bmatrix} 4 \ 5end{bmatrix}$ which represent the $P_1$ and $P_2$ columns of the matrix $P = begin{bmatrix} 3 & 4 \ 4 & 5 \ end{bmatrix}$ which gives: $$P^{-1} AP = begin{bmatrix} 2 & 0 \ 0 & 1 \ end{bmatrix}$$



In my textbook solution they made $x_1 = t$ for both cases, instead of $x_2$ like I did. Which makes $P_1 = begin{bmatrix} 4 \ 5end{bmatrix}$ and $P_2 = begin{bmatrix} 3 \ 4end{bmatrix}$, so same $P$ but in different order $P = begin{bmatrix} 4 & 5 \ 3 & 4 \ end{bmatrix}$. When doing $P^{-1} AP$ with this new matrix $P$ the diagonal matrix turns out to be: $$P^{-1} AP = begin{bmatrix} 1 & 0 \ 0 & 2 \ end{bmatrix}$$



Would this be the same transformation just that in a different basis (represented by the eigenvectors in different order) and is equally valid as a diagonalized matrix $A$?







linear-algebra eigenvalues-eigenvectors linear-transformations diagonalization






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 2 at 14:24







Mango164

















asked Jan 2 at 14:18









Mango164Mango164

504




504








  • 1




    $begingroup$
    It is formally not the same transformation due to the permutation of the basic vectors, but it is equally valid as diagonalization of $A$.
    $endgroup$
    – A.Γ.
    Jan 2 at 14:27










  • $begingroup$
    Just to be specific, you mean it's not even the same transformation represented in different bases? So which one is the valid one equal to A in a different basis (applied to vectors in the same different basis)?
    $endgroup$
    – Mango164
    Jan 2 at 15:06






  • 1




    $begingroup$
    Ok, by transformation I meant the change of basis $P$. If you mean the transformation to be the linear mapping defined by $A$ then yes, it is the same transformation in different bases.
    $endgroup$
    – A.Γ.
    Jan 2 at 15:09












  • $begingroup$
    Yeah that's what I meant, thanks for clarifying.
    $endgroup$
    – Mango164
    Jan 2 at 15:13














  • 1




    $begingroup$
    It is formally not the same transformation due to the permutation of the basic vectors, but it is equally valid as diagonalization of $A$.
    $endgroup$
    – A.Γ.
    Jan 2 at 14:27










  • $begingroup$
    Just to be specific, you mean it's not even the same transformation represented in different bases? So which one is the valid one equal to A in a different basis (applied to vectors in the same different basis)?
    $endgroup$
    – Mango164
    Jan 2 at 15:06






  • 1




    $begingroup$
    Ok, by transformation I meant the change of basis $P$. If you mean the transformation to be the linear mapping defined by $A$ then yes, it is the same transformation in different bases.
    $endgroup$
    – A.Γ.
    Jan 2 at 15:09












  • $begingroup$
    Yeah that's what I meant, thanks for clarifying.
    $endgroup$
    – Mango164
    Jan 2 at 15:13








1




1




$begingroup$
It is formally not the same transformation due to the permutation of the basic vectors, but it is equally valid as diagonalization of $A$.
$endgroup$
– A.Γ.
Jan 2 at 14:27




$begingroup$
It is formally not the same transformation due to the permutation of the basic vectors, but it is equally valid as diagonalization of $A$.
$endgroup$
– A.Γ.
Jan 2 at 14:27












$begingroup$
Just to be specific, you mean it's not even the same transformation represented in different bases? So which one is the valid one equal to A in a different basis (applied to vectors in the same different basis)?
$endgroup$
– Mango164
Jan 2 at 15:06




$begingroup$
Just to be specific, you mean it's not even the same transformation represented in different bases? So which one is the valid one equal to A in a different basis (applied to vectors in the same different basis)?
$endgroup$
– Mango164
Jan 2 at 15:06




1




1




$begingroup$
Ok, by transformation I meant the change of basis $P$. If you mean the transformation to be the linear mapping defined by $A$ then yes, it is the same transformation in different bases.
$endgroup$
– A.Γ.
Jan 2 at 15:09






$begingroup$
Ok, by transformation I meant the change of basis $P$. If you mean the transformation to be the linear mapping defined by $A$ then yes, it is the same transformation in different bases.
$endgroup$
– A.Γ.
Jan 2 at 15:09














$begingroup$
Yeah that's what I meant, thanks for clarifying.
$endgroup$
– Mango164
Jan 2 at 15:13




$begingroup$
Yeah that's what I meant, thanks for clarifying.
$endgroup$
– Mango164
Jan 2 at 15:13










1 Answer
1






active

oldest

votes


















3












$begingroup$

It is all okay. You just calculated the eigenvalues base in other order. In fact, those two matrices are equivalent.



It is (and will be for you) a well known fact that if the eigenvalues are real and all distinct, then your matrix is diagonalizable and the diagonal matrix is the diagonal matrix with the eigenvalues in the diagonal. (edit: in the ground field, but I said that because I assumed that you were working over the reals)






share|cite|improve this answer











$endgroup$













    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%2f3059520%2ffind-a-matrix-p-that-diagonalizes-the-matrix-a-and-determine-p-1ap%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









    3












    $begingroup$

    It is all okay. You just calculated the eigenvalues base in other order. In fact, those two matrices are equivalent.



    It is (and will be for you) a well known fact that if the eigenvalues are real and all distinct, then your matrix is diagonalizable and the diagonal matrix is the diagonal matrix with the eigenvalues in the diagonal. (edit: in the ground field, but I said that because I assumed that you were working over the reals)






    share|cite|improve this answer











    $endgroup$


















      3












      $begingroup$

      It is all okay. You just calculated the eigenvalues base in other order. In fact, those two matrices are equivalent.



      It is (and will be for you) a well known fact that if the eigenvalues are real and all distinct, then your matrix is diagonalizable and the diagonal matrix is the diagonal matrix with the eigenvalues in the diagonal. (edit: in the ground field, but I said that because I assumed that you were working over the reals)






      share|cite|improve this answer











      $endgroup$
















        3












        3








        3





        $begingroup$

        It is all okay. You just calculated the eigenvalues base in other order. In fact, those two matrices are equivalent.



        It is (and will be for you) a well known fact that if the eigenvalues are real and all distinct, then your matrix is diagonalizable and the diagonal matrix is the diagonal matrix with the eigenvalues in the diagonal. (edit: in the ground field, but I said that because I assumed that you were working over the reals)






        share|cite|improve this answer











        $endgroup$



        It is all okay. You just calculated the eigenvalues base in other order. In fact, those two matrices are equivalent.



        It is (and will be for you) a well known fact that if the eigenvalues are real and all distinct, then your matrix is diagonalizable and the diagonal matrix is the diagonal matrix with the eigenvalues in the diagonal. (edit: in the ground field, but I said that because I assumed that you were working over the reals)







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 2 at 15:27

























        answered Jan 2 at 14:39









        José Alejandro Aburto AranedaJosé Alejandro Aburto Araneda

        802110




        802110






























            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%2f3059520%2ffind-a-matrix-p-that-diagonalizes-the-matrix-a-and-determine-p-1ap%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            張江高科駅