A school play sells 50 tickets and takes in 520 dollars. Adult tickets cost 12 dollars and student tickets cost 8 dollars. One equation counts tickets and another counts money, and neither one alone tells you how many adults came. Together they pin down a single answer. That is the idea of a system, two conditions that must hold at the same time.
See also Curve Intersections and Which Curve Is Higher in Foundations for Calculus and Linear Systems in Two and Three Variables in Precalculus.
Key terms
System of equations
Definition A system of equations is a set of two or more equations in the same variables that are meant to hold at the same time. A system of two linear equations in and has the form
where in each equation the coefficients of and are not both . The equations may also be written in other forms, such as .
In plain words Two conditions on the same two unknowns. You are looking for the values that satisfy both of them at once.
Example For the ticket sale, let be the number of adult tickets and the number of student tickets. The system is
The first equation counts tickets and the second counts dollars.
Simultaneous solution
Definition A solution of a system in and is an ordered pair that makes every equation of the system true. The set of all such pairs is the solution set of the system. A pair that satisfies only some of the equations is not a solution. The order matters, since lists the value of first. When a question names the variables differently, follow the order it gives.
In plain words A solution has to pass every test, not just one of them. Report it with the -value first.
Example Consider and . The pair is a solution, since and . The pair satisfies but not , because . The pair has the right numbers in the wrong order. It still satisfies , but it fails , so it is not a solution.
Intersection of graphs
Definition The graph of an equation in and is the set of all points that satisfy it. A point lies on both graphs exactly when it satisfies both equations, so the solutions of a system are exactly the intersection points of the graphs. For two lines in the plane there are three possibilities. They meet in one point, they are parallel and never meet, or they are the same line.
In plain words Draw both lines. Where they cross is the answer, because that point is on both lines at once.
Example Graph and in the Desmos graphing calculator by typing each equation on its own line. Clicking the crossing point shows its coordinates as rounded decimals, such as . A graph can guide you, but it cannot tell you whether is exactly or only close to it. Setting the right sides equal gives , so , and the exact solution is
Substitution
Definition Substitution solves a system in four steps.
- Solve one equation for one variable, for example in terms of .
- Replace that variable in the other equation with the expression, which leaves an equation in one variable.
- Solve that equation, then put the value back into the expression to get the other variable.
- Check the pair in both original equations.
Replacing by is allowed because, for any solution, and are the same number. In terms of the graph, it means looking only at points on the line and asking which of them also lies on the other line.
In plain words When one equation tells you what equals, use that to get rid of in the other equation. One equation with one unknown is something you already know how to solve.
Example Solve the system and . Replace in the second equation.
Then . Check both equations. The first gives and the second gives . The solution is .
Choosing what to isolate
Definition If neither equation is already solved for a variable, solve one of them for a variable first. Any choice gives the same solution set, as long as you divide only by nonzero numbers. A variable with coefficient or is the easiest choice, since isolating it creates no fractions.
In plain words Look for a variable that stands alone. Isolating it keeps the arithmetic clean.
Example Solve and . The in the first equation has coefficient , so . Substituting gives
so and . Then . The check gives and , so the solution is .
Solutions in context
Definition In a word problem, each variable stands for a named quantity with units. A solution of the system is meaningful only when its values make sense for those quantities, for example whole numbers for counts. The question decides which value to report, so read the last sentence again before answering.
In plain words Say in words what each number means. A question about student tickets wants the student count, not the adult count.
Example Back to the ticket system and . From the first equation . Substituting,
so and . Then . The play sold 30 adult tickets and 20 student tickets, and the money checks, since .
Check yourself
- Which ordered pair is the solution of the system and ? (A) (B) (C) (D)
Show the answer
The answer is (A). Substituting gives , so and . Then . Choice (B) lists the numbers in the wrong order. Choice (C) satisfies only the second equation, and choice (D) satisfies only the first, so neither solves the system.
- In the -plane, the graphs of and intersect at the point . What is the value of ?
Show the answer
The answer is . Substituting gives , so and
Enter , or a decimal such as or . A rounded graph reading such as would also be accepted here, because it is rounded at the last digit that fits. The algebra is what tells you the exact value.
- A club bought 40 notebooks for a total of 97 dollars. Some cost 2 dollars each and the rest cost 3 dollars each. How many 3-dollar notebooks did the club buy?
Show the answer
The answer is . Let be the number of 2-dollar notebooks and the number of 3-dollar notebooks. Then and . With ,
so and . The other notebooks cost 2 dollars, and checks. Entering answers the wrong question.