Understanding science, for all. Home About
Novadette› ∑ Mathematics› Algebra & Graphing› Equation Solver› System of Equations
∑ Algebra

System of Equations

Two or three linear equations with as many unknowns: find the values that make them all true at once. Get exact fractions, the working with Cramer’s rule, a check, and the lines crossing on a graph — or find out why there is no solution, or infinitely many.

AlgebraLinear equationsMatrices
Inputs
Input examples
Number of equations
Use any letters for the unknowns (x, y, z or a, c …). Terms may stand on both sides of the “=”; write 2x or 2*x for multiplication. Every equation must be linear: no powers or products of unknowns.

What Is a System of Equations?

Each linear equation with two unknowns is a straight line: all the pairs (x, y) that make it true. Solving two of them together means finding the point that lies on both lines — where they cross. With three unknowns, each equation is a flat plane in space, and three planes usually meet in a single point.

Lines can also be parallel (no solution) or lie on top of each other (infinitely many). The determinant D tells them apart: if D is not zero, there is exactly one solution.

D ≠ 0exactly one solution
parallelno solution
same lineinfinitely many
n unknownsneed n equations

Live Graph

lines
Result
Type the equations above

Cramer’s Rule

2 unknowns
QuantityFormula

Three Ways to Solve

Substitution

Write one unknown in terms of the other from one equation, and put that into the other equation. Handy when one coefficient is 1.

Example: 
Elimination

Multiply equations so that one unknown has opposite coefficients, then add them: that unknown cancels out. This is what Gaussian elimination does for bigger systems.

Example: 
Cramer’s Rule

Each unknown is a ratio of two determinants: replace that unknown’s column by the right-hand sides. Neat for 2 or 3 unknowns, and it shows at once when there is no unique solution (D = 0).

Example: 

Sources & Verification

References
  1. G. Strang, Introduction to Linear Algebra, 5th ed., Wellesley-Cambridge Press, 2016 — Ch. 2 (Solving Linear Equations).
  2. D. C. Lay, S. R. Lay & J. J. McDonald, Linear Algebra and Its Applications, 5th ed., Pearson, 2016 — Ch. 1 (Linear Equations in Linear Algebra).