SAT/ACT MathSystems and Inequalities3 of 6
Systems and Inequalities · 3

Systems of Linear Equations

One linear equation with xx and yy has a whole line of pairs that work, so finding a single pair (x,y)(x, y) takes two equations working together.

1

Where two lines cross

Suppose we want the pair (x,y)(x, y) that makes both of these equations true at the same time:

x+y=10x−y=2\displaystyle \begin{aligned} \first{x + y} &= \first{10} \\ \second{x - y} &= \second{2} \end{aligned}

On a graph, each equation is the line of all points that work in it, so a pair that works in both has to sit on both lines, right where they cross.

Where two lines cross
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
x+y=10\mathllap{\first{x + y}} = \mathrlap{\first{10}}
x−y=2\mathllap{\second{x - y}} = \mathrlap{\second{2}}

When a problem hands you the graph, there is no algebra to do: read the crossing point (6,4)\found{(6, 4)} straight off the picture, and check whether the question asks for the pair (x,y)(x, y), just xx, or just yy. The point (6,4)\found{(6, 4)} works in both equations:

6+4\displaystyle \found{6} + \found{4} =10and6−4\displaystyle = \first{10} \qquad \text{and} \qquad \found{6} - \found{4} =2\displaystyle = \second{2}

Every point on either line makes that line's equation true, including (8,2)\first{(8, 2)} on x+y=10\first{x + y} = \first{10}. But (6,4)\found{(6, 4)}, at the crossing, is the only point in the plane where both equations hold at once.

Every point on a line makes that line's equation true, and the crossing at (6, 4) is the only point that makes both true.
2

Solving by substitution

When there isn't a graph in front of us, we need an algebraic way to find that crossing point by getting rid of one unknown first. Here, y\first{y} is already alone on one side of the top equation:

y=2x+13x+2y=16\displaystyle \begin{aligned} \first{y} &= \first{2x + 1} \\ \second{3x + 2y} &= \second{16} \end{aligned}
Solving by substitution
3x+2yy\displaystyle \hphantom{\second{3x + 2y}}\mathllap{\first{y}} =2x+1\displaystyle = \first{2x + 1}
3x+2y\displaystyle \second{3x + 2y} =162x+1\displaystyle = \mathrlap{\second{16}}\hphantom{\first{2x + 1}}
3x+2y(x,y)\displaystyle \hphantom{\second{3x + 2y}}\mathllap{(x, y)} =?2x+1\displaystyle = \mathrlap{\mathord{?}}\hphantom{\first{2x + 1}}
Text solution
Swap in 2x+1\first{2x + 1} for y\second{y}Since y=2x+1\first{y} = \first{2x + 1}, replace y\second{y} in the second equation with (2x+1)(\first{2x + 1}), in parentheses so the 2\second{2} multiplies the whole expression.
3x+2(2x+1)\displaystyle \second{3x + 2}(\first{2x + 1}) =16\displaystyle = \second{16}
Distribute and solve for xxWith yy gone, we are down to a single unknown and can isolate xx.
3x+4x+2=167x+2=167x=14x=2\displaystyle \begin{aligned} 3x + 4x + 2 &= 16 \\ 7x + 2 &= 16 \\ 7x &= 14 \\ x &= \found{2} \end{aligned}
Plug x=2x = \found{2} back in to find yyPut x=2x = \found{2} into the top equation to get the matching yy, so the crossing point is (2,5)\found{(2, 5)}.
y=2(2)+1y=5\displaystyle \begin{aligned} \first{y} &= \first{2}(\found{2}) + \first{1} \\ y &= \found{5} \end{aligned}
3

Solving by elimination

Substitution gets messy when neither variable sits by itself, as in:

2x+3y=124x−3y=6\displaystyle \begin{aligned} \first{2x + 3y} &= \first{12} \\ \second{4x - 3y} &= \second{6} \end{aligned}

Isolating xx or yy here would drag fractions through every step, so instead we add the equations straight down to cancel a variable. That works right away when opposite terms already match, or after multiplying one or both equations by a number.

