# How to solve for the eigenvalue in matrix? [closed]

For which value of $a$ in the matrix {{a,2}, {3,4}} has the matrix eigenvalue of $0$? How to solve it in Mathematica?

## closed as off-topic by Dr. belisarius, user9660, MarcoB, Edmund, WReachFeb 6 '16 at 3:40

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – Dr. belisarius, Community, MarcoB, Edmund, WReach
If this question can be reworded to fit the rules in the help center, please edit the question.

• Do you need to do this by hand or using Mathematica? – Coolwater Feb 5 '16 at 12:01
• I have to use mathematica. – ASPire Feb 5 '16 at 12:03
• Then look up the function Eigenvalues in the documentation – Coolwater Feb 5 '16 at 12:04
• I found it how to find, but not how to find for the value a. :( – ASPire Feb 5 '16 at 12:05
• People have voted your question down very probably because you didn't show due diligence. It looks like you didn't bother to search on the documentation (or showed us that you did). You didn't even bother to write the matrix in the proper syntax. Only good questions are likely to get great answers. – rhermans Feb 5 '16 at 13:21

Another way to go is using NMinimize

NMinimize[Min@Abs@Eigenvalues[{{a, 2}, {3, 4}}], a]
(* {3.89083*10^-10, {a -> 1.5}} *)


which of course matches the analytic answer above

To get the expresions for the Eigenvalues

Eigenvalues[{{a, 2} , {3, 4}}]

{1/2 (4 + a - Sqrt[40 - 8 a + a^2]),  1/2 (4 + a + Sqrt[40 - 8 a + a^2])}


make each expresion Equal to zero (f@x is the Prefix form of f[x])

 Thread@Equal[Eigenvalues[{{a, 2} , {3, 4}}], 0]

{1/2 (4 + a - Sqrt[40 - 8 a + a^2]) == 0, 1/2 (4 + a + Sqrt[40 - 8 a + a^2]) == 0}


then Solve each (/@ is a shortcut for Map)

Solve /@ Thread@Equal[Eigenvalues[{{a, 2} , {3, 4}}], 0]

{{{a -> 3/2}}, {}}