Back to homeMathematics · Grade 7 · Change subject
Start for free
Math 7 · Mathematics
Linear and Quadratic Equations · Equations

Systems of Linear Equations

Before you start, make sure you know: Linear equations (Math 6)
Before you start, make sure you know: Algebraic language (Math 6)

At the concession stand, Jayden pays $\$7$ for 2 slices of pizza and 1 lemonade. Aaliyah pays $\$11$ for 3 slices and 2 lemonades. How much is one slice? How much is one lemonade? There are two unknowns (the slice and the lemonade) and two clues. One equation is not enough, so you need to use both at the same time. That is a system of equations.

What Is a System?

To check a solution, plug it into both equations. Try $(0.5, 1)$ in the system above: $2(0.5) + 3(1) = 4$ ✓ and $2(0.5) + 1 = 2$ ✓. So $(0.5, 1)$ is the solution.

Order matters. In the pair $(x, y)$, the first number is always $x$.

What the solution looks like on a graph

Each linear equation with two unknowns is a line: every point on the line is a solution of that one equation. A solution of the system must lie on both lines, so it is the point where the lines intersect. Move the lines and watch the intersection point.

Practice★☆☆Not started
In a role-playing video game, the experience points of two skills, Strength ($x$) and Magic ($y$), must satisfy the conditions of the following system of equations:…

In a role-playing video game, the experience points of two skills, Strength ($x$) and Magic ($y$), must satisfy the conditions of the following system of equations:

$$\begin{cases} x + y = 15 \\ 2x - y = 9 \end{cases}$$

Check, by performing the necessary operations, which of these pairs of values is the correct solution to the system so that the character can level up:

  1. a) $x = 10, y = 5$
  2. b) $x = 8, y = 7$
Solve

The Substitution Method

Isolate one variable in one equation, then substitute that expression into the other equation. The method works best when a variable is already isolated or has a coefficient of $1$ or $-1$.

Four steps of the substitution method: isolate a variable, substitute into the other equation, solve, and plug back in. 1. Isolatey = 2x − 1 2. Substituteinto the other 3. Solvex = 3 4. Plug back iny = 5

Sometimes you have to isolate a variable first. Choose the one with coefficient $1$ or $-1$ so you can avoid fractions.

Practice★☆☆Not started
Solve the following system using the substitution method. Notice that in the second equation the unknown $y$ is already isolated, which makes the process easier:…

Solve the following system using the substitution method. Notice that in the second equation the unknown $y$ is already isolated, which makes the process easier:

$$\begin{cases} 3x + y = 10 \\ y = 2x \end{cases}$$
Solve
Practice★★☆Not started
Solve the following system of equations using the substitution method. Remember that it is advisable to isolate the variable with the simplest coefficient: $$…

Solve the following system of equations using the substitution method. Remember that it is advisable to isolate the variable with the simplest coefficient:

$$ \begin{cases} 3x - y = 7 \\ 5x + 2y = 19 \end{cases} $$
Solve

Setting Expressions Equal

If the same variable is isolated in both equations, then both expressions equal the same number. So you can set them equal to each other. This is just substitution: you replace one expression with the other, and you get one equation with one unknown. Some problems call this the equating method.

Here is what it looks like on a graph. For $y = 2x + 1$ and $y = -x + 7$, setting the right sides equal gives $2x + 1 = -x + 7$, so $x = 2$ and $y = 5$. The lines cross at $(2, 5)$.

Practice★☆☆Not started
Solve the following system using the equating method. To do this, equate the two expressions that represent the value of $x$: $$\begin{cases} x = y + 5 \\ x = 2y + 2…

Solve the following system using the equating method. To do this, equate the two expressions that represent the value of $x$:

$$\begin{cases} x = y + 5 \\ x = 2y + 2 \end{cases}$$
Solve

The Elimination Method

Add or subtract the two equations so that one variable disappears. If the coefficients of a variable are not opposites, first multiply one or both equations by a number to make them opposites (or equal, if you plan to subtract).

Elimination: adding two equations whose y-coefficients are opposites removes y and leaves an equation in x only. 3x+ 2y= 14 x− 2y= 2 + 4x 0= 16 x = 4 +2y and −2y are opposites: add, and y disappears Then: 3·4 + 2y = 14 → y = 1

When no variable cancels right away, multiply to create opposites.

Practice★☆☆Not started
Solve the following system using the elimination method. Observe that the unknown $y$ has opposite coefficients ($+1$ and $-1$), so you can add the two equations…

