Two-Variable Linear Equation Solver
This calculator solves a system of equations of first degree with two unknowns. You enters six coefficients, it finds the values of the unknowns and detects cases of no solution or infinite solutions.
This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/153/. Also, please do not modify any references to the original work (if any) contained in this content.
The system of equations of first degree with two unknowns is:
where a, b, c, d, e and f are real numbers, and x and y are unknowns.
You should enter the coefficients a, b, c, d, e and f in the form below, and the calculator displays x and y.
The formulas used to solve the equations can be found below the calculator.
Solving the equations
To solve the equations you should find the values of x and y that satisfy both equations simultaneously.
The steps involved in solving a system of equations of first degree with two unknowns include eliminating one of the unknowns by adding or subtracting the two equations and then solving for the remaining unknown. This can be done using either substitution or elimination methods. Substitution involves solving one equation for one variable and substituting that value into the other equation, while elimination involves adding or subtracting the two equations to eliminate one of the variables.
However, there are common formulas:
These formulas are easy to remember, if you introduce the concept of determinant of the second order as
Then the solution of the equations can be written as
ie each of the unknowns is equal to the fraction, the denominator of which is the determinant consisting of the coefficients of the unknowns and the numerator is obtained from this determinant by replacement of coefficients of the corresponding unknown to the absolute term.
There are three different solitions possible:
Coefficients at unknowns in equations are disproportional
in this case the system of equations has a single solution, presented by formula
Coefficients at unknowns are proportional, but disproportionate to free terms
in this case the system of equations has no solutions, because we have here contradictory equations.
- All coefficients of equations are proportional
The system of equations has an infinite set of solutions, because we have actually one equation instead of two.