Systems of linear equations
Reading position saved on this browser; this is not a completion record.
Learning objectives
What you should be able to do
Build two constraints from a context; solve with substitution, elimination, or intersections; choose efficient equation combinations; classify solution counts; determine unknown coefficients; and recognize when an expression is fixed even though individual variables are not.
A shared solution must satisfy both equations
A system is a group of conditions that must hold simultaneously. For two linear equations in two variables, a solution is one ordered pair that makes both equations true. A point lying on only one of the two lines is not a solution to the system.
When each equation represents a line, there are three geometric possibilities:
One solution, no solution, and infinitely many solutions. The sketches illustrate the relationships, not specific numerical systems.
Substitution replaces one variable with an equal expression from the other equation. It is convenient when a variable is already isolated or has coefficient 1 or −1. The result is an equation in just one variable; after solving it, substitute back to recover the other variable when needed.
Elimination adds or subtracts equations so one variable cancels. It is convenient when coefficients already match, are opposites, or can be made so with small multipliers. Multiply every term, including the constant, when scaling an equation.
Graphing locates the shared point visually or numerically. If two lines intersect at (r, s), then x
A method-selection shortcut
An isolated variable? Try substitution.
Matching or opposite coefficients? Try elimination.
Only a sum or other expression requested? Look for a useful equation combination first.
Numeric equations awkward to compute? Graph, then verify the intersection.
Unknown coefficient or number of solutions? Compare algebraic structure rather than relying on a picture.
Elimination is controlled equation combination
If L1
Preserve enough information. A combined equation is a consequence of the system, but it generally does not replace both original equations by itself. After obtaining one variable, use an original equation to find the other. Keep the originals available for a final check.
The multiplier must reach the right side. If you triple 2x + 3y
Solve for the expression the question actually requests
Suppose a question asks for x + y. Adding two equations may produce a multiple of x + y directly. If it asks for x + 2y, twice one equation minus the other may produce that expression. This can avoid fractions and unnecessary work.
A systematic way to look for a target is to compare coefficient pairs. The expressions 3x + 4y and 5x + 6y have coefficient pairs (3, 4) and (5, 6). Twice the first minus the second gives (6, 8) − (5, 6)
What “not enough information” really means
Two dependent equations may fail to determine x and y individually but still determine a particular combination. For example, if every solution satisfies 2x + 3y
Creating a system from a context. Define the unknowns with units. One equation often counts a total number of objects; the other counts a total value, mass, volume, or cost. Coefficients must match the variable definitions. If a counts adult tickets, the adult ticket price multiplies a, not the child-ticket variable.
Mixture equations count the component, not just the mixture. If a blend has fruit-juice fraction 0.20 and volume u liters, it contains 0.20u liters of fruit juice. A total-volume equation and a total-fruit-juice equation express different conserved quantities. All percentages in a component equation must be converted consistently to fractions or decimals.
Context can reject a mathematical solution. A system may have one real solution but demand a negative count or a fractional number of indivisible items. That means there is no feasible solution in that situation. State the restrictions before interpreting the algebra.
Solution counts and parameter conditions
For two nonvertical lines y
Comparison | Graph | Number of solutions |
|---|---|---|
m1 ≠ m2 | Lines intersect | Exactly one. |
m1 | Distinct parallel lines | None. |
m1 | Same line | Infinitely many. |
Use full-equation multiples in standard form. If all coefficients and the constant in one equation are the same multiple of the corresponding entries in the other, the two equations represent the same line. If the variable coefficients share a multiplier but the constants do not, the lines are distinct and parallel.
Elimination is safer than a ratio formula. Ratios such as A1/A2 can be undefined when a coefficient is zero. Instead, scale and subtract rows. A resulting contradiction such as 0
Do not assume every parameter choice still produces a line
An equation Ax + By
A compact uniqueness test, with its conditions. For
A1x + B1 y
eliminating y produces (A1B2 − A2B1)x
A parameter is not automatically another graphing variable. If the unknown is k in kx + 6y
Final check. Substitute a claimed pair into both original equations. For a no-solution answer, exhibit the contradiction or unequal parallel intercepts. For infinitely many solutions, exhibit the common line or a valid full-equation multiple. For an invariant expression, show why it has the same value for every allowed pair.
15 worked examples
4.01. Substitute an expression that is already isolated
The system y = 2x + 1 and x + y = 10 has solution (x, y). What is y?
Show worked solutionHide worked solution for example 4.01
Recognize the structure. Replace y in the second equation with the equal expression 2x + 1.
Work it through. Substitute and solve:
x + (2x + 1) = 10 3x = 9 x = 3.
Then y = 2(3) + 1 = 7.
Answer: 7.
Check. The pair (3, 7) gives 7
Avoid the trap. The first variable found is x, but the question requests y. Always return to the target after the algebra is complete.
4.02. Opposite coefficients invite addition
Solve the system x + y = 13 and x − y = 5.
Show worked solutionHide worked solution for example 4.02
Recognize the structure. Adding eliminates y immediately.
Work it through. Add the left and right sides:
(x + y) + (x − y) = 13 + 5 2x = 18.
Thus x
Answer: (x, y)
Check. 9 + 4
Another route. Subtracting the second equation from the first gives 2y
Avoid the trap. An ordered-pair answer must preserve the variable order: (9, 4), not (4, 9).
4.03. Create opposite coefficients with small multipliers
If 3x + 2y = 22 and 5x − 3y = 5, what is y?
Show worked solutionHide worked solution for example 4.03
Recognize the structure. Multiplying the first equation by 3 and the second by 2 creates +6y and −6y.
Work it through. The scaled equations are
9x + 6y
Add to obtain 19x
Answer: 5.
Check. The second original equation gives 5(4) − 3(5) = 20 − 15 = 5.
Avoid the trap. Both right sides must be scaled. Checking an original equation helps catch an error made while creating the multiplied rows.
4.04. Read the common point, then answer the target
The graph shows y = −x + 6 and y = 2x − 3. If (a, b) is their intersection, what is a + b?
Show worked solutionHide worked solution for example 4.04
Recognize the structure. The same point lies on both lines: (3, 3).
Work it through. The coordinates are a
Answer: 6.
Avoid the trap. An intersection is a pair. The question asks for the sum of its coordinates, not either coordinate alone.
4.05. Use a count equation and a revenue equation
A theater sells 40 tickets. Adult tickets cost $12 and child tickets cost $8. The total revenue is $408. How many adult tickets were sold?
A) 18 B) 22 C) 34 D) 40
Show worked solutionHide worked solution for example 4.05
Recognize the structure. One equation counts tickets; a second counts dollars.
Work it through. Let a and c count adult and child tickets. Then a + c
(12a + 8c) − (8a + 8c) = 408 − 320 4a = 88.
Thus a
Answer: B, 22.
Another route. Forty child tickets would bring in $320. Each replacement by an adult ticket adds $4, so the extra $88 requires 22 replacements.
Avoid the trap. The number 18 counts children, not adults. Keep the variable definitions attached to the results.
4.06. Conserve both total volume and a component
A drink maker mixes a blend containing 20% fruit juice with a blend containing 50% fruit juice. The result is 10 liters containing 32% fruit juice. Assuming volumes add, how many liters of the 50% blend are used?
Show worked solutionHide worked solution for example 4.06
Recognize the structure. Total liters and liters of actual fruit juice give different equations.
Work it through. Let u and v be liters of the 20% and 50% blends. Then
u + v
Substitute u
Answer: 4 liters.
Check. The other blend contributes 6 liters. Actual juice totals 0.20(6) + 0.50(4) = 1.2 + 2 = 3.2 liters.
Avoid the trap. A simple average of 20% and 50% would assume equal volumes. The unknown amounts must weight the percentages.
4.07. Interpret an intersection as equal total cost
Rental plan A costs $30 plus $8 per hour. Plan B costs $66 plus $5 per hour. For how many hours do the plans have the same total cost?
Show worked solutionHide worked solution for example 4.07
Recognize the structure. At an intersection, both cost formulas give the same output for the same number of hours.
Work it through. Set the totals equal:
30 + 8h = 66 + 5h 3h = 36 h = 12.
Answer: 12 hours.
Check. At 12 hours, plan A costs 30 + 96
Key takeaway. Plan A begins $36 cheaper but gains $3 in relative cost each hour. The difference closes after 36/3
4.08. Equal coefficient ratios do not guarantee the same line
How many solutions does the system 2x + 3y = 7 and 4x + 6y = 18 have?
A) Zero B) One C) Two D) Infinitely many
Show worked solutionHide worked solution for example 4.08
Recognize the structure. The second left side is twice the first, but its right side is not.
Work it through. Doubling the first equation gives 4x + 6y
Answer: A, zero solutions.
Check. In slope-intercept form the slopes match, but the intercepts are 7/3 and 3. These are distinct parallel lines.
Avoid the trap. Proportional variable coefficients alone imply parallel or coincident lines. The constants decide which.
4.09. Recognize two versions of the same constraint
How many real ordered-pair solutions satisfy both 6x − 9y = 12 and 2x − 3y = 4?
Show worked solutionHide worked solution for example 4.09
Recognize the structure. The first equation is exactly three times the second, including the constant.
Work it through. Multiplying 2x − 3y
Answer: Infinitely many real ordered-pair solutions.
Check. Both (2, 0) and (5, 2) work, and the full line contains infinitely many points. The multiplier argument proves the complete solution set, not just these two examples.
Avoid the trap. Infinitely many solutions does not mean every pair in the plane works. The pairs must still lie on the common line.
4.10. Find a sum without solving for each variable
If 5x + 2y = 17 and 2x + 5y = 11, what is x + y?
Show worked solutionHide worked solution for example 4.10
Recognize the structure. Adding gives the same coefficient on x and y.
Work it through. Add the equations:
7x + 7y = 28 7(x + y) = 28.
Divide by 7 to get x + y
Answer: 4.
Another route. Solving separately gives x
Avoid the trap. The right-side sum, 28, is seven times the requested expression. Do not stop before dividing by the common coefficient.
4.11. Build the target with a weighted combination
If 3x + 4y = 18 and 5x + 6y = 28, what is x + 2y?
Show worked solutionHide worked solution for example 4.11
Recognize the structure. Twice the first left side minus the second equals x + 2y.
Work it through. Apply that combination to both sides:
2(3x + 4y) − (5x + 6y)
Simplifying gives x + 2y = 36 − 28 = 8.
Answer: 8.
Check. The system’s solution is (2, 3), which gives x + 2y = 2 + 6 = 8. Finding it is a check, not a necessary step.
Key takeaway. Useful combinations are not limited to canceling a variable. They can also create the exact expression being requested.
4.12. Choose the coefficient that makes the lines inconsistent
For what value of k does the system 3x + 2y = 8 and kx + 6y = 10 have no solution?
Show worked solutionHide worked solution for example 4.12
Recognize the structure. To cancel y, triple the first equation. Match the resulting x coefficient, then inspect the constants.
Work it through. Three times the first equation is 9x + 6y
Answer: 9.
Key takeaway. For k ≠ 9, subtraction gives (k − 9)x
Avoid the trap. The constants do not need to match for no solution; they need to disagree after the variable coefficients match.
4.13. Match an entire equation with two unknown constants
The system (a + 1)x + 6y = 15 and 2x + 3y = b has infinitely many solutions. What is a + 2b?
Show worked solutionHide worked solution for example 4.13
Recognize the structure. The coefficient 6 on y fixes the multiplier from the second equation to the first as 2.
Work it through. Twice the second equation is 4x + 6y
a + 1
Thus a
Answer: 18.
Check. With those constants, the first equation is exactly twice the second.
Avoid the trap. Match the full coefficient a + 1 with 4, not a alone. The requested expression also saves you from needing a decimal for b.
4.14. Use an extra condition on the intersection point
The lines 2x + y = 11 and px − 3y = 1 intersect at a point on the line y = x − 1. What is p?
Show worked solutionHide worked solution for example 4.14
Recognize the structure. Use the condition on the intersection with the equation that has no unknown parameter.
Work it through. Substitute y
2x + x − 1 = 11 x = 4, y
Now require this point to satisfy px − 3y
Answer: .
Check. The point (4, 3) lies on all three stated lines. For this parameter the first two lines have different slopes, so their intersection is unique.
Avoid the trap. The relation y
4.15. A constant expression can survive infinitely many solutions
Every solution of the system 2x + 3y = 12 and 4x + 6y = 24 gives the same value for kx + 9y. What is k?
Show worked solutionHide worked solution for example 4.15
Recognize the structure. The equations are dependent. The requested expression must be a fixed multiple of their common constraint.
Work it through. Multiplying 2x + 3y
Answer: 6.
Key takeaway. The variables are not individually determined, but the combination 6x + 9y is. “Infinitely many solutions” does not automatically mean the question has no numeric answer.
Mastery check and error prevention
Attempt the exit check below, then reveal each answer and explanation.
Before leaving this section
Check that you can select an efficient method, scale every term correctly, test a pair in both originals, and distinguish a shared line from the whole plane. Before solving for both variables, inspect whether a sum or multiple already gives the target.