Problem with EigenvectorsOptimization problem with matrix positivity constraintsEigenvector AnomalyEasier way to calculate Taylor remainder in 2nd order seriesWhat does it mean when Mathematica returns a zero “eigenvector”?DEigenvalues with Robin B.C. sign problemHow to use DEigensystem with periodic boundary conditions on the derivative?Where do two bicubic-interpolated surfaces intersect a plane?Solving 4th order polynomialWhy SVD cannot recover the original matrix and suffer from numerical instability?Eigenvectors of Hermitian matrices

A stranger from Norway wants to have money delivered to me

In Pokémon Go, why does one of my Pikachu have an option to evolve, but another one doesn't?

What word can be used to describe a bug in a movie?

How do I explain to a team that the project they will work on for six months will certainly be cancelled?

Is TA-ing worth the opportunity cost?

How quickly could a country build a tall concrete wall around a city?

Why "ch" pronunciation rule doesn't occur for words such as "durch", "manchmal"?

Infeasibility in mathematical optimization models

Ordering a word list

Why should we care about syntactic proofs if we can show semantically that statements are true?

Are there any financial disadvantages to living significantly "below your means"?

Why isn’t SHA-3 in wider use?

What is the idiomatic way of saying “he is ticklish under armpits”?

In reversi, can you overwrite two chips in one move?

Plausibility of Ice Eaters in the Arctic

Why is there a need to prevent a racist, sexist, or otherwise bigoted vendor from discriminating who they sell to?

I was asked to prove the Principle of Cauchy Induction

sed delete all the words before a match

Was the 2019 Lion King film made through motion capture?

Y2K... in 2019?

Generator for parity?

Colors and corresponding numbers

Do other countries guarantee freedoms that the United States does not have?

Drawing complex inscribed and circumscribed polygons in TikZ



Problem with Eigenvectors


Optimization problem with matrix positivity constraintsEigenvector AnomalyEasier way to calculate Taylor remainder in 2nd order seriesWhat does it mean when Mathematica returns a zero “eigenvector”?DEigenvalues with Robin B.C. sign problemHow to use DEigensystem with periodic boundary conditions on the derivative?Where do two bicubic-interpolated surfaces intersect a plane?Solving 4th order polynomialWhy SVD cannot recover the original matrix and suffer from numerical instability?Eigenvectors of Hermitian matrices






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








3












$begingroup$


When I want to calculate eigenvectors of the following matrix in Mathematica the only answer it gives me is zero vector, anybody knows how to fix this?
here's my matrix :
beginequation
X=left(beginarraycccc
0 & 1 & 0 & 0&0&0\
1 & 0 & sqrt2 & 0&0&0\
0 & sqrt2 & 0 & sqrt3&0&0\
0 & 0 & sqrt3 & 0& sqrt4 &0\0&0&0&sqrt4 &0&sqrt5 \ 0&0&0&0&sqrt5 &0
endarrayright)
endequation

heres the code:



X = 0, 1, 0, 0, 0, 0,
1, 0, Sqrt[2], 0, 0, 0,
0, Sqrt[2], 0, Sqrt[3], 0, 0,
0, 0, Sqrt[3], 0, Sqrt[4], 0,
0, 0, 0, Sqrt[4], 0, Sqrt[5],
0, 0, 0, 0, Sqrt[5], 0
;
Eigenvectors[X]


The point is I don't want to find them numerically I want analytical expression for eigenvectors.










share|improve this question











