Pair of Linear Equations
A pair of linear equations in two variables is a system of two equations of the form and , whose common solution is the point (or points) satisfying both simultaneously. Key result: geometrically each equation is a straight line, so the system has exactly one solution (intersecting lines), no solution (parallel lines), or infinitely many solutions (coincident lines), determined entirely by the ratios of coefficients. Where it applies: mixture problems, geometry, economics, age/cost word problems. Who/when: rooted in ancient Babylonian and Chinese algebra (200 BCE), formalised by Cramer, Gauss, and others in the 18th–19th centuries.
Two straight lines in a plane can relate in only three ways: they cross at one point, they never meet (parallel), or they lie exactly on top of each other (coincident). Solving a pair of linear equations is nothing more than identifying which of these three cases occurs and locating the common point(s). The entire theory — substitution, elimination, graphing, determinants — is just different machinery for answering this one geometric question.
Formal Statement
A pair (or system) of linear equations in two variables and is written as
Derivation hint: This is the general form of any straight line; "linear" means each variable appears to the first power only, with no products like .
Derivation hint: A second independent line constraint; together [1] and [2] form the system. where are real numbers, with not both zero and not both zero. A solution is an ordered pair that makes both equations true simultaneously. The symbols mean:
- — the unknown variables we wish to find,
- — coefficients of ,
- — coefficients of ,
- — constant terms.
Given the system [1]–[2] with , exactly one of the following holds:
Derivation hint: Different slope ratios force the lines to have different directions, so they must cross at exactly one point.
Derivation hint: Equal coefficient ratios mean equal slopes; unequal constant ratio means different intercepts — parallel, never meeting.
Derivation hint: All three ratios equal means equation [2] is just a scalar multiple of [1] — the same line written twice. A system with at least one solution is consistent; with no solution it is inconsistent. A consistent system with a unique solution is independent; with infinitely many it is dependent.
Why It Holds / Derivation
We solve the general system [1]–[2] by elimination.
Step 1. Multiply [1] by and [2] by :
Derivation hint: Scaling each equation makes the -coefficients identical (), preparing them for subtraction.
Step 2. Subtract the second from the first to eliminate :
Derivation hint: The terms cancel, leaving a single equation in .
Step 3. Solve for , provided :
Derivation hint: Rearrange [7] for ; repeat the elimination on to obtain symmetrically — this is Cramer's Rule in disguise.
Step 4 (case analysis). The quantity governs everything:
- If , formulas [8] give a single — the unique solution, equivalent to condition [3].
- If but the numerators are nonzero, [7] becomes , a contradiction — no solution, condition [4].
- If and the numerators also vanish, [7] becomes , an identity — infinitely many solutions, condition [5].
This completes the proof, tying the algebraic determinant to the three geometric cases.
∎The Swiss mathematician Gabriel Cramer published, in his 1750 Introduction à l'analyse des lignes courbes algébriques, the rule that now bears his name. Cramer's Rule expresses the solution of a linear system as ratios of determinants — precisely formulas [8] above. Though Cramer worked with curves rather than pure linear algebra, his determinant-based method became the standard textbook approach to solving small systems and laid groundwork for the broader theory of matrices and determinants developed later by Cayley and Sylvester.
Building Intuition
Imagine each equation as a constraint — a rule that pins down a relationship between and . One equation alone leaves infinitely many possibilities (a whole line of points). The job of the second equation is to narrow those possibilities. If the second line genuinely points in a different direction, it slices through the first at exactly one spot — your answer. If it points in the same direction but sits elsewhere, the two constraints contradict each other and no point can satisfy both. If the second line is secretly the first one in disguise (just scaled up), it adds no new information at all, and every point on the line works. The three ratios are simply a quick way of asking: are these lines tilted the same way? And if so, are they in the same place?
Worked Examples
Given: Solve
Step 1 — Check the case. Here and . Since , by [3] there is a unique solution.
Step 2 — Eliminate . Multiply the second equation by 3: . Add to the first:
Step 3 — Back-substitute. From :
Step 4 — Verify. ✓ and ✓.
Given: A shopkeeper sells 5 pens and 3 notebooks for ₹120, and 2 pens and 4 notebooks for ₹100. Find the price of one pen () and one notebook ().
Step 1 — Set up equations.
Step 2 — Eliminate . Multiply the first by 2 and the second by 5:
Subtract: Let us instead use cleaner numbers: solve directly. Subtracting gives , so . Back-substitute into :
Step 3 — Verify. ✓.
Common Misconceptions
"More equations always means a solution exists." False. Two equations may contradict each other (parallel lines, case [4]), giving no solution despite having "enough" equations. Conversely, two equations may be redundant (coincident lines, case [5]), giving infinitely many. Counting equations is not the same as counting independent constraints. Always check the ratios first.
"You can divide by a coefficient without checking it is nonzero." When applying [3]–[5], if some coefficient like or equals zero, the ratio criterion needs careful handling — return to elimination via the determinant , which is always valid.
Consider the apparently reasonable pair
A student might expect a unique answer. But , , yet . By criterion [4] the lines are parallel — there is no solution at all. Elimination confirms it: doubling the first gives , contradicting . The system is inconsistent.
Connections
A pair of linear equations is the two-variable case of the general theory of Systems of Linear Equations, which extends to any number of variables and is handled by Matrices and Determinants and Gaussian Elimination. The determinant in formula [8] is precisely the determinant studied in Cramer's Rule. Geometrically the subject belongs to Coordinate Geometry, since each equation is a line analysed via slope and intercept; the slope condition for parallelism links directly to Equation of a Straight Line. When inequalities replace equalities, the topic generalises to Linear Programming, the foundation of optimisation.
Real-World Applications
Historical Development
Subtleties & Limits
The two-variable case is completely understood, but it opens onto deeper questions. Numerical conditioning: when the determinant is very small but nonzero (lines almost parallel), tiny measurement errors in the coefficients produce wildly different solutions — a phenomenon of ill-conditioning that dominates real-world computational linear algebra. Higher dimensions: with variables and equations, the geometry becomes intersections of hyperplanes, and questions of existence and uniqueness require the rank of matrices; deciding solvability efficiently for huge sparse systems remains an active engineering challenge. Integer constraints: if and must be whole numbers, the problem becomes a Diophantine system, and its higher-dimensional generalisation (integer linear programming) is NP-hard — among the hardest computational problems known. Thus a topic that looks "finished" at high school becomes, with small twists, a frontier of computational mathematics.
See Also
Equation of a Straight Line · Systems of Linear Equations · Cramer's Rule · Matrices and Determinants · Gaussian Elimination · Coordinate Geometry · Linear Programming · Quadratic Equations