Professional Documents
Culture Documents
Linear Equations in Linear Algebra: The Matrix Equation
Linear Equations in Linear Algebra: The Matrix Equation
in Linear Algebra
1.4
THE MATRIX EQUATION Ax b
Example
2: For v1, v2, v3 in , write the linear
combination 3v1 5v 2 7v3 as a matrix times a
vector.
Solution: Place v1, v2, v3 into the columns of a matrix
A and place the weights 3, 5 , and 7 into a vector x.
That is, 3
3v1 5v 2 7v3 v1 v2 v3 5 Ax
.
7
1 2 1 4 .
x1 x2 x3 (2)
0 5 3 1
x1
1 2 1 4 . (3)
0 5 3 x2 1
x3
Equation (3) has the form Ax b. Such an equation
is called a matrix equation, to distinguish it from a
vector equation such as shown in (2).
THEOREM 3
If A is an matrix, with columns a1, …, an, and if b is in
, then the matrix equation
Ax = b
has the same solution set as the vector equation
2 3 4 x1 2 3 4
1 5 3 x x 1 x 5 x 3
2 1 2 3
6 2 8 x3 6 2 8
© 2016 Pearson Education, Ltd. Slide 1.4- 8
COMPUTATION OF Ax
2 x1 3 x2 4 x3
x1 5 x2 3x3 (1)
6 x1 2 x2 8 x3
2 x1 3 x2 4 x3
x1 5 x2 3 x3
6 x1 2 x2 8 x3 .
The first entry in the product Ax is a sum of products
(sometimes called a dot product), using the first row
of A and the entries in x.
© 2016 Pearson Education, Ltd. Slide 1.4- 9
COMPUTATION OF Ax
2 3 4 x1 2 x1 3 x2 4 x3
That is, x .
2
x3
Similarly, the second entry in Ax can be calculated by
multiplying the entries in the second row of A by the
corresponding entries in x and then summing the
resulting products.
x1
1 5 3 x x 5 x 3 x
2 1 2 3
x3
© 2016 Pearson Education, Ltd. Slide 1.4- 10
ROW-VECTOR RULE FOR COMPUTING Ax
THEOREM 5