Systems of three equations in three unknowns
In a café in Galway, three groups of friends order different combinations of ham, cheese and omelette sandwiches, and each group pays a different total. Three unknowns —the price of each sandwich— and three independent conditions. With two unknowns, two equations were enough; with three unknowns, you need three equations, and a method that keeps things simple: elimination.
A system of three equations in three unknowns
Check whether the triple $x = 1$, $y = -1$, $z = 2$ is a solution to the following system. Justify your answer. $3x + y - z = 0$ $x - 2y + z = 5$ $2x + y + z = 3$
Check whether the triple $x = 1$, $y = -1$, $z = 2$ is a solution to the following system. Justify your answer.
$3x + y - z = 0$
$x - 2y + z = 5$
$2x + y + z = 3$
Triangular systems: back-substitution
Solve the following system of linear equations, which is already in echelon form, using back-substitution: $x + 2y - z = 4$ $3y + z = 5$ $2z = 4$
Solve the following system of linear equations, which is already in echelon form, using back-substitution:
$x + 2y - z = 4$
$3y + z = 5$
$2z = 4$
Design a linear system of three equations with three unknowns ($x$, $y$, $z$) that simultaneously satisfies these three conditions: 1. It must already be in row echelon…
Design a linear system of three equations with three unknowns ($x$, $y$, $z$) that simultaneously satisfies these three conditions:
-
It must already be in row echelon (triangular) form, so that it can be solved directly by back-substitution without the need to apply prior transformations.
-
None of the coefficients of the unknowns nor the constant terms can be equal to $0$ or $1$.
-
Its unique solution must be exactly the triple $(2, -1, 3)$.
Explain in a reasoned manner the reverse process you follow to build each equation, from bottom to top (starting with the third and ending with the first), and formally verify that your system leads to that solution.
Elimination: turning any system into triangular form
Apply Gaussian elimination to transform into triangular form and solve the following system of equations: $x - y + z = 2$ $2x + y - z = 1$ $x + 2y + z = 7$
Apply Gaussian elimination to transform into triangular form and solve the following system of equations:
$x - y + z = 2$
$2x + y - z = 1$
$x + 2y + z = 7$
Solve the following system of linear equations containing fractional coefficients. Simplify the equations before applying Gaussian elimination:…
Solve the following system of linear equations containing fractional coefficients. Simplify the equations before applying Gaussian elimination:
$\frac{x}{2} + \frac{y}{3} - z = 1$
$x - \frac{y}{2} + \frac{z}{4} = 2$
$\frac{x}{3} + y - \frac{z}{2} = 3$
Solve the following system where one unknown is missing in each equation: $x + y = 5$ $y + z = 7$ $x + z = 6$
Solve the following system where one unknown is missing in each equation:
$x + y = 5$
$y + z = 7$
$x + z = 6$
Preparing a system and building one
Before you eliminate, tidy the system. Multiply an equation with fractions by the lowest common denominator, and swap two equations if that puts a coefficient of $1$ at the top left: the arithmetic is much easier with a pivot equation starting with $x$ (a coefficient of $1$ avoids fractions).
To build a system with a given solution, for example $(2, 0, -1)$, choose any coefficients and find the right-hand side by substituting the solution. For $3x+y+2z$ we get $3\cdot 2+0+2\cdot(-1)=4$, so the equation is $3x+y+2z=4$. Repeat with different coefficients for the other two equations.
If the unknowns appear as $\frac{1}{x}$, $\frac{1}{y}$, $\frac{1}{z}$, use a change of variables first.
Write a linear system of three equations in three unknowns whose unique solution is the ordered triple $x = 2$, $y = 0$, $z = -1$.
Write a linear system of three equations in three unknowns whose unique solution is the ordered triple $x = 2$, $y = 0$, $z = -1$.
To solve the following system of linear equations: $$\begin{cases} 3x - y + 2z = 7 \\ x + 4y - z = -2 \\ 2x + 2y + 3z = 11 \end{cases}$$ two students propose different…
To solve the following system of linear equations:
$$\begin{cases} 3x - y + 2z = 7 \\ x + 4y - z = -2 \\ 2x + 2y + 3z = 11 \end{cases}$$two students propose different initial strategies:
-
Aoife's strategy (direct Gauss): Keep the order of the equations and use the first row ($3x - y + 2z = 7$) directly as the pivot row to create zeros in the column of $x$.
-
Niamh's strategy (Gauss with unit pivot): Swap the first and second equations beforehand so that the coefficient of $x$ in the pivot row is $1$, and from there carry out the linear combinations to eliminate the terms in $x$ from the other two rows.
Analyze in a reasoned manner the advantages and disadvantages of each strategy (taking into account the appearance of fractional coefficients and the likelihood of calculation errors). Justify which of the two options is more convenient and apply it step by step until the system is in echelon form and find its solution.
Solve the following non-linear system of equations by applying a suitable change of variables (for example, $u = \frac{1}{x}$, $v = \frac{1}{y}$, $w = \frac{1}{z}$):…
Solve the following non-linear system of equations by applying a suitable change of variables (for example, $u = \frac{1}{x}$, $v = \frac{1}{y}$, $w = \frac{1}{z}$):
$\frac{1}{x} + \frac{1}{y} = 5$
$\frac{1}{y} + \frac{1}{z} = 7$
$\frac{1}{x} + \frac{1}{z} = 6$
The three types of solution
Transform the following system into triangular form using Gaussian elimination and state whether it is an Inconsistent System: $x + y + z = 1$ $2x + y - z = 0$…
Transform the following system into triangular form using Gaussian elimination and state whether it is an Inconsistent System:
$x + y + z = 1$
$2x + y - z = 0$
$3x + 2y = 5$
Apply Gaussian elimination to the following system and check that it is a consistent dependent system by obtaining an equation of the form $0 = 0$: $x - y + 2z = 3$…
Apply Gaussian elimination to the following system and check that it is a consistent dependent system by obtaining an equation of the form $0 = 0$:
$x - y + 2z = 3$
$-2x + 2y - 4z = -6$
$3x - 3y + 6z = 9$
Solve the following consistent dependent system and express its infinitely many solutions in terms of a parameter $\lambda$: $x + 2y - z = 4$ $2x - y + 3z = 3$…
Solve the following consistent dependent system and express its infinitely many solutions in terms of a parameter $\lambda$:
$x + 2y - z = 4$
$2x - y + 3z = 3$
$3x + y + 2z = 7$
Prove algebraically that if a linear system of three equations in three unknowns admits two distinct solutions, for example $S_{1} = (1, 0, 0)$ and $S_{2} = (0, 1, 0)$,…
Prove algebraically that if a linear system of three equations in three unknowns admits two distinct solutions, for example $S_{1} = (1, 0, 0)$ and $S_{2} = (0, 1, 0)$, then it admits infinitely many solutions. To do this, verify that any linear combination of the form $S = \lambda S_{1} + (1-\lambda)S_{2}$ is also a solution to the system.
Systems with a parameter
Sometimes a letter such as $k$ sits inside the system. Eliminate as usual, keeping $k$ as a symbol, and look at the last equation: its form tells you the type of solution for each value of $k$.
With a parameter in the coefficient of $z$, the last equation looks like $a(k)z=b(m)$: if $a(k)=0$ and $b(m)=0$ you get infinitely many solutions (for example, three planes meeting in a line), if $a(k)=0$ and $b(m)\ne0$ there is no solution, and otherwise the solution is unique. When a problem asks for whole-number answers (such as numbers of vehicles), solve with a parameter first and then keep only the values of $\lambda$ that give whole numbers of at least $1$.
Find the values of the parameter $k$ for which the following system is inconsistent: $x + y - z = 2$ $2x - y + z = 1$ $3x + y - z = k$
Find the values of the parameter $k$ for which the following system is inconsistent:
$x + y - z = 2$
$2x - y + z = 1$
$3x + y - z = k$
Discuss the following system of equations depending on the values of the parameter $m$. State for which values of $m$ the system is consistent independent, consistent…
Discuss the following system of equations depending on the values of the parameter $m$. State for which values of $m$ the system is consistent independent, consistent dependent, or inconsistent.
$x + y + z = 1$
$x + my + z = m$
$x + y + m^{2}z = m^{2}$
Find the values of the parameters $a$ and $b$ for which the following system of equations is consistent dependent: $x - y + 2z = 1$ $2x + ay - z = 3$ $3x + y + bz = 4$
Find the values of the parameters $a$ and $b$ for which the following system of equations is consistent dependent:
$x - y + 2z = 1$
$2x + ay - z = 3$
$3x + y + bz = 4$
Planes in space and real-life problems
The sum of three numbers is $12$. The first plus the second add up to $7$. The second plus the third add up to $9$. Set up a system of three equations with three…
The sum of three numbers is $12$. The first plus the second add up to $7$. The second plus the third add up to $9$. Set up a system of three equations with three unknowns and determine the value of these numbers.
In a café, three types of sandwiches are sold: ham, cheese, and omelette. One group of friends orders $3$ ham, $2$ cheese, and $1$ omelette, paying $14$ euros. Another…
In a café, three types of sandwiches are sold: ham, cheese, and omelette. One group of friends orders $3$ ham, $2$ cheese, and $1$ omelette, paying $14$ euros. Another group orders $2$ ham, $1$ cheese, and $3$ omelette, paying $13$ euros. A third group orders $1$ ham, $3$ cheese, and $2$ omelette, paying $15$ euros. Set up and solve a system to calculate the price of each type of sandwich.
Three machines A, B, and C manufacture parts in a factory. Working together, machine A and machine B manufacture $50$ parts per hour. Machine B and machine C together…
Three machines A, B, and C manufacture parts in a factory. Working together, machine A and machine B manufacture $50$ parts per hour. Machine B and machine C together manufacture $70$ parts per hour. Finally, machine A and machine C together manufacture $60$ parts per hour. Calculate how many parts per hour each machine manufactures individually.
Back to the start: solving the café system ($3x + 2y + z = 14$, $2x + y + 3z = 13$, $x + 3y + 2z = 15$) by elimination, we find that the ham sandwich costs €2, the cheese sandwich €3 and the omelette sandwich €2.