Solving by elimination
2x+3y=12\mathllap{\first{2x + 3y}} = \mathrlap{\first{12}}
4x−3y=6\mathllap{\second{4x - 3y}} = \mathrlap{\second{6}}

When opposite terms like +3y\first{+3y} and −3y\second{-3y} are already lined up, adding straight down wipes out yy right away (6x=186x = 18). In 3x+2y=13\first{3x + 2y} = \first{13} and 4x+5y=22\second{4x + 5y} = \second{22}, no coefficient is a multiple of its partner in the other equation, so we multiply both equations to set up the same cancellation.

Text solution
Multiply both equations to get +10y\first{+10y} and −10y\second{-10y}Multiply the top equation by 55 and the bottom by −2-2 so the yy terms are opposites. Then we can add, which is safer than subtracting negatives when the clock is running.
15x+10y=65−8x−10y=−44\displaystyle \begin{aligned} \first{15x + 10y} &= \first{65} \\ \second{-8x - 10y} &= \second{-44} \end{aligned}
Add straight down to eliminate yyAdding the left sides together and the right sides together keeps everything balanced, and the yy terms cancel.
7x=21x=3\displaystyle \begin{aligned} 7x &= 21 \\ x &= \found{3} \end{aligned}
Plug x=3x = \found{3} into an original equationUse 3x+2y=13\first{3x + 2y} = \first{13} to find the matching yy-value for the solution (3,2)\found{(3, 2)}.
3(3)+2y=139+2y=132y=4y=2\displaystyle \begin{aligned} \first{3}(\found{3}) + \first{2y} &= \first{13} \\ 9 + 2y &= 13 \\ 2y &= 4 \\ y &= \found{2} \end{aligned}

On a graph, adding k\constant{k} times 3x+y=11\second{3x + y} = \second{11} to 2x+3y=12\first{2x + 3y} = \first{12} gives a new line that always passes through their crossing point (3,2)\found{(3, 2)}. As k\constant{k} changes, that line pivots around (3,2)\found{(3, 2)}, and at k=−3\constant{k} = \constant{-3} the yy term drops out, so the line is vertical: x=3x = \found{3}.

Add any multiple of the second equation to the first and the new line still passes through the crossing point, and when you pick the multiple that makes y drop out, that line stands straight up right at the crossing point's x.
4

Finding combinations like x+yx + y directly

Sometimes a question doesn't ask for xx or yy alone. It asks for a combination like 5x+4y5x + 4y, x−2yx - 2y, or simply x+yx + y:

5x+2y=152x+5y=20\displaystyle \begin{aligned} \first{5x + 2y} &= \first{15} \\ \second{2x + 5y} &= \second{20} \end{aligned}

Solving this pair one letter at a time drags you through fractions, so first check what adding or subtracting the equations gives.

Finding combinations like x + y directly
5x+2y\displaystyle \first{5x + 2y} =15\displaystyle = \first{15}
2x+5y\displaystyle \second{2x + 5y} =20\displaystyle = \second{20}
5x+2yx+y\displaystyle \hphantom{\first{5x + 2y}}\mathllap{x + y} =?15\displaystyle = \mathrlap{\mathord{?}}\hphantom{15}

In 2x+3y=12\first{2x + 3y} = \first{12} and 3x+y=11\second{3x + y} = \second{11}, adding gives 5x+4y=235x + 4y = \found{23} right away, and subtracting the first from the second gives x−2y=−1x - 2y = \found{-1}. In the pair above, adding gives a multiple of x+yx + y, so one division finishes the problem.

Text solution
Add the two equations straight downThe coefficients are the same two numbers swapped (5\first{5} and 2\first{2} on top, 2\second{2} and 5\second{5} below), so even though neither variable cancels, adding gives 77 in front of both xx and yy: a multiple of x+yx + y.
7x+7y\displaystyle 7x + 7y =35\displaystyle = 35
Divide every term by 77Dividing by 77 gives x+yx + y directly, without ever finding x=53x = \found{\frac{5}{3}} or y=103y = \found{\frac{10}{3}}.
x+y\displaystyle x + y =5\displaystyle = \found{5}
5

Two patterns for word problems

