Finding eigenvalues from a matrix that has constant a.











up vote
0
down vote

favorite












Given the matrix $$A= left[
begin{array}{ccc}
2&0&1\
1&1&a\
0&0&1
end{array}
right] $$

Find all the eigenvalues of A.



My approach:
$det( λI-A) = 0 =$
$$
begin{vmatrix}
λ-2&0&-1\
-1&λ-1&-a\
0&-a&λ-1
end{vmatrix}
$$

However, after solving it, $ λ^3 -4 λ^2+(5-a^2) λ+(2a^2-2-a)=0$. How do I proceed to solve it further to obtain my eigenvalues?










share|cite|improve this question




















  • 3




    You have a misprint in the matrix $A$ or in the determinant
    – Tito Eliatron
    Nov 27 at 8:22










  • The error should be in the determinant, since then the eigenvalues are independent of $a$.
    – Gnampfissimo
    Nov 27 at 8:26















up vote
0
down vote

favorite












Given the matrix $$A= left[
begin{array}{ccc}
2&0&1\
1&1&a\
0&0&1
end{array}
right] $$

Find all the eigenvalues of A.



My approach:
$det( λI-A) = 0 =$
$$
begin{vmatrix}
λ-2&0&-1\
-1&λ-1&-a\
0&-a&λ-1
end{vmatrix}
$$

However, after solving it, $ λ^3 -4 λ^2+(5-a^2) λ+(2a^2-2-a)=0$. How do I proceed to solve it further to obtain my eigenvalues?










share|cite|improve this question




















  • 3




    You have a misprint in the matrix $A$ or in the determinant
    – Tito Eliatron
    Nov 27 at 8:22










  • The error should be in the determinant, since then the eigenvalues are independent of $a$.
    – Gnampfissimo
    Nov 27 at 8:26













up vote
0
down vote

favorite









up vote
0
down vote

favorite











Given the matrix $$A= left[
begin{array}{ccc}
2&0&1\
1&1&a\
0&0&1
end{array}
right] $$

Find all the eigenvalues of A.



My approach:
$det( λI-A) = 0 =$
$$
begin{vmatrix}
λ-2&0&-1\
-1&λ-1&-a\
0&-a&λ-1
end{vmatrix}
$$

However, after solving it, $ λ^3 -4 λ^2+(5-a^2) λ+(2a^2-2-a)=0$. How do I proceed to solve it further to obtain my eigenvalues?










share|cite|improve this question















Given the matrix $$A= left[
begin{array}{ccc}
2&0&1\
1&1&a\
0&0&1
end{array}
right] $$

Find all the eigenvalues of A.



My approach:
$det( λI-A) = 0 =$
$$
begin{vmatrix}
λ-2&0&-1\
-1&λ-1&-a\
0&-a&λ-1
end{vmatrix}
$$

However, after solving it, $ λ^3 -4 λ^2+(5-a^2) λ+(2a^2-2-a)=0$. How do I proceed to solve it further to obtain my eigenvalues?







linear-algebra matrices eigenvalues-eigenvectors






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 27 at 10:10









Bernard

117k637109




117k637109










asked Nov 27 at 8:20









Cheryl

755




755








  • 3




    You have a misprint in the matrix $A$ or in the determinant
    – Tito Eliatron
    Nov 27 at 8:22










  • The error should be in the determinant, since then the eigenvalues are independent of $a$.
    – Gnampfissimo
    Nov 27 at 8:26














  • 3




    You have a misprint in the matrix $A$ or in the determinant
    – Tito Eliatron
    Nov 27 at 8:22










  • The error should be in the determinant, since then the eigenvalues are independent of $a$.
    – Gnampfissimo
    Nov 27 at 8:26








3




3




You have a misprint in the matrix $A$ or in the determinant
– Tito Eliatron
Nov 27 at 8:22




You have a misprint in the matrix $A$ or in the determinant
– Tito Eliatron
Nov 27 at 8:22












The error should be in the determinant, since then the eigenvalues are independent of $a$.
– Gnampfissimo
Nov 27 at 8:26




The error should be in the determinant, since then the eigenvalues are independent of $a$.
– Gnampfissimo
Nov 27 at 8:26










4 Answers
4






active

oldest

votes

















up vote
0
down vote













Assuming the matrix is correct,
$$det(lambda I-A)=
begin{vmatrix}
λ-2&0&-1\
-1&λ-1&-a\
0&0&λ-1
end{vmatrix} =(lambda-1)begin{vmatrix} λ-2&0\
-1&λ-1end{vmatrix} =(lambda-1)^2(lambda-2)
$$
and so, eigenvalues are $lambda=2$ double, and $lambda=1$ simple.