Solve the following system using the elimination method. Observe that the unknown $y$ has opposite coefficients ($+1$ and $-1$), so you can add the two equations directly to eliminate it:

$$\begin{cases} 4x + y = 13 \\ x - y = 2 \end{cases}$$
Solve
Practice★☆☆Not started
Lucy bought $2$ pens and $3$ erasers at the stationery store for a total of $\$4$. Michael bought $2$ pens and $1$ eraser for $\$2$. If $x$ is the price of a pen and $y$…

Lucy bought $2$ pens and $3$ erasers at the stationery store for a total of $\$4$. Michael bought $2$ pens and $1$ eraser for $\$2$.

If $x$ is the price of a pen and $y$ the price of an eraser, the system that represents the situation is:

$$\begin{cases} 2x + 3y = 4 \\ 2x + y = 2 \end{cases}$$

Find the price of each item using the elimination method (subtracting both equations).

Solve
Practice★★☆Not started
In the school cafeteria, a group of friends paid $15\text{ \$}$ for 4 soft drinks and 2 sandwiches. The next day, another group paid $17,50\text{ \$}$ for 3 soft drinks…

In the school cafeteria, a group of friends paid $15\text{ \$}$ for 4 soft drinks and 2 sandwiches. The next day, another group paid $17,50\text{ \$}$ for 3 soft drinks and 4 sandwiches. Use the elimination method to find the price of a soft drink and a sandwich.

Solve

How Many Solutions?

Two lines in a plane can cross, be parallel, or be the same line. That gives three kinds of systems.

Three cases for two lines: intersecting lines give one solution, parallel lines give no solution, and identical lines give infinitely many solutions. Intersect1 solutionconsistentindependent Parallelno solutioninconsistent Same lineinfinitely manyconsistentdependent

You can tell which case you have from the algebra. If all the variables cancel, look at what is left:

  • A false statement like $0 = 2$: no solution (inconsistent system, parallel lines).

  • A true statement like $0 = 0$: infinitely many solutions (consistent dependent system, same line).

  • A single value for each variable: one solution (consistent independent system).

Practice★★★Not started
L = 4 ft l = 2 ft h = 1.5 ft aₚ $85/sq ft
Solve

Clean Up First

Many systems do not come in the form $Ax + By = C$. Before you choose a method, simplify each equation.

Steps for cleaning up an equation before solving a system: distribute, combine like terms, clear fractions, and write in the form Ax + By = C. 1. Distributeparentheses 2. Combinelike terms 3. Clear fractions(multiply by LCD) 4. Rewrite asAx + By = C
Practice★★☆Not started
Find the solution to the following system of equations using the method you consider most appropriate. Before solving it, observe if it is necessary to simplify the…

Find the solution to the following system of equations using the method you consider most appropriate. Before solving it, observe if it is necessary to simplify the expressions by removing parentheses:

$$ \begin{cases} 2(x + y) - 3x = 1 \\ x + 3(y - 1) = 2 \end{cases} $$
Solve
Practice★★★Not started
Solve the following system of linear equations by first simplifying both expressions. To find the final solution, use the double elimination method (eliminating one…

Solve the following system of linear equations by first simplifying both expressions. To find the final solution, use the double elimination method (eliminating one unknown and then the other):

$$ \begin{cases} \dfrac{2(x-1)}{3} - \dfrac{y+2}{6} = -1 \\ \\ \dfrac{x+y}{2} + \dfrac{x-y}{3} = \dfrac{7}{6} \end{cases} $$ X Y 1 2 3 4 −1 1 2 3 4 5 7/9 28/9 L₁: 4x-y=0 L₂: 5x+y=7 S(7/9, 28/9)
Solve
Practice★★★Not started
Solve the following system using the method you consider most appropriate, after removing parentheses and combining like terms: $$ \begin{cases} 3(x+2) - 5(y-1) = 2x + 5…

Solve the following system using the method you consider most appropriate, after removing parentheses and combining like terms:

$$ \begin{cases} 3(x+2) - 5(y-1) = 2x + 5 \\ \\ 2(x+y) - 3(x-y) = 11 \end{cases} $$

Once solved, indicate whether the system is consistent independent, consistent dependent or inconsistent.

Solve

Writing a System from a Story

Word problems are where systems really shine. Follow these steps:

  1. Define two unknowns and write what each one means (for example, $x$ = number of blue gems).

  2. Turn each fact in the story into its own equation.

  3. Solve the system with the method you like best.

  4. Check in the story, not just in your equations, and answer the question with units.

A bar model: x blue gems and y red gems together make a total of 20 gems, so x plus y equals 20. 20 gems in all x = blue gemsy = red gems x + y = 20
Practice★☆☆Not started
Translate into algebraic language and write the system of equations corresponding to the following situation: "In a cafeteria, for two soft drinks ($x$) and a bag of…

Translate into algebraic language and write the system of equations corresponding to the following situation:

"In a cafeteria, for two soft drinks ($x$) and a bag of chips ($y$) we were charged $\$5$. If we buy one soft drink and one bag of chips, the price is $\$3$."

(It is not necessary to solve it, only to set up the system).

Solve
Practice★★☆Not started
In a strategy video game, to unlock an upgrade you need to collect blue gems and red gems. We know that triple the blue gems plus double the red gems adds up to a total…

In a strategy video game, to unlock an upgrade you need to collect blue gems and red gems. We know that triple the blue gems plus double the red gems adds up to a total of 34 energy. Furthermore, the difference between the number of blue and red gems is only 3.

  1. a) Set up a system of equations to find out how many gems of each type you need.
  2. b) Check if the pair of values $x = 8, y = 5$ (where $x$ are the blue ones and $y$ are the red ones) is the solution to the system.
