Linear Algebra/Representing Linear Maps with Matrices

From testwiki
Jump to navigation Jump to search

Template:Navigation Template:TextBox

We will express computations like the one above with a matrix notation.

(011/2110)B,D(c1c2)B=(0c1+1c2(1/2)c11c21c1+0c2)D

In the middle is the argument v to the map, represented with respect to the domain's basis B by a column vector with components c1 and c2. On the right is the value h(v) of the map on that argument, represented with respect to the codomain's basis D by a column vector with components 0c1+1c2, etc. The matrix on the left is the new thing. It consists of the coefficients from the vector on the right, 0 and 1 from the first row, 1/2 and 1 from the second row, and 1 and 0 from the third row.

This notation simply breaks the parts from the right, the coefficients and the c's, out separately on the left, into a vector that represents the map's argument and a matrix that we will take to represent the map itself.

Template:TextBox

Briefly, the vectors representing the h(β)'s are adjoined to make the matrix representing the map.

RepB,D(h)=(RepD(h(β1))RepD(h(βn)))

Observe that the number of columns n of the matrix is the dimension of the domain of the map, and the number of rows m is the dimension of the codomain.

Template:TextBox

We will use lower case letters for a map, upper case for the matrix, and lower case again for the entries of the matrix. Thus for the map h, the matrix representing it is H, with entries hi,j.

Template:TextBox

Template:TextBox

We will think of the matrix RepB,D(h) and the vector RepB(v) as combining to make the vector RepD(h(v)).

Template:TextBox

The point of Definition 1.2 is to generalize Example 1.1, that is, the point of the definition is Theorem 1.4, that the matrix describes how to get from the representation of a domain vector with respect to the domain's basis to the representation of its image in the codomain with respect to the codomain's basis. With Definition 1.5, we can restate this as: application of a linear map is represented by the matrix-vector product of the map's representative and the vector's representative.

Template:TextBox

Template:TextBox

We now have two ways to compute the effect of projection, the straightforward formula that drops each three-tall vector's third component to make a two-tall vector, and the above formula that uses representations and matrix-vector multiplication. Compared to the first way, the second way might seem complicated. However, it has advantages. The next example shows that giving a formula for some maps is simplified by this new scheme.

Template:TextBox

We have already seen the addition and scalar multiplication operations of matrices and the dot product operation of vectors. Matrix-vector multiplication is a new operation in the arithmetic of vectors and matrices. Nothing in Definition 1.5 requires us to view it in terms of representations. We can get some insight into this operation by turning away from what is being represented, and instead focusing on how the entries combine.

Template:TextBox

A good way to view a matrix-vector product is as the dot products of the rows of the matrix with the column vector.

(ai,1ai,2ai,n)(c1c2cn)=(ai,1c1+ai,2c2++ai,ncn)

Looked at in this row-by-row way, this new operation generalizes dot product.

Matrix-vector product can also be viewed column-by-column.

(h1,1h1,2h1,nh2,1h2,2h2,nhm,1hm,2hm,n)(c1c2cn)=(h1,1c1+h1,2c2++h1,ncnh2,1c1+h2,2c2++h2,ncnhm,1c1+hm,2c2++hm,ncn)=c1(h1,1h2,1hm,1)++cn(h1,nh2,nhm,n)

Template:TextBox

The result has the columns of the matrix weighted by the entries of the vector. This way of looking at it brings us back to the objective stated at the start of this section, to compute h(c1β1++cnβn) as c1h(β1)++cnh(βn).

We began this section by noting that the equality of these two enables us to compute the action of h on any argument knowing only h(β1), ..., h(βn). We have developed this into a scheme to compute the action of the map by taking the matrix-vector product of the matrix representing the map and the vector representing the argument. In this way, any linear map is represented with respect to some bases by a matrix. In the next subsection, we will show the converse, that any matrix represents a linear map.


Exercises

Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox Template:Linear Algebra/Book 2/Recommended Template:TextBox Template:TextBox

/Solutions/

Template:Navigation

Template:BookCat