Lesson 1.3 · Functions and Linear Systems
Systems of equations in three variables
In Algebra 1 you solved systems with two unknowns, using two equations. Plenty of problems have three unknowns: the prices of three kinds of tickets, the amounts of three ingredients in a mix, or the three coefficients , and of a parabola. To pin down three unknowns you generally need three equations, and the elimination method you already know extends to handle them.
What a solution looks like
A linear equation in three variables has the form . A solution of one such equation is a set of three numbers, one for each variable.
Definition
Ordered triple
An ordered triple lists values for three variables in order. A solution of a system in three variables is an ordered triple that makes every equation true.
For example, check whether solves this system:
Substitute , , : the first equation gives , the second , and the third . All three are true, so is a solution.
A picture. The graph of a linear equation in two variables is a line. The graph of a linear equation in three variables is a flat plane in space. Three planes can meet at a single point (one solution), have no point common to all three (no solution), or share an entire line (infinitely many solutions). Most systems you'll see have exactly one solution, but the other two cases do happen.
Solving by elimination
The plan is to turn a system into a system you already know how to solve.
Elimination with three variables
- Choose one variable to eliminate.
- Use two different pairs of equations to eliminate that same variable. You get two new equations in the other two variables.
- Solve that system.
- Substitute both values back into an original equation to find the third variable.
- Check the triple in all three original equations.
Worked example: A full elimination
Solve the system.
Step 1. The variable has coefficients , and , so it's easy to eliminate.
Step 2. Pair (1) with (3). Adding them cancels :
Now pair (1) with (2). Multiply (1) by and subtract (2):
Step 3. Solve (4) and (5). From (5), . Substitute into (4):
Then .
Step 4. From (1): , so .
Step 5. Check in (2): . Check in (3): . The solution is .
Common mistake
Eliminate the same variable from both pairs. If you eliminate from one pair and from the other, the two new equations still have three variables between them, and you haven't made progress. Also make sure the two pairs are different: using (1) and (3) twice gives no new information.
Solving by substitution
When one or more equations already have a variable by itself, substitution is often faster.
Worked example: Substitution
Solve the system.
First write in terms of alone: .
Now substitute both expressions into the first equation:
Then and . Check: . The solution is .
Systems with no solution or infinitely many
Sometimes every variable disappears during elimination. What's left tells you which case you're in.
- A false statement such as means the system has no solution (it is inconsistent).
- A true statement such as means the equations are dependent, and the system has infinitely many solutions.
Worked example: An inconsistent system
Solve the system.
Equation (3) has no , so eliminate from (1) and (2). Adding them gives .
Now the system is and . Subtracting one from the other:
That's false, so no ordered triple satisfies all three equations. The system has no solution.
If equation (3) had been instead, subtracting would give , and the system would have infinitely many solutions.
Application: a parabola through three points
Two points determine a line. Three points (not on one line, with different -values) determine a parabola . Each point gives one linear equation in , and .
Worked example: Finding a quadratic model
Find the parabola that passes through , and .
Substitute each point:
Subtract (3) from (1): , so .
Put into (1) and (2): and . Subtracting, , so and .
The parabola is .
Check : .
Tip
Always check your triple in all three original equations, not just the one you used last. The final equation you used is guaranteed to work; an arithmetic slip earlier will only show up in the others.
Practice
Which ordered triple is a solution of the system below?
Solve the system. Enter your answer as .
Enter a point like (2, -3)
Solve the system. Enter your answer as .
Enter a point like (2, -3)
Solve the system. Enter your answer as .
Enter a point like (2, -3)
Solve the system. Enter your answer as .
Enter a point like (2, -3)
How many solutions does this system have?
A school play sold tickets for a total of $1,950. Adult tickets cost $12, student tickets cost $8, and child tickets cost $5. Twice as many student tickets as child tickets were sold. How many adult, student and child tickets were sold? Enter your answer as (adult, student, child).
Enter a point like (2, -3)
The parabola passes through , and . Find , and . Enter your answer as .
Enter a point like (2, -3)