Chapter 4 System of Linear Equations
Section 4.2 LS in two Variables4.2.2 Substitution Method and Comparison Method
Until now we studied the solvability and the graphical solution of systems of linear equations of the form 4.2.1. Next, we need to study these systems algebraically. To this end, we investigate a further example.Example 4.2.6
For the renovation of their house, the Müller family had to take out two mortgages with a total amount of $\mathrm{50,000}$ Euro. The interest they have to pay annually is in total $\mathrm{3,700}$ Euro. The interest rate for one mortgage agreement is $5\%$ annually, and $8\%$ annually for the other. What are the amounts of the individual mortgages?
Let the amounts of the individual mortgages be denoted by $x$ and $y$. As we know from the problem description, the sum of the two amounts is $\mathrm{50,000}$ Euro. Hence, the first equation reads:
$\begin{array}{cc}\multicolumn{1}{c}{\text{equation}\hspace{0.5em}(1)}& :x+y=\mathrm{50,000}\mathrm{\hspace{0.5em}\hspace{0.5em}}\mathrm{\hspace{0.5em}\hspace{0.5em}}\mathrm{\hspace{0.5em}\hspace{0.5em}}\text{(Euro )}\hspace{0.5em}.\hfill \end{array}$
The interest burden from the mortgage agreement at a rate of $5\%$ is $0.05\xb7x$, and the interest burden from the other one at a rate of $8\%$ is $0.08\xb7y$. From the problem description we know that the two values add up to $\mathrm{3,700}$. This results in a second equation:
$\begin{array}{cc}\multicolumn{1}{c}{\text{equation}\hspace{0.5em}(2)}& :0.05x+0.08y=\mathrm{3,700}\mathrm{\hspace{0.5em}\hspace{0.5em}}\mathrm{\hspace{0.5em}\hspace{0.5em}}\mathrm{\hspace{0.5em}\hspace{0.5em}}\text{(Euro )}\hspace{0.5em}.\hfill \end{array}$
Again, one ends up with a system of linear equations as in example 4.2.1.
To solve the system algebraically, the first equation is solved for $y$. This results in an equation $(1\text{'})$, which is equivalent to equation $(1)$:
$\begin{array}{cc}\multicolumn{1}{c}{\text{equation}\hspace{0.5em}(1\text{'})}& :y=\mathrm{50,000}x\hspace{0.5em}.\hfill \end{array}$
This equation for $y$ can be substituted into equation $(2)$. In the resulting equation only the variable $x$ occurs, so it can be solved for $x$:
$\begin{array}{ccc}\multicolumn{1}{c}{}& \hfill & 0.05x+0.08(\mathrm{50,000}x)=\mathrm{3,700}\hfill \\ \multicolumn{1}{c}{\iff}& \hfill & 0.05x+\mathrm{4,000}0.08x=\mathrm{3,700}\hfill \\ \multicolumn{1}{c}{\iff}& \hfill & 0.03x=300\hfill \\ \multicolumn{1}{c}{\iff}& \hfill & x=\mathrm{10,000}\hspace{0.5em}.\hfill \end{array}$
Substituting the solution for $x$ into equation $(1\text{'})$ results in
$\begin{array}{ccc}\multicolumn{1}{c}{}& \hfill & y=\mathrm{50,000}\mathrm{10,000}\hfill \\ \multicolumn{1}{c}{\iff}& \hfill & y=\mathrm{40,000}\hspace{0.5em}.\hfill \end{array}$
Hence, the mortgage amounts are $\mathrm{10,000}$ Euro (mortgage with interest of $5\%$ annually) and $\mathrm{40,000}$ Euro (mortgage with interest of $8\%$ annually).
Let the amounts of the individual mortgages be denoted by $x$ and $y$. As we know from the problem description, the sum of the two amounts is $\mathrm{50,000}$ Euro. Hence, the first equation reads:
The interest burden from the mortgage agreement at a rate of $5\%$ is $0.05\xb7x$, and the interest burden from the other one at a rate of $8\%$ is $0.08\xb7y$. From the problem description we know that the two values add up to $\mathrm{3,700}$. This results in a second equation:
Again, one ends up with a system of linear equations as in example 4.2.1.
To solve the system algebraically, the first equation is solved for $y$. This results in an equation $(1\text{'})$, which is equivalent to equation $(1)$:
This equation for $y$ can be substituted into equation $(2)$. In the resulting equation only the variable $x$ occurs, so it can be solved for $x$:
Substituting the solution for $x$ into equation $(1\text{'})$ results in
Hence, the mortgage amounts are $\mathrm{10,000}$ Euro (mortgage with interest of $5\%$ annually) and $\mathrm{40,000}$ Euro (mortgage with interest of $8\%$ annually).
Info 4.2.7
In the substitution method, as a first step one of the two linear equations is solved for one of the variables  or a multiple of one of the variables. As a second step the solution is substituted into the other linear equation. Only three cases can occur:
 In the resulting equation (after collecting like terms) the other variable still occurs. Solving the resulting equation for this other variable results in the first part of the solution. The second part is obtained, for example, by substituting the solution of the first part into the equation from the first step. The solution is unique. (If this solution does not belong to the base set, it has to be excluded.)
 In the resulting equation (after collecting like terms) the other variable does not occur any more and the equation is a contradiction. Then the system of linear equations has no solution.
 In the resulting equation (after collecting like terms) the other variable does not occur any more and the equation is always true. Then the system of linear equations has an infinite number of solutions (unless the definition of the base set results in some restrictions).
Concerning the substitution method, cases (ii) and (iii) mentioned above shall be illustrated again by means of the systems of linear equations in example 4.2.4:
Example 4.2.8
For both systems of linear equations the base set is $\mathbb{R}$.


For illustration, the first example is solved again, this time by means of the comparison method:
Example 4.2.10
The system of linear equations in the first example reads:
$\begin{array}{cc}\multicolumn{1}{c}{x+y}& =10\hspace{0.5em},\hfill \\ \multicolumn{1}{c}{x+2y}& =13\hspace{0.5em}.\hfill \end{array}$
Both equations are solved for $x$
$\begin{array}{cc}\multicolumn{1}{c}{x}& =10y\hspace{0.5em},\hfill \\ \multicolumn{1}{c}{x}& =132y\hspace{0.5em},\hfill \end{array}$
and the righthandsides of the two equations are equated
$10y=132y\hspace{0.5em}$
which results in $y=3$. The solution for $y$ can be substituted into one of the equations solved for $x$ which results in $x=7$.
Both equations are solved for $x$
and the righthandsides of the two equations are equated
which results in $y=3$. The solution for $y$ can be substituted into one of the equations solved for $x$ which results in $x=7$.
Exercise 4.2.11
Find the solution set of the following system of linear equations
$\begin{array}{ccc}\multicolumn{1}{c}{7x+2y}& =\hfill & 14\hspace{0.5em},\hfill \\ \multicolumn{1}{c}{3x5y}& =\hfill & 6\hfill \end{array}$
using the comparison method.
using the comparison method.