Solve

Counts and Prices

In this type of problem, one equation counts the items and the other adds up the money. For example, if $s$ student tickets cost $\$5$ and $a$ adult tickets cost $\$8$:

  • Number of tickets: $s + a$.

  • Money collected: $5s + 8a$.

The graph shows the same story. The horizontal axis is student tickets and the vertical axis is adult tickets. The lines meet at $(70, 50)$.

Practice★☆☆Not started
On a small farm there is a total of $12$ animals, including chickens ($x$) and rabbits ($y$). If we count all their legs, there is a total of $34$ legs. The system of…

On a small farm there is a total of $12$ animals, including chickens ($x$) and rabbits ($y$). If we count all their legs, there is a total of $34$ legs. The system of equations that describes this situation is:

$$\begin{cases} x + y = 12 \\ 2x + 4y = 34 \end{cases}$$

Solve the system using the method of your choice to find out how many chickens and how many rabbits there are on the farm.

ANIMAL HEADS LEGS Chickens x 2x + + Rabbits y 4y = = TOTAL 12 34
Solve
Practice★★☆Not started
To organize a charity festival, two types of tickets were sold: children's at $4\text{ \$}$ and adults' at $7\text{ \$}$. At the end of the event, it is known that a…

To organize a charity festival, two types of tickets were sold: children's at $4\text{ \$}$ and adults' at $7\text{ \$}$. At the end of the event, it is known that a total of 240 people attended and that the total amount collected was $1350\text{ \$}$. How many children and how many adults attended the festival?

Solve
Practice★★★Not started
In a computer store, a user buys 3 mechanical keyboards and 2 wireless mice for a total of $\$135…

In a computer store, a user buys 3 mechanical keyboards and 2 wireless mice for a total of $\$135$. The next day, taking advantage of an offer, they buy 2 keyboards and 4 mice for $\$111$. However, the offer consisted of a $10\%$ discount on the keyboards and a $20\%$ discount on the mice from their original price.

Calculate the original price of each item by setting up a system of equations.

Solve

Ages and Digits

Ages. Make a table with rows for each person and columns for "now" and "later." Everyone gets older by the same number of years.

Age table: Malik is m now and m plus 6 in six years; his dad is 4m now and 4m plus 6 in six years. NowIn 6 years Malik m m + 6 Dad 4m 4m + 6

Digits. A two-digit number with tens digit $x$ and ones digit $y$ is worth $10x + y$. For example, $37 = 10(3) + 7$. Reversing the digits gives $10y + x$.

Practice★★☆Not started
A mother's age is currently triple that of her son. However, in 12 years, the mother's age will only be double that of her son. How old are they both currently? Use a…

A mother's age is currently triple that of her son. However, in 12 years, the mother's age will only be double that of her son. How old are they both currently? Use a table to organize the age data before setting up the system.

Person Today In 12 years +12 Mother x x + 12 Son y y + 12 x = 3y ← Mother is triple x + 12 = 2(y + 12) ← Mother will be double
Solve
Practice★★★Not started
The sum of the two digits of a number is $12$. If we reverse the order of its digits, we obtain a new number that is $18$ greater than the original. Set up a system of…

