INTRODUCTION TO MATRICES
A vendor sells hot dogs and corn dogs at three different locations. His total sales (in hundreds) for January and February from the three locations are given in the table below.
Represent these tables as
matrices
and
, and answer,,, and. problems 1 - 4.
Determine total sales for the two months, that is, find
.
Find the difference in sales,
.
If hot dogs sell for $3 and corn dogs for $2, find the revenue from the sale of hot dogs and corn dogs. Hint: Let
be a
matrix. Find
.
If March sales will be up from February by 10%, 15%, and 20% at Place I, Place II, and Place III, respectively, find the expected number of hot dogs, and corn dogs to be sold in March. Hint: Let
be a
matrix with entries 1.10, 1.15, and 1.20. Find
.
Determine the sums and products in the next 5 problems. Given the matrices
,
,
, and
as follows:
Let
and
, find
.
Let
, find
.
Express the following systems as
, where
,
, and
are matrices.
SYSTEMS OF LINEAR EQUATIONS
Solve the following by the Gauss-Jordan Method. Show all work.
Two apples and four bananas cost $2.00 and three apples and five bananas cost $2.70. Find the price of each.
A bowl of corn flakes, a cup of milk, and an egg provide 16 grams of protein. A cup of milk and two eggs provide 21 grams of protein, and two bowls of corn flakes with two cups of milk provide 16 grams of protein. How much protein is provided by one unit of each of these three foods.
SYSTEMS OF LINEAR EQUATIONS – SPECIAL CASES
Solve the following inconsistent or dependent systems by using the Gauss-Jordan method.
The sum of the digits of a two digit number is 9. The sum of the number and the number obtained by interchanging the digits is 99. Find the number.
Inconsistent system, no solution
Jessica has a collection of 15 coins consisting of nickels, dimes and quarters. If the total worth of the coins is $1.80, how many are there of each? Find all three solutions.
The latest reports indicate that there are altogether 20,000 security, logistics, and medical personnel deployed on a multinational mission. The sum of the number of medical personnel and twice the security personnel equals 10,000. Furthermore, there are 5,000 more security personnel than logistics personnel. Are these reports consistent?
No, they are not consistent.
Find three solutions to the following system of equations.
(5, 3, 1), (4, 3, 2) (3, 3, 3)
For what values of
the following system of equations have a). No solution? b). Infinitely many solutions?
(
,
,
)
Why is it not possible for a linear system to have exactly two solutions? Explain geometrically.
INVERSE MATRICES
In the next two problems, verify that the given matrices are inverses of each other.
In the following problems, find the inverse of each matrix by the row-reduction method.
In the following problems, first express the system as AX = B, and then solve using matrix inverses found in the preceding four problems.
Why is it necessary that a matrix be a square matrix for its inverse to exist? Explain by relating the matrix to a system of equations.
If a matrix
has an inverse, then the system of linear equations that has
as its coefficient matrix has a unique solution. If a system of linear equations has a unique solution, then the number of equations must be the same as the number of variables. Therefore, the matrix that represents its coefficient matrix must be a square matrix.
Suppose we are solving a system
by the matrix inverse method, but discover
has no inverse. How else can we solve this system? What can be said about the solutions of this system?
APPLICATION OF MATRICES IN CRYPTOGRAPHY
In the following problems, the letters A to Z correspond to the numbers 1 to 26, as shown below, and a space is represented by the number 27.
In the next two problems, use the matrix A, given below, to encode the given messages.
In the two problems following, decode the messages that were encoded using matrix A.
Make sure to consider the spaces between words, but ignore all punctuation. Add a final space if necessary.
Encode the message: WATCH OUT!
Encode the message: HELP IS ON THE WAY.
Decode the following message:
64 23 102 41 82 32 97 35 71 28 69 32
Decode the following message:
105 40 117 48 39 19 69 32 72 27 37 15 114 47
In the next two problems, use the matrix B, given below, to encode the given messages.
In the two problems following, decode the messages that were encoded using matrix
.
Make sure to consider the spaces between words, but ignore all punctuation. Add a final space(s) if necessary.
Encode the message using matrix
:
LUCK IS ON YOUR SIDE.
Encode the message using matrix
:
MAY THE FORCE BE WITH YOU.
Decode the following message that was encoded using matrix B:
8 23 7 4 47 –2 15 102 –12 20 58 15 27 80 18 12 74 –7
Decode the following message that was encoded using matrix B:
12 69 –3 11 53 9 5 46 –10 18 95 –9 25 107 4 27 76 22 1 72 –26
APPLICATIONS – LEONTIEF MODELS
Solve the following homogeneous system.
(
,
,
)
Solve the following homogeneous system.
Chris and Ed decide to help each other by doing repairs on each others houses. Chris is a carpenter, and Ed is an electrician. Chris does carpentry work on his house as well as on Ed's house. Similarly, Ed does electrical repairs on his house and on Chris' house. When they are all finished they realize that Chris spent 60% of his time on his own house, and 40% of his time on Ed's house. On the other hand Ed spent half of his time on his house and half on Chris's house. If they originally agreed that each should get about a $1000 for their work, how much money should each get for their work?
,
Chris, Ed, and Paul decide to help each other by doing repairs on each others houses. Chris is a carpenter, Ed is an electrician, and Paul is a plumber. Each does work on his own house as well as on the others houses. When they are all finished they realize that Chris spent 30% of his time on his own house, 40% of his time on Ed's house, and 30% on Paul's house. Ed spent half of his time on his own house, 30% on Chris' house, and remaining on Paul's house. Paul spent 40% of the time on his own house, 40% on Chris' house, and 20% on Ed's house. If they originally agreed that each should get about a $1000 for their work, how much money should each get for their work?
Given the internal consumption matrix
, and the external demand matrix
as follows.
Solve the system using the open model:
or
Given the internal consumption matrix
, and the external demand matrix
as follows.
Solve the system using the open model:
or
An economy has two industries, farming and building. For every $1 of food produced, the farmer uses $.20 and the builder uses $.15. For every $1 worth of building, the builder uses $.25 and the farmer uses $.20. If the external demand for food is $100,000, and for building $200,000, what should be the total production for each industry in dollars?
An economy has three industries, farming, building, and clothing. For every $1 of food produced, the farmer uses $.20, the builder uses $.15, and the tailor $.05. For every $1 worth of building, the builder uses $.25, the farmer uses $.20, and the tailor $.10. For every $1 worth of clothing, the tailor uses $.10, the builder uses $.20, the farmer uses $.15. If the external demand for food is $100 million, for building $200 million, and for clothing $300 million, what should be the total production for each in dollars?
Suppose an economy consists of three industries
,
, and
. The following table gives information about the internal use of each industry's production and external demand in dollars.
Find the proportion of the amounts consumed by each of the industries; that is, find the matrix
.
If in the preceding problem, the consumer demand for
,
, and
becomes 60, 80, and 100, respectively, find the total output and the internal use by each industry to meet that demand.
CHAPTER REVIEW
To reinforce her diet, Mrs. Tam bought a bottle containing 30 tablets of Supplement
and a bottle containing 50 tablets of Supplement
. Each tablet of supplement
contains 1000 mg of calcium, 400 mg of magnesium, and 15 mg of zinc, and each tablet of supplement
contains 800 mg of calcium, 500 mg of magnesium, and 20 mg of zinc.
Represent the amount of calcium, magnesium and zinc in each tablet as a
matrix.
Represent the number of tablets in each bottle as a row matrix.
Use matrix multiplication to determine the total amount of calcium, magnesium, and zinc in both bottles.
-
-
Let matrix
and
. Find the following.
-
Let matrix
and
. Find the following.
-
Let matrix
and
. Find the following.
-
Let matrix
and
. Find the following.
-
Solve the following systems using the Gauss-Jordan Method.
An apple, a banana and three oranges or two apples, two bananas, and an orange, or four bananas and two oranges cost $2. Find the price of each.
Apple = $.50; banana = $.30; orange = $.40
Solve the following systems. If a system has an infinite number of solutions, first express the solution in parametric form, and then determine one particular solution.
,
,
; (5, 0, 1)
no solution
Elise has a collection of 12 coins consisting of nickels, dimes and quarters. If the total worth of the coins is $1.80, how many are there of each? Find all possible solutions.
,
,
;
,
,
Solve the following systems. If a system has an infinite number of solutions, first express the solution in parametric form, and then find a particular solution.
,
,
; (4, 0, 3)
,
,
; (1, 1, 1)
Solve the following systems. If a system has an infinite number of solutions, first express the solution in parametric form, and then provide one particular solution.
,
,
; (1, 2, 2)
no solution
Find the inverse of the following matrices.
Solve the following systems using the matrix inverse method.
Use matrix
, given below, to encode the following messages. The space between the letters is represented by the number 27, and all punctuation is ignored.
- TAKE IT AND RUN.
- GET OUT QUICK.
Decode the following messages that were encoded using matrix
in the above problem.
44, 71, 15, 18, 27, 1, 68, 82, 27, 69, 76, 27, 19, 33, 9
37, 64, 15, 36, 54, 15, 67, 75, 20, 59, 66, 27, 39, 43, 12
-
NO PAIN NO GAIN
- GO FOR THE GOLD
Chris, Bob, and Matt decide to help each other study during the final exams. Chris's favorite subject is chemistry, Bob loves biology, and Matt knows his math. Each studies his own subject as well as helps the others learn their subjects. After the finals, they realize that Chris spent 40% of his time studying his own subject chemistry, 30% of his time helping Bob learn chemistry, and 30% of the time helping Matt learn chemistry. Bob spent 30% of his time studying his own subject biology, 30% of his time helping Chris learn biology, and 40% of the time helping Matt learn biology. Matt spent 20% of his time studying his own subject math, 40% of his time helping Chris learn math, and 40% of the time helping Bob learn math. If they originally agreed that each should work about 33 hours, how long did each work?
As in the previous problem, Chris, Bob, and Matt decide to not only help each other study during the final exams, but also tutor others to make a little money. Chris spends 30% of his time studying chemistry, 15% of his time helping Bob with chemistry, and 25% helping Matt with chemistry. Bob spends 25% of his time studying biology, 15% helping Chris with biology, and 30% helping Matt. Similarly, Matt spends 20% of his time on his own math, 20% helping Chris, and 20% helping Bob. If they spend respectively, 12, 12, and 10 hours tutoring others, how many total hours are they going to end up working?
Adapted from Applied Finite Mathematics by Rupinder Sekhon (De Anza College), originally published by OpenStax CNX (cnx.org, collection col10613), licensed under CC BY 3.0. Changes were made. License: CC-BY-3.0.