Skip to main content

Section 5 The Matrix-Vector Form of a Linear 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 system

x1+4x2+2x3+4x4=12x1โˆ’x2โˆ’5x3โˆ’x4=23x1+7x2+x3+7x4=3

as a vector equation as

(5.1)x1[123]+x2[4โˆ’17]+x3[2โˆ’51]+x4[4โˆ’17]=[123].

We can view the left hand side of Equation (5.1) as a matrix-vector product. Specifically, if A=[14242โˆ’1โˆ’5โˆ’13717] and x=[x1x2x3x4], then we define the matrix-vector product Ax as the left hand side Equation (5.1). So the matrix-vector product Ax is the linear combination of the columns of A with weights from the vector x in order.

With this definition, the vector equation in (5.1) can be expressed as a matrix-vector equation as

[14242โˆ’1โˆ’5โˆ’13717][x1x2x3x4]=[123].

We call this representation the matrix-vector form of the system. Note that the matrix A in this expression is the same as the coefficient matrix that appears in the augmented matrix representation of the system.

We can use the above definition of the matrix-vector product as a linear combination with any matrix and any vector, as long as it is meaningful to use the entries in the vector as weights for the columns of the matrix. For example, for A=[123111] and v=[34], then we can define Av to be the linear combination of the columns of A with weights 3 and 4:

Av=3[131]+4[211]=[11137].

However, note that if v had three entries, this definition would not make sense since we do not have three columns in A. In those cases, we say Av is not defined. We will later see that this definition can be generalized to matrix-matrix products, by treating the vector as a special case of a matrix with one column.

Preview Activity 5.1.

(a)

Write the vector equation

x1[112]+x2[123]+x3[โˆ’12โˆ’3]=[4311]

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 A and the right hand side vector to the augmented matrix. Do not solve the system.

(b)

Given the matrix-vector equation

[12โˆ’10121โˆ’2โˆ’3]x=[โˆ’33โˆ’7]

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 (โˆ’1)) in Problem 1 of Preview Activity 2.1.

(c)

Find the indicated matrix-vector products, if possible. Express as one vector.

(iii)

[โˆ’6โˆ’212โˆ’21][1โˆ’31]