The sum of the two digits of a number is $12$. If we reverse the order of its digits, we obtain a new number that is $18$ greater than the original. Set up a system of equations to find this number.

(Hint: A two-digit number is written as $10x + y$).

Solve

Geometry Problems

When a problem gives facts about a shape, use the formulas: the perimeter of a rectangle is $P = 2x + 2y$ and the area is $A = xy$. A change to the shape (such as "the base is doubled") changes the expression in the equation.

A rectangle with base x and height y; its perimeter is 2x plus 2y. P = 2x + 2y base x y
Practice★★☆Not started
Observe the following figure composed of two rectangles with different properties. Rectangle A has a perimeter of $22\text{ cm}$. Rectangle B is such that its base is…

Observe the following figure composed of two rectangles with different properties. Rectangle A has a perimeter of $22\text{ cm}$. Rectangle B is such that its base is double that of rectangle A and its height is triple that of rectangle A, adding up to a total perimeter of $52\text{ cm}$.

A x y P = 22 in B 2x 3y P = 52 in

Calculate the dimensions $x$ (base) and $y$ (height) of rectangle A by setting up and solving a system using the equating method.

Solve
Practice★★★Not started
Find the dimensions of a rectangle knowing that its perimeter is $40$ in. If its base were tripled and its height halved, the perimeter would become $70$ in. Once the…

Find the dimensions of a rectangle knowing that its perimeter is $40$ in. If its base were tripled and its height halved, the perimeter would become $70$ in. Once the base ($x$) and height ($y$) are found, calculate the area of the original rectangle.

y x P=40 Area = ? Base × 3 Height ÷ 2 y/2 3x P=70
Solve

Mixtures and Motion

Mixtures. Two things add up: the total amount and the amount of the pure ingredient. The pure amount is the percent (as a decimal) times the amount of the mixture.

Motion. Use $d = rt$ (distance = rate × time). Two travelers give two equations, and the situation tells you how to combine the speeds:

  • Moving toward each other: the gap closes at the sum of the speeds.

  • Moving in the same direction: the gap closes at the difference of the speeds.

When the unknowns are the time and a distance, write one equation for each traveler's distance.

Two riders moving toward each other close the gap at the sum of their speeds; two riders in the same direction close it at the difference. toward each other: speeds add same direction: speeds subtract
Practice★★☆Not started
Two cyclists, Ashley and David, are at a distance of $45\text{ mi}$. Ashley leaves from point A at a constant speed of $12\text{ mph}$ and David leaves at the same time…

Two cyclists, Ashley and David, are at a distance of $45\text{ mi}$. Ashley leaves from point A at a constant speed of $12\text{ mph}$ and David leaves at the same time from point B to meet Ashley at $18\text{ mph}$.

d₁ d₂ d = 45 miles Meeting t = ? Ashley v₁ = 12 mph David v₂ = 18 mph A B

If $x$ is the time they take to meet and $y$ is the distance traveled by Ashley:

  1. a) Set up a system of equations relating the time and distance of both.
  2. b) How long will it take for them to cross paths and at what distance from point A will it occur?
Solve
Practice★★★Not started
A chemical laboratory needs to prepare $10$ gallons of an acid solution at $25\%$. To do this, it has two containers: one with an acid concentration of $15\%$ and…

A chemical laboratory needs to prepare $10$ gallons of an acid solution at $25\%$. To do this, it has two containers: one with an acid concentration of $15\%$ and another with a concentration of $40\%$. How many gallons from each container must be mixed to obtain the desired solution?

Solve
Practice★★★Not started
Two cyclists, Olivia and Marcus, are at a distance of $36$ miles. If they travel toward each other, they take $45$ minutes to meet. If they travel in the same direction…

Two cyclists, Olivia and Marcus, are at a distance of $36$ miles. If they travel toward each other, they take $45$ minutes to meet. If they travel in the same direction (Olivia chasing Marcus), Olivia takes $3$ hours to catch up with him.

Calculate the speed of each cyclist in mph by setting up a system of equations.

36 miles Olivia Marcus Scenario 1: Meeting vₑ vₘ t = 45 min Scenario 2: Catching up vₑ vₘ t = 3 h
Solve

Back to the start: Let $p$ = price of a slice and $l$ = price of a lemonade. Then $2p + l = 7$ and $3p + 2l = 11$. Multiply the first by $2$: $4p + 2l = 14$. Subtract the second: $p = 3$. Then $l = 7 - 6 = 1$. One slice costs $\$3$ and one lemonade costs $\$1$.

Summary

See all the exercises in this section