MathBored

Essential Math Primer
← Back to Primer Overview
H30 • Lesson 52 of 105

Systems of Linear Equations

Solving systems, graphical and algebraic methods

High School Essentials • 9-12

Prerequisites: H28

Key Concepts

  • systems
  • solving
  • elimination
  • substitution

Systems of Linear Equations

What happens when two conditions must be satisfied at the same time? Systems of linear equations model exactly this: two or more equations that share the same variables, and we need to find values that make all equations true simultaneously. Applications range from comparing phone plans to balancing chemical reactions.

Graphical Method

When you graph two linear equations on the same coordinate plane, the solution to the system is the point where the lines intersect. This method gives a visual understanding but can be imprecise when the intersection does not fall on grid points.

Graph ResultNumber of SolutionsSystem Type
Lines intersect at one pointExactly one solutionIndependent (consistent)
Lines are parallel (never meet)No solutionInconsistent
Lines are identical (overlap completely)Infinitely many solutionsDependent (consistent)

Substitution Method

Substitution works best when one equation is already solved for a variable (or can be easily solved for one).

  1. Solve one equation for one variable.
  2. Substitute that expression into the other equation.
  3. Solve the resulting single-variable equation.
  4. Back-substitute to find the other variable.

Worked Example 1 -- Substitution

Solve the system: y = 2x + 1 and 3x + y = 11.

  1. The first equation already gives y = 2x + 1.
  2. Substitute into the second: 3x + (2x + 1) = 11.
  3. Simplify: 5x + 1 = 11, so 5x = 10, giving x = 2.
  4. Back-substitute: y = 2(2) + 1 = 5.

The solution is (2, 5). Check in both equations: 5 = 2(2) + 1 = 5, and 3(2) + 5 = 11. Both true.

Elimination Method

Elimination (also called the addition method) works by adding or subtracting equations to eliminate one variable. It is especially efficient when both equations are in standard form.

  1. Align the equations vertically by variable.
  2. Multiply one or both equations by constants so that one variable has equal and opposite coefficients.
  3. Add the equations to eliminate that variable.
  4. Solve for the remaining variable, then back-substitute.

Worked Example 2 -- Elimination

Solve: 2x + 3y = 12 and 4x - 3y = 6.

  1. The y-coefficients are already opposites (+3 and -3).
  2. Add the equations: (2x + 4x) + (3y - 3y) = 12 + 6, giving 6x = 18.
  3. Solve: x = 3.
  4. Substitute x = 3 into the first equation: 2(3) + 3y = 12, so 6 + 3y = 12, giving 3y = 6, y = 2.

The solution is (3, 2).

Worked Example 3 -- No Solution (Inconsistent System)

Solve: x + 2y = 4 and 2x + 4y = 5.

  1. Multiply the first equation by -2: -2x - 4y = -8.
  2. Add to the second equation: (2x - 2x) + (4y - 4y) = 5 + (-8), giving 0 = -3.
  3. This is a contradiction. The system has no solution.

Graphically, these lines are parallel (same slope, different intercepts).

Common Mistake: Forgetting to Multiply ALL Terms

When multiplying an equation by a constant to set up elimination, you must multiply every term -- including the constant on the right side. For example, multiplying x + 2y = 4 by -2 gives -2x - 4y = -8, not -2x - 4y = 4.

Which Method to Choose?

Use graphing for a visual estimate or to understand the geometry. Use substitution when one variable is already isolated. Use elimination when both equations are in standard form and coefficients align conveniently. All three methods yield the same answer for a given system.

Practice Problems

1. Solve by substitution: y = x - 3 and 2x + y = 9.

Show Solution

Substitute y = x - 3 into the second equation: 2x + (x - 3) = 9, so 3x - 3 = 9, giving 3x = 12, x = 4. Then y = 4 - 3 = 1. Solution: (4, 1).

2. Solve by elimination: 3x + 2y = 16 and 3x - 2y = 8.

Show Solution

Add the equations: 6x = 24, so x = 4. Substitute into the first: 3(4) + 2y = 16, so 12 + 2y = 16, 2y = 4, y = 2. Solution: (4, 2).

3. Solve: 2x + y = 7 and 4x + 2y = 14.

Show Solution

Notice the second equation is exactly 2 times the first. These are the same line. The system has infinitely many solutions. Any point on y = -2x + 7 is a solution.

4. Solve by substitution: x = 3y + 2 and 5x - 15y = 4.

Show Solution

Substitute x = 3y + 2 into the second: 5(3y + 2) - 15y = 4, so 15y + 10 - 15y = 4, giving 10 = 4. This is a contradiction -- no solution.

5. Two pizzas and three salads cost $27. One pizza and two salads cost $16. Find the cost of each item.

Show Solution

Let p = pizza cost, s = salad cost. System: 2p + 3s = 27 and p + 2s = 16.

Multiply the second equation by -2: -2p - 4s = -32. Add to the first: -s = -5, so s = 5. Then p + 2(5) = 16, giving p = 6.

A pizza costs $6 and a salad costs $5.

Summary

A system of linear equations can have one solution (intersecting lines), no solution (parallel lines), or infinitely many solutions (identical lines). The three solving methods -- graphing, substitution, and elimination -- each have strategic advantages depending on the form of the equations. Always verify your solution by substituting back into both original equations.

Overview