Skip to content
FiftyCalc Free calculators for all 50 states

Row Space Calculator

Test cases replayed : 9 of 9 match · Methodology · No outside source listed

Enter a 3×3 matrix. The calculator gives the standard basis of its row space, the nonzero rows of the reduced row echelon form (RREF), and the dimension of that space. For a 2×3 matrix, leave row 3 at 0.

Result

Sample figures

Basis of the row space (nonzero rows of the RREF)—

Dimension of the row space (rank) —

  • Dimension of the null space (nullity = 3 − rank)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Row Space Calculator

Row 1, column 1: enter a number. Prefilled example: 1.

Row 1, column 2: enter a number. Prefilled example: 2.

Row 1, column 3: enter a number. Prefilled example: 3.

Row 2, column 1: enter a number. Prefilled example: 4.

Row 2, column 2: enter a number. Prefilled example: 5.

Row 2, column 3: enter a number. Prefilled example: 6.

Row 3, column 1: enter a number. Prefilled example: 7.

Row 3, column 2: enter a number. Prefilled example: 8.

Row 3, column 3: enter a number. Prefilled example: 9.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Row 1, column 1: enter a number.
  2. Row 1, column 2: enter a number.
  3. Row 1, column 3: enter a number.
  4. Row 2, column 1: enter a number.
  5. Row 2, column 2: enter a number.
  6. Row 2, column 3: enter a number.
  7. Row 3, column 1: enter a number.
  8. Row 3, column 2: enter a number.
  9. Row 3, column 3: enter a number.
  10. Read the result: Basis of the row space (nonzero rows of the RREF); the panel also shows Dimension of the row space (rank) and Dimension of the null space (nullity = 3 − rank).

How this calculator works

The row space of a matrix is the set of all linear combinations of its rows. Row operations do not change it, so the nonzero rows of the reduced row echelon form (RREF) are a basis, and the only basis in reduced echelon form.

The rank, found as for the matrix rank (determinant, then the nine 2×2 minors), fixes the case. Rank 3: the RREF is the identity. Rank 1: every row is a multiple of the first nonzero row, which is divided by its first nonzero entry.

Rank 2: the row space is a plane through the origin. Its normal vector n is the cross product of two independent rows. If n₃ ≠ 0 the RREF rows are (1, 0, −n₁/n₃) and (0, 1, −n₂/n₃); if n₃ = 0 and n₂ ≠ 0 they are (1, −n₁/n₂, 0) and (0, 0, 1); otherwise (0, 1, 0) and (0, 0, 1).

A determinant, 2×2 minor or cross-product component closer to 0 than 10⁻⁹ counts as 0. Entries are shown with up to 4 decimal places.

Worked example

Row 1, column 11
Row 1, column 22
Row 1, column 33
Row 2, column 14
Row 2, column 25
Row 2, column 36
Row 3, column 17
Row 3, column 28
Row 3, column 39
Dimension of the row space (rank)2
Dimension of the null space (nullity = 3 − rank)1
Basis of the row space (nonzero rows of the RREF)(1, 0, -1) and (0, 1, 2)

Frequently asked questions

What is a basis of the row space of 1 2 3 / 4 5 6 / 7 8 9?

Its RREF is 1 0 −1 / 0 1 2 / 0 0 0, so a basis is (1, 0, −1) and (0, 1, 2); the row space has dimension 2.

Is the row space the same as the column space?

No. They have the same dimension, the rank, but the row space lives among row vectors and the column space among column vectors; for a non-symmetric matrix they are usually different sets.

Can I use the original rows as a basis?

Yes, any set of linearly independent rows that spans the space is a basis. The RREF rows are the standard choice because they are unique.

Related calculators