Grade 9
Systems of equations
Several equations sharing unknowns, solved together to find values that satisfy all of them at once.
IntuitionTwo clues, one hidden pair of numbers
Imagine two friends give you clues about their ages: "twice my age plus your age is some number" and "my age minus your age is another number." Neither clue alone pins down both ages, but together they usually do. A system of equations is exactly this: several equations sharing the same unknowns, and a solution must satisfy every equation at once — not just one. Geometrically, each linear equation in two unknowns is a straight line, and solving the system means finding where the lines meet.
SchoolSolving by substitution and by elimination
Definition: System of two linear equations
A system of two linear equations in two unknowns can be written as , where are given numbers. A solution is a pair that makes both equations true simultaneously. The number (built only from the four coefficients of and ) turns out to control everything about how many solutions the system has.
Substitution solves one equation for one variable and plugs the result into the other — fast when a variable already has coefficient . Elimination multiplies each equation by a chosen constant so that one variable's coefficients become equal (or opposite), then adds or subtracts the equations to cancel that variable, leaving a single-variable equation. Both methods, applied to the general system, lead to the same formulas and , valid exactly when .
| Value of D | Geometric picture | Number of solutions |
|---|---|---|
| Two lines crossing at one point | Exactly one | |
| Two parallel, distinct lines | None | |
| The same line drawn twice | Infinitely many |
UndergraduateTwo key theorems
The system has exactly one solution if and only if , in which case and .
Why is it true?
This single number D packages both the "how many solutions" question and the "what are they" answer: check one sign, and you know whether elimination will succeed before you even attempt it.
Proof
Deriving a necessary condition (eliminating y). Multiply the first equation of by and the second by : and . Subtracting the second from the first cancels the terms exactly, leaving . This equation is a necessary consequence of the system: any pair that solves both original equations must also satisfy it, since it was built only by adding/subtracting multiples of the two original equations.
Deriving the twin condition (eliminating x). Symmetrically, multiply the first equation by and the second by , then subtract the first from the second to cancel the terms: this leaves , again a necessary consequence of any solution.
Existence when D≠0. If , the single-unknown equation has, by the theorem on linear equations in one unknown, exactly the one solution ; likewise gives exactly . Substituting these two values into the original equations of and simplifying algebraically confirms both are satisfied simultaneously (the reader can verify by combining fractions over the common denominator ) — so a solution genuinely exists.
Uniqueness when D≠0. Since and are necessary for every solution of (not merely sufficient), any solution of the original system, whatever it may be, is forced to satisfy and exactly, by the uniqueness part of the one-unknown theorem. So there cannot be two different solutions: combined with existence, the solution is unique precisely when .
If , the system never has exactly one solution: it has no solution if , and infinitely many solutions if (provided are not both zero).
Why is it true?
D=0 means the two lines have the same slope: geometrically they are either perfectly parallel and never meet (no solution), or actually the same line drawn twice (every point is a solution) — never a single crossing point.
Proof
The elimination steps from the previous theorem did not require : they show that any solution of must satisfy , regardless of the value of . When , the left side equals for every , so this necessary equation collapses to the numerical statement .
**Case (no solution).** The statement is then simply false, independent of and . Since every solution of the system would have to make this false statement true, no solution can exist. Geometrically, the two equations describe lines with the same slope (since ) but different intercepts, i.e. two parallel, non-intersecting lines.
**Case (infinitely many solutions).** Now the necessary equation is the true but empty statement , so eliminating y gives no information at all — it is automatically satisfied by any . Concretely, since and , there is a constant with and (the second equation's x,y-coefficients are proportional to the first's); combined with one finds as well, so the second equation is literally times the first equation . Every point satisfying the first equation automatically satisfies the second (multiply the first equation by ), so the whole line — infinitely many points — solves the system.
UndergraduateReal-World Applications and Worked Examples
Whenever two conditions must hold at once on two unknown quantities — a mixture that must hit both a target weight and a target concentration, or a market price that must satisfy both what suppliers demand and what buyers demand — a system of two linear equations models it exactly, and elimination or substitution finds the values engineers, chemists, and economists actually need.
Example: Chemistry/engineering — mixing a target concentration
A lab needs liters of a acid solution, made by mixing a solution and a solution. How many liters of each should be mixed?
Solution
Step 1 (Set up the system). Let be liters of the solution and liters of the solution. Total volume gives ; total pure acid gives (since ).
Step 2 (Substitute). From the first equation, . Substituting into the second: , i.e. , i.e. , so .
Step 3 (Back-substitute). Then . So : mix liters of the solution with liters of the solution.
Example: Economics — supply-demand equilibrium
A market's supply curve is and its demand curve is , where is price and is quantity. Find the equilibrium price and quantity, where supply equals demand.
Solution
Step 1 (Recognize the system). Both equations share the unknowns ; equilibrium is precisely the point satisfying both simultaneously — a system of two linear equations.
Step 2 (Substitute one into the other). Since both equations already give explicitly, set them equal: .
Step 3 (Solve for q, then p). Adding to both sides and subtracting : , so . Substituting back into either equation, . So : the market clears at a price of and quantity of .
For the system , compute D=ad-bc and determine the number of solutions.
Solve for x and y.
In the supply-demand example with and , what is the equilibrium quantity q?
If D=0 and the two equations are proportional (including the constant terms), what is true of the system?