System of Two Linear Equations
Cramer-rule solution for two simultaneous equations.
Formula
Variables
Example
Solves a₁x+b₁y=c₁ pair
How it works
This formula gives the value of x when you solve a pair of simultaneous linear equations by elimination or Cramer’s rule. It comes from treating the two equations as a linear system and combining them so that y cancels out; the denominator a₁b₂ − a₂b₁ is the determinant of the coefficient matrix, and it must be nonzero for a unique solution to exist. If that determinant is zero, the lines are either parallel or identical, so this formula cannot produce a single x-value.
When to use it
Use it when you have two linear equations in two unknowns and you want the x-coordinate of their intersection point. It is especially useful in algebra, coordinate geometry, physics, and any situation where two constraints must be satisfied at once.
Worked example, step by step
Solve the system: 2x + 3y = 13 5x - 4y = 2 Here a₁=2, b₁=3, c₁=13, and a₂=5, b₂=-4, c₂=2. Substitute into the formula: x = (c₁b₂ - c₂b₁) / (a₁b₂ - a₂b₁) x = (13·(-4) - 2·3) / (2·(-4) - 5·3) x = (-52 - 6) / (-8 - 15) x = -58 / -23 x = 58/23 So the solution for x is 58/23.
Common mistakes to avoid
- Mixing up which coefficients belong to equation 1 and equation 2
- Forgetting the minus signs on negative coefficients when substituting into the formula
- Using the formula when a₁b₂ - a₂b₁ = 0, where no unique x-value exists
Did You Know?
Simultaneous equations were solved in ancient China using counting rods in a method essentially identical to modern matrices.
Share this formula
More in Algebra
View allQuadratic Formula
IntermediateFinds the roots of any quadratic equation ax² + bx + c = 0.
Discriminant
IntermediateDetermines the nature of the roots of a quadratic equation.
Binomial Theorem
IntermediateExpands any power of a binomial into a sum of terms.
Logarithm Product Rule
IntermediateThe logarithm of a product equals the sum of logarithms.
Logarithm Quotient Rule
IntermediateThe logarithm of a quotient equals the difference of logarithms.
Logarithm Power Rule
IntermediateThe logarithm of a power equals the exponent times the logarithm.