Systems of Linear Equations Practice Problems
Practice solving systems of linear equations with ten original problems, from a quick elimination warm-up to word problems about tickets, coffee blends and boats, a three-variable system and an integer puzzle. Every problem asks for a single number, so you can check your answer instantly, and each one comes with a hint and a fully worked solution.
Lesson: learn the method first
10 systems of linear equations problems with answers
-
Solve the system of equations
\[ \begin{cases} 4x + 3y = 29 \\ 2x - 3y = 1 \end{cases} \]What is the value of \(y\)?
-
Solve the system
\[ \begin{cases} y = 2x - 5 \\ 3x + 2y = 18 \end{cases} \]and give the value of \(x + y\).
-
At a cinema, an adult ticket costs 12 dollars and a child ticket costs 7 dollars. A group of 9 people paid 88 dollars in total for their tickets.
How many children were in the group?
-
Solve the system
\[ \begin{cases} \dfrac{x}{3} + \dfrac{y}{2} = 7 \\ \dfrac{x}{2} - \dfrac{y}{5} = 1 \end{cases} \]and give the value of the product \(xy\).
-
A roaster mixes a coffee that costs 18 dollars per kilogram with a coffee that costs 26 dollars per kilogram. She wants 40 kilograms of a blend worth 21 dollars per kilogram, with the total value of the blend equal to the total value of the two coffees used.
How many kilograms of the cheaper coffee should she use?
-
A tour boat travels 36 km downstream in 2 hours. The return trip of 36 km upstream takes 3 hours. The boat's speed in still water and the speed of the current are constant.
What is the speed of the current, in km/h?
-
Consider the system
\[ \begin{cases} kx + 2y = 3 \\ 8x + ky = -6 \end{cases} \]where \(k\) is a real number. For exactly one value of \(k\) the system has no solution. Find this value of \(k\).
-
Solve the system
\[ \begin{cases} x + y + z = 5 \\ 2x + 3y - z = -3 \\ 3x - y + 2z = 15 \end{cases} \]What is the value of \(z\)?
-
The lines \(y = x + 1\) and \(y = -2x + 10\) together with the \(x\)-axis bound a triangle.
Find the area of this triangle.
-
A school buys exactly 30 prizes for a quiz night. Stickers cost 1 dollar each, pens cost 2 dollars each and books cost 4 dollars each. The school spends exactly 74 dollars and buys at least one item of each kind.
How many different combinations (number of stickers, number of pens, number of books) are possible?
What is a system of linear equations?
A system of linear equations is a set of two or more linear equations that share the same unknowns. Solving the system means finding values that make every equation true at the same time. With two unknowns, each equation is a straight line and the solution is the point where the lines cross.
A system of two equations in two unknowns can have:
- exactly one solution (the lines intersect),
- no solution (the lines are parallel),
- infinitely many solutions (both equations describe the same line).
The substitution method
Use substitution when one equation already gives a variable on its own, or when a variable has coefficient 1. Express that variable and put the expression into the other equation.
Example: \(y = x + 2\) and \(3x + y = 14\). Substituting gives \(3x + x + 2 = 14\), so \(4x = 12\), \(x = 3\) and \(y = 5\).
The elimination method
Elimination (also called the addition method) works best when the coefficients line up. Multiply one or both equations so that one variable gets opposite coefficients, then add the equations to cancel it.
Example: \(2x + 3y = 12\) and \(4x - 3y = 6\). Adding gives \(6x = 18\), so \(x = 3\). Then \(3y = 12 - 6 = 6\), so \(y = 2\).
Solving by graphing
Rearrange each equation into the form \(y = mx + b\) and draw both lines. The intersection point is the solution. Graphing shows clearly why a system has no solution (equal slopes, different intercepts), but read exact values algebraically.
How to solve a system of equations step by step
- Clear fractions and decimals by multiplying each equation by a suitable number.
- Write both equations in the form \(ax + by = c\).
- Choose substitution or elimination and remove one variable.
- Solve the one-variable equation that remains.
- Substitute back to find the other variable.
- Check the pair in both original equations.
For word problems, name the unknowns first ("let \(a\) be the number of adult tickets"), then write one equation for each piece of information, for example one for the number of items and one for the total cost.
Three equations in three unknowns
The same idea extends to three variables. Use two different pairs of equations to eliminate the same variable twice. That leaves a system of two equations in two unknowns, which you already know how to solve.
When does a system have no solution?
For \(a_1x + b_1y = c_1\) and \(a_2x + b_2y = c_2\), the lines are parallel exactly when \(a_1b_2 - a_2b_1 = 0\). If, in addition, one equation is not a multiple of the other, there is no solution. If one equation is a multiple of the other, there are infinitely many solutions.
Common mistakes
- Forgetting to multiply every term, including the constant on the right, when you scale an equation.
- Sign errors when subtracting equations: subtracting \(-3y\) gives \(+3y\).
- Stopping after finding one variable when the question asks for something else, such as \(x + y\).
- Mixing units in word problems (minutes with hours, cents with dollars).
- Declaring "no solution" from equal slopes without checking whether the two lines are actually the same line.
How to use these problems
The problems below are ordered from easy to challenge. Solve each one on paper first and type a single number into the answer box. If you get stuck, open the hint: it names the method without giving numbers away. The full solution shows every step, so you can compare it with your own working line by line.