Step by step
Solve a system of two linear equations with two unknowns (x and y) using Cramer's rule, with every step shown so you can see exactly how the answer was reached.
Step by step
Enter the coefficients of two linear equations to see x, y, and the working.
Write each equation in the form a·x + b·y = c, then fill in the coefficients a, b, c for equation 1 and d, e, f for equation 2. Negative numbers and decimals both work.
It computes the determinant det = a·e − b·d, then solves x = (c·e − b·f) ÷ det and y = (a·f − c·d) ÷ det. If det is 0, the lines are parallel and there's no single (x, y) solution.
The values of x and y appear at the top, with the determinant and every formula step listed below. Need to solve a single quadratic instead? The Quadratic Formula Calculator handles one-variable equations of degree two.