Systems of Linear Equations

Solve problems with multiple unknowns using multiple equations

Imagine you are trying to figure out the prices of two items, but the receipt only shows the totals. You bought 2 coffees and 1 muffin for $8, and your friend bought 1 coffee and 2 muffins for $7. With just one total, you could not pin down the individual prices - there are too many possibilities. But with two totals? Now you have enough clues to solve the puzzle. This is the power of systems of equations: when one equation is not enough, two equations working together can reveal what neither could alone.

Core Concepts

What Is a System of Equations?

A system of equations is simply two or more equations that share the same variables. You are looking for values that make all the equations true at the same time.

Here is a simple system:

$$x + y = 10$$ $$x - y = 4$$

Both equations involve $x$ and $y$. A solution to the system is a pair of values for $x$ and $y$ that satisfies both equations simultaneously.

Let us test $x = 7$ and $y = 3$:

  • First equation: $7 + 3 = 10$ (True!)
  • Second equation: $7 - 3 = 4$ (True!)

Since both equations are satisfied, $(7, 3)$ is the solution.

Solutions as Intersection Points

Here is a beautiful geometric insight: each linear equation represents a line on a graph. The solution to a system of two linear equations is the point where the two lines intersect.

Think about it: a point on a line satisfies that line’s equation. If a point lies on both lines, it must satisfy both equations. That intersection point is exactly what we are looking for.

This geometric view helps explain why systems behave the way they do:

  • Two different lines that are not parallel will cross at exactly one point - one solution
  • Two parallel lines never cross - no solution
  • Two equations describing the same line share every point - infinitely many solutions

Three Methods for Solving Systems

You have choices when solving a system. Each method has its strengths:

  1. Graphing: Plot both lines and find where they cross. Great for visualizing the problem and estimating solutions.

  2. Substitution: Solve one equation for one variable, then substitute that expression into the other equation. Works well when one equation is already solved for a variable (like $y = 2x$).

  3. Elimination: Add or subtract the equations to eliminate one variable. Powerful when the coefficients are set up nicely.

Let us explore each method in detail.

Solving by Graphing

To solve a system by graphing:

  1. Write each equation in slope-intercept form ($y = mx + b$) if needed
  2. Graph both lines on the same coordinate plane
  3. Identify the intersection point
  4. Check the solution in both original equations

The graphing method is excellent for understanding what a solution means, but it can be imprecise when the intersection does not fall on nice integer coordinates. For exact answers, you will often prefer substitution or elimination.

Solving by Substitution

The substitution method works by reducing a two-variable problem to a one-variable problem:

  1. Solve one equation for one variable (pick whichever is easiest)
  2. Substitute that expression into the other equation
  3. Solve the resulting one-variable equation
  4. Substitute back to find the other variable
  5. Check your solution in both original equations

This method shines when one equation is already solved for a variable, or when solving for a variable requires minimal work.

Solving by Elimination

The elimination method (also called the addition method) uses a clever insight: you can add equations together, and the result is still true. If you set it up so one variable cancels out, you are left with a simple equation:

  1. Arrange both equations in standard form ($ax + by = c$)
  2. Multiply one or both equations by constants so that one variable has opposite coefficients
  3. Add the equations to eliminate that variable
  4. Solve for the remaining variable
  5. Substitute back to find the other variable
  6. Check your solution in both original equations

This method is especially efficient when the coefficients are already set up for cancellation or need only simple multiplication.

Special Cases: No Solution and Infinite Solutions

Not every system has a single, neat solution. Two special cases arise:

No Solution (Inconsistent System): When the two equations represent parallel lines, they never intersect. You will recognize this when solving: the variables will cancel out and leave a false statement like $0 = 5$.

Example: $y = 2x + 1$ and $y = 2x + 4$ are parallel (same slope, different intercepts). No point lies on both lines.

Infinite Solutions (Dependent System): When both equations describe the same line, every point on that line is a solution. You will recognize this when solving: the variables cancel out and leave a true statement like $0 = 0$ or $6 = 6$.

Example: $2x + 4y = 8$ and $x + 2y = 4$ are the same line (the first is just the second multiplied by 2).

Choosing the Best Method

How do you decide which method to use? Here are some guidelines:

  • Graphing: Use when you want to visualize the problem, estimate a solution, or verify your algebraic work. Less precise for non-integer solutions.

  • Substitution: Use when one equation is already solved for a variable (like $y = 3x + 1$) or when it is easy to isolate a variable with a coefficient of 1.

  • Elimination: Use when variables have the same or opposite coefficients, or when both equations are in standard form and substitution would create messy fractions.