In a word problem, we have to build the system from a paragraph before solving. Almost every system word problem on the SAT and ACT fits one of two setups: two totals in different units (like a number of tickets and an amount in dollars), or two options that each start at an amount and grow at a steady rate.

Two patterns for word problems
A movie theater sells adult tickets\text{A movie theater sells adult tickets}
for 12 dollars and student tickets for\text{for 12 dollars and student tickets for}
8 dollars. Tonight they sold 50 tickets\text{8 dollars. Tonight they sold 50 tickets}
total and brought in 480 dollars.\text{total and brought in 480 dollars.}
How many student tickets did they sell?\text{How many student tickets did they sell?}

First, a movie theater sells 50\first{50} tickets: aa adult tickets at $12\$\second{12} each and ss student tickets at $8\$\second{8} each, for a total of $480\$\second{480}. We want the number of student tickets, ss.

Text solution
Write one equation per unitKeep the ticket counts together in one equation and all dollar amounts in the other so units never mix.
a+s=5012a+8s=480\displaystyle \begin{aligned} \first{a + s} &= \first{50} \\ \second{12a + 8s} &= \second{480} \end{aligned}
Multiply the count equation by −12-12 to cancel aaEliminating aa instead of ss makes sure the very first number we solve for is the student ticket count the question asks for.
−12a−12s\displaystyle \first{-12a - 12s} =−600\displaystyle = \first{-600}
Add to the dollar equation and solve for ssAdding −12a−12s=−600\first{-12a - 12s} = \first{-600} to 12a+8s=480\second{12a + 8s} = \second{480} cancels aa and gives the student tickets directly, with no plugging back in.
−4s=−120s=30\displaystyle \begin{aligned} -4s &= -120 \\ s &= \found{30} \end{aligned}

Next, compare the total cost after xx months at Gym A ($60\$\first{60} signup fee plus $20\$\first{20} per month) and Gym B ($35\$\second{35} per month). We want the fewest whole months for Gym A to cost less.

Text solution
Write each total cost yy as starting fee plus monthly rateEach equation gives the total dollars yy after xx months, with yy alone on the left.
y=60+20xy=35x\displaystyle \begin{aligned} \first{y} &= \first{60 + 20x} \\ \second{y} &= \second{35x} \end{aligned}
Substitute 35x\second{35x} for y\first{y} to find when the costs are equalSetting the two expressions equal finds the month where the two cost lines cross.
35x=60+20x15x=60x=4\displaystyle \begin{aligned} \second{35x} &= \first{60 + 20x} \\ 15x &= 60 \\ x &= \found{4} \end{aligned}
Match the crossing to the exact wordingAt x=4x = \found{4} months, both gyms cost $140\$\found{140}, which is a tie. The question asks when Gym A costs less than Gym B, so the answer is month 5\found{5}.
y=35(4)y=140\displaystyle \begin{aligned} \second{y} &= \second{35}(\found{4}) \\ y &= \found{140} \end{aligned}

If Gym A's signup fee is f\constant{f}, its line is y=f+20x\first{y} = \constant{f} + \first{20x}. A higher f\constant{f} lifts that line without changing its slope, so its crossing with y=35x\second{y} = \second{35x} moves later. When the lines cross exactly at a whole month, like month 4\found{4} when f=60\constant{f} = \constant{60}, that month is a tie, so Gym A first costs less at month 5\found{5}.

Changing Gym A's signup fee never changes its gentler slope, so a higher fee just moves the crossing later, and Gym A is always cheaper after it.
6

When to graph and when to solve by hand

With Desmos built in, we can also graph both equations and click where they meet, which works well on systems with messy decimals, like:

1.4x−2.7y=8.33.1x+0.9y=−4.2\displaystyle \begin{aligned} \first{1.4x - 2.7y} &= \first{8.3} \\ \second{3.1x + 0.9y} &= \second{-4.2} \end{aligned}
When to graph and when to solve by hand
1\htmlClass{lc-mute}{1}
1.4x−2.7y=8.3\first{1.4x - 2.7y} = \first{8.3}
2\htmlClass{lc-mute}{2}
3.1x+0.9y=−4.2\second{3.1x + 0.9y} = \second{-4.2}
−6\htmlClass{lc-mute}{-6}
−4\htmlClass{lc-mute}{-4}
−2\htmlClass{lc-mute}{-2}
2\htmlClass{lc-mute}{2}
−6\htmlClass{lc-mute}{-6}
−8\htmlClass{lc-mute}{-8}
1.4x−2.7y=8.3\first{1.4x - 2.7y} = \first{8.3}
3.1x+0.9y=−4.2\second{3.1x + 0.9y} = \second{-4.2}
(−0.402,−3.282)(-0.402, -3.282)

