Solution
- $x$: —
- $y$: —
- $z$: —
Step-by-step
Explanation:
This tool solves a system of three linear equations with three variables and shows the work step by step using Cramer’s rule. Enter the coefficients for $a_1x+b_1y+c_1z=d_1,\quad a_2x+b_2y+c_2z=d_2,\quad a_3x+b_3y+c_3z=d_3$ and the solver will compute the determinants $D$, $D_x$, $D_y$, and $D_z$ to determine whether the system has a unique solution, no solution, or infinitely many solutions. When a unique solution exists, it returns the exact values of $x$, $y$, and $z$. For more algebra tools, explore Algebra.
Solve a 3x3 system in the form:
A 3x3 system is three linear equations written in the same three variables, typically $x$, $y$, and $z$. A solution is a triple $(x,y,z)$ that satisfies all three equations at the same time. Some systems have exactly one solution, some have no solution (because the equations conflict), and some have infinitely many solutions (because at least one equation is redundant).
This solver uses Cramer’s rule, which is based on determinants. First it computes the main determinant $D$ from the coefficient matrix. Then it computes three additional determinants $D_x$, $D_y$, and $D_z$ by replacing one column at a time with the constants. These values determine both the solution type and, when it exists, the exact values of $x$, $y$, and $z$.
Cramer’s rule also gives a clear classification:
If you only need a two-variable system, use the 2x2 System of Equations Solver. For a single equation in one variable, use the Linear Equation Solver. If your equation includes an $x^2$ term, use the Quadratic Solver.
Coefficients can be integers or decimals, including negative values. The tool formats outputs using the configured decimal precision. In real-world inputs, determinants can be extremely close to zero due to rounding, even when the exact value is zero. To keep the classification stable, the solver treats values that are very close to zero as zero. If your result is near the boundary between cases, try increasing precision or using simpler exact fractions where possible.
A standard system with one clear solution.
Solve: $$\begin{cases} x + y + z = 6\\ 2x - y + z = 5\\ x + 2y - z = 3 \end{cases}$$
Compute the main determinant: $$D=\begin{vmatrix} 1 & 1 & 1\\ 2 & -1 & 1\\ 1 & 2 & -1 \end{vmatrix}=-9$$
Replace columns to compute: $$D_x=\begin{vmatrix} 6 & 1 & 1\\ 5 & -1 & 1\\ 3 & 2 & -1 \end{vmatrix}=-18,\quad D_y=\begin{vmatrix} 1 & 6 & 1\\ 2 & 5 & 1\\ 1 & 3 & -1 \end{vmatrix}=-9,\quad D_z=\begin{vmatrix} 1 & 1 & 6\\ 2 & -1 & 5\\ 1 & 2 & 3 \end{vmatrix}=-27$$
Since $D\ne 0$: $$x=\frac{D_x}{D}=2,\quad y=\frac{D_y}{D}=1,\quad z=\frac{D_z}{D}=3$$
The equations describe the same constraint, so there are infinitely many solutions.
Solve: $$\begin{cases} x + y + z = 3\\ 2x + 2y + 2z = 6\\ 3x + 3y + 3z = 9 \end{cases}$$
Here each equation is a multiple of the first, so the coefficient matrix is dependent and: $$D=0,\quad D_x=0,\quad D_y=0,\quad D_z=0$$
Since all determinants are zero, the system has infinitely many solutions. For example, any $(x,y,z)$ with $x+y+z=3$ works.
The equations conflict, so no triple $(x,y,z)$ can satisfy all of them.
Solve: $$\begin{cases} x + y + z = 1\\ x + y + z = 2\\ x - y + z = 0 \end{cases}$$
The first two equations already contradict each other. In determinant terms, the coefficient rows are dependent so $D=0$, but the constants are inconsistent so at least one of $D_x$, $D_y$, or $D_z$ is nonzero.
Therefore, the system has no solution.
Keep exploring Mathematics or jump back to Calculators to browse more tools.
Quick answers about determinants, Cramer's rule, and solution types.
Trusted by thousands of users every month. Fast, accurate and privacy-friendly tools.