Skip to main content

Frequently Asked Questions

The 30 most common questions about RREF, matrix operations, vectors, and how this calculator works.

Updated May 2026 · Reviewed by our math editorial team

RREF & Gauss-Jordan Elimination

Open calculator →
What is RREF (Reduced Row Echelon Form)?

RREF is a standardized form of a matrix obtained by Gauss-Jordan elimination. Every leading entry is 1, every leading 1 is the only non-zero entry in its column, all-zero rows are at the bottom, and each pivot sits to the right of the pivot in the row above. The RREF of a matrix is unique.

What is the difference between REF and RREF?

Row Echelon Form (REF) requires zeros below each pivot and pivots moving right, but pivot values can be anything non-zero. Reduced Row Echelon Form (RREF) additionally requires that each pivot is exactly 1 and is the only non-zero entry in its column — zeros both above and below. RREF is unique; REF is not.

What is Gauss-Jordan elimination?

Gauss-Jordan elimination is the algorithm that reduces a matrix to RREF. It uses three elementary row operations: scaling a row (multiply every entry by a non-zero constant), swapping two rows, and row replacement (add a multiple of one row to another). The standard approach sweeps down to create REF, then sweeps back up to eliminate entries above each pivot, producing RREF.

How do I solve a system of linear equations using RREF?

Write the system as an augmented matrix [A | b] where A holds the coefficients and b holds the right-hand side constants. Apply Gauss-Jordan elimination to reach RREF. Each pivot column corresponds to a basic variable; non-pivot columns correspond to free variables. Read solutions directly from the RREF.

What does it mean when a system has infinitely many solutions?

Infinitely many solutions occur when the RREF of [A | b] has at least one free variable (a column without a pivot) and no inconsistency (no row of the form [0 0 … 0 | c] with c ≠ 0). Each free variable can take any value, generating a family of solutions parameterized by those free variables.

What does rank mean in linear algebra?

The rank of a matrix is the number of pivot positions in its RREF (equivalently, the number of linearly independent rows or columns). A matrix A of size m×n has rank at most min(m, n). The rank determines the dimension of the column space and row space.

Why does this calculator use exact fractions instead of decimals?

Floating-point arithmetic introduces rounding errors that accumulate through row reduction. A calculator using JavaScript's built-in numbers might report 0.9999999 instead of 1, or 1.4e−16 instead of 0. This calculator stores every number as a BigInt fraction (numerator/denominator) in lowest terms, so all arithmetic is perfectly exact. The answer 1/3 stays 1/3, not 0.3333.

How do I enter a fraction into the matrix?

Type the fraction directly, e.g. "3/4" or "-1/2". The calculator parses it as an exact rational number. You can also enter integers and decimals; decimals are converted to their nearest exact fraction.

Matrix Operations

Open calculator →
What is the determinant of a matrix?

The determinant is a scalar value computed from a square matrix that encodes geometric and algebraic properties. Geometrically, |det(A)| is the volume scaling factor of the linear transformation. det(A) = 0 means the matrix is singular (non-invertible). For 2×2 matrices: det = ad − bc. For larger matrices, use cofactor expansion or row reduction.

What does a determinant of zero mean?

A determinant of zero means the matrix is singular: it has no inverse, its rows (and columns) are linearly dependent, and the linear system Ax = b is either inconsistent or has infinitely many solutions.

How do I find the inverse of a matrix?

Form the augmented matrix [A | I] where I is the identity matrix of the same size. Apply Gauss-Jordan elimination. If A reduces to I on the left, the right half is A⁻¹. If a zero row appears on the left before the process completes, A is singular and has no inverse.

Is matrix multiplication commutative?

No. In general, AB ≠ BA. Matrix multiplication is associative (A(BC) = (AB)C) and distributive over addition, but it is not commutative. The product AB is only defined when the number of columns of A equals the number of rows of B.

What is the transpose of a matrix?

The transpose of a matrix A, written Aᵀ, is formed by flipping rows and columns: the (i, j) entry of A becomes the (j, i) entry of Aᵀ. An m×n matrix becomes n×m after transposition. Key property: (AB)ᵀ = BᵀAᵀ.

What is a symmetric matrix?

