System of 3 Linear Equations Solver
Solve three linear equations in three unknowns (a1x + b1y + c1z = d1, and so on) via Gaussian elimination, including the infinite- and no-solution cases.
- x
- 5
- y
- 3
- z
- -2
How it works
This solves a1x + b1y + c1z = d1, a2x + b2y + c2z = d2, and a3x + b3y + c3z = d3 by Gaussian elimination with partial pivoting: it repeatedly picks the equation with the largest remaining coefficient in the current column, swaps it into place, and subtracts multiples of it from the equations below to zero out that column — the standard method for keeping the arithmetic numerically stable, taught alongside Cramer's rule as the general-purpose way to solve a linear system.
This site's 2-variable solver can tell 'infinitely many solutions' from 'no solution' just by checking two numbers, because with only two equations that check is both necessary and sufficient. With three equations that shortcut isn't reliable — the coefficient matrix can collapse all the way to a single direction while the three constants still contradict each other. This calculator instead finishes the elimination fully: if it's left with a row that has zero coefficients but a nonzero constant, the equations contradict each other (no solution); otherwise, any leftover redundant row means the system is underdetermined (infinitely many solutions) rather than pinned to one answer.
FAQ
Why isn't this just the 2-equation solver with an extra variable?
Adding a third equation and unknown isn't just 'more of the same' — determining whether a 3-variable system has a unique answer, infinitely many, or none requires checking the rank of the whole system via elimination, not a simple pair of ratio checks the way two equations allow. That's exactly why this is a separate calculator built around full elimination rather than an extension of the 2-variable one.
What does 'infinitely many solutions' mean here?
It means the three equations don't pin down a single point — after removing redundant equations (ones that are combinations of the others), fewer than three independent constraints remain on x, y, and z, so a whole line or plane of points satisfies all three equations at once.
Related calculators
- Percentage Calculator
- Quadratic Equation Solver
- GCD & LCM Calculator
- Circle Area & Circumference Calculator
- Right Triangle Calculator (Pythagorean Theorem)
- Ratio Simplifier
- Exponent & Root Calculator
- Oblique Triangle Solver (Law of Cosines)
- Distance, Midpoint & Slope Calculator
- Permutations & Combinations Calculator (nPr, nCr)
- Arithmetic & Geometric Sequence Calculator
- Regular Polygon Calculator
- Z-Score & Percentile Calculator
- Cubic Equation Solver
- Prime Factorization Calculator
- System of Linear Equations Solver (2 Equations)
- Half-Life Decay Calculator
- Vector Calculator (Dot Product, Cross Product, Angle)
- Ohm's Law Calculator
- Projectile Motion Calculator
- Matrix Determinant & Inverse Calculator (2x2 / 3x3)
- Ideal Gas Law Calculator (PV = nRT)
- Snell's Law Calculator (Refraction Angle)
- Wire Resistance Calculator
- Clock Angle Calculator
- Pythagorean Means Calculator (AM, GM, HM)
- Number Base Converter (Decimal to Binary, Octal, Hex)
- Dice Probability Calculator
- Pythagorean Triple Generator
- Binomial Probability Calculator
- Torque Calculator
- Law of Sines Triangle Solver
- Modular Exponentiation Calculator
- Simple Pendulum Period Calculator
- Kinetic Energy Calculator
- Complex Number Calculator
- Circular Sector & Arc Length Calculator
- Reynolds Number Calculator
- Coulomb's Law Calculator
- Speed of Sound in Air Calculator
- Thin Lens Equation Calculator
- Centripetal Force Calculator
- Resistors in Series and Parallel Calculator
- RC Circuit Time Constant Calculator
- Escape Velocity Calculator
- Doppler Effect Calculator
- Birthday Paradox Calculator
- Ellipse Area, Circumference & Eccentricity Calculator
- Hyperbola Calculator
- Hooke's Law Spring Calculator
- Molarity (Molar Concentration) Calculator
- Momentum & Impulse Calculator
- Kepler's Third Law Orbital Period Calculator
- Triangle Area from Coordinates Calculator
- Beer-Lambert Law Absorbance Calculator
- LC Circuit Resonant Frequency Calculator