share|cite|improve this answer




























    up vote
    0
    down vote













    A matrix is singular amongst other things if it has a zero row or column, or if two rows or columns are linearly dependent. Subtracting $lambda$ from diagonal elements just changed the diagonal.



    I can see that I can change the $1$ in the bottom row to a zero by a suitable choice of $lambda$ and if the top left entry were $0$ the bottom row would be a multiple of the top one. So I can read two eigenvalues off straight away. Then the trace - the sum of the diagonal entries - is the sum of the eigenvalues.



    Now either that solves the problem without doing the computations, or - if the computation is expected - it acts as a robust check on your arithmetic.





    I have assumed that the matrix first given is right. One of the zeros in the bottom row will appear in any sub-product of the determinant which involves $a$ so you can tell that the determinant will be independent of $a$.



    This is to encourage you to look at the matrix for clues (columns will do as well as rows) which will either act as a check on your computations or give you short-cuts.






    share|cite|improve this answer




























      up vote
      0
      down vote













      You’ve made an error in computing the determinant: it should be $lambda^3-4lambda^2+5lambda-2$. However, it’s not necessary to go through all of that for this particular matrix.



      A matrix and its transpose have the same eigenvalues, so we can examine the rows of the matrix. From the last row, we have the left eigenvector $(0,0,1)$ with eigenvalue $1$. If you add the first and third rows, you get $(2,0,2)$, but left-multiplying a matrix by $(1,0,1)$ performs this addition, so we have another eigenvector/eigenvalue pair: $(1,0,1)$ and $2$. The trace of a matrix is equal to the sum of its eigenvalues, so we can find the last eigenvalue “for free:” it’s $4-2-1=1$. With a bit of practice, you’ll be able to spot things like this.






      share|cite|improve this answer




























        up vote
        0
        down vote













        Hint:
        $$
        left[
        begin{array}{ccc}
        2&0&1\
        1&1&a\
        0&0&1
        end{array}
        right]
        =
        Pleft[
        begin{array}{ccc}
        2&1&1\
        0&1&a\
        0&0&1
        end{array}
        right] P^{-1}
        $$



        Where $P$ is a permutation matrix.






        share|cite|improve this answer





















          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%2f3015489%2ffinding-eigenvalues-from-a-matrix-that-has-constant-a%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          4 Answers
          4






          active

          oldest

          votes








          4 Answers
          4






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          Assuming the matrix is correct,
          $$det(lambda I-A)=
          begin{vmatrix}
          λ-2&0&-1\
          -1&λ-1&-a\
          0&0&λ-1
          end{vmatrix} =(lambda-1)begin{vmatrix} λ-2&0\
          -1&λ-1end{vmatrix} =(lambda-1)^2(lambda-2)
          $$
          and so, eigenvalues are $lambda=2$ double, and $lambda=1$ simple.






          share|cite|improve this answer

























            up vote
            0
            down vote













            Assuming the matrix is correct,
            $$det(lambda I-A)=
            begin{vmatrix}
            λ-2&0&-1\
            -1&λ-1&-a\
            0&0&λ-1
            end{vmatrix} =(lambda-1)begin{vmatrix} λ-2&0\
            -1&λ-1end{vmatrix} =(lambda-1)^2(lambda-2)
            $$
            and so, eigenvalues are $lambda=2$ double, and $lambda=1$ simple.






            share|cite|improve this answer























              up vote
              0
              down vote










              up vote
              0
              down vote









              Assuming the matrix is correct,
              $$det(lambda I-A)=
              begin{vmatrix}
              λ-2&0&-1\
              -1&λ-1&-a\
              0&0&λ-1
              end{vmatrix} =(lambda-1)begin{vmatrix} λ-2&0\
              -1&λ-1end{vmatrix} =(lambda-1)^2(lambda-2)
              $$
              and so, eigenvalues are $lambda=2$ double, and $lambda=1$ simple.






              share|cite|improve this answer












              Assuming the matrix is correct,
              $$det(lambda I-A)=
              begin{vmatrix}
              λ-2&0&-1\
              -1&λ-1&-a\
              0&0&λ-1
              end{vmatrix} =(lambda-1)begin{vmatrix} λ-2&0\
              -1&λ-1end{vmatrix} =(lambda-1)^2(lambda-2)
              $$
              and so, eigenvalues are $lambda=2$ double, and $lambda=1$ simple.







              share|cite|improve this answer












              share|cite|improve this answer



              share|cite|improve this answer










              answered Nov 27 at 8:25









              Tito Eliatron

              1,307622




              1,307622






















                  up vote
                  0
                  down vote













                  A matrix is singular amongst other things if it has a zero row or column, or if two rows or columns are linearly dependent. Subtracting $lambda$ from diagonal elements just changed the diagonal.



                  I can see that I can change the $1$ in the bottom row to a zero by a suitable choice of $lambda$ and if the top left entry were $0$ the bottom row would be a multiple of the top one. So I can read two eigenvalues off straight away. Then the trace - the sum of the diagonal entries - is the sum of the eigenvalues.



                  Now either that solves the problem without doing the computations, or - if the computation is expected - it acts as a robust check on your arithmetic.





                  I have assumed that the matrix first given is right. One of the zeros in the bottom row will appear in any sub-product of the determinant which involves $a$ so you can tell that the determinant will be independent of $a$.



                  This is to encourage you to look at the matrix for clues (columns will do as well as rows) which will either act as a check on your computations or give you short-cuts.






                  share|cite|improve this answer

























                    up vote
                    0
                    down vote













                    A matrix is singular amongst other things if it has a zero row or column, or if two rows or columns are linearly dependent. Subtracting $lambda$ from diagonal elements just changed the diagonal.



                    I can see that I can change the $1$ in the bottom row to a zero by a suitable choice of $lambda$ and if the top left entry were $0$ the bottom row would be a multiple of the top one. So I can read two eigenvalues off straight away. Then the trace - the sum of the diagonal entries - is the sum of the eigenvalues.



                    Now either that solves the problem without doing the computations, or - if the computation is expected - it acts as a robust check on your arithmetic.





                    I have assumed that the matrix first given is right. One of the zeros in the bottom row will appear in any sub-product of the determinant which involves $a$ so you can tell that the determinant will be independent of $a$.



                    This is to encourage you to look at the matrix for clues (columns will do as well as rows) which will either act as a check on your computations or give you short-cuts.






                    share|cite|improve this answer























                      up vote
                      0
                      down vote










                      up vote
                      0
                      down vote









                      A matrix is singular amongst other things if it has a zero row or column, or if two rows or columns are linearly dependent. Subtracting $lambda$ from diagonal elements just changed the diagonal.



                      I can see that I can change the $1$ in the bottom row to a zero by a suitable choice of $lambda$ and if the top left entry were $0$ the bottom row would be a multiple of the top one. So I can read two eigenvalues off straight away. Then the trace - the sum of the diagonal entries - is the sum of the eigenvalues.



                      Now either that solves the problem without doing the computations, or - if the computation is expected - it acts as a robust check on your arithmetic.





                      I have assumed that the matrix first given is right. One of the zeros in the bottom row will appear in any sub-product of the determinant which involves $a$ so you can tell that the determinant will be independent of $a$.



                      This is to encourage you to look at the matrix for clues (columns will do as well as rows) which will either act as a check on your computations or give you short-cuts.






                      share|cite|improve this answer












                      A matrix is singular amongst other things if it has a zero row or column, or if two rows or columns are linearly dependent. Subtracting $lambda$ from diagonal elements just changed the diagonal.



                      I can see that I can change the $1$ in the bottom row to a zero by a suitable choice of $lambda$ and if the top left entry were $0$ the bottom row would be a multiple of the top one. So I can read two eigenvalues off straight away. Then the trace - the sum of the diagonal entries - is the sum of the eigenvalues.



                      Now either that solves the problem without doing the computations, or - if the computation is expected - it acts as a robust check on your arithmetic.





                      I have assumed that the matrix first given is right. One of the zeros in the bottom row will appear in any sub-product of the determinant which involves $a$ so you can tell that the determinant will be independent of $a$.



                      This is to encourage you to look at the matrix for clues (columns will do as well as rows) which will either act as a check on your computations or give you short-cuts.







                      share|cite|improve this answer












                      share|cite|improve this answer



                      share|cite|improve this answer










                      answered Nov 27 at 8:33









                      Mark Bennet

                      80.1k981179




                      80.1k981179






















                          up vote
                          0
                          down vote













                          You’ve made an error in computing the determinant: it should be $lambda^3-4lambda^2+5lambda-2$. However, it’s not necessary to go through all of that for this particular matrix.



                          A matrix and its transpose have the same eigenvalues, so we can examine the rows of the matrix. From the last row, we have the left eigenvector $(0,0,1)$ with eigenvalue $1$. If you add the first and third rows, you get $(2,0,2)$, but left-multiplying a matrix by $(1,0,1)$ performs this addition, so we have another eigenvector/eigenvalue pair: $(1,0,1)$ and $2$. The trace of a matrix is equal to the sum of its eigenvalues, so we can find the last eigenvalue “for free:” it’s $4-2-1=1$. With a bit of practice, you’ll be able to spot things like this.






                          share|cite|improve this answer

























                            up vote
                            0
                            down vote













                            You’ve made an error in computing the determinant: it should be $lambda^3-4lambda^2+5lambda-2$. However, it’s not necessary to go through all of that for this particular matrix.



                            A matrix and its transpose have the same eigenvalues, so we can examine the rows of the matrix. From the last row, we have the left eigenvector $(0,0,1)$ with eigenvalue $1$. If you add the first and third rows, you get $(2,0,2)$, but left-multiplying a matrix by $(1,0,1)$ performs this addition, so we have another eigenvector/eigenvalue pair: $(1,0,1)$ and $2$. The trace of a matrix is equal to the sum of its eigenvalues, so we can find the last eigenvalue “for free:” it’s $4-2-1=1$. With a bit of practice, you’ll be able to spot things like this.






                            share|cite|improve this answer























                              up vote
                              0
                              down vote










                              up vote
                              0
                              down vote









                              You’ve made an error in computing the determinant: it should be $lambda^3-4lambda^2+5lambda-2$. However, it’s not necessary to go through all of that for this particular matrix.



                              A matrix and its transpose have the same eigenvalues, so we can examine the rows of the matrix. From the last row, we have the left eigenvector $(0,0,1)$ with eigenvalue $1$. If you add the first and third rows, you get $(2,0,2)$, but left-multiplying a matrix by $(1,0,1)$ performs this addition, so we have another eigenvector/eigenvalue pair: $(1,0,1)$ and $2$. The trace of a matrix is equal to the sum of its eigenvalues, so we can find the last eigenvalue “for free:” it’s $4-2-1=1$. With a bit of practice, you’ll be able to spot things like this.






                              share|cite|improve this answer












                              You’ve made an error in computing the determinant: it should be $lambda^3-4lambda^2+5lambda-2$. However, it’s not necessary to go through all of that for this particular matrix.



                              A matrix and its transpose have the same eigenvalues, so we can examine the rows of the matrix. From the last row, we have the left eigenvector $(0,0,1)$ with eigenvalue $1$. If you add the first and third rows, you get $(2,0,2)$, but left-multiplying a matrix by $(1,0,1)$ performs this addition, so we have another eigenvector/eigenvalue pair: $(1,0,1)$ and $2$. The trace of a matrix is equal to the sum of its eigenvalues, so we can find the last eigenvalue “for free:” it’s $4-2-1=1$. With a bit of practice, you’ll be able to spot things like this.







                              share|cite|improve this answer












                              share|cite|improve this answer



                              share|cite|improve this answer










                              answered Nov 27 at 10:05









                              amd

                              29k21050




                              29k21050






















                                  up vote
                                  0
                                  down vote













                                  Hint:
                                  $$
                                  left[
                                  begin{array}{ccc}
                                  2&0&1\
                                  1&1&a\
                                  0&0&1
                                  end{array}
                                  right]
                                  =
                                  Pleft[
                                  begin{array}{ccc}
                                  2&1&1\
                                  0&1&a\
                                  0&0&1
                                  end{array}
                                  right] P^{-1}
                                  $$



                                  Where $P$ is a permutation matrix.






                                  share|cite|improve this answer

























                                    up vote
                                    0
                                    down vote













                                    Hint:
                                    $$
                                    left[
                                    begin{array}{ccc}
                                    2&0&1\
                                    1&1&a\
                                    0&0&1
                                    end{array}
                                    right]
                                    =
                                    Pleft[
                                    begin{array}{ccc}
                                    2&1&1\
                                    0&1&a\
                                    0&0&1
                                    end{array}
                                    right] P^{-1}
                                    $$



                                    Where $P$ is a permutation matrix.






                                    share|cite|improve this answer























                                      up vote
                                      0
                                      down vote










                                      up vote
                                      0
                                      down vote









                                      Hint:
                                      $$
                                      left[
                                      begin{array}{ccc}
                                      2&0&1\
                                      1&1&a\
                                      0&0&1
                                      end{array}
                                      right]
                                      =
                                      Pleft[
                                      begin{array}{ccc}
                                      2&1&1\
                                      0&1&a\
                                      0&0&1
                                      end{array}
                                      right] P^{-1}
                                      $$



                                      Where $P$ is a permutation matrix.






                                      share|cite|improve this answer












                                      Hint:
                                      $$
                                      left[
                                      begin{array}{ccc}
                                      2&0&1\
                                      1&1&a\
                                      0&0&1
                                      end{array}
                                      right]
                                      =
                                      Pleft[
                                      begin{array}{ccc}
                                      2&1&1\
                                      0&1&a\
                                      0&0&1
                                      end{array}
                                      right] P^{-1}
                                      $$



                                      Where $P$ is a permutation matrix.







                                      share|cite|improve this answer












                                      share|cite|improve this answer



                                      share|cite|improve this answer










                                      answered Nov 27 at 15:16









                                      zimbra314

                                      456212




                                      456212






























                                          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.





                                          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                                          Please pay close attention to the following guidance:


                                          • 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.


                                          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%2f3015489%2ffinding-eigenvalues-from-a-matrix-that-has-constant-a%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

                                          Wiesbaden

                                          Marschland

                                          Dieringhausen