(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 Ax=b, where not all of the entries of the vector b are 0, and those of the form Ax=0, where 0 is the vector of all zeros. Systems like Ax=b, where b contains at least one non-zero entry, are called nonhomogeneous systems, and systems of the form Ax=0 are called homogeneous systems. For every nonhomogeneous system Ax=b there is a corresponding homogeneous system Ax=0, and there is a useful connection between the solutions to the nonhomogeneous system and the corresponding homogeneous system. For example, consider the nonhomogeneous system

Ax=b

with

(5.2)A=[112121], x=[x1x2x3],  and  b=[0โˆ’2].

The augmented matrix representation of this system is [A | b]. If we reduce this augmented matrix, we find

[103201โˆ’1โˆ’2].

From this RREF, we immediately see that the general solution is that x3 is free, x2=x3โˆ’2, and x1=2โˆ’3x3. In vector form, we can represent this general solution as

(5.3)[x1x2x3]=[2โˆ’3x3x3โˆ’2x3]=[2โˆ’20]+x3[โˆ’311].

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 x2 and x3 are free and x1=2+x2+3x3, then the parametric vector form would be

x=[2+x2+3x3x2x3]=[200]+x2[110]+x3[301].

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

Ax=0

with A and x as in (5.2) and compare it to the solution to the nonhomogeneous system in (5.3). What do you notice?

(ii)

Find the general solution to the nonhomogeneous system

Ax=b

with

A=[12โˆ’124โˆ’2], x=[x1x2x3],  and  b=[โˆ’11].

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 Ax=b and the corresponding homogeneous system Ax=0. Be as specific as possible.

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 product Ax is a linear combination of the columns of A with weights from x. To define this product in general, we will need a little notation. Recall that a matrix is made of rows and columns โ€” the entries reading from left to right form the rows of the matrix and the entries reading from top to bottom form the columns. For example, the matrix

A=[123456789101112].

has three rows and four columns. The number of rows and columns of a matrix is called the size of the matrix, so A is a 3 by 4 matrix (also written as 3ร—4). We often need to have a way to reference the individual entries of a matrix A, and to do so we typically give a label, say aij to the entry in the ith row and jth column of A. So in our example we have a23=7. We also write A=[aij] to indicate a matrix whose i,jth entry is aij. At times it is convenient to write a matrix in terms of its rows or columns. If A=[aij] is an mร—n matrix, then we will write

A=[a11a12โ‹ฏa1nโˆ’1a1na21a22โ‹ฏa2nโˆ’1a2nโ‹ฎโ‹ฑโ‹ฎam1am2โ‹ฏamnโˆ’1amn]

or, if we let r1,r2,โ€ฆ,rm denote the rows of the matrix A, then we can write A as โ€‰9โ€‰

A=[r1r2โ‹ฎrm].

We can also write A in terms of its columns, c1,c2,โ€ฆ,cn, as

A=[c1 c2 โ‹ฏ cn].

In general, the product of a matrix with a vector is defined as follows.

Definition 5.1.

Let A be an mร—n matrix with columns c1, c2, โ€ฆ, cn, and let x=[x1x2โ‹ฎxn] be a vector in Rn. The matrix-vector product Ax is

Ax=x1c1+x2c2+โ‹ฏ+xncn.

Important Note.

The matrix-vector product Ax is defined only when the number of entries of the vector x is equal to the number of columns of the matrix A. That is, if A is an mร—n matrix, then Ax is defined only if x is a column vector with n entries.

Subsection The Matrix-Vector Form of a Linear System

As we saw in Preview Activity 5.1, the matrix-vector product provides us with a short hand way of representing a system of linear equations. In general, every linear system can be written in matrix-vector form as follows.

The linear system

a11x1+a12x2+โ‹ฏ+a1nxn=b1a21x1+a22x2+โ‹ฏ+a2nxn=b2โ‹ฎ  am1x1+a2mx2+โ‹ฏ+amnxn=bm

of m equations in n unknowns can be written in matrix-vector form as Ax=b, where

A=[a11a12โ‹ฏa1na21a22โ‹ฏa2nโ‹ฎโ‹ฑโ‹ฎam1am2โ‹ฏamn],   x=[x1x2โ‹ฎxn],    and    b=[b1b2โ‹ฎbm].

This general system can also be written in the vector form

x1[a11a21โ‹ฎam1]+x2[a12a22โ‹ฎam2]+โ‹ฏ+xn[a1na2nโ‹ฎamn]=[b1b2โ‹ฎbm].

With this last representation, we now have four different ways to represent a system of linear equations (as a system of linear equations, as an augmented matrix, in vector equation form, and in matrix-vector equation form), and it is important to be able to translate between them. As an example, the system

x1+4x2+2x3+4x4=12x1โˆ’x2โˆ’5x3โˆ’x4=23x1+7x2+x3+7x4=3

from the introduction to this section has corresponding augmented matrix

[142412โˆ’1โˆ’5โˆ’1237173],

is expressed in vector form as

x1[123]+x2[4โˆ’17]+x3[2โˆ’51]+x4[4โˆ’17]=[123],

and has matrix-vector form

[14242โˆ’1โˆ’5โˆ’13717][x1x2x3x4]=[123].

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 Ax=b has a solution.

(a)

Consider the system

[12โˆ’1213][x1x2x3]=[26].

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 [26] a linear combination of the columns of the coefficient matrix.

(b)

From this point on we consider the general case where A is an mร—n matrix. Use the vector equation representation to explain why the system Ax=b has a solution if and only if b is a linear combination of the columns of A. (Note that โ€˜if and only ifโ€™ is an expression to mean that if one side of the expression is true, then the other side must also be true.) (Hint: Compare to what you did in part (a).)

(c)

Use part (b) and the definition of span to explain why the system Ax=b has a solution if and only if the vector b is in the span of the columns of A.

(d)

Use part (c) to explain why the system Ax=b always has a solution for any vector b in Rm if and only if the span of the columns of A is all of Rm.

(e)

Use the augmented matrix representation and the criterion for a consistent system to explain why the system Ax=b is consistent for all vectors b if and only if A has a pivot position in every row.

We summarize our observations from the above activity in the following theorem.

In the future, if we need to determine whether a system has a solution for every b, we can refer to this theorem without having to argue our reasoning from scratch.

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 A(u+v) equal to Au+Av?

We work with arbitrary vectors u,v in R3 and an arbitrary matrix A with 3 columns (so that Au and Av are defined) to simplify notation. Let A=[c1 c2 c3] (note that each ci represents a column of A), u=[u1u2u3], and v=[v1v2v3]. Use the definition of the matrix-vector product along with the properties of vector operations to show that

A(u+v)=Au+Av.

Similar arguments using the definition of matrix-vector product along with the properties of vector operations can be used to show the following theorem:

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 form Ax=b, where not all of the entries of the vector b are 0, and those of the form Ax=0, where 0 is the vector of all zeros. Systems like Ax=b, where b contains at least one non-zero entry, are called nonhomogeneous systems, and systems of the form Ax=0 are called homogeneous systems. For every nonhomogeneous system Ax=b there is a corresponding homogeneous system Ax=0. We now investigate the connection between the solutions to the nonhomogeneous system and the corresponding homogeneous system.

Activity 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

Ax=b

where

A=[112121], x=[x1x2x3],  and  b=[0โˆ’2]

and the corresponding homogeneous system (i.e. where we replace b with 0.)

(b)

Find the solution sets of the system

Ax=b

where

A=[12โˆ’124โˆ’2], x=[x1x2x3],  and  b=[โˆ’11]

and the corresponding homogeneous system.

(c)

What are the similarities/differences between solutions of the nonhomogeneous system and its homogeneous counterpart?

As we saw in the above activity, there is a relationship between solutions of a nonhomogeneous and the corresponding homogeneous system. Let us formalize this relationship. If the general solution of a system involves free variables, we can represent the solutions in parametric vector form to have a better idea about the geometric representation of the solution set. Suppose the solution is that x3 is free, x2=โˆ’2+x3, and x1=2โˆ’3x3. In vector form, we can represent this general solution as

(5.4)[x1x2x3]=[2โˆ’3x3x3โˆ’2x3]=[2โˆ’20]+x3[โˆ’311].

From this representation, we see that the solution set is a line through the origin (formed by multiples of [โˆ’311]) shifted by the added vector [2โˆ’20]. The solution to the homogeneous system on the other does not have the shift.

Algebraically, we see that every solution to the nonhomogeneous system Ax=b can be written in the form p+vh, where p is a particular solution to Ax=b and vh is a solution to the corresponding homogeneous system Ax=0.

To understand why this always happens, we will verify the result algebraically for an arbitrary A and b. Assuming that p is a particular solution to the nonhomogeneous system Ax=b, we need to show that:

  • if v is an arbitrary solution to the nonhomogeneous system, then v=p+vh, where vh is some solution to the homogeneous system Ax=0, and

  • if vh is an arbitrary solution to the homogeneous system, then p+vh is a solution to the nonhomogeneous system.

To verify the first condition, suppose that v is a solution to the nonhomogeneous system Ax=b. Since we want v=p+vh, we need to verify that vโˆ’p is a solution for the homogeneous system so that we can assign vh=vโˆ’p. Note that

A(vโˆ’p)=Avโˆ’Ap=bโˆ’b=0,

using the distributive property of matrix-vector product over vector addition. Hence v is of the form p+vh with vh=0.

To verify the second condition, consider a vector of the form p+vh, where vh is a homogeneous solution. We have

A(p+vh)=Ap+Avh=b+0=b,

and so p+vh is a solution to Ax=b.

Our work above proves the following theorem.

Subsection The Geometry of Solutions to the Homogeneous System

There is a simple geometric interpretation to the solution set of the homogeneous system Ax=0 based on the number of free variables that imposes a geometry on the solution set of the corresponding nonhomogeneous system Ax=b (when consistent) due to Theorem 5.4.

Activity 5.5.

In this activity we consider geometric interpretations of the solution sets of homogeneous and nonhomogeneous systems.

(a)

Consider the system Ax=b where A=[1โˆ’3โˆ’39โˆ’13] and b=[2โˆ’6โˆ’2]. The general solution to this system has the form [20]+x2[31], where x2 is any real number.

(i)

Let v=[31]. What does the set of all vectors of the form x2v look like geometrically? Draw a picture in R2 to illustrate. (Recall that we refer to all the vectors of the form x2v simply as Span{v}.)

(ii)

Let p=[20]. What effect does adding the vector p to each vector in Span{v} have on the geometry of Span{v}? Finally, what does this mean about the geometry of the solution set to the nonhomogeneous system Ax=b?

(b)

Consider the system Ax=b where A=[12โˆ’136โˆ’3] and b=[โˆ’2โˆ’6]. The general solution to this system has the form [โˆ’200]+x2[โˆ’210]+x3[101], where x2,x3 are any real numbers.

(i)

Let u=[โˆ’210],v=[101]. Use our results from Section 4 to determine the geometric shape of Span{u,v}, the set of all vectors of the form x2[โˆ’210]+x3[101], where x2,x3 are any real numbers.

(ii)

Let p=[โˆ’200]. What's the geometric effect of adding the vector p to each vector in Span{u,v}? Finally, what does this mean about the geometry of the solution set to the nonhomogeneous system Ax=b?

Our work in the above activity shows the geometric shape of the solution set of a consistent nonhomogeneous system is the same as the geometric shape of the solution set of the corresponding homogeneous system. The only difference between the two solution sets is that one is a shifted version of the other.

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

11x1+4x2โˆ’5x3โˆ’2x4=6315x1+5x2+2x3โˆ’2x4=68x1+2x2+x3โˆ’x4=269x1+3x2+2x3โˆ’x4=40.
(a)

as an augmented matrix

Solution.

The augmented matrix for this system is

[114โˆ’5โˆ’2631552โˆ’268621โˆ’126932โˆ’140].
(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

x1[111569]+x2[4523]+x3[โˆ’5212]+x4[โˆ’2โˆ’2โˆ’1โˆ’1]=[63682640].
(c)

using a matrix-vector product

Solution.

The coefficient matrix for this system is [114โˆ’5โˆ’21552โˆ’2621โˆ’1932โˆ’1], and the matrix-vector form of the system is

[114โˆ’5โˆ’21552โˆ’2621โˆ’1932โˆ’1][x1x2x3x4]=[63682640].
(d)

Then solve the system.

Solution.

Using technology, we find that the reduced row echelon form of the augmented matrix for this system is

[10003010070010โˆ’200014].

So the solution to this system is x1=3, x2=7, x3=โˆ’2, and x4=4.

Example 5.6.

Consider the homogeneous system

x1+8x2โˆ’x3=0x1โˆ’7x2+2x3=03x1+4x2+x3=0.
(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

[18โˆ’101โˆ’7203410],

and the reduced row echelon form of this augmented matrix is

[103501โˆ’1500000].

Since there is no corresponding equation of the form 0=b for a nonzero constant b, this system is consistent. The third column contains no pivot, so the variable x3 is free, x2=15x3 and x1=โˆ’35x3. In parametric vector form the general solution to the homogeneous system is

[x1x2x3]=[โˆ’35x315x3x3]=x3[โˆ’35151].
(b)

Let A=[18โˆ’11โˆ’72341], and let b=[โˆ’692]. Show that [โˆ’105] is a solution to the non-homogeneous system Ax=b.

Solution.

Since

A[โˆ’105]=(โˆ’1)[113]+(0)[8โˆ’74]+(5)[โˆ’121]=[โˆ’1โˆ’5โˆ’1+10โˆ’3+5]=[โˆ’692],

we conclude that [โˆ’105] is a solution to the non-homogeneous system Ax=b.

(c)

Use the results from part (a) and (b) to write the parametric vector form of the general solution to the non-homogeneous system Ax=b. (Do this without directly solving the system Ax=b.)

Solution.

We know that every solution to the non-homogeneous system Ax=b has the form of the general solution to the homogeneous system plus a particular solution to the non-homogeneous system. Combining the results of (a) and (b) we see that the general solution to the non-homogeneous system Ax=b is

[x1x2x3]=[โˆ’105]+x3[โˆ’35151],

where x3 can be any real number.

(d)

Describe what the general solution to the homogeneous system Ax=0 and the general solution to the non-homogeneous system Ax=b look like geometrically.

Solution.

The solution to the homogeneous system Ax=0 is the span of the vector [โˆ’35151]. Geometrically, this set of points is a line through the origin and the point (โˆ’3,1,5) in R3. The solution to the non-homogeneous system Ax=b is the translation of the line through the origin and (โˆ’3,1,5) by the vector [โˆ’105]. In other words, the solution to the non-homogeneous system Ax=b is the line in R3 through the points (โˆ’1,0,5) and (โˆ’4,1,10).

Subsection Summary

  • If A=[c1 c2 โ‹ฏ cn] is an mร—n matrix with columns c1, c2, โ€ฆ, cn, and if x=[x1x2โ‹ฎxn] is a vector in Rn, then the matrix-vector product Ax is defined to be the linear combination of the columns of A with corresponding weights from x โ€” that is

    Ax=x1c1+x2c2+โ‹ฏ+xncn.
  • A linear system

    a11x1+a12x2+โ‹ฏ+a1nxn=b1a21x1+a22x2+โ‹ฏ+a2nxn=b2โ‹ฎ  am1x1+a2mx2+โ‹ฏ+amnxn=bm

    can be written in matrix form as

    Ax=b,

    where

    A=[a11a12โ‹ฏa1na21a22โ‹ฏa2nโ‹ฎโ‹ฑโ‹ฎam1am2โ‹ฏamn],   x=[x1x2โ‹ฎxn],    and    b=[b1b2โ‹ฎbm].
  • The matrix equation Ax=b has a solution if and only if b is a linear combination of the columns of A.

  • The system Ax=b is consistent for every vector b if every row of A contains a pivot.

  • A homogeneous system is a system of the form Ax=0 for some mร—n matrix A. Since the zero vector in Rn satisfies Ax=0, a homogeneous system is always consistent.

  • A homogeneous system can have one or infinitely many different solutions. The homogeneous system Ax=0 has exactly one solution if and only if each column of A is a pivot column.

  • The solutions to the consistent nonhomogeneous system Ax=b have the form p+vh, where p is a particular solution to the nonhomogeneous system Ax=b and vh is a solution to the homogeneous system Ax=0. In other words, the solution space to a consistent nonhomogeneous system Ax=b is a translation of the solution space of the homogeneous system Ax=0 by a particular solution to the nonhomogeneous system.

Finally, we argued an important theorem.

Theorem 5.2.

Let A be an mร—n matrix. The following statements are equivalent.

  1. The matrix equation Ax=b has a solution for every vector b in Rm.

  2. Every vector b in Rm can be written as a linear combination of the columns of A.

  3. The span of the columns of A is Rm.

  4. The matrix A has a pivot position in each row.

We will continue to add to this theorem, so it is a good idea for you to begin now to remember the equivalent conditions of this theorem.

Exercises Exercises

1.

Write the system

x1+2x2+2x3+x4=โˆ’1x1โˆ’8x2+3x3โˆ’9x4=2x1+6x2โˆ’4x3+12x4=โˆ’1

in matrix-vector form. Explicitly identify the coefficient matrix and the vector of constants.

2.

Write the linear combination

x1[15]+x2[โˆ’310]+x3[22]

as a matrix-vector product.

3.

Represent the following matrix-vector equation as a linear system and find its solution.

[2341โˆ’23][x1x2x3]=[4โˆ’6]

4.

Represent the following matrix-vector equation as a linear system and find its solution.

[1โˆ’2โˆ’122โˆ’2311][x1x2x3]=[1โˆ’48]

5.

Another way of defining the matrix-vector product uses the concept of the scalar product of vectors.โ€‰10โ€‰ Given a 1ร—n matrix u=[u1 u2 โ€ฆ un]โ€‰11โ€‰ and an nร—1 vector v=[v1v2โ‹ฎvn], we define the scalar product uโ‹…v as

uโ‹…v=u1v1+u2v2+u3v3+โ‹ฏ+unvn.

We then define the matrix-vector product Ax as the vector whose entries are the scalar products of the rows of A with x. As an example, if A=[2341โˆ’23] and x=[x1x2x3], then

Ax=[2x1+3x2+4x3x1+(โˆ’2)x2+3x3].

Calculate the matrix-vector product Ax where A=[abcd] and x=[x1x2] using both methods of finding the matrix-vector product to show that the two definitions are equivalent for size 2ร—2 matrices.

6.

Find the value of a such that

[1221โˆ’13124][1โˆ’1a]=[โˆ—โˆ’5โˆ—]

where โˆ—'s represent unknown values.

7.

Suppose we have

[1212โˆ’1231231a][12โˆ’23]=[b1b2b3]

where bi's represent unknown values.

(a)

In order to find the value of a, which of the bi's do we need to know? Why?

(b)

Suppose the bi(s) that we need to know is(are) equal to 9. What is the value of a?

8.

Suppose we are given

Au=[11] and Av=[13]

for an unknown A and two unknown vectors u,v in R3. Using matrix-vector product properties, evaluate Aw where w=2uโˆ’3v.

9.

Suppose we are given

A[121]=[11] and A[102]=[02].

After expressing [โˆ’16โˆ’5] as a linear combination of [121] and [102], use the matrix-vector product properties to determine A[โˆ’16โˆ’5].

10.

(a)

The non-homogeneous system (with unknown constants a and b)

x+yโˆ’z=22x+ay+bz=4

has a solution which lies on the x-axis (i.e. y=z=0). Find this solution.

(b)

If the corresponding homogeneous system

x+yโˆ’z=02x+ay+bz=0

has its general solution expressed in parametric vector form as zโ‹…[011], find the general solution for the non-homogeneous system using your answer to part (a).

(c)

Find the conditions on a and b that make the system from (a) have the general solution you found in (b).

11.

Find the general solution to the non-homogeneous system

xโˆ’2y+z=3โˆ’2x+4yโˆ’2z=โˆ’6.

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 3ร—3 matrix A for which the solution set of Ax=0 is a line, and a 3ร—3 matrix A for which the solution set of Ax=0 is a plane.

13.

Suppose we have three vectors v1,v2 and v3 satisfying v3=2v1โˆ’v2. Let A be the matrix with vectors v1,v2 and v3 as the columns in that order. Find a non-zero x such that Ax=0 using this information.

14.

Label each of the following statements as True or False. Provide justification for your response.

(a) True/False.

If the system Ax=0 has infinitely many solutions, then so does the system Ax=b for any right-hand-side b.

(b) True/False.

If x1 is a solution for Ax=b1 and x2 is a solution for Ax=b2, then x1+x2 is a solution for Ax=b1+b2.

(c) True/False.

If an mร—n matrix A has a pivot in every row, then the equation Ax=b has a unique solution for every b.

(d) True/False.

If an mร—n matrix A has a pivot in every row, then the equation Ax=b has a solution for every b.

(e) True/False.

If A and B are row equivalent matrices and the columns of A span Rm, then so do the columns of B.

(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 Ax=b has a unique solution for some b, then the homogeneous system has only the trivial solution.

(j) True/False.

If A is a 3ร—4 matrix, then the homogeneous equation Ax=0 has non-trivial solutions.

(k) True/False.

If A is a 3ร—2 matrix, then the homogeneous equation Ax=0 has non-trivial solutions.

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.

These assumptions are summarized in Table 5.7.

Table 5.7. Summary of simple three sector economy
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

This model is said to be closed because all good produced are used up within the economy. If there are goods that are not used within the economy the model is said to be open. Open models will be examined later.

The economist's goal is to determine what level of production in each section meets the following requirements:

  • 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 x1 units, the manufacturing output is x2 units, and the household output is x3 units. We represent this data as a production vector [x1x2x3]. To produce a unit of agriculture requires 0.25 units of agriculture, 0.28 units of manufacturing, and 0.27 units of household. If x1 units of agriculture, x2 units of manufacturing, and x3 units of household products are are produced, then agriculture can produce

0.25x1+0.28x2+0.27x3

units. In order to meet the needs of agriculture and for there to be no overproduction, we must then have

0.25x1+0.28x2+0.27x3=x1.

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.

In general, a matrix derived from a table like Table 5.7 is called a consumption matrix, which we will denote as C. (In the example discussed here C=[0.250.280.270.200.600.600.550.120.13].) A consumption matrix C=[cij], where cij represents the proportion of the output of sector j that is consumed by sector i, satisfies two important properties.

  • Since no sector can consume a negative amount or an amount that exceeds the output of another sector, we must have 0โ‰คcijโ‰ค1 for all i and j.

  • If there are n sectors in the economy, the fact that all output is consumed within the economy implies that c1j+c2j+โ‹ฏ+cnj=1. In other words, the column sums of C are all 1.

In our example, if we let x=[x1x2x3], then we can write the equations that guarantee that the production levels satisfy the two economists' goal in matrix form as

(5.5)x=Cx.

Now we can rephrase the question to be answered as which production vectors x satisfy equation (5.5). When Cx=x, then the system is in equilibrium, that is output exactly meets needs. Any solution x that satisfies (5.5) is called a steady state solution.

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.

So far, we considered the case where the economic system was closed. This means that the industries that were part of the system sold products only to each other. However, if we want to represent the demand from other countries, from households, capital building, etc., we need an open model. In an article in the Scientific American Leontief organized the 1958 American economy into 81 sectors. The production of each of these sectors relied on production from the all of the sectors. Here we present a small sample from Leontief's 81 sectors, using Petroleum, Textiles, Transportation, and Chemicals as our sectors of the economy. Leontief's model assumed that the production of 1 unit of output of

  • 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.

A summary of this information is in Table 5.8. Assume the units are measured in dollars.

Table 5.8. Summary of four sector economy
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

In the open model, there is another part of the economy, called the open sector, that does not produce goods or services but only consumes them. If this sector (think end consumers, for example) demands/consumes d1 units of Petroleum, d2 units of Textiles, d3 units of Transportation, and d4 units of Chemicals, we put this into a final demand vector d=[d1d2d3d4].

An economist would want to find the production level where the demand from the good/service producing sectors of the economy plus the final demand from the open sector exactly matches the output in each of the sectors. Let x1 represent the number of units of petroleum output, x2 the number of units of textiles output, x3 the number of units of transportation output, and x4 the number of units of chemical output during any time period. Then the production vector is x=[x1x2x3x4]. So an economist wants to find the production vectors x such that

0.10x1+0.20x3+0.40x4+d1=x10.40x1+0.10x2+0.15x3+0.30x4+d2=x20.60x1+0.10x3+0.25x4+d3=x30.20x1+0.10x2+0.30x3+0.20x4+d4=x4,

where d=[d1d2d3d4] is the demand vector from the open market. The matrix

E=[0.100.000.200.400.400.100.150.300.600.000.100.250.200.100.300.20]

derived from Table 5.8, is called the exchange matrix.

Project Activity 5.8.

(a)

Suppose the final demand vector in our four sector economy is [500200400100]. Find the production levels that satisfy our system.

(b)

Does this economy defined by the exchange matrix E have production levels that exactly meet internal and external demands regardless of the external demands? That is, does the system of equations

0.10x1+0.20x3+0.40x4+d1=x10.40x1+0.10x2+0.15x3+0.30x4+d2=x20.60x1+0.10x3+0.25x4+d3=x30.20x1+0.10x2+0.30x3+0.20x4+d4=x4

have a solution regardless of the values of d1, d2, d3, and d4? Explain.

Technically, the rows of A are made from the entries of the row vectors, but we use this notation as a shorthand.
Note that some authors refer to the scalar product as the dot product.
We can identify a 1ร—n matrix u=[u1 u2 โ€ฆ un] with the nร—1 vector u=[u1u2โ‹ฎun], so we ofter refer to [u1 u2 โ€ฆ un] as a vector.