Home About Contact Privacy

System of Equations Solver - Free Online 2x2 & 3x3 Linear Systems Calculator

Solve 2×2 and 3×3 systems of linear equations using Gaussian elimination with full step-by-step row operation breakdowns.

100% Free Gaussian Elimination Runs Locally 2×2 & 3×3 Systems
Error message
x + y =
x − y =
Result

Click "Solve System" to compute variables.

What's Inside

Understanding System of Equations Solver

An electrical engineer analyzes Kirchhoff's current loops in a multi-mesh circuit: 3I₁ - I₂ = 12 and -I₁ + 4I₂ = 0. Solving for currents I₁ and I₂ requires evaluating a 2×2 system of linear equations. A chemical engineer mixes three stock solutions to create a target 100-liter blend with specific concentrations of nitrogen, phosphorus, and potassium—a task leading directly to a 3×3 system of linear equations.

A system of linear equations consists of two or more linear equations sharing common variables. A 2×2 system involves two equations with two variables (typically x and y), representing two lines on a Cartesian plane. A 3×3 system involves three equations with three variables (x, y, and z), representing three planes in 3D space.

The solution to a linear system is the set of variable values that simultaneously satisfies every equation in the system. Geometrically, this corresponds to the point or line of intersection. The primary algorithms for solving linear systems are Gaussian elimination (systematically eliminating variables via elementary row operations) and Cramer's rule (using matrix determinants). The following sections detail these algorithms, step-by-step row operations, and real-world STEM applications.

How System of Equations Solver Works

When you initiate a calculation, the engine constructs an augmented matrix [A | B] from your input coefficients and performs Gaussian elimination with partial pivoting.

The Math Behind It

1. Augmented Matrix Representation:
For a 2×2 system:
a₁x + b₁y = c₁
a₂x + b₂y = c₂
Augmented matrix: [[a₁, b₁ | c₁], [a₂, b₂ | c₂]]

2. Determinant Check (Cramer's Rule):
Coefficient determinant: Det(A) = a₁b₂ - a₂b₁
If Det(A) = 0, the matrix is singular. The system has either no unique solution (inconsistent, parallel lines) or infinitely many solutions (dependent, coincident lines).

3. Gaussian Elimination Steps:

Practical Uses for Systems of Equations

Electrical network analysis. Circuit designers solve systems of linear equations derived from Kirchhoff's Voltage Law (KVL) and Nodal Analysis to compute currents and potential differences across multi-loop networks.

Economics and supply-demand equilibrium. Economists set supply functions equal to demand functions (Q_s = a + bP and Q_d = c - dP) to solve for market equilibrium price and quantity.

Civil engineering and structural trusses. Structural engineers calculate internal member forces in bridge trusses by balancing horizontal and vertical force components (ΣF_x = 0, ΣF_y = 0) at each joint.

Chemistry and stoichiometric balancing. Chemists balance complex chemical reaction equations by setting up linear systems matching atomic counts for each element across reactants and products.

Business production and inventory blending. Manufacturing planners allocate factory machine hours and raw material constraints to determine optimal product mix quantities.

Getting the Most Out of Systems Solver

Ensure equations are written in standard form: variables on the left side, constants on the right side (ax + by = c).

Check for zero determinants. If Det(A) = 0, the lines are parallel or overlapping. The solver will notify you whether the system is inconsistent (no solution) or dependent (infinitely many solutions).

For standalone matrix operations such as matrix multiplication or finding inverse matrices, use our Matrix Calculator. For quadratic curves, use our Quadratic Solver.

System Solver Technical Specifications

The solver executes locally in JavaScript using partial-pivoting Gaussian elimination and double-precision floats. Systems evaluate in under 1 millisecond.

FeatureThis ToolHand SubstitutionGraphing Calculator
2×2 SystemsInstant (<1ms)2-4 minutesInstant
3×3 SystemsInstant (<1ms)5-15 minutesInstant
Determinant Det(A)Automatic checkManual calculationdet() function
Singularity CheckDetects Det(A)=0Manual fraction divideError screen
PrivacyClient-side browserPaperLocal hardware
CostFreeFreeHardware purchase

Frequently Asked Questions

What is an inconsistent system?

An inconsistent system has no solutions because the equations represent parallel lines or non-intersecting planes (e.g., x + y = 2 and x + y = 5).

What is a dependent system?

A dependent system has infinitely many solutions because the equations represent the exact same line or plane (e.g., x + y = 2 and 2x + 2y = 4).

Can this solver handle decimal or negative coefficients?

Yes. You can enter negative values, decimals, or whole numbers into any coefficient box.

How does partial pivoting prevent precision errors?

Partial pivoting swaps rows so that the largest absolute value in the active column becomes the pivot, preventing division by near-zero numbers that causes floating-point rounding errors.

Matrix Calculator — Computes determinants, matrix inverses, and matrix multiplication up to 5×5.

Quadratic Solver — Solves second-degree single-variable polynomial equations.

Scientific Calculator — Evaluates complex expressions, trig functions, and logarithms.