Documente Academic
Documente Profesional
Documente Cultură
Learning objectives
The primary focus of this chapter is on tools from linear algebra that we
require to develop some methods in multidimensional differential calculus.
These tools will also permit us to analyze certain systems of differential
equations. In particular we will learn how to
• calculate determinants,
Two different species of insects are reared together in a laboratory cage. They
are supplied with two different types of food each day. Each individual of
species 1 consumes 5 units of food A and 3 units of food B, whereas each
individual of species 2 consumes 2 units of food A and 4 units of food B, on
average, per day. Each day, a lab technician supplies 900 units of food A and
960 units of food B (all of which is consumed). How many of each species
are reared together?
234 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
food A: 5x + 2y = 900 Ax + By = C
C
B
food B: 3x + 4y = 960
Ax + By = C, y
where A, B, and C are constants, A and B are not both equal to 0, and x and
y are the two variables. The graph of this equation is a straight line (see
Figure 9.1). Any point (x, y) on this straight line satisfies (or solves) the
equation Ax + By = C. If we extend this situation to more than one equation,
we call the resulting set of equations a system of linear equations. In the case
of two linear equations in two variables, the system is of the form x
Ax + By = C
(9.1) Figure 9.2: The two lines have exactly one
Dx + Ey = F point of intersection.
y
where A, B, C, D, E, and F are constants and x and y are the two variables.
(We require that A and B and that D and E are not both equal to 0.) When
we say that we “solve” equation (9.1) for x and y we mean that we find
an ordered pair (x, y) that satisfies each equation in the system. Because
each equation in (9.1) describes a straight line, we are therefore asking for
the point of intersection of these two lines. The following three cases are
x
possible:
1. The two lines have exactly one point of intersection. In this case, the Figure 9.3: The two lines are parallel but do
system (9.1) has exactly one solution, as illustrated in Figure 9.2. not intersect.
y
2. The two lines are parallel and do not intersect. In this case, the system
(9.1) has no solution, as illustrated in Figure 9.3.
3. The two lines are parallel and intersect (i.e. they are the same line). In this
case, the system (9.1) has infinitely many solutions—namely, each point
on the line, as illustrated in Figure 9.4.
x
2x + 3y = 6
(9.2)
2x + y = 4
Solution. To solve this system we solve each equation for y to get a new set
of equations
y = 2 − 23 x
y = 4 − 2x
Now setting the right hand sides equal to each other, we obtain
2 − 23 x = 4 − 2x
4
3x =2
3
x= 2
To find y, we substitute the value of x back into one of the two original
equations (say, 2x + y = 4; it does not matter which one you choose). Then
y = 4 − 2x = 4 − (2)( 32 ) = 1 y
4 2x + y = 4
and the solution is the point ( 32 , 1). Looking at Figure 9.5,we see that the two 2x + 3y = 6
3
lines have exactly one point of intersection. This is so because the lines have
different slopes: − 23 and −2, respectively. The point of intersection is ( 32 , 1) 2
Solution. As before we solve each equation for y to get a new set of equa-
tions
y = 4 − 2x
y = 3 − 2x
it follows immediately that both lines have the same slope, namely −2, but
different y-intercepts: 4 and 3, respectively. This implies that the two lines are
parallel and do not intersect.
Let’s see what happens when we solve the system of equations. If we take
the two equations y = 4 − 2x and y = 3 − 2x and set the right hand sides equal
to one another we get the equation
4 − 2x = 3 − 2x,
which simplifies to
4 = 3,
y
236 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
4 2x + y = 4
2x + y = 3
which obviously has no solution. We conclude that there is no point (x, y)
2
that satisfies both equations in system (9.3) simultaneously.
Looking at Figure 9.6 gives us a geometric understanding. The two lines
coming from our equations are parallel but distinct so they never intersect. It x
−1 1 2 3
follows that there are no solutions to the system.
Figure 9.6: The two lines are parallel but do
not intersect.
Example 9.3 (Infinitely Many Solutions.) Find the solution of
2x + y = 4
(9.4)
4x + 2y = 8
y = 4 − 2x
for both equations. We could follow the same pattern as before and eliminate
y to get the equation
4 − 2x = 4 − 2x.
But this simplifies 0 = 0 which is just a true statement. It follows that any
valu of x is part of a solution. A convenient way to write the solution is to
introduce a new variable, say t, to denote the x-coordinate. The new variable
t can take on any real number. To find the corresponding y-coordinate, we
substitute t in for x:
y = 4 − 2x = 4 − 2t.
This reflects the fact that the system (9.4) has infinitely many solutions, as 4 2x + y = 4
expected from graphical considerations. (Since both lines are the same, every 4x + 2y = 8
point on the line is a solution to both, as reflected in the one line visible in
Figure 9.7). 2
A solution method
The graphical and algebraic way of solving systems of linear equations we
have employed so far works only for systems of two variables. To solve
systems of m linear equations in n variables, we will need to develop a
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 237
method that will work for a system of any size. The basic strategy will be
to transform the system of linear equations into a new system of equations
that has the same solutions as the original . The new system is called an
equivalent system. It will be of a simpler form, so that we can solve for the
unknown variables one by one and thus arrive at a solution. We illustrate
this approach in the next example. We tag all equations with labels of the
form (Ri ); Ri stands for ith row. The labels will allow us to keep track of our
computations.
3x + 2y = 8 (R1 )
2x + 4y = 5 (R2 )
Solution. There are two basic operations that transform a system of linear
equations into an equivalent system:
1. Multiply an equation by a nonzero number
−8y = 1.
y = − 18 .
Substituting this value into equation (R3 ) and solving for x, we find that
3x + (2)(− 18 ) = 8
3x = 8 + 14
11
x= 4
4 , − 8 ).
The solution is therefore ( 11
1
When we look at equations (R3 ) and (R4 ), we see that the left-hand side
has the shape of a triangle:
238 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
∗x + ∗y = ∗
∗y = ∗
Solving systems
We now extend the solution method employed in the examples to systems of
m equations in n variables. We will write such systems in the form
2. No solutions
−4y + 9z = 19.
(R1 ) 3x + 5y − z = 10 (R4 )
2(R1 ) − 3(R2 ) 13y − −11z = −7 (R5 )
2(R2 ) − (R3 ) − 4y + 9z = 19 (R6 )
Our next step is to eliminate y from (R6 ). To do this, we multiply (R5 ) by 4
and (R6 ) by 13:
73z = 219.
We leave the first two equations unchanged. The new (equivalent) system of
equations is thus
(R4 ) 3x + 5y − z = 10 (R7 )
( R5 ) 13y − 11z = −7 (R8 ) (9.6)
4(R5 ) + 13(R6 ) 73z = 219 (R9 )
240 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
The system of equations is now in upper triangular form, as can be seen from
its shape. We use back-substitution to find the solution. Solving equation
(R9 ) for z yields
z = 219
73 = 3.
Solving (R8 ) for y and substituting the value of z gives
x = 13 (10 − 5y + z)
= 13 (10 − 5(2) + 3)
= 1.
Hence the solution is x = 1, y = 2, and z = 3.
In the previous example, when we eliminate variables, we have a choice in
how to do this.
x − 3y + z = 4 ( R1 )
x − 2y + 3z = 6 (R2 )
2x − 6y + 2z = 8 (R3 )
Solution. We proceed as in the preceding examples. The first step is to
eliminate terms involving x from the second and third equations. We leave the
first equation unchanged. We replace the second equation by the difference of
the first and second equations. We replace the third equation by the difference
of the first and third equations after dividing the third equation by 2. We find
that
(R1 ) x − 3y + z = 4 (R4 )
(R2 ) − (R1 ) y + 2z = 2 (R5 )
(R1 ) − 12 (R3 ) 0z = 0 (R6 )
The third equation 0z = 0 is true for any value of z so this is automatically
true. So, we can introduce any value for z and still solve the problem. We
introduce the dummy variable t and set
z = t.
If we solve (R5 ) for y and substitute z = t into the resulting equation, we get
y = 2 − 2z = 2 − 2t.
x = 4 + 3y − z
= 4 + 3(2 − 2t ) − t
= 10 − 7t.
The elements ai j of the matrix A are called entries. If the matrix has m rows
and n columns, it is called a m × n matrix.
Example 9.8 Find the augmented matrix for the system given in Example
9.5, and solve the system by using the augmented matrix.
Our goal is to transform the augmented matrix into the simpler, upper trian-
gular form in which all of the entries below the diagonal are zero. We use
the same basic transformations as before and you should compare the steps
that follow with the steps in Example 9.5. We indicate on the left side of the
matrix the transformation that we used, and we relabel the rows on the right
side of the matrix:
⎡ ⎤
(R1 ) 3 5 −1 10 (R4 )
⎢ ⎥
2(R1 ) − 3(R2 ) ⎣0 13 −11 −7⎦ (R5 )
2(R2 ) − (R3 ) 0 −4 9 19 (R6 )
That is, we copied row 1, which we now call row 4: to get the second row,
we multiplied the first row by 2 and the second row by 3 and then took the
difference (2(R1 ) − 3(R2 )), calling the resulting row (R5 ), and so on.
The next step is to eliminate the −4 in (R6 ). We find that
⎡ ⎤
(R4 ) 3 5 −1 10
⎢ ⎥
(R5 ) ⎣0 13 −11 −7⎦
4(R5 ) + 13(R6 ) 0 0 73 219
This is now the augmented matrix for the system of linear equations in
Equation (9.6), and we can proceed as in that example to solve the system by
back-substitution.
So far, all of the systems that we have considered have had the same
number of equations as variables. This need not be the case however. When a
system has fewer equations than variables we say that it is underdetermined.
Although underdetermined systems can be inconsistent (have no solutions),
they frequently have infinitely many solutions. When a system has more
equations than variables, we say that it is overdetermined. Overdetermined
systems are frequently inconsistent.
In Example 9.9 we will look at an underdetermined system, and in Exam-
ple 9.10 an overdetermined system.
2x + 2y − z = 1 (R1 )
2x − y + z = 2 (R2 )
Solution. The system has fewer equations than variables and is therefore
underdetermined. We use the augmented matrix
2 2 −1 1 (R1 )
2 −1 1 2 (R2 )
to solve the system. Transforming the augmented matrix into upper triangular
form, we find that
(R1 ) 2 2 −1 1
(R1 ) − (R2 ) 0 3 −2 −1
244 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
2x + 2y − z = 1
3y − 2z = −1
2x − y = 1 (R1 )
x + y = 2 (R2 )
x − y = 3 (R3 )
Solution. The system has more equations than variables and is therefore
overdetermined. To solve it, we write
(R1 ) 2x − y = 1 (R4 )
2(R2 ) − (R1 ) 3y = 3 (R5 )
(R2 ) − (R3 ) 2y = −1 (R6 ) y
4
It follows from (R6 ) that y = − 12 and from (R5 ) that y = 1. Since 1 = − 12 , x+y =2
there cannot be a solution. The system is inconsistent. In this example, we x−y =3 2
2x − y = 1
can show that the system is inconsistent if we graph the three straight lines
x
represented by (R1 ), (R2 ), and (R3 ) as in Figure 9.8. −4 −2 2 4
In order for the system to have soutions, the three lines would need to −2
Example 9.11 (More Dummy Variables.) Solve Figure 9.8: The straight lines in Exam-
ple 9.10 do not intersect in one point.
3x − 3y + 6z = 9 ( R1 )
−x + y − 2z = −3 (R2 )
Solution. We see that (R1 ) = −3(R2 ). Thus, eliminating the variable x from
(R2 ) yields
(R1 ) 3x − 3y + 6z = 9
(R1 ) + 3(R2 ) 0z = 0
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 245
3x = 9 + 3s − 6t,
so
x = 3 + s − 2t.
The solution is the set of all points of the form
9.2 Matrices
We will also use the shorthand notation A = [ai j ] if the size of the matrix is
clear. We list a few simple definitions that do not need much explanation.
Definition 9.2 Suppose that A = [ai j ] and B = [bi j ] are two m × n matrices.
Then
A=B
if and only if, for all 1 ≤ i ≤ m and 1 ≤ j ≤ n,
ai j = bi j .
This definition says that we can compare matrices of the same size, and
they are equal if all their corresponding entries are equal. The next definition
shows how to add matrices.
Definition 9.3 Suppose that A = [ai j ] and B = [bi j ] are two m × n matrices.
Then
C = A+B
is an m × n matrix with entries
ci j = ai j + bi j for 1 ≤ i ≤ m, 1 ≤ j ≤ n.
246 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
Note that addition is defined only for matrices of equal size. Matrix
addition satisfies the following two properties:
1. A + B = B + A,
2. (A + B) + C = A + (B + C ).
The matrix with all its entries equal to zero is called the zero matrix and
is denoted by 0. The following holds:
A + 0 = A.
Solution.
2 3 0 1 1 0
A + 2B − 3C = +2 −3
1 0 −1 −3 0 3
2 3 0 2 −3 0
= +
1 0 −2 −6 0 −9
2+0−3 3+2+0
=
1−2+0 0−6−9
−1 5
= .
−1 −15
Find B so that
1 1
A+B = .
1 1
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 247
1 1
Solution. If A + B = then we have
1 1
1 1
B= −A
1 1
1 1 1 3
= −
1 1 0 4
0 −2
= .
1 −3
Matrix multiplication
The multiplication of two matrices is much more complicated than any
operations we learned earlier in the chapter. We give the full definition first.
for 1 ≤ i ≤ m and 1 ≤ j ≤ n.
For instance, to find c11 , we multiply the first row of A with the first column
of B as follows:
⎡ ⎤
1
⎢ ⎥
c11 = 1 2 3 ⎣ 0⎦ = (1)(1) + (2)(0) + (3)(−1) = −2.
−1
You can see from this calculation that the number of columns of A must be
equal to the number of rows of B. Otherwise we would run out of numbers
when multiplying the corresponding entries.
To find c23 we multiply the second row of A by the third column of B:
⎡ ⎤
3
⎢ ⎥
c23 = −1 0 4 ⎣ 4⎦ = (−1)(3) + (0)(4) + (4)(−2) = −11.
−2
The other entries are obtained in a similar way, and we find that
−2 0 5 0
C= .
−5 −2 −11 7
In multiplying matrices, the order is important. For instance BA is not even
defined for the two matrices from the previous example, since the number of
columns of B (which is 4) is different from the number of rows of A (which is
2). From this, it should be clear that typically AB = BA. Even if both AB and
BA exist, the resulting matrices are usually not the same. They can differ in
both the number of rows and columns and in the actual entries. The next two
examples illustrate this key point.
Solution. A and B are both 2 × 2 matrices, so AB and BA both exist and both
are 2 × 2 matrices. We find that
0 0 −2 1
AB = and BA = .
0 0 −4 2
Since the entries in AB are not the same as BA, it follows that AB = BA.
The product AB in the previous example resulted in a matrix with all
entries equal to 0. Earlier we called this the zero matrix and denoted it by
0. This example illustrates that a product of two matrices can be the zero
matrix without either matrix being the zero matrix. This is an important
fact and is different from multiplying real numbers. When multiplying two
real numbers, we know that if the product is equal to 0, at least one of the
two factors must have been equal to 0. This rule, however, does not hold
for matrix multiplication; if A and B are two matrices whose product AB is
defined, then the product AB can be equal to the zero matrix 0 without either
A or B being equal to 0.
The following properties of matrix multiplication assume that all matrices
are of appropriate sizes so that all of these matrix multiplications are defined:
1. (A + B)C = AC + BC,
2. A(B + C ) = AB + AC,
3. (AB)C = A(BC ),
4. A0 = 0A = 0.
(We will practice applying these properties in the problems at the end of the
section.)
250 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
Next, we note that if A is a square matrix (i.e. if A has the same number of
rows as columns), we can define powers of A: If k is a positive integer, then
Ak = AA · · · A .
k
and
3 1 2 2 7 10 37 54
A = AA = = .
3 4 15 22 81 118
An important square matrix is the identity matrix, denoted by In . The
identity matrix is an n × n matrix with 1’s on the diagonal and 0’s elsewhere;
that is ⎡ ⎤
1 0 0 ··· 0
⎢ ⎥
⎢0 1 0 · · · 0⎥
In = ⎢
⎢ .. .. .. .. .. ⎥
⎥.
⎣. . . . .⎦
0 0 0 ··· 1
For instance,
⎡ ⎤
1 0 0
1 0 ⎢ ⎥
I1 = [1] , I2 = , I3 = ⎣0 1 0⎦ .
0 1
0 0 1
(We frequently write I instead of In if the size of the matrix is clear from
context.) The identity matrix serves the same role as the number 1 in the
multiplication of real numbers: If A is an m × n matrix, then
AIn = Im A = A.
AX − I2 X = 0.
(A − I2 )X = 0.
Observe again that we multiplied X from the left by A − I2 . We are not allowed
to reverse the order. (In fact, here the product X (A − I2 ) is not even defined.)
There is a close connection between systems of linear equations and
matrices: The system of linear equations
⎡ ⎤
a11 a12 · · · a1n b1
⎢ ⎥
⎢ a21 a22 · · · a2n b2 ⎥
⎢ . .. ⎥
⎢ . .. .. .. ⎥
⎣ . . . . . ⎦
am1 am2 · · · amn bm
can be written in the matrix form
AX = B,
with
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
a11 a12 · · · a1n x1 b1
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎢ 21
a a22 · · · a2n ⎥ ⎢ 2⎥
x ⎢b2 ⎥
A=⎢
⎢ .. .. .. .. ⎥
⎥, X =⎢ ⎥
⎢ .. ⎥ , B=⎢ ⎥
⎢ .. ⎥ .
⎣ . . . . ⎦ ⎣.⎦ ⎣.⎦
am1 am2 · · · amn xn bn
Example 9.19 (Matrix representations of linear systems.) Write
AX = B, (9.7)
5x = 10
for x, we simply divide both sides by 5 or, equivalently, multiply both sides
by 15 = 5−1 to obtain
5−1 · 5x = 5−1 · 10.
Since 5−1 · 5 = 1 and 5−1 · 10 = 2 we find that x = 2. To solve (9.7), we
therefore need an operation that is analogous to division, or multiplication
by the “reciprocal” of A. We will define a matrix A−1 that will serve this
function. It is called the inverse matrix of A. If this inverse matrix A−1
exists, then we can multiply both sides of equation (9.7) on the left by A−1 to
obtain
A−1 AX = A−1 B.
In order for the inverse matrix to have the same effect as multiplying a
number by its reciprocal, it should have the property that A−1 A = I, where I is
the identity matrix. The solution would then be of the form
X = A−1 B.
AB = BA = In ,
The first statement says that if we apply the inverse operation twice, we
get the original matrix back. This property is familiar from dealing with real
numbers: Take the number 2; its inverse is 2−1 = 12 . If we take the inverse
of 12 , we get 2 again. To see why this analogous property holds for matrices,
assume that A is an n × n matrix with inverse A−1 . Then by definition
AA−1 = A−1 A = In .
But this equation also says that A is the inverse matrix of A−1 ; that is A =
(A−1 )−1 . To see why the second statement is true, we must verify that
and
(B−1 A−1 )(AB) = B−1 (A−1 A)B = B−1 In B = B−1 B = In .
For matrices of size 3 × 3 and larger it is a cumbersome and complicated
process to compute the inverse. However checking if two matrices are
inverses of one another is relatively straightforward as evidenced by the
following example.
AB = I3 and BA = I3 .
Therefore, B = A−1 .
Next we compute the inverse of a 2 × 2 matrix.
such that AB = I2 . We will then check that BA = I2 and hence, that B is the
inverse of A. We must solve
2 5 b11 b12 1 0
= ,
1 3 b21 b22 0 1
or equivalently,
A−1 AX = A−1 B.
X = A−1 B.
We will use this equation to redo Example 9.5 from Section 9.1.
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 255
3x + 5y − z = 10
2x − y + 3z = 9
4x + 2y − 3z = −1
We set ⎡ ⎤
10
⎢ ⎥
B = ⎣ 9⎦ ,
−1
and compute A−1 B. We find that
⎡ ⎤ ⎡ ⎤
10 1
−1 ⎢ ⎥ ⎢ ⎥
A ⎣ 9⎦ = ⎣2⎦ .
−1 3
Solving this equation for b21 , we first factor b21 on the left hand side. This
yields
(a11 a22 − a12 a21 )b21 = −a21 .
If a11 a22 − a12 a21 = 0, we can isolate b21 :
a21
b21 = − .
a11 a22 − a12 a21
Substituting b21 into (R1 ) and solving for b11 we obtain for a11 = 0
1
b11 = (1 − a12 b21 )
a11
1 −a12 a21
= 1−
a11 a11 a22 − a12 a21
1 a11 a22
=
a11 a11 a22 − a12 a21
a22
= .
a11 a22 − a12 a21
When a11 = 0 the final result also holds. So, in solving 9.9 we find that
−a12
b12 = ,
a11 a22 − a12 a21
a11
b22 = .
a11 a22 − a12 a21
A similar analysis for system 9.10 yields the following important property.
a11 a12
Inverting 2 × 2 matrices. If A = and a11 a22 − a12 a21 = 0, then
a21 a22
A is invertible and has inverse
−1 1 a22 −a12
A = .
a11 a22 − a12 a21 −a21 a11
The expression a11 a22 − a12 a21 is extremely significant and prompts the
following definition.
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 257
a11 a12
Definition 9.7 If A = , the determinant of A is defined to be
a21 a22
a a12
11
det A = = a11 a22 − a12 a21 .
a21 a22
det A = |a| = a.
Note that |a| here does not denote the absolute value of a.
It is worth stressing that det A is always a number.
⎡ ⎤
a11 a12 a13
⎢ ⎥
Definition 9.8 If A = ⎣a21 a22 a23 ⎦, then the determinant of the 3 × 3
a31 a32 a33
matrix A is defined to be
a
11 a12 a13 a a a
22 a23 21 a23 21 a22
det A = a21 a22 a23 = a11 − a12 + a13 .
a32 a33 a31 a33 a31 a32
a31 a32 a33
⎡ −
⎤ − −
a11 a12 a13 a11 a12
⎣a21 a22 a23 ⎦ a21 a22
a31 a32 a33 a31 a32
+ + +
det A = a11 a22 a33 + a12 a23 a31 + a13 a21 a32
− a31 a22 a13 − a32 a23 a11 − a33 a21 a12 .
258 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
Following the second approach, we adjoin to A its first two columns and
compute the six indicated products:
⎡ ⎤− − −
5 −3 2 5 −3
⎣1 0 2⎦ 1 0
2 −1 3 2 −1
+ + +
Adding the three products at the bottom and subtracting the three products
at the top gives
as before.
The determinant can be defined for any n × n matrix, but we will not give
the general formula, which is computationally complicated for n > 3. But we
mention the following result, which allows us to determine whether or not an
n × n matrix has an inverse.
Determinants and singularity. An n × n matrix is invertible if and only if
det A = 0.
Solution.
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 259
Therefore, C is invertible.
AX = B.
0
We say that is a trivial solution. This is the only solution to AX = 0 when
0
A is invertible. If A is not invertible, then there may be nonzero solutions to
the equation AX = 0 and we call any such solution a nontrivial solution. For
the special case of square matrices, the existence of nontrivial solutions is
equivalent to singularity.
AX = 0
a 6
Example 9.25 (Nontrivial solutions.) Let A = . Determine a so
3 2
that AX = 0 has at least one nontrivial solution, and find at least one such
nontrivial solution.
260 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
det A = 2a − 18.
9x1 + 6x2 = 0
3x1 + 2x2 = 0
We see that the first equation is three times the second equation. We can
therefore simplify the system to obtain
3x1 + 2x2 = 0
0=0
This system has infinitely many solutions. Using a new dummy variable t
we may let x2 = t. Then by the first equation we have x1 = − 23 x2 = − 23 t.
Therefore there are infinitely many solutions to system of equations given by
all (x1 , x2 ) of the form
Inverting 3 × 3 matrices
Inverting 3 × 3 matrices.
3. Perform equivalent operations on the long rows of the new matrix [A|I ]
aimed at constructing “1”s on the diagonal and “0”s otherwise on the
left-hand side.
4. The inverse matrix A−1 appears on the right-hand side of the equivalent
augmented matrix
elementary
[A|I ] −−−−−−−−→ [I|A−1 ].
operations
⎡ ⎤
1 2 −1
⎢ ⎥
A = ⎣2 2 4⎦
1 3 −3
Since det A = 0, we can proceed adjoining the identity matrix I to matrix A and
262 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
This means that A−1 does not exist. But let us still try to follow the proce-
dure:
⎡ ⎤
2 1 −4 1 0 0 (R1 )
⎢ ⎥
[A|I ] = ⎣−4 −1 6 0 1 0⎦ (R2 )
−2 2 −2 0 0 1 (R3 )
⎡ ⎤
2 1 −4 1 0 0 (R4 )
⎢ ⎥
(R2 ) + 2(R1 ) −→ ⎣0 1 −2 2 1 0⎦ (R5 )
(R3 ) + (R1 ) 0 3 −6 1 0 1 (R6 )
⎡ ⎤
2 1 −4 1 0 0
⎢ ⎥
−→ ⎣0 1 −2 2 1 0⎦ .
(R6 ) − 3(R5 ) 0 0 0 −5 −3 1
N (1) = RN (0),
N (2) = RN (1) = R [RN (0)] = R2 N (0),
N (3) = RN (2) = R R2 N (0) = R3 N (0).
N (t ) = Rt N (0).
R>1
R=1
N (0)
0<R<1
t
1 2 3 4 5 6 7 8 9
breeding season, and so on. In our example, we will assume that no individ-
ual lives beyond age 3; that is, there are no individuals age 4 or older in the
population. We define
where t = 0, 1, 2, . . . Then
⎡ ⎤
N0 (t )
⎢N (t )⎥
⎢ 1 ⎥
N (t ) = ⎢ ⎥.
⎣N2 (t )⎦
N3 (t )
is a vector that describes the number of females in each age class at time t.
We assume that 40% of the females age 0, 30% of the females age 1, and
10% of the females age 2 at time t are alive when we take the census at time
t + 1. So:
N1 (t + 1) = (0.4)N0 (t ),
N2 (t + 1) = (0.3)N1 (t ),
N3 (t + 1) = (0.1)N2 (t ).
N0 (t + 1) = 2N1 (t ) + 1.5N2 (t ),
which means that females reach sexual maturity when they are age 1. The
factor 2 in front of N1 (t ) should be interpreted as the average number of
surviving female offspring of a one-year-old female. Similarly, the factor 1.5
in front of N2 (t ) is the average number of surviving female offspring from
a two-year-old female. There is no contribution of three-year-olds to the
newborn class (these individuals are too old to have additional offspring).
We can summarize the dynamics of this model in matrix form:
⎡ ⎤ ⎡ ⎤⎡ ⎤
N0 (t + 1) 0 2 1.5 0 N0 (t )
⎢N (t + 1)⎥ ⎢0.4 0 0⎥ ⎢ ⎥
⎢ 1 ⎥ ⎢ 0 ⎥ ⎢N1 (t )⎥
⎢ ⎥=⎢ ⎥⎢ ⎥. (9.12)
⎣N2 (t + 1)⎦ ⎣0 0.3 0 0⎦ ⎣N2 (t )⎦
N3 (t + 1) 0 0 0.1 0 N3 (t )
The 4 × 4 matrix in this equation is called the Leslie matrix, which we
denote by L. With this we can express (9.12) in the following extremely
compact form:
N (t + 1) = LN (t ).
To see how this equation works, let’s assume that the population at time t
has the following age distribution:
When we take a census after the next breeding season, we find that 40%
of the females aged 0 at time t are alive at time t + 1; that is N1 (t + 1) =
(0.4)(1000) = 400. Also, 30% of the females age 1 at time t are alive at time
t + 1; that is N2 (t + 1) = (0.3)(200) = 60. And 10% of the females age 2 at
time t are alive at time t + 1; so N3 (t + 1) = (0.1)(100) = 10. Finally, the
number of newborns who are age 0 at time t + 1 is given by
We obtain the same result when we use the Leslie matrix (9.12):
⎡ ⎤ ⎡ ⎤⎡ ⎤ ⎡ ⎤ ⎡ ⎤
N0 (t + 1) 0 2 1.5 0 N0 (t ) (2)(200) + (1.5)(100) 550
⎢N (t + 1)⎥ ⎢0.4 ⎥ ⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎢ 1 ⎥ ⎢ 0 0 0⎥ ⎢N1 (t )⎥ ⎢ (0.4)(1000) ⎥ ⎢400⎥
⎢ ⎥=⎢ ⎥⎢ ⎥=⎢ ⎥=⎢ ⎥
⎣N2 (t + 1)⎦ ⎣0 0.3 0 0⎦ ⎣N2 (t )⎦ ⎣ (0.3)(200) ⎦ ⎣ 60 ⎦
N3 (t + 1) 0 0 0.1 0 N3 (t ) (0.1)(100) 10
0 years old 1000 550 890 Figure 9.10: An illustration of the three
breeding seasons.
3 years old 10 10 6
From the preceding discussion, we can now find the general form of the
Leslie matrix. We assume that the population is divided into m + 1 age classes.
The census is again taken at the end of each breeding season. Then, for the
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 267
N1 (t + 1) = P0 N0 (t ),
N2 (t + 1) = P1 N1 (t ),
..
.
Nm (t + 1) = Pm−1 Nm−1 (t ),
where Pi denotes the fraction of females age i at time t that survive to time t +
1. Since Pi denotes a fraction, it follows that 0 ≤ Pi ≤ 1 for i = 0, 1, . . . , m − 1.
The equation for zero-year-old females is given by
N0 (t + 1) = F0 N0 (t ) + F1 N1 (t ) + . . . + Fm Nm (t ),
N0 (t + 1) = 1.5N0 (t ) + 2N1 (t ),
N1 (t + 1) = 0.08N0 (t ).
Suppose that we start with N0 (0) = 100 and N1 (0) = 100. Then
N0 (1) 1.5 2 100 350
= = .
N1 (1) 0.08 0 100 8
(In these calculations, we rounded to the nearest integer.) The first thing you
notice is that the total population is growing. (The population size at time t is
N0 (t ) + N1 (t ).) But we can say a lot more. If we look at the successive ratios
N0 (t )
q0 (t ) = ,
N0 (t − 1)
we find the following:
t 1 2 3 4 5 6 7
q0 (t ) 3.5 1.55 1.60 1.5991 1.6001 1.5997 1.6001
That is, q0 (t ) seems to approach a limiting value of 1.6. The same hap-
pens when we look at the ratio
N1 (t )
q1 (t ) = .
N1 (t − 1)
We find
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 269
t 1 2 3 4 5 6 7
q1 (t ) 0.08 3.5 1.536 1.605 1.609 1.604 1.596
Both ratios seem to approach 1.6. In fact, using some tools from linear
algebra, it can be proved that
N0 (t ) N1 (t )
lim = lim = 1.6.
t→∞ N0 (t − 1) t→∞ N1 (t − 1)
N0 (t )
p(t ) = .
N0 (t ) + N1 (t )
t 0 1 2 3 4 5 6 7
p(t ) 0.5 0.9777 0.9508 0.9528 0.9526 0.9524 0.9523 0.9524
The fraction of females in age class 0 remains the same, namely 3200/3360 =
2000/2100. We compare this with
2000 3200
(1.6) = ,
100 160
which yields the same result. That is, if N denotes a stable age distribution,
then
LN = λ N,
270 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
N0
where λ = 1.6 and N = with N0 /(N0 + N1 ) ≈ 95.2%.
N1
The vector N is called an eigenvector and the value λ the corresponding
eigenvalue. Computing eigenvectors and eigenvalues is central to the theory
of linear algebra. This powerful theory is of great significance in theoretical
mathematics. However, linear algebra also has extremely widespread and im-
portant uses in applications of mathematics. Leslie matrices offer a glimpse
of how matrices can be used to model scientific phenomena, but this is just
the tip of a great iceberg.
Vectors with the same length and same direction, such as those in Fig-
ure 9.11b, we call equivalent. Since we want a vector to be determined
by its length and direction, equivalent vectors are regarded as equal even
(b) Equivalent vectors
though they may be located in different positions. If v and w are equivalent,
we write Figure 9.11: Geometric vectors.
v = w.
Depending on the particular course and the textbook, either of these three
y
denotations can be used. For simplicity, we use the first one below.
We know that two matrices are equal if and only if their components are
equal. Extending this idea to the geometric interpretation of vectors, we say
that two vectors B
v = (v1 , v2 ) and w = (w1 , w2 )
(v1 , v2 )
v1 = w1 , and v2 = w2 . x
0
The vector whose components are all zero is called the zero vector. It is (a) Two-dimensional coordinate space
z
denoted by 0.
Vector computation rules. For given vectors v(v1 , v2 )and w(w1 , w2 )
B
v + w = (v1 + w1 , v2 + w2 ), (v1 , v2 , v3 )
v − w = ( v 1 − w 1 , v 2 − w2 ) ,
kv = (kv1 , kv2 ), y
(9.13) 0
v + (−v) = 0,
v + w = w + v,
v + 0 = v.
x
Geometrically, these rules are presented in Figure 9.13 below.
(b) Three-dimensional coordinate space
In three-dimensional space (Figure
⎡ 9.12b),
⎤ vectors can be viewed as 3 × 1
v1 Figure 9.12: Vectors in coordinate spaces.
⎢ ⎥
column matrices with three entries ⎣v2 ⎦, or 1 × 3 row matrices [v1 , v2 , v3 ], or
v3
we can use the notation
v = (v1 , v2 , v3 ).
Vector computation rules 9.13 hold in this case as well. The only difference
is that now we need to perform all algebraic operations on all 3 components
simultaneously; that is, given vectors v(v1 , v2 , v3 ), w(w1 , w2 , w3 ), and scalar k,
v + w = (v1 + w1 , v2 + w2 , v3 + w3 ),
v − w = (v1 − w1 , v2 − w2 , v3 − w3 ),
kv = (kv1 , kv2 , kv3 ).
Example 9.29 If v = (1, −3, 2) and w = (4, 2, 1), find v + w, 2v, −w, and
v − w.
Solution.
v v v+w
v+w w+v v
w
(a) The sum v + w. (b) v + w = w + v.
v
v v−w
−v
w
(c) The negative of v (d) The difference v − w.
has the same length
as v, but is oppositely
directed.
v 1 (−1)v
2v
(−3)v
v 2v
v−w
−w w
Sometimes a vector is positioned in such a way that its initial point is not z
at the origin. Consider the points P1 (x1 , y1 , z1 ) and P2 (x2 , y2 , z2 ) (Figure 9.14).
−−−→ P2 (x2 , y2 , z2 )
Let P1 be the initial point and P2 – the terminal point of the vector v. Then P1 (x1 , y1 , z1 ) v = P1 P2
−−→ −−→
v = P1 P2 = (x2 − x1 , y2 − y1 , z2 − z1 ). OP1
−−→
OP2
Similarly, in two-dimensional space, on the plane, the vector v with initial
point P1 (x1 , y1 ) and terminal point P2 (x2 , y2 ) is given by y
−−→ x
v = P1 P2 = (x2 − x1 , y2 − y1 ). −−→
Figure 9.14: Vector v = P1 P2 .
Example 9.30 Find the coordinates of the terminal point P2 (x2 , y2 , z2 ) of the
non-zero vector u with initial point P1 (−1, 3, −5) such that
Solution.
x2 + 1 = 6, y2 − 3 = 7, z2 + 5 = −3,
and
x2 = 5, y2 = 10, z2 = −8,
x2 + 1 = −6, y2 − 3 = −7, z2 + 5 = 3,
and
x2 = −7, y2 = −4, z2 = −2,
274 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
Example 9.31 Let u = (−3, 1, 2), v = (4, 0, −8), and w = (6, −1, −4). Find
the components of the vector x that satisfies the equation 2u − v + x = 7x + w.
2u − v − w = 6x,
or
1
x = (2u − v − w).
6
Using the components,
1
(x1 , y1 , z1 ) = (2 · (−3) − 4 − 6, 2 · 1 − 0 − (−1), 2 · 2 − (−8) − (−4))
6
1
= (−6 − 4 − 6, 2 − 0 + 1, 4 + 8 + 4)
6
1 8 1 8
= (−16, 3, 16) = (− , , ).
6 3 2 3
Example 9.32 Let u, v, and w be the vectors in Example 9.31. Find scalars
c1 , c2 , and c3 such that
c1 u + c2 v + c3 w = (2, 0, 4).
⎡ ⎤
−3 4 6 2 (R1 )
⎢ ⎥
⎣ 1 0 −1 0⎦ (R2 )
2 −8 −4 4 (R3 )
⎡ ⎤
(R2 ) 1 0 −1 0 (R4 )
⎢ ⎥
(R1 ) + 3(R2 ) −→ ⎣0 4 3 2⎦ (R5 )
(R3 ) − 2(R2 ) 0 −8 −2 4 (R6 )
⎡ ⎤
1 0 −1 0
⎢ ⎥
−→ ⎣0 4 3 2⎦
(R6 ) + 2(R5 ) 0 0 4 8
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 275
From the last row we get 4c3 = 8, c3 = 2 and by back substitution we find
4c2 + 3 · 2 = 2, y
4c2 + 6 = 2,
4c2 = −4,
c2 = −1. (u1 , u2 )
u
Finally, u2
c1 − 2 = 0,
x
c1 = 2. u1
(a)
The answer: c1 = 2, c2 = −1, c3 = 2. z
The length of a vector u is often called the norm of u and is denoted by
u . It follows from the Theorem of Pythagoras that the norm of a vector P (u1 , u2 , u3 )
u = (u1 , u2 ) in two-dimensional space is
u
u = u21 + u22
O y
(Figure 9.15a). Let u = (u1 , u2 , u3 ) be a vector in three-dimensional space. S
Using Figure 9.15b and two applications of the Theorem of Pythagoras, we Q R
obtain x
(b)
u = (OR)2 + (RP)2 = (OQ)2 + (OS)2 + (RP)2 = u21 + u22 + u23 .
Figure 9.15: Norm of a vector.
Thus,
u = u21 + u22 + u23 .
Example 9.33 Let u= (2, −2, 3), v = (1, −3, 4), and w = (2, 1, −8). Find:
w
(a) u + v , (b)
w .
Solution.
(a)
(b)
√ √
w = 22 + 12 + (−8)2 = 4 + 1 + 64 = 69,
w 1 2 1 8
= √ (2, 1, −8) = √ , √ , − √ ,
w 69 69 69 69
2 2 2
w 2 1 8 4 + 1 + 64
= √ + √ + − √ = = 1.
w 69 69 69 69
276 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
There are two more very important concepts related to vectors: the Eu-
clidean inner product (otherwise called dot product) and the cross-product.
They utilize two different kinds of vector multiplication.
Inner product. If u and v are vectors in two- or three-dimensional space,
then the Euclidean inner product u • v is defined by
u • v = u v cos θ , (9.14)
Example 9.34 Consider the vectors u = (2, −1, 1) and v = (1, 1, 2). Find
u • v and determine the angle θ between u and v.
u • v = 2 · 1 + (−1) · 1 + 1 · 2 = 2 − 1 + 2 = 3,
and thus,
3 1
cos θ = √ √ = .
6· 6 2
Finally, θ = π/3.
Note that the inner product of 2 vectors is always a scalar.
Next, we consider a cross-product of two vectors. In many applications of
vectors to problems in geometry, physics, and engineering, it is of interest to
construct a vector in 3-dimensional space that is perpendicular (orthogonal)
to the given vectors.
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 277
w = u × v = (u2 v3 − u3 v2 , u3 v1 − u1 v3 , u1 v2 − u2 v1 ), (9.17)
or in determinant notation,
!
u u3 u1 u3 u1 u2
2
u×v = ,− , . (9.18)
v2 v3 v1 v3 v1 v2
and it is equal to the area of the parallelogram, whose sides are formed by the
vectors u and v (Figure 9.16):
A = (base)(altitude) = u v sin θ = u × v .
v
Also, without a proof, there is another yet important relationship between
vectors, related determinants, and geometric objects. While both proofs are v
beyond the scope of this course, the results will be used in subsequent physics
v sin θ
courses.,
Geometric interpretation of determinants.
u
θ u
(a) The absolute value of the determinant
Figure 9.16: Area of the parallelogram.
u u
1 2
v1 v2
Exercises
(v1 , v2 )
(u1 , u2 , u3 )
u
v (w1 , w2 , w3 )
(u1 , u2 ) w (v1 , v2 , v3 )
u v y
x
x
(a) (b)
x − y = 1 x − 3y = 6
(a) (c)
x − 2y = −2 y = 3 + 13 x
1
2x + 3y = 6 2x + y = 3
(b) (d)
x − 4y = −4 6x + 3y = 1
2x − 3y = 5
4x − 6y = c
has
(a) infinitely many solutions, and
(b) no solutions.
(c) Is it possible to choose a number for c so that the system has
exactly one solution? Explain.
9.3.(a) Determine the solutions of
−2x + 3y = 5
ax − y =1
in terms of a.
(b) For which values of a are there no solutions, exactly one solution,
and infinitely many solutions?
9.4. Show that the solution of
a11 x1 + a12 x2 = b1
a21 x1 + a22 x2 = b2
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 279
is given by
a22 b1 − a12 b2
x1 =
a11 a22 − a21 a12
and
−a21 b1 + a11 b2
x2 = .
a11 a22 − a21 a12
a11 x1 + a12 x2 = b1
a21 x1 + a22 x2 = b2
5x − 3y =2 2x + 3y =5
(b) (e)
2x + 7y =3 − y = −2 + 23 x
7x − y =4 x + 2y = 3
(c) (f)
3x + 2y =1 4y + 2x = 6
5x + 2y = 8 x − 2y =2
(d) (g)
−x + 3y = 9 4y − 2x = −4
9.7. Joe wants to buy fish and plants for his aquarium. Each fish costs $2.30;
each plant costs $1.70. He buys a total of 11 items and spends a total
of $21.70. Set up a system of linear equations that will allow you to
determine how many fish and how many plants Joe bought, and solve
the system.
9.8. Laboratory mice are fed a mixture of two foods that contain two
essential nutrients. Food 1 contains 3 units of nutrient A and 2 units of
nutrient B per ounce. Food 2 contains 4 units of nutrient A and 5 units
of nutrient B per ounce.
(a) In what proportion should you mix the food if the mice require
nutrients A and B in equal amounts?
(b) Assume now that the mice require nutrients A and B in the ratio 1 : 2.
Is it possible to satisfy their dietary needs with the two foods
available?
9.9. Show that if
a11 a22 − a21 a12 = 0,
280 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
9.11. Find the augmented matrix and use it to solve the system of linear
equations.
−x − 2y + 3z = −9 y + x = 3
(a) 2x + y − z = 5 (c) z − y + −1
4x − 3y + 5z = −9 x + z = 2
3x − 2y + z = 4 2x − z = 1
(b) 4x + y − 2z = −12 (d) y + 3z = x − 1
2x − 3y + z = 7 x + z = y − 3
year?
9.14. Three different species of insects are reared together in a laboratory
cage. They are supplied with two different types of food each day.
Each individual of species 1 consumes 3 units of food A and 5 units
of food B, each individual of species 2 consumes 2 units of food A
and 3 units of food B, and each individual of species 3 consumes 1
unit of food A and 2 units of food B. Each day, 500 units of food A
and 900 units of food B are supplied. How many individuals of each
species can be reared together? Is there more than one solution? What
happens if we add 550 units of a third type of food, called C, and each
individual of species 1 consumes 2 units of food C, each individual of
species 2 consumes 4 units of food C, and each individual of species 3
consumes 1 unit of food C?
9.15. Let
−1 2 0 1 1 −2
, , .
0 −3 2 4 1 −1
(a) Find A − B + 2C.
(b) Find −2A + 3B.
(c) Determine D so that A + B = 2A − B + D.
(d) Show that (A + B) + C = A + (B + C ).
(e) Show that 2(A + B) = 2A + 2B.
9.16. Let
⎡ ⎤ ⎡ ⎤ ⎡ ⎤
1 3 −1 5 −1 4 −2 0 4
⎢ ⎥ ⎢ ⎥ ⎢ ⎥
⎣2 4 1⎦ , ⎣2 0 1⎦ , ⎣ 1 −3 1⎦ .
0 −2 2 1 −3 −3 0 0 2
Find A2 , A3 , and A4 .
9.22. Let
0 1
B= .
1 0
9.25. Let
⎡ ⎤ ⎡ ⎤
1 3 0 1 0 0
⎢ ⎥ ⎢ ⎥
A=⎣ 0 −1 2⎦ and I3 = ⎣0 1 0⎦ .
−1 −2 1 0 0 1
2x2 − x1 = x3 (d)
(b) 4x1 + x3 = 7x2 x1 − 2x2 + x3 = 1
x2 − x1 = x3 −2x1 + x2 − 3x3 = 0
9.29. Let
−1 1 2 −2
A= , B= .
2 3 3 2
(a) Find the inverse (if it exists) of A.
(b) Find the inverse (if it exists) of B.
(c) Show that (A−1 )−1 = A.
(d) Show that (AB)−1 = B−1 A−1 .
9.30. Find the inverse (if it exists) of
2 4
C= .
3 6
−1 0 −2
A= and D= .
2 −3 −5
X = (I − A)−1 D
3 2 −2
A= and D= .
0 −1 2
has infinitely many solutions. Graph the two straight lines associ-
ated with the corresponding system of linear equations, and explain
why the system has infinitely many solutions.
(d) Find a column vector
b1
B= so that AX = B
b2
has no solutions.
L I N E A R A L G E B R A A N D A P P L I C AT I O N S 285
9.38. Assume that a population is divided into three age classes and
that 20% of females age 0 and 70% of the females age 1 survive
until the end of the next breeding season. Assume further that females
age 1 have an average of 3.2 female offspring and females age 2 have
an average of 1.7 female offspring. If, at time 0, the population con-
sists of 2000 females age 0, 800 females age 1 and 200 females age 2,
find the Leslie matrix and age distribution at time 2.
9.39. Assume that a population is divided into three age classes and
that 80% of the females age 0 and 10% of the females age 1 survive
until the end of the next breeding season. Assume further that females
age 1 have an average of 1.6 female offspring and females age 2 have
an average of 3.9 female offspring. If, at time 0, the populations con-
sists of 1000 females age 0, 100 females age 1 and 20 females age 2,
find the Leslie matrix and the age distribution at time 3.
9.40. Assume that a population is divided into four age classes and that 70%
of the females age 0 and 50% of the females age 1 and 10% of the fe-
males age 2 survive until the end of the next breeding season. Assume
further that females age 2 have an average of 4.6 female offspring and
286 I N T E G R A L C A L C U L U S W I T H A P P L I C AT I O N S F O R L I F E S C I E N C E S
N0 (t ) N1 (t )
q0 (t ) = and q1 (t ) =
N0 (t − 1) N1 (t − 1)
N0 (t ) N1 (t )
q0 (t ) = and q1 (t ) = .
N0 (t − 1) N1 (t − 1)
1
9.53.(a) Show that if v is any nonzero vector, then v is a unit vector.
v
(b) User the result in part (a) to find a unit vector that has the same
direction as the vector v = (3, 4).
9.54. Find u • v and cosine of the angle θ between u and v.
(a) u = (2, 3), v = (5, −7),
(b) u = (1, −5, 4), v = (3, 3, 3).
9.55. In each part, something is wrong with the expression. What?
(a) (u • v) + w
(b) u • v
(c) k • (u + v)
9.56. Let u = (3, 2, −1), v = (0, 2, −3), w = (2, 6, 7). Compute
(a) v × w,
(b) u × (v × w).
9.57. Find the area of the parallelogram determined by u = (1, −1) and
v = (0, 3).
9.58. Find the volume of the parallelepiped determined by u = (2, −6, 2),
v = (0, 4, −2), and w = (2, 2, −4).