In practice, mathematicians develop intuition for which method will be quickest. The good news: all three methods will give you the same answer, so choose what feels most comfortable.

Notation and Terminology

Term Meaning Example
System of equations Two or more equations with same variables $x + y = 5$ and $2x - y = 1$
Solution to a system Values satisfying ALL equations $(2, 3)$
Consistent System with at least one solution Intersecting or same lines
Inconsistent System with no solution Parallel lines
Independent Exactly one solution Lines intersect once
Dependent Infinite solutions Same line

Examples

Example 1: Solving by Graphing

Solve the system by graphing:

$$y = x + 1$$ $$y = -x + 5$$

Solution:

Both equations are already in slope-intercept form, so we can graph directly.

For $y = x + 1$:

  • Slope is 1, y-intercept is 1
  • Points include: $(0, 1)$, $(1, 2)$, $(2, 3)$

For $y = -x + 5$:

  • Slope is $-1$, y-intercept is 5
  • Points include: $(0, 5)$, $(1, 4)$, $(2, 3)$

Both lines pass through the point $(2, 3)$. This is the intersection point.

Check:

  • First equation: $3 = 2 + 1 = 3$ (True!)
  • Second equation: $3 = -2 + 5 = 3$ (True!)

Solution: $(2, 3)$ or $x = 2, y = 3$

Real-world connection: Two hikers start from different locations and walk toward each other. Their positions over time can be modeled by these equations. The intersection tells you when and where they meet.

Example 2: Solving by Substitution (Simple)

Solve the system:

$$y = 2x$$ $$x + y = 9$$

Solution:

The first equation tells us exactly what $y$ equals: $y = 2x$. We can substitute this into the second equation.

Replace $y$ with $2x$ in the second equation: $$x + 2x = 9$$ $$3x = 9$$ $$x = 3$$

Now substitute $x = 3$ back into $y = 2x$: $$y = 2(3) = 6$$

Check:

  • First equation: $6 = 2(3) = 6$ (True!)
  • Second equation: $3 + 6 = 9$ (True!)

Solution: $(3, 6)$ or $x = 3, y = 6$

Real-world connection: You have two investments. One earns twice as much as the other. Together they earn $9. How much does each earn?

Example 3: Solving by Elimination

Solve the system:

$$2x + 3y = 13$$ $$4x - 3y = 5$$

Solution:

Notice that the $y$ terms have opposite coefficients: $+3y$ and $-3y$. If we add the equations, the $y$ terms will cancel!

Add the two equations: $$2x + 3y = 13$$ $$\underline{+ \quad 4x - 3y = 5}$$ $$6x + 0y = 18$$ $$6x = 18$$ $$x = 3$$

Now substitute $x = 3$ into either original equation. Using the first equation: $$2(3) + 3y = 13$$ $$6 + 3y = 13$$ $$3y = 7$$ $$y = \frac{7}{3}$$

Check:

  • First equation: $2(3) + 3(\frac{7}{3}) = 6 + 7 = 13$ (True!)
  • Second equation: $4(3) - 3(\frac{7}{3}) = 12 - 7 = 5$ (True!)

Solution: $(3, \frac{7}{3})$ or $x = 3, y = \frac{7}{3}$

Real-world connection: A store sells pens and notebooks. Two pens and three notebooks cost $13. Four pens minus the cost of three notebooks equals $5. What does each item cost?

Example 4: Solving by Substitution (Requires Isolating First)

Solve the system:

$$3x + 2y = 11$$ $$x - y = 2$$

Solution:

The second equation is easy to solve for $x$: $$x - y = 2$$ $$x = y + 2$$

Now substitute $x = y + 2$ into the first equation: $$3(y + 2) + 2y = 11$$ $$3y + 6 + 2y = 11$$ $$5y + 6 = 11$$ $$5y = 5$$ $$y = 1$$

Substitute $y = 1$ back into $x = y + 2$: $$x = 1 + 2 = 3$$

Check:

  • First equation: $3(3) + 2(1) = 9 + 2 = 11$ (True!)
  • Second equation: $3 - 1 = 2$ (True!)

Solution: $(3, 1)$ or $x = 3, y = 1$

Real-world connection: You have two numbers. Three times the first plus twice the second equals 11. The first minus the second equals 2. What are the numbers?

Example 5: No Solution (Parallel Lines)

Solve the system:

$$2x + 4y = 8$$ $$x + 2y = 10$$

Solution:

Let us try elimination. Multiply the second equation by $-2$ so we can eliminate $x$: $$2x + 4y = 8$$ $$-2(x + 2y) = -2(10)$$

