Skip to main content

Section 1.4 Geometric Interpretations and Applications

In this section we will look at some examples of geometric interpretation of solutions to a system of linear equations, then we will look at a few examples of common application problems related to our study of linear systems.

Subsection 1.4.1 Geometric Interpretation of a Solution Set

Recall from earlier, that the solution set of a linear equation in two variables was a line in \(\mathbb{R}^2\) (the plane) and that the solution set of a system of two equations in two variables was possibly a point, a line, or empty. Similarly, the solution set for a linear equation in three variables will be a plane in 3-space (\(\mathbb{R}^3\)).

Activity 1.4.1.

  1. List out all the possible ways two planes can intersect in a three dimensional space.
  2. List out all the possible ways three planes can intersect in a three dimensional space.
  3. List out all the possible ways four planes can intersect in a three dimensional space.
  4. List out all the possible ways five planes can intersect in a three dimensional space.
We don’t usually draw what a solution set of a linear equation in four variables looks like because drawing in four dimensions is difficult. The graph is a single linear equation in four variables would be called a hyperplane in \(4\)-space. Although we don’t draw \(m\) hyperplanes in \(n\)-space, the intersections of hyperplanes will work very similarly to the pictures we can draw in 3-space (also known as \(\mathbb{R}^3\)).
We can use the open source computer algebra system SageMath to plot things, and we can even do it right here in the course notes. Click the button to plot a plane below.
Plotting the equations, \(3x-2y-z=0\text{,}\) \(2x+y+z=10\text{,}\) and \(x+4y+3z=20\) in red, yellow, and green respectively gives:

Investigation 1.4.2.

Does your answer to Task 1.2.4.b make sense with this plot? Explain.

Question 1.4.1.

For each of the systems in Activity 1.2.8, use SageMath to draw a plot of each of the equations in the system and write a sentence for each system about why the plot and your answer to Activity 1.2.8 make sense.
Hint.
You can edit the code block above and click the button again, and it will update the graph.
If you remember parametric equations of lines and planes in space from multivariable calculus, then we will return to those ideas soon

Subsection 1.4.2 Applications and Linear Algebra

Many network or physical problems are diagramed by a figure that displays how different parts are connected and how much of something can flow between different nodes. A particularly common diagram is that of electric circuits. We will look at a couple of laws now that help us set up a system of equations for common circuit types.
An electrical network is a specialized network where we specify the locations of resistors, batteries, devices powered by sources, and others.The goal is often to determine the current through various locations of the network. In balancing a network we use two specific laws: Current and Voltage.
  • Current Law: sum of the currents flowing into any node is equal to the sum of the currents flowing out of that node. This is often called the conservation of flow.
  • Voltage Law: The sum of the voltage drops around any circuit is equal to the total voltage around the the circuit, most likely provided by batteries or other power source.
The above laws are attributed to Gustav Kirchhoff and are called Kirchhoff’s Laws. We should also mention Ohm’s Law, which describes the force, in volts, associated with the current (amps) passing through a resistor (ohms). Namely,
\begin{equation*} V = I R \end{equation*}

Example 1.4.2.

Consider the electrical network shown here
Figure 1.4.3. An electrical circuit
We can set up the equations for the three currents using our voltage and current law in conjunction with Ohm’s Law. This yields
\begin{equation*} \begin{array}{cccc} I_1 \amp -I_2 \amp +I_3 \amp =0 \\ 4I_1\amp+I_2\amp \amp=8 \\ \amp I_2\amp+4I_3\amp=16 \end{array} \end{equation*}
The first equation is using our conservation of flow. The second equation is using Ohm’s law with our voltage law around the circuit CABC. The third equation is similar, but around the circuit DABD.
The rref of the corresponding augmented matrix is
\begin{equation*} \begin{bmatrix} 1\amp0\amp0\amp|1\\ 0\amp1\amp0\amp|4\\ 0\amp0\amp1\amp|3 \end{bmatrix} \end{equation*}
Thus we have a unique solution of \(I_1=1, I_2=4, I_3=3\text{.}\)

Activity 1.4.3.

For this activity, we will be considering the following circuit
Figure 1.4.4. An electrical circuit
(a)
Write out the current equations for each of the four junctions
(b)
Write out the voltage drop equations for three of the basic circuits.
(c)
Use Python to input the corresponding augmented matrix and solve the system based on the rref. Explain the meaning of your solution.
Another common application of linear systems is balancing a physical system according to conservation of some property. For instance, in chemical reactions, the number of different atoms of an element does not change, rather the way they are arranged in molecules is what changes. Thus the number of each kind of molecule must be the same on the right and left side of a reation equation.

Example 1.4.5.

Let’s look at the simple chemical equation for creating water from hydrogen and oxygen.
\begin{equation*} \alpha H_2 + \beta O_2 \rightarrow \gamma H_2O \end{equation*}
We want to know how many molecules of each type are needed to go into the reaction and how many will come out. Note that the coefficents in this setting must be positive integers since we cannot have a fraction of a molecule.
If we consider the number of hydrogen atoms in the reaction, we get
\begin{equation*} 2\alpha = 2 \gamma \end{equation*}
If we consider the number of oxygen atoms in the reaction, we get
\begin{equation*} 2\beta = \gamma \end{equation*}
Thus we get the following system
\begin{equation*} \begin{array}{cccc} 2\alpha \amp \amp -2\gamma \amp =0 \\ \amp 2 \beta \amp -\gamma \amp=0 \end{array} \end{equation*}
which has augmented form
\begin{equation*} \begin{bmatrix} 2\amp 0\amp -2\amp 0 \\ 0\amp 2 \amp -1 \amp0 \end{bmatrix} \end{equation*}
which can be reduced to
\begin{equation*} \begin{bmatrix} 1\amp 0\amp -1\amp 0 \\ 0\amp 1 \amp -1/2 \amp0 \end{bmatrix} \end{equation*}
Notice that there is NOT a unique solution to system of equations, but rather we can have solutions of the form
\begin{equation*} \begin{array}{cc} \alpha \amp= \gamma \\ \beta \amp= \frac{1}{2}\gamma \\ \gamma \amp=\gamma (free) \end{array} \end{equation*}
Therefore, the smallest integer solution is when \(\gamma =2\text{,}\) which gives the following chemical reaction
\begin{equation*} 2 H_2 + O_2 \rightarrow 2 H_2O \end{equation*}

Activity 1.4.4.

Consider the chemical reaction
\begin{equation*} w NH_3 +x O_2 \rightarrow y N_2 +z H_2O \end{equation*}
(a)
Write out equations for nitrogen, hydrogen, and oxygen atoms
(b)
Input the corresponding augmented matrix into Python and use the rref to write out the solution set
(c)
Write out the simplest form of the chemical reaction equation.

Activity 1.4.5.

Find the coefficents for quadratic polynomial of the form \(y = c_0+c_1 x+c_2 x^2\) that goes through the points (-1,3), (2,2), and (3,5).