Typing both equations in and clicking their crossing gives (−0.402,−3.282)\found{(-0.402, -3.282)} in seconds, though those are rounded decimals, not the exact fractions. When a typed-answer question needs an exact fraction with no choices to compare against, or when you spot a quick combination like x+yx + y, solving by hand is cleaner and faster.

Key concepts

Solving a system of two lines always comes down to finding the single crossing point (x,y)(x, y) that makes both equations true at once. If the graph is already drawn, like x+y=10\first{x + y} = \first{10} and x−y=2\second{x - y} = \second{2} meeting at (6,4)\found{(6, 4)}, read the coordinates straight off. If you test choices, check both equations so a point like (8,2)\first{(8, 2)}, which sits on only one line, doesn't fool you.

Before doing any algebra, look at what the question asks for. If it wants a combination like x+yx + y in 5x+2y=15\first{5x + 2y} = \first{15} and 2x+5y=20\second{2x + 5y} = \second{20}, skip solving for each letter and add or subtract the equations first (7x+7y=357x + 7y = 35, so x+y=5x + y = \found{5}). If it asks for just one variable, plan to eliminate the other one first.

When you do solve for xx or yy, let the form of the equations pick the method. Use substitution when a letter is already alone, like swapping y=2x+1\first{y} = \first{2x + 1} into 3x+2y=16\second{3x + 2y} = \second{16} to get 3x+2(2x+1)=16\second{3x + 2}(\first{2x + 1}) = \second{16}. Use elimination when neither letter is alone: multiply 3x+2y=13\first{3x + 2y} = \first{13} and 4x+5y=22\second{4x + 5y} = \second{22} to get +10y\first{+10y} and −10y\second{-10y}, then add straight down. It's especially good when you need an exact fraction. Use Desmos when the numbers have awkward decimals, like 1.4x−2.7y=8.3\first{1.4x - 2.7y} = \first{8.3} and 3.1x+0.9y=−4.2\second{3.1x + 0.9y} = \second{-4.2}, and a rounded coordinate is fine. For word problems, build either one equation per unit (a+s=50\first{a + s} = \first{50} tickets and 12a+8s=480\second{12a + 8s} = \second{480} dollars) or two starting-amount-plus-rate equations (y=60+20x\first{y} = \first{60 + 20x} and y=35x\second{y} = \second{35x}). A crossing exactly at x=4x = \found{4} is a tie, so one option first beats the other at x=5x = \found{5}.

7

Practice

1

[FIGURE: Two lines in the xy-plane; one line passes through (−4, 5) and (1, 0), the other passes through (−4, −1) and (0, 7), and the two lines intersect at (−2, 3).]

The graph of a system of two linear equations is shown. If (x,y)(x, y) is the solution to the system, what is the value of xx?

Find where the two lines cross, then double-check which coordinate of (x,y)(x, y) the question asks for.

The solution (x,y)(x, y) is the crossing point of the two lines, (−2,3)\found{(-2, 3)}. Read the first coordinate, not the yy-coordinate 3\found{3} (Choice C) or the axis intercepts 11 and 77, giving A) −2-2.
2

y=2x−5x+2y=5\displaystyle \begin{aligned} \first{y} &= \first{2x - 5} \\ \second{x + 2y} &= \second{5} \end{aligned}

Which ordered pair (x,y)(x, y) is the solution to the given system of equations?

Since y\first{y} is already alone in the top equation, substitute (2x−5)(\first{2x - 5}) into the second. If you test the choices instead, check each one in both equations.

