By substitution
- Input
- x = 1 + y, 2(1+y) + 3y = 12
- Expected output
- y = 2, x = 3
Isolating x in the second equation and swapping it into the first.
system of two equations and two unknowns
A system of two equations and two unknowns is the most common case taught in schools, usually with the variables called x and y. This page opens the calculator with an example of that type already loaded, ready to be swapped for your own system.
Isolating x in the second equation and swapping it into the first.
Plugging x=3 and y=2 back in, both equations hold exactly.
One equation per line, with an equals sign separating the two sides, for example "2x + 3y = 8" or "x - y = -1". The calculator accepts an implicit coefficient ("x" means the same as "1x"), a negative sign, unknowns with any name, a variable appearing on both sides of the equals sign ("2x + 1 = x + 4"), and a variable that simply doesn't appear in one of the equations, it is treated as a zero coefficient automatically.
By matrix, using Gaussian elimination and Cramer's rule, both shown side by side. The result is always the same you'd reach by hand substitution, but the matrix method generalizes to systems with more than two unknowns without changing technique.
No problem, the calculator accepts any unknown name (a and b, m and n, whatever you use), it identifies the variables from what you typed, it does not expect fixed names.
calculadoraSistemaEquacoes.classificationDesc.determined
Matrix representation
[ 2 3 ] [ 1 -1 ]
[ x ] [ y ]
[ 12 ] [ 1 ]
[ 2 3 | 12 ] [ 1 -1 | 1 ]
[ 1 0 | 3 ] [ 0 1 | 2 ]
[ 1 3/2 | 6 ] [ 1 -1 | 1 ]
[ 1 3/2 | 6 ] [ 0 -5/2 | -5 ]
[ 1 3/2 | 6 ] [ 0 1 | 2 ]
[ 1 0 | 3 ] [ 0 1 | 2 ]
Substitution check
Just need to invert, multiply or transpose a matrix, without solving a system? Use the matrix calculator
Everything runs in your browser: the equations you type and the system's calculation never touch a server.