# Matrix from eigenvalues

$A=\begin{bmatrix} a & b\\ b & c \end{bmatrix}$

Find any $(a,b,c) \in \mathbb{C}^3$ , $a \neq 0$ , $b \neq 0$ , $c \neq 0$ , so that eigenvalues of A are $\lambda_1=\lambda_2=1$

$det(A-\lambda I)=\begin{bmatrix} a-\lambda & b\\ b & c- \lambda \end{bmatrix}=(a-\lambda)(c-\lambda)-b^2=0$

$\Longrightarrow$ $\lambda^2-\lambda(a+c)+ac-b^2=0$

$\lambda=\frac{a+c \pm \sqrt{a^2+4b^2-2ac+c^2}}{2}$ $\Longrightarrow$

$a^2+4b^2-2ac+c^2=0$ and $\frac{a+c}{2}=1$

(discriminant is 0 because I want a double root, and (a+c)/2=1 because I want it to be 1)

but I can't find any solution, is there something wrong?

$\Longrightarrow$

$c=2-a$

and

$4a^2-8a+4b^2+4=0$

$a= 1 \pm b \cdot i$

Whatever value I give to a, it won't work...

-
\Longrightarrow to get $\Longrightarrow$. \cdot to get $\cdot$ or \times to get $\times$. –  Git Gud Jan 23 '13 at 21:00
thank you! i will replate * with dot –  Cristi Jan 23 '13 at 21:02
@all $\implies$ (\implies) is a little easier to type. –  rschwieb Jan 23 '13 at 21:07
@Cristi Did you want any matrix with eigenvalues all equal to $1$? If that's the case, the identity matrix is a simple example. If that's not the case, I don't see how rschwieb's answer solves the problem of finding all the matrixes that you're looking for, he just gives one instance of such matrices. –  Git Gud Jan 23 '13 at 21:15
I found all the solutions: $(a,\pm i(a-1),2-a) \in \mathbb{C}^3$ –  Cristi Jan 23 '13 at 21:26

You are very close, everything is okay up to the step: $4a^2-8a+4b^2+4=0$.

This reduces to $a^2-2a+b^2+1=0$

Now, solve for

$$b = \pm \sqrt{-(a-1)^{2}} = \pm i(a-1)$$

So, you are free to choose $a's$.

Regards

-
thanks! it woks now –  Cristi Jan 23 '13 at 21:23
Excellent +1; it "took"! –  amWhy May 7 '13 at 0:17

Your work looks OK up to $4a^2-8a+4b^2+4=0$.

This reduces to $a^2-2a+b^2+1=0$, and you can try a few values for $a$ and $b$. I tried $a=3$, which yielded $c=-1$ and $b=2i$. The resulting matrix has the eigenvalues you want.

-
$4a^2-8a+4b^2+4=0$ is the same thing as $a^2-2a+b^2+1=0$ , now I see it works, after many edits... thank you! –  Cristi Jan 23 '13 at 21:19
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.956495463848114, "perplexity": 683.9629519799419}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2014-42/segments/1414119648891.34/warc/CC-MAIN-20141024030048-00108-ip-10-16-133-185.ec2.internal.warc.gz"}