Noise in Eigenvalues plot Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Problem with plotting eigenvaluesHow to overlay ListPlot on a ContourPlot with correct range?Trying to find intersection of 3 functions graphicallySome glitch in the Plot: Two approaches for plotting give different resultsDEigenvalues with Robin B.C. sign problemHow can I add a custom color function and a custom mesh to a 3D parametric plot?How do I plot $y=8 sin(2 pi / 3)$?Plotting eigenvalues in one plot for three different parametersEigenvalues of a non-Hermitian complex periodic potentialHow to compute eigenvalues of a large symbolic matrix?

Understanding piped command in Gnu/Linux

Can two people see the same photon?

How do Java 8 default methods hеlp with lambdas?

What are some likely causes to domain member PC losing contact to domain controller?

Table formatting with tabularx?

Sally's older brother

Problem with display of presentation

"Destructive power" carried by a B-52?

latest version of QGIS fails to edit attribute table of GeoJSON file

What did Turing mean when saying that "machines cannot give rise to surprises" is due to a fallacy?

Does the main washing effect of soap come from foam?

Why BitLocker does not use RSA

Is this Kuo-toa homebrew race balanced?

Statistical analysis applied to methods coming out of Machine Learning

Fit odd number of triplets in a measure?

First paper to introduce the "principal-agent problem"

Is Normal(mean, variance) mod x still a normal distribution?

New Order #6: Easter Egg

Is there a spell that can create a permanent fire?

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

One-one communication

Did pre-Columbian Americans know the spherical shape of the Earth?

A proverb that is used to imply that you have unexpectedly faced a big problem

Is a copyright notice with a non-existent name be invalid?



Noise in Eigenvalues plot



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Problem with plotting eigenvaluesHow to overlay ListPlot on a ContourPlot with correct range?Trying to find intersection of 3 functions graphicallySome glitch in the Plot: Two approaches for plotting give different resultsDEigenvalues with Robin B.C. sign problemHow can I add a custom color function and a custom mesh to a 3D parametric plot?How do I plot $y=8 sin(2 pi / 3)$?Plotting eigenvalues in one plot for three different parametersEigenvalues of a non-Hermitian complex periodic potentialHow to compute eigenvalues of a large symbolic matrix?










2












$begingroup$


I am trying to Plot Eigenvalues of a Hamiltonian, but I am getting noisy plot, which is incorrect. Here is the code.



A1 = 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0;
A2 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, -I, 0, 0, I, 0;
A3 = 0, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, 0;
A4 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, I, 0, 0, -I, 0;
A5 = 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1;
A6 = 0, 0, 0, -I, 0, 0, I, 0, 0, -I, 0, 0, I, 0, 0, 0;
A7 = 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0;
A8 = 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1;
H[d_, λ_, β_, m_] :=
a (Sin[x] A1 + Sin[ky] A2) + A3 β +
d A4 + (t Cos[z] + 2 b (2 - Cos[x] - Cos[ky])) A5 + α*
Sin[ky] A6 + λ Sin[z] A7+m*A8;
ky = 0;
a = 1;
b = 1;
t = 1.5;
α = 0.3;
Plot3D[Eigenvalues[H[0.1, 0.5, 0.7, 0]][[4]], x, -π, π, z, 0, 2 π]


Mathematica graphics



Any help will be highly appreciated.










share|improve this question











