# Questions tagged [linear-algebra]

Questions about Mathematica functionality related to manipulating vector spaces and linear mappings between such spaces. This includes determination of matrix properties, matrix transformations, decompositions, and factoring.

1,380 questions
Filter by
Sorted by
Tagged with
90 views

### Step-by-step GramSchmidt [closed]

Is there a way where Mathematica gives a step-by-step process for orthonormalization of vectors? I have the final result, but I would like to see the process of GramSchmidt to obtain the normalized ...
61 views

### Number of elements in a list [closed]

I have written the following program in mathematica. ...
248 views

45 views

61 views

### How can I show the calculation of the determinant of a matrix step by step? [duplicate]

I would like to emulate what Wolfram Alpha does in Mathematica. Can you help me? ...
77 views

169 views

### How to speed up by Compile?

I need to NDSolve a system many times by scanning some of its parameters and do some matrix calculation with the (discretized) solutions. The example is the ...
168 views

### How can I use Tally in my code?

I a computing the eigenvalues and eigenfunctions of a Laplacian on a unit square. I have written it as follows: ...
97 views

### How to write matrix elements in Mathematica? [closed]

For a matrix $A$, one computes the $ij$-$th$ matrix elements in a basis $\{|e_i\rangle\}$ as $$A_{ij} = \langle e_i|A|e_j\rangle$$ How can one implement this in Mathematica? As an example, consider a ...
15 views

### QR algorithm implementation for eigensystem - where is error [duplicate]

I implemented the simplest possible program of QR algorithm, but the program gives wrong solutions, i.e. eigenvalues (diagonal elements of converged matrix x) and ...
163 views

### Exploring Matrix Powers with Wolfram (using Sum Notation)

I am trying to gain an intuition for what algebraically happens to a square matrix (say a $2$-dimensional square matrix) when it is successively multiplied by itself. I have used ...
75 views

333 views

### Speedup calculation of the largest eigenvalue and eigenvector of a 400×400 matrix? [duplicate]

Actually, the matrix is an adjacency matrix of a network. The code is: ...