$endgroup$




















    3












    $begingroup$


    When I want to calculate eigenvectors of the following matrix in Mathematica the only answer it gives me is zero vector, anybody knows how to fix this?
    here's my matrix :
    beginequation
    X=left(beginarraycccc
    0 & 1 & 0 & 0&0&0\
    1 & 0 & sqrt2 & 0&0&0\
    0 & sqrt2 & 0 & sqrt3&0&0\
    0 & 0 & sqrt3 & 0& sqrt4 &0\0&0&0&sqrt4 &0&sqrt5 \ 0&0&0&0&sqrt5 &0
    endarrayright)
    endequation

    heres the code:



    X = 0, 1, 0, 0, 0, 0,
    1, 0, Sqrt[2], 0, 0, 0,
    0, Sqrt[2], 0, Sqrt[3], 0, 0,
    0, 0, Sqrt[3], 0, Sqrt[4], 0,
    0, 0, 0, Sqrt[4], 0, Sqrt[5],
    0, 0, 0, 0, Sqrt[5], 0
    ;
    Eigenvectors[X]


    The point is I don't want to find them numerically I want analytical expression for eigenvectors.










    share|improve this question











    $endgroup$
















      3












      3








      3





      $begingroup$


      When I want to calculate eigenvectors of the following matrix in Mathematica the only answer it gives me is zero vector, anybody knows how to fix this?
      here's my matrix :
      beginequation
      X=left(beginarraycccc
      0 & 1 & 0 & 0&0&0\
      1 & 0 & sqrt2 & 0&0&0\
      0 & sqrt2 & 0 & sqrt3&0&0\
      0 & 0 & sqrt3 & 0& sqrt4 &0\0&0&0&sqrt4 &0&sqrt5 \ 0&0&0&0&sqrt5 &0
      endarrayright)
      endequation

      heres the code:



      X = 0, 1, 0, 0, 0, 0,
      1, 0, Sqrt[2], 0, 0, 0,
      0, Sqrt[2], 0, Sqrt[3], 0, 0,
      0, 0, Sqrt[3], 0, Sqrt[4], 0,
      0, 0, 0, Sqrt[4], 0, Sqrt[5],
      0, 0, 0, 0, Sqrt[5], 0
      ;
      Eigenvectors[X]


      The point is I don't want to find them numerically I want analytical expression for eigenvectors.










      share|improve this question











      $endgroup$




      When I want to calculate eigenvectors of the following matrix in Mathematica the only answer it gives me is zero vector, anybody knows how to fix this?
      here's my matrix :
      beginequation
      X=left(beginarraycccc
      0 & 1 & 0 & 0&0&0\
      1 & 0 & sqrt2 & 0&0&0\
      0 & sqrt2 & 0 & sqrt3&0&0\
      0 & 0 & sqrt3 & 0& sqrt4 &0\0&0&0&sqrt4 &0&sqrt5 \ 0&0&0&0&sqrt5 &0
      endarrayright)
      endequation

      heres the code:



      X = 0, 1, 0, 0, 0, 0,
      1, 0, Sqrt[2], 0, 0, 0,
      0, Sqrt[2], 0, Sqrt[3], 0, 0,
      0, 0, Sqrt[3], 0, Sqrt[4], 0,
      0, 0, 0, Sqrt[4], 0, Sqrt[5],
      0, 0, 0, 0, Sqrt[5], 0
      ;
      Eigenvectors[X]


      The point is I don't want to find them numerically I want analytical expression for eigenvectors.







      matrix eigenvalues






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 30 at 11:56









      user64494

      1




      1










      asked Jul 30 at 8:12









      JasonJason

      375 bronze badges




      375 bronze badges























          2 Answers
          2






          active

          oldest

          votes


















          7












          $begingroup$


          the only answer it gives me is zero vector




          It works for me. Please post exact code you used and show the output. Not just Latex. And give which version you used. You might have made a mistake in the input.



          On V12:



          mat = 0, 1, 0, 0, 0, 0,
          1, 0, Sqrt[2], 0, 0, 0,
          0, Sqrt[2], 0, Sqrt[3], 0, 0,
          0, 0, Sqrt[3], 0, Sqrt[4], 0,
          0, 0, 0, Sqrt[4], 0, Sqrt[5],
          0, 0, 0, 0, Sqrt[5], 0
          ;


          Mathematica graphics



          Eigenvectors[mat];
          MatrixForm[% // N]


          Mathematica graphics



          Update



          OP wants solution to be analytical solution and not numerical.



          Mathematica gives answer using Roots objects.



          Using



          SetSystemOptions[
          "TypesetOptions" -> "NumericalApproximationForms" -> False];
          Eigenvectors[mat]


          Gives



          Mathematica graphics



          TO obtain numerical values, the command N can be applied to the above.






          share|improve this answer











          $endgroup$














          • $begingroup$
            The point is I dont want to find the mnumerically i want their analytical expression.
            $endgroup$
            – Jason
            Jul 30 at 10:57






          • 1




            $begingroup$
            The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
            $endgroup$
            – Nasser
            Jul 30 at 11:04











          • $begingroup$
            @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
            $endgroup$
            – Jason
            Jul 30 at 12:48


















          3












          $begingroup$

          Since you didn't post any code, it's hard to know what you did wrong. Please always post your code!



          When in doubt if mathematica is correct about what it's doing, do it by hand..this of course really only works when the question in hand is small like yours.



          matA = 0, 1, 0, 0, 0, 0, 1, 0, Sqrt[2], 0, 0, 0, 0, Sqrt[2], 0, Sqrt[3], 0, 0, 0, 0, Sqrt[3], 0, Sqrt[4], 0, 0, 0, 0, Sqrt[4],0, Sqrt[5], 0, 0, 0, 0, Sqrt[5], 0;

          poly = Det[matA - IdentityMatrix[6] [Lambda]]


          $$lambda ^6-15 lambda ^4+45 lambda ^2-15$$



          sol = Solve[poly == 0 , [Lambda]];

          eigen = matA - IdentityMatrix[6] [Lambda] /. sol[[1]]


          Using RowReduce we can find one of our vectors.



          sol2 = RowReduce[eigen]
          sol2[[All, 6]] // MatrixForm


          pic



          The Last column being our first vector. The last element is a zero...this should be a one...an artifact of RowReduce I'm not sure why it does that. Regardless, a lot of work when one probably just used Eigenvectors[] the function incorrectly.






          share|improve this answer









          $endgroup$

















            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "387"
            ;
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f202967%2fproblem-with-eigenvectors%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









            7












            $begingroup$


            the only answer it gives me is zero vector




            It works for me. Please post exact code you used and show the output. Not just Latex. And give which version you used. You might have made a mistake in the input.



            On V12:



            mat = 0, 1, 0, 0, 0, 0,
            1, 0, Sqrt[2], 0, 0, 0,
            0, Sqrt[2], 0, Sqrt[3], 0, 0,
            0, 0, Sqrt[3], 0, Sqrt[4], 0,
            0, 0, 0, Sqrt[4], 0, Sqrt[5],
            0, 0, 0, 0, Sqrt[5], 0
            ;


            Mathematica graphics



            Eigenvectors[mat];
            MatrixForm[% // N]


            Mathematica graphics



            Update



            OP wants solution to be analytical solution and not numerical.



            Mathematica gives answer using Roots objects.



            Using



            SetSystemOptions[
            "TypesetOptions" -> "NumericalApproximationForms" -> False];
            Eigenvectors[mat]


            Gives



            Mathematica graphics



            TO obtain numerical values, the command N can be applied to the above.






            share|improve this answer











            $endgroup$














            • $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression.
              $endgroup$
              – Jason
              Jul 30 at 10:57






            • 1




              $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
              $endgroup$
              – Nasser
              Jul 30 at 11:04











            • $begingroup$
              @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
              $endgroup$
              – Jason
              Jul 30 at 12:48















            7












            $begingroup$


            the only answer it gives me is zero vector




            It works for me. Please post exact code you used and show the output. Not just Latex. And give which version you used. You might have made a mistake in the input.



            On V12:



            mat = 0, 1, 0, 0, 0, 0,
            1, 0, Sqrt[2], 0, 0, 0,
            0, Sqrt[2], 0, Sqrt[3], 0, 0,
            0, 0, Sqrt[3], 0, Sqrt[4], 0,
            0, 0, 0, Sqrt[4], 0, Sqrt[5],
            0, 0, 0, 0, Sqrt[5], 0
            ;


            Mathematica graphics



            Eigenvectors[mat];
            MatrixForm[% // N]


            Mathematica graphics



            Update



            OP wants solution to be analytical solution and not numerical.



            Mathematica gives answer using Roots objects.



            Using



            SetSystemOptions[
            "TypesetOptions" -> "NumericalApproximationForms" -> False];
            Eigenvectors[mat]


            Gives



            Mathematica graphics



            TO obtain numerical values, the command N can be applied to the above.






            share|improve this answer











            $endgroup$














            • $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression.
              $endgroup$
              – Jason
              Jul 30 at 10:57






            • 1




              $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
              $endgroup$
              – Nasser
              Jul 30 at 11:04











            • $begingroup$
              @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
              $endgroup$
              – Jason
              Jul 30 at 12:48













            7












            7








            7





            $begingroup$


            the only answer it gives me is zero vector




            It works for me. Please post exact code you used and show the output. Not just Latex. And give which version you used. You might have made a mistake in the input.



            On V12:



            mat = 0, 1, 0, 0, 0, 0,
            1, 0, Sqrt[2], 0, 0, 0,
            0, Sqrt[2], 0, Sqrt[3], 0, 0,
            0, 0, Sqrt[3], 0, Sqrt[4], 0,
            0, 0, 0, Sqrt[4], 0, Sqrt[5],
            0, 0, 0, 0, Sqrt[5], 0
            ;


            Mathematica graphics



            Eigenvectors[mat];
            MatrixForm[% // N]


            Mathematica graphics



            Update



            OP wants solution to be analytical solution and not numerical.



            Mathematica gives answer using Roots objects.



            Using



            SetSystemOptions[
            "TypesetOptions" -> "NumericalApproximationForms" -> False];
            Eigenvectors[mat]


            Gives



            Mathematica graphics



            TO obtain numerical values, the command N can be applied to the above.






            share|improve this answer











            $endgroup$




            the only answer it gives me is zero vector




            It works for me. Please post exact code you used and show the output. Not just Latex. And give which version you used. You might have made a mistake in the input.



            On V12:



            mat = 0, 1, 0, 0, 0, 0,
            1, 0, Sqrt[2], 0, 0, 0,
            0, Sqrt[2], 0, Sqrt[3], 0, 0,
            0, 0, Sqrt[3], 0, Sqrt[4], 0,
            0, 0, 0, Sqrt[4], 0, Sqrt[5],
            0, 0, 0, 0, Sqrt[5], 0
            ;


            Mathematica graphics



            Eigenvectors[mat];
            MatrixForm[% // N]


            Mathematica graphics



            Update



            OP wants solution to be analytical solution and not numerical.



            Mathematica gives answer using Roots objects.



            Using



            SetSystemOptions[
            "TypesetOptions" -> "NumericalApproximationForms" -> False];
            Eigenvectors[mat]


            Gives



            Mathematica graphics



            TO obtain numerical values, the command N can be applied to the above.







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jul 30 at 11:08

























            answered Jul 30 at 8:37









            NasserNasser

            61.1k4 gold badges93 silver badges214 bronze badges




            61.1k4 gold badges93 silver badges214 bronze badges














            • $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression.
              $endgroup$
              – Jason
              Jul 30 at 10:57






            • 1




              $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
              $endgroup$
              – Nasser
              Jul 30 at 11:04











            • $begingroup$
              @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
              $endgroup$
              – Jason
              Jul 30 at 12:48
















            • $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression.
              $endgroup$
              – Jason
              Jul 30 at 10:57






            • 1




              $begingroup$
              The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
              $endgroup$
              – Nasser
              Jul 30 at 11:04











            • $begingroup$
              @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
              $endgroup$
              – Jason
              Jul 30 at 12:48















            $begingroup$
            The point is I dont want to find the mnumerically i want their analytical expression.
            $endgroup$
            – Jason
            Jul 30 at 10:57




            $begingroup$
            The point is I dont want to find the mnumerically i want their analytical expression.
            $endgroup$
            – Jason
            Jul 30 at 10:57




            1




            1




            $begingroup$
            The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
            $endgroup$
            – Nasser
            Jul 30 at 11:04





            $begingroup$
            The point is I dont want to find the mnumerically i want their analytical expression First, this was not what your question was about. You said you got zero as answer. So I do not know how this "numerical vs. analytical" now became the "point" of the question. But if you do not want numerical, you can remove //N. Answer will be in terms of Root objects though. I do not think there is a way to obtain analytical solution to roots of polynomials of order 6. So mathematica gives answer using Root objects. I'll add the code now..
            $endgroup$
            – Nasser
            Jul 30 at 11:04













            $begingroup$
            @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
            $endgroup$
            – Jason
            Jul 30 at 12:48




            $begingroup$
            @ Nasser yes you are right I wasn't considering the fact that it could be solved numerically, my mistake, anyway thanks a lot that worked
            $endgroup$
            – Jason
            Jul 30 at 12:48













            3












            $begingroup$

            Since you didn't post any code, it's hard to know what you did wrong. Please always post your code!



            When in doubt if mathematica is correct about what it's doing, do it by hand..this of course really only works when the question in hand is small like yours.



            matA = 0, 1, 0, 0, 0, 0, 1, 0, Sqrt[2], 0, 0, 0, 0, Sqrt[2], 0, Sqrt[3], 0, 0, 0, 0, Sqrt[3], 0, Sqrt[4], 0, 0, 0, 0, Sqrt[4],0, Sqrt[5], 0, 0, 0, 0, Sqrt[5], 0;

            poly = Det[matA - IdentityMatrix[6] [Lambda]]


            $$lambda ^6-15 lambda ^4+45 lambda ^2-15$$



            sol = Solve[poly == 0 , [Lambda]];

            eigen = matA - IdentityMatrix[6] [Lambda] /. sol[[1]]


            Using RowReduce we can find one of our vectors.



            sol2 = RowReduce[eigen]
            sol2[[All, 6]] // MatrixForm


            pic



            The Last column being our first vector. The last element is a zero...this should be a one...an artifact of RowReduce I'm not sure why it does that. Regardless, a lot of work when one probably just used Eigenvectors[] the function incorrectly.






            share|improve this answer









            $endgroup$



















              3












              $begingroup$

              Since you didn't post any code, it's hard to know what you did wrong. Please always post your code!



              When in doubt if mathematica is correct about what it's doing, do it by hand..this of course really only works when the question in hand is small like yours.



              matA = 0, 1, 0, 0, 0, 0, 1, 0, Sqrt[2], 0, 0, 0, 0, Sqrt[2], 0, Sqrt[3], 0, 0, 0, 0, Sqrt[3], 0, Sqrt[4], 0, 0, 0, 0, Sqrt[4],0, Sqrt[5], 0, 0, 0, 0, Sqrt[5], 0;

              poly = Det[matA - IdentityMatrix[6] [Lambda]]


              $$lambda ^6-15 lambda ^4+45 lambda ^2-15$$



              sol = Solve[poly == 0 , [Lambda]];

              eigen = matA - IdentityMatrix[6] [Lambda] /. sol[[1]]


              Using RowReduce we can find one of our vectors.



              sol2 = RowReduce[eigen]
              sol2[[All, 6]] // MatrixForm


              pic



              The Last column being our first vector. The last element is a zero...this should be a one...an artifact of RowReduce I'm not sure why it does that. Regardless, a lot of work when one probably just used Eigenvectors[] the function incorrectly.






              share|improve this answer









              $endgroup$

















                3












                3








                3





                $begingroup$

                Since you didn't post any code, it's hard to know what you did wrong. Please always post your code!



                When in doubt if mathematica is correct about what it's doing, do it by hand..this of course really only works when the question in hand is small like yours.



                matA = 0, 1, 0, 0, 0, 0, 1, 0, Sqrt[2], 0, 0, 0, 0, Sqrt[2], 0, Sqrt[3], 0, 0, 0, 0, Sqrt[3], 0, Sqrt[4], 0, 0, 0, 0, Sqrt[4],0, Sqrt[5], 0, 0, 0, 0, Sqrt[5], 0;

                poly = Det[matA - IdentityMatrix[6] [Lambda]]


                $$lambda ^6-15 lambda ^4+45 lambda ^2-15$$



                sol = Solve[poly == 0 , [Lambda]];

                eigen = matA - IdentityMatrix[6] [Lambda] /. sol[[1]]


                Using RowReduce we can find one of our vectors.



                sol2 = RowReduce[eigen]
                sol2[[All, 6]] // MatrixForm


                pic



                The Last column being our first vector. The last element is a zero...this should be a one...an artifact of RowReduce I'm not sure why it does that. Regardless, a lot of work when one probably just used Eigenvectors[] the function incorrectly.






                share|improve this answer









                $endgroup$



                Since you didn't post any code, it's hard to know what you did wrong. Please always post your code!



                When in doubt if mathematica is correct about what it's doing, do it by hand..this of course really only works when the question in hand is small like yours.



                matA = 0, 1, 0, 0, 0, 0, 1, 0, Sqrt[2], 0, 0, 0, 0, Sqrt[2], 0, Sqrt[3], 0, 0, 0, 0, Sqrt[3], 0, Sqrt[4], 0, 0, 0, 0, Sqrt[4],0, Sqrt[5], 0, 0, 0, 0, Sqrt[5], 0;

                poly = Det[matA - IdentityMatrix[6] [Lambda]]


                $$lambda ^6-15 lambda ^4+45 lambda ^2-15$$



                sol = Solve[poly == 0 , [Lambda]];

                eigen = matA - IdentityMatrix[6] [Lambda] /. sol[[1]]


                Using RowReduce we can find one of our vectors.



                sol2 = RowReduce[eigen]
                sol2[[All, 6]] // MatrixForm


                pic



                The Last column being our first vector. The last element is a zero...this should be a one...an artifact of RowReduce I'm not sure why it does that. Regardless, a lot of work when one probably just used Eigenvectors[] the function incorrectly.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jul 30 at 9:09









                morbomorbo

                7323 silver badges9 bronze badges




                7323 silver badges9 bronze badges






























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Mathematica 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%2fmathematica.stackexchange.com%2fquestions%2f202967%2fproblem-with-eigenvectors%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

                    Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

                    Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

                    Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림