$endgroup$
















    2












    $begingroup$


    I am trying to Plot Eigenvalues of a Hamiltonian, but I am getting noisy plot, which is incorrect. Here is the code.



    A1 = 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0;
    A2 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, -I, 0, 0, I, 0;
    A3 = 0, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, 0;
    A4 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, I, 0, 0, -I, 0;
    A5 = 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1;
    A6 = 0, 0, 0, -I, 0, 0, I, 0, 0, -I, 0, 0, I, 0, 0, 0;
    A7 = 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0;
    A8 = 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1;
    H[d_, λ_, β_, m_] :=
    a (Sin[x] A1 + Sin[ky] A2) + A3 β +
    d A4 + (t Cos[z] + 2 b (2 - Cos[x] - Cos[ky])) A5 + α*
    Sin[ky] A6 + λ Sin[z] A7+m*A8;
    ky = 0;
    a = 1;
    b = 1;
    t = 1.5;
    α = 0.3;
    Plot3D[Eigenvalues[H[0.1, 0.5, 0.7, 0]][[4]], x, -π, π, z, 0, 2 π]


    Mathematica graphics



    Any help will be highly appreciated.










    share|improve this question











    $endgroup$














      2












      2








      2





      $begingroup$


      I am trying to Plot Eigenvalues of a Hamiltonian, but I am getting noisy plot, which is incorrect. Here is the code.



      A1 = 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0;
      A2 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, -I, 0, 0, I, 0;
      A3 = 0, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, 0;
      A4 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, I, 0, 0, -I, 0;
      A5 = 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1;
      A6 = 0, 0, 0, -I, 0, 0, I, 0, 0, -I, 0, 0, I, 0, 0, 0;
      A7 = 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0;
      A8 = 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1;
      H[d_, λ_, β_, m_] :=
      a (Sin[x] A1 + Sin[ky] A2) + A3 β +
      d A4 + (t Cos[z] + 2 b (2 - Cos[x] - Cos[ky])) A5 + α*
      Sin[ky] A6 + λ Sin[z] A7+m*A8;
      ky = 0;
      a = 1;
      b = 1;
      t = 1.5;
      α = 0.3;
      Plot3D[Eigenvalues[H[0.1, 0.5, 0.7, 0]][[4]], x, -π, π, z, 0, 2 π]


      Mathematica graphics



      Any help will be highly appreciated.










      share|improve this question











      $endgroup$




      I am trying to Plot Eigenvalues of a Hamiltonian, but I am getting noisy plot, which is incorrect. Here is the code.



      A1 = 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, -1, 0, 0, -1, 0;
      A2 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, -I, 0, 0, I, 0;
      A3 = 0, 0, 0, -1, 0, 0, 1, 0, 0, 1, 0, 0, -1, 0, 0, 0;
      A4 = 0, -I, 0, 0, I, 0, 0, 0, 0, 0, 0, I, 0, 0, -I, 0;
      A5 = 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1;
      A6 = 0, 0, 0, -I, 0, 0, I, 0, 0, -I, 0, 0, I, 0, 0, 0;
      A7 = 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0;
      A8 = 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 0, 0, 0, -1;
      H[d_, λ_, β_, m_] :=
      a (Sin[x] A1 + Sin[ky] A2) + A3 β +
      d A4 + (t Cos[z] + 2 b (2 - Cos[x] - Cos[ky])) A5 + α*
      Sin[ky] A6 + λ Sin[z] A7+m*A8;
      ky = 0;
      a = 1;
      b = 1;
      t = 1.5;
      α = 0.3;
      Plot3D[Eigenvalues[H[0.1, 0.5, 0.7, 0]][[4]], x, -π, π, z, 0, 2 π]


      Mathematica graphics



      Any help will be highly appreciated.







      plotting eigenvalues






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 19 mins ago









      Michael E2

      151k12203483




      151k12203483










      asked 32 mins ago









      Hazoor ImranHazoor Imran

      213




      213




















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          By default, the eigenvalues are ordered by absolute value. All the eigenvalues of this particular matrix have the same absolute value plus some rounding errors. Thus, it can easily happen, that the fourth eigenvalue is positive or negative, depending on the parameters.



          You can use Max to plot the largest eigenvalue:



          Plot3D[Max@Eigenvalues[H[0.1, 0.5, 0.7, 0.]], x, -Pi, Pi, z, 0, 2 Pi]


          enter image description here



          Alternatively, you may use the "Criteria" suboption of the Method "Arnoldi":



          Plot3D[
          Eigenvalues[
          H[0.1, 0.5, 0.7, 0], -1,
          Method -> "Arnoldi", "Criteria" -> "RealPart"
          ],
          x, - Pi, Pi, z, 0, 2 Pi]





          share|improve this answer









          $endgroup$




















            2












            $begingroup$

            Not sure why you pick the 4th element, but maybe this will help:



            ev4 = Eigenvalues[H[p, q, r, s]][[4]] /. 
            Thread[p, q, r, s -> 0.1, 0.5, 0.7, 0];
            Plot3D[ev4, x, -π, π, z, 0, 2 π]


            enter image description here






            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%2f195721%2fnoise-in-eigenvalues-plot%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









              2












              $begingroup$

              By default, the eigenvalues are ordered by absolute value. All the eigenvalues of this particular matrix have the same absolute value plus some rounding errors. Thus, it can easily happen, that the fourth eigenvalue is positive or negative, depending on the parameters.



              You can use Max to plot the largest eigenvalue:



              Plot3D[Max@Eigenvalues[H[0.1, 0.5, 0.7, 0.]], x, -Pi, Pi, z, 0, 2 Pi]


              enter image description here



              Alternatively, you may use the "Criteria" suboption of the Method "Arnoldi":



              Plot3D[
              Eigenvalues[
              H[0.1, 0.5, 0.7, 0], -1,
              Method -> "Arnoldi", "Criteria" -> "RealPart"
              ],
              x, - Pi, Pi, z, 0, 2 Pi]





              share|improve this answer









              $endgroup$

















                2












                $begingroup$

                By default, the eigenvalues are ordered by absolute value. All the eigenvalues of this particular matrix have the same absolute value plus some rounding errors. Thus, it can easily happen, that the fourth eigenvalue is positive or negative, depending on the parameters.



                You can use Max to plot the largest eigenvalue:



                Plot3D[Max@Eigenvalues[H[0.1, 0.5, 0.7, 0.]], x, -Pi, Pi, z, 0, 2 Pi]


                enter image description here



                Alternatively, you may use the "Criteria" suboption of the Method "Arnoldi":



                Plot3D[
                Eigenvalues[
                H[0.1, 0.5, 0.7, 0], -1,
                Method -> "Arnoldi", "Criteria" -> "RealPart"
                ],
                x, - Pi, Pi, z, 0, 2 Pi]





                share|improve this answer









                $endgroup$















                  2












                  2








                  2





                  $begingroup$

                  By default, the eigenvalues are ordered by absolute value. All the eigenvalues of this particular matrix have the same absolute value plus some rounding errors. Thus, it can easily happen, that the fourth eigenvalue is positive or negative, depending on the parameters.



                  You can use Max to plot the largest eigenvalue:



                  Plot3D[Max@Eigenvalues[H[0.1, 0.5, 0.7, 0.]], x, -Pi, Pi, z, 0, 2 Pi]


                  enter image description here



                  Alternatively, you may use the "Criteria" suboption of the Method "Arnoldi":



                  Plot3D[
                  Eigenvalues[
                  H[0.1, 0.5, 0.7, 0], -1,
                  Method -> "Arnoldi", "Criteria" -> "RealPart"
                  ],
                  x, - Pi, Pi, z, 0, 2 Pi]





                  share|improve this answer









                  $endgroup$



                  By default, the eigenvalues are ordered by absolute value. All the eigenvalues of this particular matrix have the same absolute value plus some rounding errors. Thus, it can easily happen, that the fourth eigenvalue is positive or negative, depending on the parameters.



                  You can use Max to plot the largest eigenvalue:



                  Plot3D[Max@Eigenvalues[H[0.1, 0.5, 0.7, 0.]], x, -Pi, Pi, z, 0, 2 Pi]


                  enter image description here



                  Alternatively, you may use the "Criteria" suboption of the Method "Arnoldi":



                  Plot3D[
                  Eigenvalues[
                  H[0.1, 0.5, 0.7, 0], -1,
                  Method -> "Arnoldi", "Criteria" -> "RealPart"
                  ],
                  x, - Pi, Pi, z, 0, 2 Pi]






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 14 mins ago









                  Henrik SchumacherHenrik Schumacher

                  60.7k585171




                  60.7k585171





















                      2












                      $begingroup$

                      Not sure why you pick the 4th element, but maybe this will help:



                      ev4 = Eigenvalues[H[p, q, r, s]][[4]] /. 
                      Thread[p, q, r, s -> 0.1, 0.5, 0.7, 0];
                      Plot3D[ev4, x, -π, π, z, 0, 2 π]


                      enter image description here






                      share|improve this answer









                      $endgroup$

















                        2












                        $begingroup$

                        Not sure why you pick the 4th element, but maybe this will help:



                        ev4 = Eigenvalues[H[p, q, r, s]][[4]] /. 
                        Thread[p, q, r, s -> 0.1, 0.5, 0.7, 0];
                        Plot3D[ev4, x, -π, π, z, 0, 2 π]


                        enter image description here






                        share|improve this answer









                        $endgroup$















                          2












                          2








                          2





                          $begingroup$

                          Not sure why you pick the 4th element, but maybe this will help:



                          ev4 = Eigenvalues[H[p, q, r, s]][[4]] /. 
                          Thread[p, q, r, s -> 0.1, 0.5, 0.7, 0];
                          Plot3D[ev4, x, -π, π, z, 0, 2 π]


                          enter image description here






                          share|improve this answer









                          $endgroup$



                          Not sure why you pick the 4th element, but maybe this will help:



                          ev4 = Eigenvalues[H[p, q, r, s]][[4]] /. 
                          Thread[p, q, r, s -> 0.1, 0.5, 0.7, 0];
                          Plot3D[ev4, x, -π, π, z, 0, 2 π]


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 13 mins ago









                          Michael E2Michael E2

                          151k12203483




                          151k12203483



























                              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%2f195721%2fnoise-in-eigenvalues-plot%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

                              Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

                              Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»

                              Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр