2
3
-1
-1
2
3
-1
-1
The Simultaneous Equations Calculator solves systems of three linear equations with three unknowns using Cramer's rule, one of the most elegant methods in linear algebra. Given a system of equations in the form a₁x + b₁y + c₁z = d₁, a₂x + b₂y + c₂z = d₂, and a₃x + b₃y + c₃z = d₃, this calculator computes the exact values of x, y, and z along with the system determinant that indicates whether a unique solution exists.
Systems of simultaneous linear equations arise throughout mathematics, science, and engineering. In electrical engineering, Kirchhoff's circuit laws produce systems of equations relating currents and voltages across multiple loops and nodes. A circuit with three independent loops generates exactly a 3×3 system that must be solved to find the current in each branch. Without systematic solution methods, analyzing even moderately complex circuits becomes impractical.
In economics and business, simultaneous equations model supply-demand equilibria, input-output relationships between industries, and multi-variable optimization problems. Leontief's input-output model of the economy, which earned a Nobel Prize, fundamentally relies on solving large systems of linear equations. Even at a simpler level, break-even analysis for multiple products or resource allocation problems naturally produce systems of linear equations.
The physical sciences constantly generate systems of equations. Balancing chemical equations, resolving forces in static equilibrium, determining reaction rates from experimental data, and fitting curves to measured points all require solving simultaneous equations. In mechanics, analyzing a structure with multiple joints under load creates a system where each equilibrium condition contributes one equation.
This calculator implements Cramer's rule, named after Swiss mathematician Gabriel Cramer who published the method in 1750. The approach expresses each unknown as a ratio of two determinants: the numerator determinant is formed by replacing the corresponding column of the coefficient matrix with the constant terms, while the denominator is the determinant of the coefficient matrix itself. For a 3×3 system, Cramer's rule requires computing four 3×3 determinants.
The determinant D of the coefficient matrix plays a critical role in understanding the system. If D ≠ 0, the system has exactly one unique solution — the three planes defined by the equations intersect at a single point in three-dimensional space. If D = 0, the system is either inconsistent (no solution — the planes have no common intersection point) or dependent (infinitely many solutions — at least two of the planes coincide or all three intersect along a line).
While Cramer's rule is theoretically beautiful and works perfectly for small systems, it is worth noting that for very large systems (hundreds or thousands of equations), computational methods like Gaussian elimination or LU decomposition are more efficient. However, for 2×2 and 3×3 systems — the most common in classroom exercises, exam problems, and small-scale applications — Cramer's rule provides a direct, formula-based approach that is easy to implement and verify.
This tool is invaluable for students learning linear algebra, giving immediate feedback on manual calculations. It is equally useful for engineers solving circuit equations, physicists resolving force systems, and economists computing market equilibria. Enter the twelve coefficients of your 3×3 system and instantly receive the solution vector and the system determinant.
The system of three linear equations is written in matrix form as:
$$\begin{cases} a_1 x + b_1 y + c_1 z = d_1 \\ a_2 x + b_2 y + c_2 z = d_2 \\ a_3 x + b_3 y + c_3 z = d_3 \end{cases}$$
The coefficient matrix determinant is:
$$D = \begin{vmatrix} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \\ a_3 & b_3 & c_3 \end{vmatrix} = a_1(b_2 c_3 - b_3 c_2) - b_1(a_2 c_3 - a_3 c_2) + c_1(a_2 b_3 - a_3 b_2)$$
This is the Sarrus expansion along the first row. Cramer's rule then defines three additional determinants by replacing columns:
$$D_x = \begin{vmatrix} d_1 & b_1 & c_1 \\ d_2 & b_2 & c_2 \\ d_3 & b_3 & c_3 \end{vmatrix}, \quad D_y = \begin{vmatrix} a_1 & d_1 & c_1 \\ a_2 & d_2 & c_2 \\ a_3 & d_3 & c_3 \end{vmatrix}, \quad D_z = \begin{vmatrix} a_1 & b_1 & d_1 \\ a_2 & b_2 & d_2 \\ a_3 & b_3 & d_3 \end{vmatrix}$$
The solution is then: $$x = \frac{D_x}{D}, \quad y = \frac{D_y}{D}, \quad z = \frac{D_z}{D}$$
This is valid if and only if $$D \neq 0$$, which guarantees the coefficient matrix is invertible and the system has a unique solution.
The determinant D indicates the nature of the system. A nonzero determinant means a unique solution exists — the three planes intersect at exactly one point (x, y, z). A determinant of zero means the system is singular: either no solution exists (inconsistent) or infinitely many solutions exist (dependent). The magnitude of D also reflects how 'well-conditioned' the system is — very small determinants can lead to numerically unstable solutions where small input changes cause large output changes. The computed x, y, z values are the coordinates of the unique intersection point when D ≠ 0.
Inputs
Results
Classic 3×3 system: 2x+y-z=8, -3x-y+2z=-11, -2x+y+2z=-3. Solution: x=2, y=3, z=-1.
Inputs
Results
x+y+z=6, 2y+5z=-4, 2x+5y-z=27. Solution: x=5, y=3, z=-2.
Cramer's rule is a theorem in linear algebra that expresses the solution of a system of n linear equations in n unknowns as ratios of determinants. Each variable equals the determinant formed by replacing its column in the coefficient matrix with the constants, divided by the coefficient matrix determinant.
When D = 0, the system has no unique solution. It is either inconsistent (no solution, meaning the three planes never all meet at one point) or dependent (infinitely many solutions, meaning the planes share a common line or plane). Additional analysis is needed to distinguish these cases.
You can solve a 2×2 system by setting the third equation to 0x + 0y + 1z = 0 (making c3=1, d3=0, and all other third-equation coefficients zero). The z value will be 0 and x, y will be the 2×2 solution. However, a dedicated 2×2 solver is simpler.
No. For an n×n system, Cramer's rule requires computing n+1 determinants, each of which takes O(n!) operations using cofactor expansion. Gaussian elimination solves the same system in O(n³) operations. For systems larger than about 4×4, Gaussian elimination or matrix factorization methods are preferred.
Simultaneous equations model situations where multiple constraints must be satisfied at once. Applications include electrical circuit analysis (Kirchhoff's laws), structural engineering (force equilibrium), economics (supply-demand models), chemistry (balancing reactions), and any multi-variable optimization problem.
A system of n equations in n unknowns has a unique solution if and only if the determinant of the coefficient matrix is nonzero. Geometrically for 3×3 systems, this means the three planes intersect at exactly one point.
A dependent system has infinitely many solutions. For a 3×3 system, this occurs when the three planes intersect along a common line (one degree of freedom) or when two or more equations are proportional (the planes coincide). The determinant is zero but the augmented matrix has consistent rows.
Yes. Cramer's rule works with any real-valued coefficients. Enter decimal values directly. The method is exact for rational numbers, though floating-point arithmetic may introduce tiny rounding errors for complex decimal coefficients.
Each linear equation in three unknowns defines a plane in 3D space. Solving the system means finding where all three planes intersect. A unique solution is a single point, no solution means at least two planes are parallel, and infinitely many solutions means the planes share a line or coincide.
Substitute the computed x, y, z values back into all three original equations and check that each equation is satisfied. For example, if x=2, y=3, z=-1, verify that a₁(2)+b₁(3)+c₁(-1) equals d₁ for each equation.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Quadratic Formula Calculator
Algebra Calculators - Equation Solvers
Cubic Equation Calculator
Algebra Calculators - Equation Solvers
Completing the Square Calculator
Algebra Calculators - Equation Solvers
System of Equations Calculator
Algebra Calculators - Equation Solvers
Elimination Method Calculator
Algebra Calculators - Equation Solvers
Substitution Method Calculator
Algebra Calculators - Equation Solvers