Linear Algebra/Topic: Geometry of Linear Maps

From testwiki
Jump to navigation Jump to search

Template:Navigation The pictures below contrast f1(x)=ex and f2(x)=x2, which are nonlinear, with h1(x)=2x and h2(x)=x, which are linear. Each of the four pictures shows the domain 1 on the left mapped to the codomain 1 on the right. Arrows trace out where each map sends x=0, x=1, x=2, x=1, and x=2. Note how the nonlinear maps distort the domain in transforming it into the range. For instance, f1(1) is further from f1(2) than it is from f1(0) — the map is spreading the domain out unevenly so that an interval near x=2 is spread apart more than is an interval near x=0 when they are carried over to the range.

        

The linear maps are nicer, more regular, in that for each map all of the domain is spread by the same factor.

        

The only linear maps from 1 to 1 are multiplications by a scalar. In higher dimensions more can happen. Template:AnchorFor instance, this linear transformation of 2, rotates vectors counterclockwise, and is not just a scalar multiplication.

The transformation of 3 which projects vectors into the xz-plane is also not just a rescaling.

Nonetheless, even in higher dimensions the situation isn't too complicated.

Below, we use the standard bases to represent each linear map h:nm by a matrix H. Recall that any H can be factored H=PBQ, where P and Q are nonsingular and B is a partial-identity matrix. Template:AnchorFurther, recall that nonsingular matrices factor into elementary matrices PBQ=TnTn1TjBTj1T1, which are matrices that are obtained from the identity I with one Gaussian step

IkρiMi(k)IρiρjPi,jIkρi+ρjCi,j(k)

(ij, k0). So if we understand the effect of a linear map described by a partial-identity matrix, and the effect of linear mapss described by the elementary matrices, then we will in some sense understand the effect of any linear map. (The pictures below stick to transformations of 2 for ease of drawing, but the statements hold for maps from any n to any m.)

The geometric effect of the linear transformation represented by a partial-identity matrix is projection.

(xyz)(100010000)3,3(xy0)

For the Mi(k) matrices, the geometric action of a transformation represented by such a matrix (with respect to the standard basis) is to stretch vectors by a factor of k along the i-th axis. This map stretches by a factor of 3 along the x-axis.

Note that if 0k<1 or if k<0 then the i-th component goes the other way; here, toward the left.

Template:AnchorEither of these is a dilation.

The action of a transformation represented by a Pi,j permutation matrix is to interchange the i-th and j-th axes; this is a particular kind of reflection.

In higher dimensions, permutations involving many axes can be decomposed into a combination of swaps of pairs of axes— see Problem 5.

The remaining case is that of matrices of the form Ci,j(k). Recall that, for instance, that C1,2(2) performs 2ρ1+ρ2.

(xy)(1021)2,2(x2x+y)

In the picture below, the vector u with the first component of 1 is affected less than the vector v with the first component of 2h(u) is only 2 higher than u while h(v) is 4 higher than v.

Any vector with a first component of 1 would be affected as is u; it would be slid up by 2. And any vector with a first component of 2 would be slid up 4, as was v. That is, the transformation represented by Ci,j(k) affects vectors depending on their i-th component.

Another way to see this same point is to consider the action of this map on the unit square. In the next picture, vectors with a first component of 0, like the origin, are not pushed vertically at all but vectors with a positive first component are slid up. Here, all vectors with a first component of 1— the entire right side of the square— is affected to the same extent. More generally, vectors on the same vertical line are slid up the same amount, namely, they are slid up by twice their first component. The resulting shape, a rhombus, has the same base and height as the square (and thus the same area) but the right angles are gone.

For contrast the next picture shows the effect of the map represented by C2,1(1). In this case, vectors are affected according to their second component. The vector (xy) is slid horozontally by twice y.

Template:AnchorBecause of this action, this kind of map is called a shear.

With that, we have covered the geometric effect of the four types of components in the expansion H=TnTn1TjBTj1T1, the partial-identity projection B and the elementary Ti's. Since we understand its components, we in some sense understand the action of any H. As an illustration of this assertion, recall that under a linear map, the image of a subspace is a subspace and thus the linear transformation h represented by H maps lines through the origin to lines through the origin. (The dimension of the image space cannot be greater than the dimension of the domain space, so a line can't map onto, say, a plane.) We will extend that to show that any line, not just those through the origin, is mapped by h to a line. The proof is simply that the partial-identity projection B and the elementary Ti's each turn a line input into a line output (verifying the four cases is Problem 6), and therefore their composition also preserves lines. Thus, by understanding its components we can understand arbitrary square matrices H, in the sense that we can prove things about them.

An understanding of the geometric effect of linear transformations on n is very important in mathematics. Here is a familiar application from calculus. On the left is a picture of the action of the nonlinear function y(x)=x2+x. As at that start of this Topic, overall the geometric effect of this map is irregular in that at different domain points it has different effects (e.g., as the domain point x goes from 2 to 2, the associated range point f(x) at first decreases, then pauses instantaneously, and then increases).

But in calculus we don't focus on the map overall, we focus instead on the local effect of the map.

At x=1 the derivative is y(1)=3, so that near x=1 we have Δy3Δx.

That is, in a neighborhood of x=1, in carrying the domain to the codomain this map causes it to grow by a factor of 3 — it is, locally, approximately, a dilation.

The picture below shows a small interval in the domain (xΔx..x+Δx) carried over to an interval in the codomain (yΔy..y+Δy) that is three times as wide: Δy3Δx.

(When the above picture is drawn in the traditional cartesian way then the prior sentence about the rate of growth of y(x) is usually stated: the derivative y(1)=3 gives the slope of the line tangent to the graph at the point (1,2).)

In higher dimensions, the idea is the same but the approximation is not just the 1-to-1 scalar multiplication case. Instead, for a function y:nm and a point xn, the derivative is defined to be the linear map h:nm best approximating how y changes near y(x). So the geometry studied above applies.

We will close this Topic by remarking how this point of view makes clear an often-misunderstood, but very important, result about derivatives: the derivative of the composition of two functions is computed by using the Chain Rule for combining their derivatives. Recall that (with suitable conditions on the two functions)

d(gf)dx(x)=dgdx(f(x))dfdx(x)

so that, for instance, the derivative of sin(x2+3x) is cos(x2+3x)(2x+3). How does this combination arise? From this picture of the action of the composition.

The first map f dilates the neighborhood of x by a factor of

dfdx(x)

and the second map g dilates some more, this time dilating a neighborhood of f(x) by a factor of

dgdx(f(x))

and as a result, the composition dilates by the product of these two.

In higher dimensions the map expressing how a function changes near a point is a linear map, and is expressed as a matrix. (So we understand the basic geometry of higher-dimensional derivatives; they are compositions of dilations, interchanges of axes, shears, and a projection). And, the Chain Rule just multiplies the matrices.

Thus, the geometry of linear maps h:nm is appealing both for its simplicity and for its usefulness.

Exercises

Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox Template:TextBox

/Solutions/

Template:Navigation

Template:BookCat