Substitute y=2x−5\first{y} = \first{2x - 5} into x+2y=5\second{x + 2y} = \second{5}, with parentheses around the whole expression so the 2\second{2} multiplies the −5\first{-5} too:
x+2(2x−5)=55x−10=55x=15x=3\displaystyle \begin{aligned} \second{x + 2}(\first{2x - 5}) &= \second{5} \\ 5x - 10 &= 5 \\ 5x &= 15 \\ x &= \found{3} \end{aligned}
Plugging x=3x = \found{3} into y=2(3)−5\first{y} = \first{2}(\found{3}) - \first{5} gives y=1y = \found{1}, so the solution is (3,1)\found{(3, 1)}. Forgetting to double the −5-5 gives the trap (2,−1)(2, -1), and so does checking Choice A in only the top equation and stopping there. In Desmos, typing `y=2x-5` and `x+2y=5` and clicking their intersection also shows `(3, 1)`; substitution by hand is slightly faster on the test, giving C) (3,1)(3, 1).
3

3x−2y=165x−6y=32\displaystyle \begin{aligned} \first{3x - 2y} &= \first{16} \\ \second{5x - 6y} &= \second{32} \end{aligned}

If (x,y)(x, y) is the solution to the given system of equations, what is the value of yy?

The question asks for yy, not xx: either multiply both equations to cancel xx first, or remember not to stop as soon as you find xx.

To find yy directly, so you don't solve for x=4x = \found{4} (Choice D) and stop there by mistake, multiply the top equation by −5-5 and the bottom by 33 to cancel xx:
−15x+10y=−8015x−18y=96\displaystyle \begin{aligned} \first{-15x + 10y} &= \first{-80} \\ \second{15x - 18y} &= \second{96} \end{aligned}
Adding straight down gives −8y=16-8y = 16, so y=−2y = \found{-2}. Watch the sign when dividing by −8-8, or you'll get 22 (Choice C). In Desmos, typing `3x-2y=16` and `5x-6y=32` and clicking the crossing at `(4, -2)` takes about as long as solving by hand; just read the second coordinate. Either way, the answer is B) −2-2.
4

A café sells bags of whole-bean coffee in two sizes: 12-ounce bags and 16-ounce bags. Yesterday the café sold 35 bags of coffee containing a total of 476 ounces. How many 12-ounce bags did the café sell?

Write one equation for the total number of bags and one for total ounces. Which bag size should you eliminate so the first number you find is the 12-ounce count?

Let xx be the number of 12-ounce bags and yy the number of 16-ounce bags, keeping bag counts in one equation and ounces in the other:
x+y=3512x+16y=476\displaystyle \begin{aligned} \first{x + y} &= \first{35} \\ \second{12x + 16y} &= \second{476} \end{aligned}
Eliminate yy by multiplying the count equation by −16-16 (multiplying by −12-12 instead solves for the 14\found{14} sixteen-ounce bags, Choice A). Adding −16x−16y=−560\first{-16x - 16y} = \first{-560} to 12x+16y=476\second{12x + 16y} = \second{476} gives −4x=−84-4x = -84, so x=21x = \found{21}. Once the equations are written, graphing `x+y=35` and `12x+16y=476` in Desmos and zooming out to the crossing at `(21, 14)` also works, but solving by hand is faster because you have to zoom out to find the crossing, giving C) 2121.
5

7x+2y=113x+6y=23\displaystyle \begin{aligned} \first{7x + 2y} &= \first{11} \\ \second{3x + 6y} &= \second{23} \end{aligned}

If (x,y)(x, y) satisfies the given system of equations, what is the value of x−yx - y?

Before solving for xx and yy individually, look at what subtracting the second equation from the first gives.

Subtract the second equation from the first (or multiply the second by −1-1 and add straight down). Subtract the right-hand sides in the same top-minus-bottom order: 11−23=−12\first{11} - \second{23} = -12, not 23−11=1223 - 11 = 12, which leads to 33 (Choice C).
4x−4y\displaystyle 4x - 4y =−12\displaystyle = -12
Don't stop at −12-12 (Choice A). Divide every term by 44 to get x−y=−3x - y = \found{-3}. You could graph `7x+2y=11` and `3x+6y=23` in Desmos, read the crossing at `(0.556, 3.556)`, and subtract `0.556 - 3.556`, but combining the equations by hand is much faster on the test and gives B) −3-3.
6

