Systems of Linear Equations
The solution is where the lines cross: .
Free ACT Math Algebra
ACT Math · Algebra · free lesson
The idea, then worked examples solved step by step, then practice questions whose numbers change every time you try them.
Press Play: the idea and a worked example, explained aloud (about 1:19).
The solution is where the lines cross: .
A system of linear equations is two equations in the same two letters, such as and . A solution of the system is one pair that makes both equations true at the same time.
Each equation alone has a whole line of solutions. A pair that works in both must lie on both lines, so it is the point where the two lines cross. Watch the two lines draw themselves in and meet.
The solution of a system of two linear equations is the point where their graphs cross. Its two numbers make both equations true.
The first equation says that is the same thing as . So in the second equation write in place of , inside parentheses. That leaves one equation in alone:
The solution is , the black point of the picture. Check it in the equation not used for the last step:
The check gives , the right side of the second equation.
Substitution: get one letter alone in one equation; put what it equals, in parentheses, into the other equation and solve; then go back for the other letter.
If two equations are true, their sum is true too, and so is either one multiplied by a number. Elimination uses this to make one letter cancel. Take and . Multiply the first equation by 2, so that its becomes , the opposite of :
Now add to . The terms cancel, and the sum is an equation in alone:
The solution is , . Check in the second equation:
Elimination: line the equations up; multiply one or both so that one letter has opposite numbers in front; add; solve; go back for the other letter. Use substitution when a letter is already alone, elimination when both equations look like .
When the question wants a combination. The ACT may ask for rather than or . In and , adding gives the same number of each letter, and dividing by 7 gives at once:
So , and neither letter had to be found.
Two straight lines can do only three things, so a system of two linear equations has only three possible numbers of solutions.
| The two lines | Slopes and intercepts | Solutions |
|---|---|---|
| cross at one point | different slopes | exactly one |
| are parallel | same slope, different -intercepts | none |
| are the same line | same slope, same -intercept | infinitely many |
Try to solve and by substitution. From the first, :
The terms cancel and the left side is just , never 21: the engine reports no solution. The lines are parallel. Had the second equation been , the first one times 3, every would work:
Drag the sliders. The blue line stays put; the red line is . The engine solves the system each time and says what it finds.
With any slope but 2 there is one crossing. With slope 2 the lines are parallel and there is no solution, unless is 1 as well: then the red line lies on the blue one.
Write both equations as and compare them number by number. If the and numbers are not in the same ratio, there is one solution. If they are, but the constants are not, there is none. If all three are in the same ratio, there are infinitely many.
A missing constant. For which has and no solution? The numbers are in the ratio 8 to 2, so the numbers must be too:
So is . The constants are in the ratio , not , so the lines are parallel, not the same line.
A school sells 150 tickets to a play, adult tickets at 13 dollars and student tickets at 8 dollars, and takes in 1,400 dollars. With adult and student tickets, one equation counts tickets and one counts dollars: and . From the first, :
So adult and student tickets were sold. The two lines of the story cross at that point.
A system can also be written as one matrix equation, numbers in front of the letters in a matrix and the right sides in a column; topic 06 shows how.
On the ACT a system question asks for one letter, or a combination such as ; for the number of solutions; for a constant that gives no solution or infinitely many; or for a system set up from a story. Read what is asked before you stop: the wrong options include the other letter and a value from one equation alone.
Each example is one of the kinds of question the ACT asks about systems of linear equations. The numbers in the working are found by the engine.
1. Substitution, and reading what is asked. In the solution of the system and , what is the value of ?
The first equation has alone. Put , in parentheses, in place of in the second, solve for , then go back for :
Check in the second equation:
It gives , so the solution is . The question asks for , which is ; the value is , a wrong option the ACT is sure to offer.
2. Elimination with two multipliers. Solve and .
No letter is alone and no terms cancel yet. Make the terms equal: multiply the first equation by 2 and the second by 3. Each becomes an equation with :
The right sides become and . Subtract the second new equation from the first, every term of it, and the terms cancel:
Check in the second equation:
It gives , the right side, so the solution is .
When you subtract an equation, every term changes sign, the right side too: is .
3. The crossing point of two graphs. The lines and are graphed below. Find the point where they meet.
At the crossing point the two lines have the same , so set the right sides equal and solve for :
Check in the first equation:
Both lines give at : they meet at .
4. Constants for infinitely many solutions. For which values of and does the system and have infinitely many solutions?
Infinitely many solutions means the two equations are one line, so the second must be the first with every term multiplied by one number . The terms give :
So is and is : the second equation is , the first one times . With but any other the lines would be parallel, with no solution.
5. A mixture. A chemist mixes a 20% acid solution with a 50% acid solution to make 30 liters of a 40% acid solution. How many liters of each does she use?
Let be the liters of the 20% solution and the liters of the 50% one. One equation counts liters; the other counts liters of acid.
| 20% solution | 50% solution | Mixture | |
|---|---|---|---|
| Liters | 30 | ||
| Liters of acid |
So and . From the first, :
Check the acid:
She uses liters of the 20% solution and liters of the 50% solution, and the acid comes to liters, 40% of 30.
6. Two plans: when do they cost the same? A van rental costs 30 dollars plus 25 cents a mile with plan A, and 45 dollars plus 15 cents a mile with plan B. For how many miles do the two plans cost the same, and which is cheaper for a longer trip?
The cost in dollars for miles is with plan A and with plan B. Set the two costs equal:
At miles both plans cost dollars. Beyond that, plan B is cheaper, because its line is less steep: it adds less for each mile.
Answer ACT-style questions on systems of linear equations. Each answer is checked, with the full solution, and every try brings new numbers. Practice needs a free account: it keeps your progress.