A matrix A is symmetric when A = Aᵀ, meaning the (i, j) entry equals the (j, i) entry for all i, j. Symmetric matrices must be square. They arise naturally in covariance matrices, graph adjacency matrices, and many physics applications. All eigenvalues of a real symmetric matrix are real.

What is a dot product?

The dot product (or inner product) of two vectors u and v of the same dimension is the sum of products of corresponding components: u·v = u₁v₁ + u₂v₂ + … + uₙvₙ. The result is a scalar. Geometrically, u·v = |u||v|cos(θ) where θ is the angle between them. When u·v = 0, the vectors are perpendicular (orthogonal).

How do I find the angle between two vectors?

Use the dot product formula: cos(θ) = (u·v) / (|u| · |v|). Compute the dot product, divide by the product of the two magnitudes, then take the arccosine. The angle θ is between 0 and 180 degrees.

What is a cross product?

The cross product u × v is defined for two 3-dimensional vectors and produces a third 3D vector perpendicular to both. Its magnitude is |u||v|sin(θ), equal to the area of the parallelogram spanned by u and v. The direction follows the right-hand rule. The cross product is anti-commutative: u × v = −(v × u).

When is the cross product equal to zero?

The cross product u × v = 0 when the vectors are parallel (or anti-parallel), including when one or both vectors is the zero vector. Parallel vectors span no parallelogram, so the area (and magnitude of the cross product) is zero.

Algebra & Radicals

Open calculator →
What does "simplify a radical" mean?

Simplifying a radical (square root) means writing √n in the form a√b where b has no perfect square factor other than 1. For example, √72 = √(36 × 2) = 6√2. The calculator does this via prime factorization: factor n completely, group pairs of identical primes, pull each pair out as a single factor.

What is a linear combination?

A linear combination of vectors v₁, v₂, …, vₖ is any sum c₁v₁ + c₂v₂ + … + cₖvₖ where the cᵢ are scalar coefficients. The set of all linear combinations of a set of vectors is their span.

What is linear independence?

Vectors v₁, …, vₖ are linearly independent when the only way to write the zero vector as c₁v₁ + … + cₖvₖ is to set all cᵢ = 0. If any vector in the set can be written as a combination of the others, the set is linearly dependent. To test: form a matrix with the vectors as columns and find its RREF.

What is a null space?

The null space (or kernel) of a matrix A is the set of all vectors x such that Ax = 0. To find it: write the augmented matrix [A | 0], reduce to RREF, and express basic variables in terms of free variables. The null space is the span of those free-variable solutions.

What is eigenvalue decomposition?

An eigenvalue λ and eigenvector v of a square matrix A satisfy Av = λv: the matrix scales the eigenvector by λ without changing its direction. Eigenvalues are found by solving det(A − λI) = 0 (the characteristic polynomial). Eigendecomposition has applications in principal component analysis, differential equations, and Google's PageRank algorithm.

Using This Calculator

Open calculator →
How accurate are the calculator results?

For rational inputs (integers and fractions), results are mathematically exact — there is no floating-point error. The calculator uses BigInt arithmetic throughout, so 1/3 multiplied by 3 gives exactly 1, not 0.9999999. For decimal inputs, the decimal is converted to the nearest exact fraction before computation.

Does the calculator store my data?

No. All calculations run in your browser (client-side JavaScript). Your matrix entries never leave your device. Calculation history is stored in your own browser's localStorage only — we cannot access it.

What matrix sizes are supported?

The RREF and Gauss-Jordan calculators support matrices from 2×2 up to 6×6. The determinant calculator supports up to 5×5. The matrix inverse calculator supports up to 4×4. Matrix multiply supports up to 4×4 × 4×4.

Can I use this calculator on my phone?

Yes. The calculator is fully mobile-responsive. The matrix grid, step display, and all controls work on touchscreens. You can also add the site to your home screen for quick access.

Is there a keyboard shortcut to calculate?

Yes. Press Ctrl+Enter (or ⌘+Enter on Mac) anywhere on the page to trigger the calculation. You can also press Enter in the last cell of the matrix.

How do I share a problem with someone?

Use the "Share" button below the calculator. It generates a URL that encodes the matrix entries, which you can copy and send. Anyone who opens the link will see the same matrix pre-loaded and can run the calculation themselves.

