Systems of two linear equations consist of two equations with two variables (usually x and y). Solving a system means finding the ordered pair (x,y) that satisfies both equations simultaneously, representing the geometric intersection of their lines on a coordinate plane.
Algebraic Methods for Solving Systems
Systems can be solved algebraically using two main techniques depending on how the equations are structured.
Substitution Method: Solves one equation for a single variable, then substitutes that expression into the second equation.
Example: Given y=2x−1 and 3x+y=9, substitute (2x−1) into the second equation:
3x+(2x−1)=9⟹5x−1=9⟹5x=10⟹x=2
Substitute x=2 back to find y: y=2(2)−1=3. Solution: (2,3).
Elimination Method: Multiplies one or both equations by constants so that adding or subtracting them cancels out one variable.
Example: Given 2x+3y=12 and 4x−3y=6, add the two equations to eliminate y:
(2x+3y)+(4x−3y)=12+6⟹6x=18⟹x=3
Substitute x=3 back into 2(3)+3y=12⟹6+3y=12⟹y=2. Solution: (3,2).
Structural Analysis of Solutions (Intersections)
The number of solutions to a linear system in two variables depends on the graphical relationship between the two lines:
One Solution (Independent/Consistent): Occurs when the lines have different slopes (m1=m2). The lines intersect at a single point (x,y).
Example: y=2x+1 and y=−x+4 intersect at (1,3).
No Solution (Inconsistent): Occurs when the lines have equal slopes (m1=m2) but different y-intercepts (b1=b2). The lines are parallel and never intersect.
Example: y=3x+2 and y=3x−5 yield the false statement 2=−5 when set equal.
Infinitely Many Solutions (Dependent/Consistent): Occurs when the lines have equal slopes (m1=m2) and equal y-intercepts (b1=b2). The equations represent the exact same line, meaning every point on the line is a solution.
Example: 2x+4y=8 and x+2y=4 simplify to identical equations (0=0).
Modeling Systems in Context
Systems are frequently used to model scenarios with two unknown quantities governed by two distinct constraints (such as cost and quantity).
Quantity Constraint: Sets up an equation based on the count or total number of items: x+y=total count.
Example: A mix of x adult tickets and y child tickets totaling 150 tickets ⟹x+y=150.
Value/Cost Constraint: Sets up an equation based on individual values or rates: Ax+By=total value.
Example: Adult tickets cost $10 and child tickets cost $6, generating $1,200 in total sales ⟹10x+6y=1200.
Example 1
If 3x+2y=18 and 3x−2y=6, what is the value of x−y?
A
1
B
7
C
11
D
4
Choice A is the best answer. Adding the equations eliminates y: 6x=24, so x=4; subtracting gives 4y=12, so y=3. Then x−y=4−3=1. Choice B is incorrect; it is the value of x+y, not x−y. Choice C is incorrect; it is the value of 2x+y. Choice D is incorrect; it is the value of x alone, not x−y.
Example 2
For what value of p does the system 3x−py=9 and 6x−8y=18 have infinitely many solutions?
4
Correct
For infinitely many solutions, the two equations must represent the same line, so the ratios of corresponding coefficients and constants must be equal: 36=−p−8=918. Since 36=2 and 918=2, the constant ratio is already satisfied; setting −p−8=2 gives p8=2, so p=4. A common error is setting the ratio equal to 21 instead of 2, or ignoring the constant-term ratio entirely.
Tips for solving
Use elimination when both equations are in standard form (Ax+By=C).
Example: For 3x+2y=11 and 5x−2y=13, add them directly to get 8x=24⟹x=3.
Use substitution when one equation already isolates a variable (e.g., y=…).
Example: For y=4x−2 and 2x+3y=8, plug (4x−2) directly into the second equation for y.
Compare slope ratios (−BA) to quickly check for "No Solution" or "Infinitely Many.
Example: For 2x+3y=5 and 4x+6y=k, the left sides match (2×2=4 and 3×2=6).
If k=10, there are infinitely many solutions. If k=10, there is no solution.
Watch for questions asking for target expressions rather than x or y individually.
Example: If x+y=7 and x−y=3, what is x2−y2?
Shortcut: Recognize x2−y2=(x+y)(x−y)=7×3=21 without solving for x and y.
Check boundary points and intersections in system word problems to ensure realistic domain constraints.
Example: In ticket pricing problems, both x≥0 and y≥0 must hold true; negative ticket counts are extraneous solutions.
Practice questions
00:00
Question 1 · easy
If y=2x+1 and y=5x−8, what is the value of x?
Question 2 · easy
If x+y=10 and x−y=4, what is the value of x?
Question 3 · easy
If 3x+y=12 and y=x−4, what is the value of y?
Question 4 · easy
A theater sells adult tickets for $8 and child tickets for $5. On a given night, 12 tickets were sold for a total of $81. How many adult tickets were sold?
Question 5 · easy
If 2x−y=7 and x+y=5, what is the value of x?
Question 6 · easy
How many solutions does the system y=3x+2 and y=−x+6 have?
Question 7 · easy
If y=4x−3 and y=−2x+9, what is the value of y at the solution to this system?
Question 8 · easy
If x=3y+1 and 2x−y=12, what is the value of y?
Question 9 · easy
The graph shows the lines y=x+1 and y=−x+5. What is the solution (x,y) to this system?