Math Core

Lesson 5.4 · Systems of Equations

Systems word problems

Many real questions involve two unknowns connected by two facts: how many adult and student tickets were sold, or when two phone plans cost the same. A system of equations turns those facts into math you can solve with graphing, substitution or elimination.

From words to a system

The hardest part of a word problem is usually setting it up. Use these steps.

Solving a word problem with a system

  1. Define two variables. Say exactly what each one stands for.
  2. Write two equations, one for each fact in the problem.
  3. Solve the system with any method.
  4. Answer the question in a sentence with units, and check that it makes sense.

Worked example: Sum and difference

The sum of two numbers is 4040. Their difference is 1212. Find the numbers.

Let xx be the larger number and yy the smaller number.

x+y=40x−y=12\begin{aligned} x + y &= 40 \\ x - y &= 12 \end{aligned}

Add the equations: 2x=522x = 52, so x=26x = 26. Then 26+y=4026 + y = 40, so y=14y = 14.

The numbers are 26 and 14. Check: 26+14=4026 + 14 = 40 ✓ and 26−14=1226 - 14 = 12 ✓.

Counting and value problems

A very common type has one equation that counts things and another that adds up their value (cost, points, legs, wheels).

Worked example: Ticket sales

A school play sold 5050 tickets for a total of $310. Adult tickets cost $8 and student tickets cost $5. How many of each kind were sold?

Let aa be the number of adult tickets and ss the number of student tickets.

  • Counting tickets: a+s=50a + s = 50
  • Adding up money: 8a+5s=3108a + 5s = 310

Solve the first equation for ss: s=50−as = 50 - a. Substitute:

8a+5(50−a)=3108a+250−5a=3103a=60a=20\begin{aligned} 8a + 5(50 - a) &= 310 \\ 8a + 250 - 5a &= 310 \\ 3a &= 60 \\ a &= 20 \end{aligned}

Then s=50−20=30s = 50 - 20 = 30.

The play sold 20 adult tickets and 30 student tickets. Check: 20+30=5020 + 30 = 50 ✓ and 8(20)+5(30)=160+150=3108(20) + 5(30) = 160 + 150 = 310 ✓.

Common mistake

Don't mix up the two kinds of equation. The count equation adds numbers of things (a+s=50a + s = 50). The value equation multiplies each count by its price first (8a+5s=3108a + 5s = 310). Writing a+s=310a + s = 310 adds tickets to dollars, which makes no sense.

Comparing two options

When two plans each have a starting cost and a rate, a system tells you when they cost the same. Each plan is a linear equation y=mx+by = mx + b, where bb is the starting fee and mm is the rate.

Worked example: Which gym is cheaper?

Gym A charges a $30 sign-up fee plus $5 per visit. Gym B charges a $10 sign-up fee plus $9 per visit. After how many visits do the gyms cost the same? What is that cost?

Let xx be the number of visits and yy the total cost in dollars.

y=30+5x(Gym A)y=10+9x(Gym B)\begin{aligned} y &= 30 + 5x \quad \text{(Gym A)} \\ y &= 10 + 9x \quad \text{(Gym B)} \end{aligned}

Both expressions equal yy, so set them equal: 30+5x=10+9x30 + 5x = 10 + 9x. Subtract 5x5x and 1010 from both sides: 20=4x20 = 4x, so x=5x = 5. Then y=30+5(5)=55y = 30 + 5(5) = 55.

Visits (across) and total cost in dollars (up). The lines cross at (5, 55).Open in grapher →

After 5 visits, both gyms cost $55. The graph shows more: for fewer than 5 visits Gym B's line is lower, so Gym B is cheaper. For more than 5 visits, Gym A is cheaper.

Tip

Before you finish, ask: does my answer make sense? Numbers of tickets, people or coins must be whole numbers that aren't negative. If you get 12.512.5 tickets, look for a mistake in your setup.

Practice

Practice 1

The sum of two numbers is 3535 and their difference is 99. What is the larger number?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

A food truck sells tacos for $3 and burritos for $7. One customer bought 1212 items and paid $56. How many burritos did the customer buy?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

A farm has chickens and cows. Together they have 3030 heads and 8484 legs. How many cows are there?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 4

Aiden has 2222 coins, all quarters and dimes. They are worth $3.70 in all. How many quarters does he have?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

The perimeter of a rectangle is 4646 cm. Its length is 55 cm more than its width. What is the length, in centimeters?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 6

Phone plan A costs $20 per month plus $0.10 per minute. Plan B costs $35 per month plus $0.05 per minute. For how many minutes in a month do the two plans cost the same?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Maya has $50 and saves $15 each week. Theo has $140 and saves $6 each week. After how many weeks will they have the same amount of money, and how much will each have? Answer as an ordered pair (weeks, dollars).

Enter a point like (2, -3)

Practice 8

A club sold 120120 T-shirts. Small shirts cost $10 and large shirts cost $12. The club collected $1,340. Let ss be the number of small shirts and ll the number of large shirts. Which system models the situation, and how many large shirts were sold?