Systems of Equations Calculator (2x2 and 3x3)
This systems of equations calculator solves 2x2 and 3x3 linear systems, shows elimination and Cramer's rule steps, and flags no solution or infinitely many solutions.
How to use
- Choose 2×2 or 3×3.
- Enter each coefficient. Integers, decimals, and fractions such as 3/4 all work.
- Read the solution, or the message that the system has no solution or infinitely many solutions.
- Follow the elimination steps and the Cramer's rule determinants. A 2×2 system also draws the two lines.
Formula
For a1 x + b1 y = d1 and a2 x + b2 y = d2, D = a1 b2 − a2 b1. Cramer's rule is x = Dx/D and y = Dy/D, where Dx and Dy swap one column for the constants. Elimination multiplies equations so one variable cancels, then substitutes back. If D = 0, a false row such as 0 = 5 means no solution, and 0 = 0 means infinitely many. A 3×3 system uses the same tests with z.
Example. 2x + 3y = 8 and x − y = −1. Elimination gives y = 2 and x = 1. The determinants are D = −5, Dx = −5, and Dy = −10.
Example. x + y + z = 6, 2x − y + z = 3, and x + 2y − z = 2. Elimination and Cramer's rule both give x = 1, y = 2, and z = 3.
Frequently asked questions
What methods can solve a system?
Graphing, substitution, elimination, and matrix methods such as Cramer's rule or Gaussian elimination.
How do I know if there is no solution?
If elimination gives a false statement like 0 = 5, the lines are parallel and the system is inconsistent.
What about infinitely many solutions?
If elimination gives 0 = 0, the equations describe the same line or plane, so every point on it is a solution.
What is Cramer's rule?
Each variable equals a ratio of determinants. It only works when the coefficient determinant is not zero.
Can it solve nonlinear systems?
No. This tool handles linear equations only.
Related tools
- SchoolSlope CalculatorFind the slope between two points, plus the angle, percent grade, and line equation.
- SchoolFactoring CalculatorFactor whole numbers into primes and factor quadratic trinomials with steps.
- SchoolPythagorean Theorem CalculatorFind a missing side of a right triangle, plus area, perimeter, and angles.
- SchoolRatio CalculatorSimplify ratios, scale A:B parts, and find missing values.
- SchoolInteger CalculatorAdd, subtract, multiply, and divide integers with step-by-step work shown.
- SchoolGCF CalculatorFind the greatest common factor of two or more numbers, with prime factors and Euclid's steps.