This gives us: $$2x + 4y = 8$$ $$-2x - 4y = -20$$

Add the equations: $$2x + 4y = 8$$ $$\underline{+ \quad -2x - 4y = -20}$$ $$0 = -12$$

This is a false statement! Zero does not equal negative twelve.

Conclusion: This system has no solution. The lines are parallel.

Why this happens: Let us rewrite both equations in slope-intercept form:

  • First equation: $4y = -2x + 8 \Rightarrow y = -\frac{1}{2}x + 2$
  • Second equation: $2y = -x + 10 \Rightarrow y = -\frac{1}{2}x + 5$

Both lines have slope $-\frac{1}{2}$ but different y-intercepts. Parallel lines never intersect!

Real-world connection: Two runners are on parallel tracks. No matter how long they run, they will never be at the same position at the same time.

Example 6: Word Problem

The sum of two numbers is 25. Their difference is 7. Find the numbers.

Solution:

Let $x$ = the larger number and $y$ = the smaller number.

Translate the problem into equations:

  • “The sum of two numbers is 25” $\Rightarrow x + y = 25$
  • “Their difference is 7” $\Rightarrow x - y = 7$

Now we have a system: $$x + y = 25$$ $$x - y = 7$$

Use elimination - the $y$ coefficients are already opposites!

Add the equations: $$x + y = 25$$ $$\underline{+ \quad x - y = 7}$$ $$2x = 32$$ $$x = 16$$

Substitute into the first equation: $$16 + y = 25$$ $$y = 9$$

Check:

  • Sum: $16 + 9 = 25$ (True!)
  • Difference: $16 - 9 = 7$ (True!)

Solution: The two numbers are 16 and 9.

Why systems are useful here: With a single equation like “the sum is 25,” there would be infinitely many answers (24 and 1, 20 and 5, etc.). The second equation narrows it down to exactly one answer.

Key Properties and Rules

The Substitution Strategy

  1. Look for an equation where a variable has a coefficient of 1 (or is already isolated)
  2. Solve for that variable
  3. Replace that variable everywhere in the other equation
  4. Solve the resulting one-variable equation
  5. Back-substitute to find the other variable

The Elimination Strategy

  1. Align the equations vertically (standard form helps)
  2. If needed, multiply one or both equations so that one variable has opposite coefficients
  3. Add the equations to eliminate that variable
  4. Solve for the remaining variable
  5. Substitute back to find the eliminated variable

Recognizing Special Cases

What You See What It Means
Variables cancel, false statement (like $0 = 5$) No solution - parallel lines
Variables cancel, true statement (like $0 = 0$) Infinite solutions - same line
You find specific values for $x$ and $y$ Exactly one solution - lines intersect

Always Verify Your Solution

Substitute your answer into both original equations. Both must be satisfied. This catches arithmetic errors and confirms you have found the correct intersection point.

Real-World Applications

Mixing Problems

A chemist needs to mix a 20% acid solution with a 50% acid solution to get 60 liters of 30% acid solution. How much of each solution should be used?

Let $x$ = liters of 20% solution, $y$ = liters of 50% solution.

$$x + y = 60 \quad \text{(total volume)}$$ $$0.20x + 0.50y = 0.30(60) \quad \text{(acid content)}$$

Solving gives $x = 40$ liters of 20% solution and $y = 20$ liters of 50% solution.

Break-Even Analysis

A company has fixed costs of $500 and produces items for $8 each, selling them for $12 each.

Cost equation: $C = 500 + 8n$ Revenue equation: $R = 12n$

Break-even occurs when $C = R$: $$500 + 8n = 12n$$ $$500 = 4n$$ $$n = 125$$

The company breaks even after selling 125 items.

Comparing Plans

Phone Plan A charges $30 per month plus $0.10 per minute. Phone Plan B charges $20 per month plus $0.15 per minute.

When are they equal? $$30 + 0.10m = 20 + 0.15m$$ $$10 = 0.05m$$ $$m = 200$$

At 200 minutes, both plans cost the same ($50). Below 200 minutes, Plan B is cheaper. Above 200 minutes, Plan A is cheaper.

Motion Problems

Two cars start 300 miles apart and drive toward each other. Car A travels at 60 mph, Car B at 40 mph. When do they meet?

Let $t$ = time in hours. Car A travels $60t$ miles, Car B travels $40t$ miles.

$$60t + 40t = 300$$ $$100t = 300$$ $$t = 3$$

They meet after 3 hours. Car A has traveled 180 miles, Car B has traveled 120 miles.

Self-Test Problems

Problem 1: Solve by substitution: $y = x + 4$ and $2x + y = 10$

