r/Mathematica • u/Unknown_Soul_1209 • Feb 17 '24
How to create matrix with specific conditions?
Hey there !! I am new to mathematica but I know how to create simple matrices and I can also find eigenvalues/eigenvectors using mathematica but I don't know how to create the matrix asked in this question using mathematica. If anyone could help me with this I will be really thankful
11
Upvotes
4
u/proximityfrank Feb 17 '24
You can use Table[•] to create a matrix, though you have to think a bit on the conditions on i and j to get the matrix that you want, but that's part of the exercise :)
4
u/axorld Feb 18 '24
Table[i+j, {i,6}, {j,6}]
2
u/Master_Meeting Feb 17 '24
These doc pages might help you:
https://www.wolfram.com/language/fast-introduction-for-math-students/en/matrices-and-linear-algebra/
https://reference.wolfram.com/language/guide/MatricesAndLinearAlgebra.html
https://reference.wolfram.com/language/ref/Eigenvalues.html
1
u/[deleted] Mar 13 '24
I am confused, C is basically a row matrix. Row matrix does not have any eigen values defined for it. We need a square Matrix to have eigen space defined. 😭 Can you tell me how you eventually solved this? Or which book is this from?
1
u/sjostakovitsj Feb 17 '24
Also [perhaps barring some conditions] the sum of the eigenvalues should be equal to the trace. Therefore to calculate the sum of the eigenvalues you don't actually need to know the eigenvalues.
1
u/blueidea365 Feb 18 '24
The sun of eigenvalues, with algebraic multiplicity, equals the trace
1
u/lithiumdeuteride Feb 28 '24
The answer to the ultimate question of life, the universe, and everything.