LINEAR ALGEBRA HOMEWORK CENTER
Linear Systems Calculator & Homework Helper
Solve systems of linear equations, see every row operation, understand why the method works, and practice the skills used in linear algebra homework.
CALCULATOR
Solve a Linear System
Use variables like x, y, z, w. Example: 2x + y - z = 8
TWO WAYS TO LEARN
Quick Solve vs. Homework Mode
Quick Solve shows the full calculation and the completed answer immediately — perfect for checking your work.
Homework Mode reveals the solution one row operation at a time. Press Next Step to advance, then Show Final Answer once every operation is visible. This trains you to perform each step yourself before seeing the result.
THE THEORY
Why This Works
A system of linear equations is a set of equations where each equation is a straight line (or plane, or hyperplane). Solving the system means finding every point that lies on all of those surfaces at once.
The key insight is that three elementary row operations — swapping two rows, multiplying a row by a nonzero scalar, and adding a multiple of one row to another — produce a system with exactly the same solutions as the original. By applying these operations we reshape the augmented matrix into reduced row echelon form (RREF), where the solution can be read off directly.
Row echelon form (REF): each pivot is 1, with zeros below it.
Reduced row echelon form (RREF): each pivot is 1, with zeros both above and below.
APPLIED LINEAR ALGEBRA
Real-World Examples
WORKED EXAMPLES
Walk Through the Process
Unique Solution (3×3)
Solve the system with Gaussian elimination.
Augmented matrix
After row reduction the RREF is the identity, giving the unique solution x = 2, y = 3, z = −1.
Inconsistent System (No Solution)
A system where two equations contradict each other.
Augmented matrix
Row reduction produces a row [0 0 | 1], which represents 0 = 1 — an impossibility. The system has no solution.
Infinitely Many Solutions
Two equations that describe the same line.
Augmented matrix
The second row is a multiple of the first, so there is only one pivot and one free variable. The solution is a line: y = (4 − x)/2.
CHECK ON LEARNING
Reading Reduced Matrices
1.An RREF augmented matrix is
2.An RREF augmented matrix is
3.An RREF augmented matrix is
CORE CONCEPTS
Key Terms and Methods
Coefficient & Augmented Matrix
The coefficient matrix holds the variable coefficients. Appending the constants as a final column gives the augmented matrix .
Pivot Position
A pivot is the first nonzero entry in a row of a matrix in echelon form. The column containing a pivot is a pivot column; the corresponding variable is a basic (pivot) variable.
Free Variables
A variable whose column has no pivot. Free variables can take any value, and each choice gives a different solution — the hallmark of infinitely many solutions.
Consistent vs. Inconsistent
A consistent system has at least one solution. An inconsistent system has none — signaled by a row .
Gaussian vs. Gauss-Jordan
Gaussian elimination reaches REF (back-substitution needed). Gauss-Jordan continues to RREF so the solution is read directly.
Cramer's Rule & Inverse Method
Both require a square, nonsingular coefficient matrix (). Cramer uses ratios of determinants; the inverse method computes .
COMMON MISTAKES
Avoid These Errors
Operating on only part of a row
Multiplying just the left side of an augmented row by 2 but forgetting the constant column.
Every elementary row operation applies to the entire row, including the augmented constant.
Why: An augmented row represents a full equation. Changing only the coefficients breaks the equality.
Forgetting the augmented column
Row-reducing only the coefficient matrix A and ignoring the constants b.
Always row-reduce the full augmented matrix [A | b] so the constants transform with the equations.
Why: The constants are part of each equation; leaving them out produces the solution to a different system.
Confusing REF and RREF
Stopping at upper-triangular (REF) and reading off the answer as if pivots were the only nonzero entries.
Gauss-Jordan continues eliminating above each pivot to reach RREF, where every pivot column has a single 1.
Why: REF still requires back-substitution; only RREF lets you read solutions directly.
Dividing by zero
Using a 0 entry as a pivot and dividing the row by it.
If the prospective pivot is 0, swap with a lower row that has a nonzero entry in that column (partial pivoting).
Why: Division by zero is undefined and breaks the computation. A swap is a valid elementary operation.
Misidentifying free variables
Calling a column a free variable just because it contains a zero in one row.
A variable is free only if its column contains no pivot position in the RREF.
Why: Free variables are determined by pivot columns, not by individual zero entries.
Misreading 0 = 0
Treating an all-zero row [0 0 … | 0] as 'no solution'.
An all-zero row means 0 = 0, which is always true — it is a redundant equation, not a contradiction.
Why: Only a row [0 0 … | nonzero] (0 = nonzero) signals inconsistency. 0 = 0 just removes an equation.
Using Cramer's Rule when det(A) = 0
Applying Cramer's Rule to a singular coefficient matrix.
Cramer's Rule requires a square coefficient matrix with a nonzero determinant. Otherwise use Gaussian elimination.
Why: Cramer's Rule divides by det(A); when det(A) = 0 the division is undefined.
Using an inverse that doesn't exist
Solving via x = A⁻¹b when A is singular.
Check det(A) ≠ 0 first. If det(A) = 0, A has no inverse — use row reduction to classify the system.
Why: A singular matrix has no inverse by definition, so A⁻¹ does not exist.
CHECK ON LEARNING
How Many Solutions?
1.RREF:
2.RREF:
3.RREF:
KNOWLEDGE CHECK
Linear Algebra Quiz
Q1.Which operation is a valid elementary row operation?
Q2.A reduced augmented matrix contains the row [0 0 0 | 7]. What does this indicate?
Q3.What is the primary goal of Gauss-Jordan elimination?
Q4.A variable corresponding to a column without a pivot is usually called:
Q5.Cramer's Rule requires a square coefficient matrix and:
Q6.What does a row consisting entirely of zeros represent?
Q7.Which method checks a calculated solution most directly?
