Section 5 The Matrix-Vector Form of a Linear System
Focus Questions
By the end of this section, you should be able to give precise and thorough answers to the questions listed below. You may want to keep these questions in mind to focus your thoughts as you complete the section.
How and when is the matrix-vector product
defined?How can a system of linear equations be written in matrix-vector form?
How can we tell if the system
is consistent for a given vectorHow can we tell if the system
is consistent for every vectorWhat is a homogeneous system? What can we say about the solution set to a homogeneous system?
What must be true about pivots in the coefficient matrix
in order for the homogeneous system to have a unique solution?How are the solutions to the nonhomogeneous system
related to the solutions of the corresponding homogeneous system
Subsection Application: Modeling an Economy
An economy is a very complex system. An economy is not a well-defined object, there are many factors that influence an economy, and it is often unclear how the factors influence each other. Mathematical modeling plays an important role in attempting to understand an economy. In 1941 Wassily Leontief developed the first empirical model of a national economy. Around 1949 Leontief used data from the U.S. Bureau of Labor Statistics to divide the U.S. economy into 500 sectors. He then set up linear equations for each sector. This system was too large for the computers at the time to solve, so he then aggregated the information into 42 sectors. The Harvard Mark II computer was used to solve this system, one of the first significant uses of computers for mathematical modeling. Leontief won the 1973 Nobel Prize in economics for his work. With such large models (Leontief's models are called input-output models) it is important to find a shorthand way to represent the resulting systems. In this section we will see how to represent any size system of linear equations in a very convenient way. Later, we will analyze a small economy using input-output models.Subsection Introduction
There is another useful way to represent a system of linear equations using a matrix-vector product that we investigate in this section. To understand how this product comes about, recall that we can represent the linear systemPreview Activity 5.1.
(a)
Write the vector equation
in matrix-vector form. Note that this is the vector equation whose augmented matrix representation was given in Problem 2 in Preview Activity 2.1. Compare your matrix
(b)
Given the matrix-vector equation
represent the system corresponding to this equation. Note that this should correspond to the system (or an equivalent system where an equation might be multiplied by
(c)
Find the indicated matrix-vector products, if possible. Express as one vector.
(i)
(ii)
(iii)
(d)
As you might have noticed, systems with all the constants being 0 are special in that they always have a solution. (Why?) So we might consider grouping systems into two types: Those of the form
with
The augmented matrix representation of this system is
From this RREF, we immediately see that the general solution is that
The rightmost expression above is called the parametric vector form of the solution. If we had a system where the general solution involved more than one free variable, then we would write the parametric vector form to include one vector multiplying each free variable. For example, if the general solution of a system were that
Note that the parametric vector form expresses the solutions as a linear combination of a number of vectors, depending on the number of free variables, with an added constant vector. This expression helps us in interpreting the solution set geometrically, as we will see in this section.
(i)
Find the general solution to the homogeneous system
with
(ii)
Find the general solution to the nonhomogeneous system
with
and express it in parametric vector form. Then find the general solution to the corresponding homogeneous system and express it in parametric vector form. How are the two solution sets related?
(iii)
Make a conjecture about the relationship between the solutions to a consistent nonhomogeneous system
Subsection The Matrix-Vector Product
The matrix-vector product we defined in Preview Activity 5.1 for a specific example generalizes in a very straightforward manner, and provides a convenient way to represent a system of linear equations of any size using matrices and vectors. In addition to providing us with an algebraic approach to solving systems via matrices and vectors โ leading to a powerful geometric relationship between solution sets of homogeneous and non-homogeneous systems โ this representation allows us to think of a linear system from a dynamic perspective, as we will see later in the section on matrix transformations. The matrix-vector productDefinition 5.1.
Let
Important Note.
The matrix-vector productSubsection The Matrix-Vector Form of a Linear System
Activity 5.2.
In this activity, we will use the equivalence of the different representations of a system to make useful observations about when a system represented as
(a)
Consider the system
Write the matrix-vector product on the left side of this equation as a linear combination of the columns of the coefficient matrix. Find weights that make the vector
(b)
From this point on we consider the general case where
(c)
Use part (b) and the definition of span to explain why the system
(d)
Use part (c) to explain why the system
(e)
Use the augmented matrix representation and the criterion for a consistent system to explain why the system
Theorem 5.2.
Let
The matrix equation
has a solution for every vector inEvery vector
in can be written as a linear combination of the columns ofThe span of the columns of
isThe matrix
has a pivot position in each row.
Subsection Properties of the Matrix-Vector Product
As we have done before, we have a new operation (the matrix-vector product), so we should wonder what properties it has.Activity 5.3.
In this activity, we consider whether the matrix-vector product distributes vector addition. In other words: Is
We work with arbitrary vectors
Theorem 5.3.
Let
Subsection Homogeneous and Nonhomogeneous Systems
As we saw before, the systems with all the right hand side constants being 0 are special in that they always have a solution. (Why?) So we might consider grouping systems into two types: Those of the formActivity 5.4.
In this activity we will consider the relationship between the solution sets of nonhomogeneous systems and those of the corresponding homogeneous systems.
(a)
Find the solution sets of the system
where
and the corresponding homogeneous system (i.e. where we replace
(b)
Find the solution sets of the system
where
and the corresponding homogeneous system.
(c)
What are the similarities/differences between solutions of the nonhomogeneous system and its homogeneous counterpart?
if
is an arbitrary solution to the nonhomogeneous system, then where is some solution to the homogeneous system andif
is an arbitrary solution to the homogeneous system, then is a solution to the nonhomogeneous system.
Theorem 5.4.
Suppose the equation
Subsection The Geometry of Solutions to the Homogeneous System
There is a simple geometric interpretation to the solution set of the homogeneous systemActivity 5.5.
In this activity we consider geometric interpretations of the solution sets of homogeneous and nonhomogeneous systems.
(a)
Consider the system
(i)
Let
(ii)
Let
(b)
Consider the system
(i)
Let
(ii)
Let
Subsection Examples
What follows are worked examples that use the concepts from this section.Example 5.5.
We now have several different ways to represent a system of linear equations. Rewrite the system in an equivalent form
(a)
as an augmented matrix
Solution.
The augmented matrix for this system is
(b)
as an equation involving a linear combination of vectors
Solution.
If we make vectors from the columns of the augmented matrix, we can write this system in vector form as
(c)
using a matrix-vector product
Solution.
The coefficient matrix for this system is
(d)
Then solve the system.
Solution.
Using technology, we find that the reduced row echelon form of the augmented matrix for this system is
So the solution to this system is
Example 5.6.
Consider the homogeneous system
(a)
Find the general solution to this homogeneous system and express the system in parametric vector form.
Solution.
The augmented matrix of the homogeneous system is
and the reduced row echelon form of this augmented matrix is
Since there is no corresponding equation of the form
(b)
Let
Solution.
Since
we conclude that
(c)
Use the results from part (a) and (b) to write the parametric vector form of the general solution to the non-homogeneous system
Solution.
We know that every solution to the non-homogeneous system
where
(d)
Describe what the general solution to the homogeneous system
Solution.
The solution to the homogeneous system
Subsection Summary
-
If
is an matrix with columns and if is a vector in then the matrix-vector product is defined to be the linear combination of the columns of with corresponding weights from โ that is -
A linear system
can be written in matrix form as
where
The matrix equation
has a solution if and only if is a linear combination of the columns ofThe system
is consistent for every vector if every row of contains a pivot.A homogeneous system is a system of the form
for some matrix Since the zero vector in satisfies a homogeneous system is always consistent.A homogeneous system can have one or infinitely many different solutions. The homogeneous system
has exactly one solution if and only if each column of is a pivot column.The solutions to the consistent nonhomogeneous system
have the form where is a particular solution to the nonhomogeneous system and is a solution to the homogeneous system In other words, the solution space to a consistent nonhomogeneous system is a translation of the solution space of the homogeneous system by a particular solution to the nonhomogeneous system.
Theorem 5.2.
LetThe matrix equation
has a solution for every vector inEvery vector
in can be written as a linear combination of the columns ofThe span of the columns of
isThe matrix
has a pivot position in each row.
Exercises Exercises
1.
Write the system
in matrix-vector form. Explicitly identify the coefficient matrix and the vector of constants.
2.
Write the linear combination
as a matrix-vector product.
3.
Represent the following matrix-vector equation as a linear system and find its solution.
4.
Represent the following matrix-vector equation as a linear system and find its solution.
5.
Another way of defining the matrix-vector product uses the concept of the scalar product of vectors.โ10โ Given a
We then define the matrix-vector product
Calculate the matrix-vector product
6.
Find the value of
where
7.
Suppose we have
where
(a)
In order to find the value of
(b)
Suppose the
8.
Suppose we are given
for an unknown
9.
Suppose we are given
After expressing
10.
(a)
The non-homogeneous system (with unknown constants
has a solution which lies on the
(b)
If the corresponding homogeneous system
has its general solution expressed in parametric vector form as
(c)
Find the conditions on
11.
Find the general solution to the non-homogeneous system
Using the parametric vector form of the solutions, determine what the solution set to this non-homogeneous system looks like geometrically. Be as specific as possible. (Include information such as whether the solution set is a point, a line, or a plane, etc.; whether the solution set passes through the origin or is shifted from the origin in a specific direction by a specific number of units; and how the solution is related to the corresponding homogeneous system.)
12.
Come up with an example of a
13.
Suppose we have three vectors
14.
Label each of the following statements as True or False. Provide justification for your response.
(a) True/False.
If the system
(b) True/False.
If
(c) True/False.
If an
(d) True/False.
If an
(e) True/False.
If
(f) True/False.
All homogeneous systems have either a unique solution or infinitely many solutions.
(g) True/False.
If a linear system is not homogeneous, then the solution set does not include the origin.
(h) True/False.
If a solution set of a linear system does not include the origin, the system is not homogeneous.
(i) True/False.
If the system
(j) True/False.
If
(k) True/False.
If
Subsection Project: Input-Output Models
There are two basic types of input-output models: closed and open. The closed model assumes that all goods produced are consumed within the economy โ no trading takes place with outside entities. In the open model, goods produced within the economy can be traded outside the economy. To work with a closed model, we use an example (from Input-Output Economics by Wassily Leontief). Assume a simple three-sector economy consisting of agriculture (growing wheat), manufacturing (producing cloth), and households (supplying labor). Each sector of the economy relies on goods from the other sectors to operate (e.g., people must eat to work and need to be clothed). To model the interactions between the sectors, we consider how many units of product is needed as input from one sector to another to produce one unit of product in the second sector. For example, assume the following:to produce one unit (say dollars worth) of agricultural goods requires 25% of a unit of agricultural output, 28% of a unit of manufacturing output, and 27% of a unit of household output;
to produce one unit of manufactured goods requires 20% of a unit of agricultural output, 60% of a unit of manufacturing output, and 60% of a unit of household output;
to produce one unit of household goods requires 55% of a unit of agricultural output, 12% of a unit of manufacturing output, and 13% of a unit of household output.
into\from | Agriculture | Manufacture | Households |
---|---|---|---|
Agriculture | 0.25 | 0.28 | 0.27 |
Manufacture | 0.20 | 0.60 | 0.60 |
Households | 0.55 | 0.12 | 0.13 |
the production from each sector meets the needs of all of the sectors and
there is no overproduction.
Project Activity 5.6.
We can use techniques from linear algebra to determine the levels of production that precisely meet the two goals of the economist.
(a)
Suppose that the agricultural output is
units. In order to meet the needs of agriculture and for there to be no overproduction, we must then have
Write similar equations for the manufacturing and household sectors of the economy.
(b)
Find the augmented matrix for the system of linear equations that represent production of the three sectors from part (a), and then solve the system to find the production levels that meet the economist's two goals.
(c)
Suppose the production level of the household sector is 200 million units (dollars). Find the production levels of the agricultural and manufacturing sectors that meet the economist's two goals.
Since no sector can consume a negative amount or an amount that exceeds the output of another sector, we must have
for all andIf there are
sectors in the economy, the fact that all output is consumed within the economy implies that In other words, the column sums of are all 1.
Project Activity 5.7.
Is there a steady state solution for the closed system of Agriculture, Manufacturing, and Households? If so, find the general steady state solution. If no, explain why.
petroleum requires 0.1 unit of petroleum, 0.2 units of transportation, and 0.4 units of chemicals;
textiles requires 0.4 units of petroleum, 0.1 unit of textiles, 0.15 units of transportation, and 0.3 units of chemicals;
transportation requires 0.6 units of petroleum, 0.1 unit of transportation, and 0.25 units of chemicals;
chemicals requires 0.2 units of petroleum, 0.1 unit of textiles, 0.3 units of transportation, and 0.2 units of chemicals.
into\from | Petroleum | Textiles | Transportation | Chemicals |
Petroleum | 0.10 | 0.00 | 0.20 | 0.40 |
Textiles | 0.40 | 0.10 | 0.15 | 0.30 |
Transportation | 0.60 | 0.00 | 0.10 | 0.25 |
Chemicals | 0.20 | 0.10 | 0.30 | 0.20 |
Project Activity 5.8.
(a)
Suppose the final demand vector in our four sector economy is
(b)
Does this economy defined by the exchange matrix
have a solution regardless of the values of