# \[?\] Get eigenvalues of a real symmetric matrix?

**URL:** <https://community.wolfram.com/t/get-eigenvalues-of-a-real-symmetric-matrix/10960>\
**Category:** Questions\
**Tags:** wolfram-alpha, algebra\
**Created:** [July 17, 2017, 6:41am UTC](https://community.wolfram.com/t/get-eigenvalues-of-a-real-symmetric-matrix/10960 "2017-07-17T06:41:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandhyatripathi](https://avatars.discourse-cdn.com/v4/letter/s/54ee81/32.png) [@sandhyatripathi](https://community.wolfram.com/u/sandhyatripathi)\
**Post date:** [July 17, 2017, 6:41am UTC](https://community.wolfram.com/t/get-eigenvalues-of-a-real-symmetric-matrix/10960/1 "2017-07-17T06:41:33Z")

</div>

Hello,

I am using Wolfram Alpha widgets for calculating Eigen values of a 3X3 real symmetric matrix. It is known the a real symmetric matrix has real Eigen values.  
However, the calculator is giving roots with iota (complex looking roots). So I have two questions,

1. Are the Eigen values computed by the widget actually complex?

2. If eigen values are not complex, then why aren’t they simplified and given? How do I simplify them?

The matrix which I used is :

```
A = [[ 1 2 3],
  [2 1 2],
  [3 2 3] ]

```

Here is the link also,

> **[Wolfram|Alpha: Making the world’s knowledge computable](https://www.wolframalpha.com/)**
>
> Wolfram|Alpha brings expert-level knowledge and capabilities to the broadest possible range of people—spanning all professions and education levels.

Thanks in advance. Hoping to hear from you soon.

Sandhya

P.S. : For the above matrix A, real Eigen values are 6.569, -1.342, -0.227.

---

<div class="post-metadata">

**Author:** ![fkampas](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fkampas/32/41217_2.png) [@fkampas](https://community.wolfram.com/u/fkampas)\
**Post date:** [July 17, 2017, 3:36pm UTC](https://community.wolfram.com/t/get-eigenvalues-of-a-real-symmetric-matrix/10960/2 "2017-07-17T15:36:24Z")

</div>

It looks like the results are correct. For example, finding the numerical value of the first eigenvalue given shows it is real.

```
In[5]:= 1/
  3 (5 + 55/(377 + 3 I Sqrt[2694])^(1/3) + (377 + 3 I Sqrt[2694])^(
    1/3)) // N

Out[5]= 6.56872 - 3.33067*10^-16 I

```

---

<div class="post-metadata">

**Author:** ![kenmednick](https://avatars.discourse-cdn.com/v4/letter/k/b19c9b/32.png) [@kenmednick](https://community.wolfram.com/u/kenmednick)\
**Post date:** [December 13, 2017, 7:23pm UTC](https://community.wolfram.com/t/get-eigenvalues-of-a-real-symmetric-matrix/10960/3 "2017-12-13T19:23:29Z")

</div>

Mathematica tries to preserve infinite precision when it can. Use floating point numbers in your matrix like 1.0, 2.0 etc., and Eigenvalues will return numbers instead of expressions.
