System of Two Linear Equations
For the system these formulas give the unique solution whenever . They are the case of Cramer's rule. Use it to solve two simultaneous conditions, such as mixture, pricing or intersection-of-lines problems.
LaTeX
x=\frac{c_1b_2-c_2b_1}{a_1b_2-a_2b_1},\qquad y=\frac{a_1c_2-a_2c_1}{a_1b_2-a_2b_1}Variables
- coefficients and constant of the first equation
- coefficients and constant of the second equation
- determinant of the system (nonzero)
Example
Solve .
- Determinant: .
- .
- .
Answer: .