Basis Calculator
Enter vectors as the rows of a matrix to find a basis for their span.
Vectors as rows
Rows
3
Columns
3
Write each vector as a row, rows separated by semicolons, like 1, 2, 3; 2, 4, 6.
Try
Result
You entered
Dimension of the span
Another basis (from the reduced rows)
Show the work
Vectors as the columns of a matrix
A combination of the vectors is the matrix times a vector of coefficients, so write them as columns.
Reduced row echelon form
Row operations keep every relation between the columns, so a column of the reduced form has a pivot exactly when the original vector is not a combination of the ones before it.
The pivot columns
The pivots are in columns 1, 2, so those original vectors form a basis of the span; the others are combinations of them.
Result
A basis of the span, of dimension 2.