Is this calculator free?

Yes, completely free. No account, no sign-up, no paywall. All calculators and guides are free to use.

RREF In Depth

Open calculator →
How do I use the TI-84 rref( function?

On a TI-84, press 2nd → MATRIX (or MATRX), enter your matrix under EDIT, then go to MATH and select rref(. Enter the matrix name inside rref( and press ENTER. The TI-84 shows the result as decimals, not fractions, so rounding errors can appear. For exact fraction results, use this online calculator instead.

What does RREF stand for?

RREF stands for Reduced Row Echelon Form. "Row echelon form" means the matrix has a staircase pattern of leading entries. "Reduced" means each leading entry is exactly 1 (a pivot) and is the only non-zero entry in its column — zeros both above and below each pivot.

How do I find RREF of a 3×3 matrix step by step?

Step 1: Find the leftmost non-zero column. If the top entry is zero, swap rows to get a non-zero entry there. Step 2: Scale the top row so the pivot equals 1. Step 3: Eliminate all other entries in that column by adding multiples of the pivot row. Step 4: Move to the next row and next column to the right, and repeat. Step 5: After reaching REF (lower-left zeros), make a backward pass: for each pivot from bottom to top, eliminate entries above it. The result is RREF.

What is an augmented matrix and how do I use it?

An augmented matrix [A|b] is a matrix formed by appending the right-hand side column b of a linear system Ax = b to the coefficient matrix A. For the system 2x + y = 5, x − y = 1, the augmented matrix is [[2, 1, |, 5], [1, −1, |, 1]]. Apply row operations to the entire augmented matrix (including the b column). After reaching RREF, read the solution from the last column of each pivot row.

Is RREF unique? Can two different sequences of row operations give different RREFs?

No — RREF is unique. Every matrix has exactly one RREF, regardless of which sequence of elementary row operations is used to compute it. This is the RREF Uniqueness Theorem. Two different students can use different operation sequences and still arrive at the same RREF. REF (Row Echelon Form), by contrast, is not unique.

What are real-life uses of RREF and linear systems?

Linear systems and RREF appear in: engineering (circuit analysis via Kirchhoff's laws reduces to a linear system), economics (input-output models and price equilibria), computer graphics (transformations, camera projections), data science (least-squares regression uses the normal equation XᵀXβ = Xᵀy, solved via row reduction), chemistry (balancing chemical equations), and network flow problems (traffic, supply chains).

How do I find the rank of a matrix from its RREF?

Count the number of pivot columns in the RREF. Each pivot column contains exactly one leading 1, with zeros everywhere else in that column. The number of pivots equals the rank. For example, if a 4×5 matrix has RREF with pivots in columns 1, 2, and 4, its rank is 3. The nullity is 5 − 3 = 2.

Can RREF be applied to wide or tall (non-square) matrices?

Yes. RREF is defined for any m×n matrix, regardless of whether m < n (more columns than rows, "wide"), m = n (square), or m > n (more rows than columns, "tall"). Wide matrices always have at least n − m free variables if m < n. Tall matrices with more equations than unknowns are overdetermined and may have no solution. The RREF algorithm works identically in all cases.

What does a row of all zeros in RREF mean?

In the coefficient matrix alone, a zero row means the corresponding equation was a linear combination of others — the equations are redundant (linearly dependent). The system has fewer independent constraints than equations. In an augmented matrix [A|b]: a zero row with a 0 on the right [0 0 ... 0 | 0] is harmless — infinitely many solutions possible. A zero row with a non-zero right side [0 0 ... 0 | c] with c ≠ 0 means the system is inconsistent (no solution).

How long does it take to compute RREF for a 4×4 matrix?

By hand: a 4×4 matrix typically takes 15–25 row operations and 5–15 minutes for a careful student. The main time cost is fraction arithmetic. The online calculator completes any 4×4 matrix in under 10 milliseconds — instantly. Entering the matrix by hand (clicking cells and typing) takes 30–60 seconds. The calculator is useful primarily for verification and for seeing step-by-step operations clearly labeled.

Still have a question?

Can't find the answer you're looking for? Our guides cover these topics in depth, or you can reach out via the contact page.