Show Answer

Substitute $y = x + 4$ into the second equation: $$2x + (x + 4) = 10$$ $$3x + 4 = 10$$ $$3x = 6$$ $$x = 2$$

Back-substitute: $y = 2 + 4 = 6$

Check:

  • First equation: $6 = 2 + 4$ (True!)
  • Second equation: $2(2) + 6 = 4 + 6 = 10$ (True!)

Solution: $(2, 6)$

Problem 2: Solve by elimination: $3x + 2y = 12$ and $3x - 2y = 0$

Show Answer

The $y$ terms have opposite coefficients. Add the equations: $$3x + 2y = 12$$ $$\underline{+ \quad 3x - 2y = 0}$$ $$6x = 12$$ $$x = 2$$

Substitute into the first equation: $$3(2) + 2y = 12$$ $$6 + 2y = 12$$ $$2y = 6$$ $$y = 3$$

Check:

  • First equation: $3(2) + 2(3) = 6 + 6 = 12$ (True!)
  • Second equation: $3(2) - 2(3) = 6 - 6 = 0$ (True!)

Solution: $(2, 3)$

Problem 3: Solve by any method: $2x - y = 5$ and $4x + y = 13$

Show Answer

The $y$ terms are $-y$ and $+y$ (opposites). Use elimination by adding: $$2x - y = 5$$ $$\underline{+ \quad 4x + y = 13}$$ $$6x = 18$$ $$x = 3$$

Substitute into the first equation: $$2(3) - y = 5$$ $$6 - y = 5$$ $$-y = -1$$ $$y = 1$$

Check:

  • First equation: $2(3) - 1 = 6 - 1 = 5$ (True!)
  • Second equation: $4(3) + 1 = 12 + 1 = 13$ (True!)

Solution: $(3, 1)$

Problem 4: Determine if this system has no solution, one solution, or infinite solutions: $y = 3x + 2$ and $6x - 2y = 8$

Show Answer

Substitute $y = 3x + 2$ into the second equation: $$6x - 2(3x + 2) = 8$$ $$6x - 6x - 4 = 8$$ $$-4 = 8$$

This is false! The system has no solution.

The lines are parallel (both have slope 3 but different y-intercepts).

Problem 5: The perimeter of a rectangle is 36 cm. The length is 3 more than twice the width. Find the dimensions.

Show Answer

Let $l$ = length and $w$ = width.

Equations:

  • Perimeter: $2l + 2w = 36$
  • Relationship: $l = 2w + 3$

Substitute the second equation into the first: $$2(2w + 3) + 2w = 36$$ $$4w + 6 + 2w = 36$$ $$6w + 6 = 36$$ $$6w = 30$$ $$w = 5$$

Find length: $l = 2(5) + 3 = 13$

Check: Perimeter = $2(13) + 2(5) = 26 + 10 = 36$ (True!)

Solution: Width = 5 cm, Length = 13 cm

Problem 6: Admission to a museum is $8 for adults and $5 for children. A group of 20 people paid $124 total. How many adults and children were there?

Show Answer

Let $a$ = number of adults and $c$ = number of children.

Equations:

  • Total people: $a + c = 20$
  • Total cost: $8a + 5c = 124$

Solve the first equation for $a$: $a = 20 - c$

Substitute into the second equation: $$8(20 - c) + 5c = 124$$ $$160 - 8c + 5c = 124$$ $$160 - 3c = 124$$ $$-3c = -36$$ $$c = 12$$

Find adults: $a = 20 - 12 = 8$

Check:

  • Total people: $8 + 12 = 20$ (True!)
  • Total cost: $8(8) + 5(12) = 64 + 60 = 124$ (True!)

Solution: 8 adults and 12 children

Summary

  • A system of equations is two or more equations with the same variables. You seek values that satisfy all equations simultaneously.
  • Geometrically, the solution is the intersection point of the lines represented by the equations.
  • Three methods for solving:
    • Graphing: Plot both lines and find where they cross
    • Substitution: Solve one equation for a variable, substitute into the other
    • Elimination: Add or subtract equations to cancel one variable
  • Special cases: Parallel lines mean no solution (inconsistent system). Identical lines mean infinite solutions (dependent system).
  • Recognizing special cases: If variables cancel and you get a false statement, there is no solution. If you get a true statement, there are infinite solutions.
  • Choose your method based on the structure of the equations - substitution when a variable is isolated, elimination when coefficients line up nicely, graphing for visualization.
  • Systems of equations appear everywhere: mixing problems, break-even analysis, comparing options, and motion problems.
  • Always check your solution in both original equations to verify your work.