1.8x+2.5y=4.12.9x−1.4y=−8.6\displaystyle \begin{aligned} \first{1.8x + 2.5y} &= \first{4.1} \\ \second{2.9x - 1.4y} &= \second{-8.6} \end{aligned}

If (x,y)(x, y) is the solution to the given system of equations, which of the following is closest to the value of xx?

With decimal coefficients and "closest to" in the wording, decide whether hand arithmetic or graphing is cleaner, and watch which coordinate you read off.

By hand, multiply the first equation by 1.41.4 (2.52x+3.5y=5.74\first{2.52x + 3.5y} = \first{5.74}) and the second by 2.52.5 (7.25x−3.5y=−21.5\second{7.25x - 3.5y} = \second{-21.5}), watching the minus signs so you don't land on −5.76-5.76 (Choice A) or +1.61+1.61 (Choice C). Adding gives 9.77x=−15.769.77x = -15.76, so x≈−1.61x \approx \found{-1.61}. In Desmos, typing `1.8x+2.5y=4.1` and `2.9x-1.4y=-8.6` and clicking the crossing gives `(-1.613, 2.801)`. Take the first coordinate, not y≈2.80y \approx \found{2.80} (Choice D). Desmos is much faster on the test here and gives B) −1.61-1.61.
7
2x=7−3y5x+4y=11\displaystyle \begin{aligned} \first{2x} &= \first{7 - 3y} \\ \second{5x + 4y} &= \second{11} \end{aligned}

If (x,y)(x, y) is the solution to the given system of equations, what is the value of xx? SAT

Move the yy term so xx and yy line up on the same side first, then eliminate yy by hand so your fraction stays exact.

First add 3y3y to both sides of 2x=7−3y\first{2x} = \first{7 - 3y} so the variables line up as 2x+3y=7\first{2x + 3y} = \first{7} (writing it as 2x−3y=72x - 3y = 7 flips the sign and ruins the cancellation). Multiply 2x+3y=7\first{2x + 3y} = \first{7} by −4-4 and 5x+4y=11\second{5x + 4y} = \second{11} by 33 to eliminate yy directly:
−8x−12y=−2815x+12y=33\displaystyle \begin{aligned} \first{-8x - 12y} &= \first{-28} \\ \second{15x + 12y} &= \second{33} \end{aligned}
Adding straight down gives 7x=57x = 5, so x=57x = \found{\frac{5}{7}}. Graphing `2x=7-3y` and `5x+4y=11` in Desmos and clicking the crossing shows x≈0.714x \approx \found{0.714} as a quick check, but solving by hand is better on the test because it gives the exact fraction 57\frac{5}{7}.
8

A small office is choosing between two printers. Printer A costs $145\$145 to purchase plus $0.04\$0.04 per page printed. Printer B costs $85\$85 to purchase plus $0.07\$0.07 per page printed. What is the minimum whole number of pages for which the total cost of purchasing and printing with Printer A is less than the total cost with Printer B?

Set the two total-cost expressions equal to find the page count where the printers tie, then check whether Printer A costs less at that number or just past it.

After xx pages, Printer A's total cost is y=145+0.04x\first{y} = \first{145 + 0.04x} and Printer B's is y=85+0.07x\second{y} = \second{85 + 0.07x}. Setting them equal finds the crossing where the costs are equal:
145+0.04x=85+0.07x60=0.03xx=2,000\displaystyle \begin{aligned} \first{145 + 0.04x} &= \second{85 + 0.07x} \\ 60 &= 0.03x \\ x &= \found{2{,}000} \end{aligned}
At x=2,000x = \found{2{,}000} pages (Choice C), both printers tie at a cost of $225\$\found{225} (Choice A), and at 1,9991{,}999 pages (Choice B) Printer A still costs more. Because Printer A has the lower per-page rate, it first costs less one page past the tie. Graphing `y=145+0.04x` and `y=85+0.07x` in Desmos means zooming far out to find `(2000, 225)`, so solving by hand is faster on the test and gives D) 2,0012{,}001.